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

Andrew Hughes gnu.andrew at redhat.com
Tue Apr 7 16:51:04 UTC 2015


----- Original Message -----
> * 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
> 

Thanks!

http://hg.openjdk.java.net/jdk6/jdk6/hotspot/rev/546177ff91b3
http://hg.openjdk.java.net/jdk6/jdk6/hotspot/rev/2d7067758ce9
-- 
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