agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java	Wed Mar 13 23:31:51 2013
--- new/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java	Wed Mar 13 23:31:50 2013

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 41,52 **** --- 41,52 ---- return "bsd"; } else if (os.equals("NetBSD")) { return "bsd"; } else if (os.equals("OpenBSD")) { return "bsd"; ! } else if (os.equals("Darwin") || os.contains("OS X")) { ! return "bsd"; ! } else if (os.contains("Darwin") || os.contains("OS X")) { ! return "darwin"; } 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 Wdiffs Patch New Old Previous File Next File