--- old/src/share/vm/classfile/stringTable.hpp 2015-10-30 19:14:49.356475572 +0100 +++ new/src/share/vm/classfile/stringTable.hpp 2015-10-30 19:14:49.292475570 +0100 @@ -111,7 +111,7 @@ // Hashing algorithm, used as the hash value used by the // StringTable for bucket selection and comparison (stored in the // HashtableEntry structures). This is used in the String.intern() method. - static unsigned int hash_string(const jchar* s, int len); + template static unsigned int hash_string(const T* s, int len); // Internal test. static void test_alt_hash() PRODUCT_RETURN;