agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java Tue Sep 13 12:20:41 2011
--- new/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java Tue Sep 13 12:20:41 2011
*** 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