reproducible compiler issue with latest jdk9

Robert Muir rcmuir at
Tue Jun 9 01:24:00 UTC 2015


I think we found something in lucene testing when testing the latest
java 9 ea B27.
It also fails with latest tip.

See the following test case:

It passes with -Xint and will fail otherwise:

rmuir at beast:~$ java -version
openjdk version "1.9.0-internal"
OpenJDK Runtime Environment (build 1.9.0-internal-rmuir_2015_06_08_18_48-b00)
OpenJDK 64-Bit Server VM (build
1.9.0-internal-rmuir_2015_06_08_18_48-b00, mixed mode)
rmuir at beast:~$ java ShouldWork
Exception in thread "main" java.lang.AssertionError: expected=mklefvn, actual=m
    at ShouldWork.main(
rmuir at beast:~$ java -Xint ShouldWork
rmuir at beast:~$

More information about the hotspot-compiler-dev mailing list