summaryrefslogtreecommitdiff
path: root/lang/openjdk7/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/openjdk7/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp')
-rw-r--r--lang/openjdk7/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/openjdk7/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp b/lang/openjdk7/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp
new file mode 100644
index 00000000000..32f31e90540
--- /dev/null
+++ b/lang/openjdk7/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp
@@ -0,0 +1,16 @@
+$NetBSD: patch-hotspot_src_share_vm_utilities_hashtable.cpp,v 1.1 2014/01/08 13:09:38 jperkin Exp $
+
+Delete obsolete (and now harmful) SunOS code.
+
+--- hotspot/src/share/vm/utilities/hashtable.cpp.orig 2014-01-01 05:50:08.000000000 +0000
++++ hotspot/src/share/vm/utilities/hashtable.cpp
+@@ -318,9 +318,6 @@ template class Hashtable<constantPoolOop
+ template class Hashtable<Symbol*, mtSymbol>;
+ template class Hashtable<klassOop, mtClass>;
+ template class Hashtable<oop, mtClass>;
+-#ifdef SOLARIS
+-template class Hashtable<oop, mtSymbol>;
+-#endif
+ template class Hashtable<oopDesc*, mtSymbol>;
+ template class Hashtable<Symbol*, mtClass>;
+ template class HashtableEntry<Symbol*, mtSymbol>;