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

Andrew Hughes gnu.andrew at redhat.com
Wed Apr 1 14:23:56 UTC 2015


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?

Thanks,
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222

PGP Key: rsa4096/248BDC07 (hkp://keys.gnupg.net)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07



More information about the jdk6-dev mailing list