[9] RFR(S): 8141443: jdk/test/java/util/regex/RegExTest.java fails: No match found
Tobias Hartmann
tobias.hartmann at oracle.com
Thu Nov 5 12:14:20 UTC 2015
Hi,
please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8141443
http://cr.openjdk.java.net/~thartmann/8141443/webrev.00/
C2's string concatenation optimization fails concatenating a constant Latin1 encoded string with a constant UTF16 encoded string because there is an implicit sign extension while converting from jbyte to jshort. I added the necessary "& 0xff".
Surprisingly, this somehow slipped through PIT testing.
Thanks,
Tobias
More information about the hotspot-compiler-dev
mailing list