-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from oracle/issue-379
Issue 379
- Loading branch information
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
java/coherence-utils/src/main/java/com/oracle/coherence/k8s/JvmInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. | ||
* Licensed under the Universal Permissive License v 1.0 as shown at | ||
* http://oss.oracle.com/licenses/upl. | ||
*/ | ||
|
||
package com.oracle.coherence.k8s; | ||
|
||
/** | ||
* Determine the JVM information. | ||
*/ | ||
public class JvmInfo { | ||
|
||
private JvmInfo() { | ||
} | ||
|
||
/** | ||
* Program entry point. | ||
* | ||
* @param args the program command line arguments | ||
*/ | ||
public static void main(String[] args) { | ||
if (args.length > 0) { | ||
System.out.println(System.getProperty(args[0])); | ||
} | ||
} | ||
} |