[PATCH] 8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters.

Omair Majid omajid at redhat.com
Tue Apr 7 16:45:20 UTC 2015


* Andrew Hughes <gnu.andrew at redhat.com> [2015-04-01 10:24]:
> Webrev: http://cr.openjdk.java.net/~andrew/openjdk6/8028623/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8028623
> 
> The serviceability agent miscalculates the hashcode for Strings
> which contain characters beyond ASCII (> 127).
> This webrev also includes 8061785 which updates the test case
> to encode the test character using \u syntax (\u00CB) rather than
> including it literally, where it may get corrupted by different
> text encodings of the source file.
> 
> Ok to push?

Please do!

Thanks,
Omair

-- 
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681


More information about the jdk6-dev mailing list