diff options
Diffstat (limited to 'lang/openjdk8/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java')
-rw-r--r-- | lang/openjdk8/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/openjdk8/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java b/lang/openjdk8/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java new file mode 100644 index 00000000000..1785dd371d2 --- /dev/null +++ b/lang/openjdk8/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java @@ -0,0 +1,13 @@ +$NetBSD: patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java,v 1.1 2015/02/08 08:41:25 tnn Exp $ + +--- hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java.orig 2015-02-02 15:32:37.000000000 +0000 ++++ hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java +@@ -45,6 +45,8 @@ public class PlatformInfo { + return "bsd"; + } else if (os.contains("Darwin") || os.contains("OS X")) { + return "darwin"; ++ } else if (os.equals("DragonFlyBSD")) { ++ return "bsd"; + } else if (os.startsWith("Windows")) { + return "win32"; + } else { |