agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
7089790_full Cdiff agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java
agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java
Print this page
rev 2695 : shared changes
*** 35,44 ****
--- 35,52 ----
String os = System.getProperty("os.name");
if (os.equals("SunOS")) {
return "solaris";
} else if (os.equals("Linux")) {
return "linux";
+ } else if (os.equals("FreeBSD")) {
+ return "bsd";
+ } else if (os.equals("NetBSD")) {
+ return "bsd";
+ } else if (os.equals("OpenBSD")) {
+ return "bsd";
+ } else if (os.equals("Darwin")) {
+ return "bsd";
} else if (os.startsWith("Windows")) {
return "win32";
} else {
throw new UnsupportedPlatformException("Operating system " + os + " not yet supported");
}
agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File