RFR(XS) : 8195630: vmTestbase/nsk/jvmti/AttachOnDemand/attach024/TestDescription.java fails with Graal

Ekaterina Pavlova ekaterina.pavlova at oracle.com
Thu Jun 28 00:16:50 UTC 2018


Hi all,

vmTestbase/nsk/jvmti/AttachOnDemand/attach024/TestDescription.java fails with Graal because
java.util.ServiceConfigurationError used by the test has been already loaded by Graal.
The fix removes java.util.ServiceConfigurationError and uses java.util.TooManyListenersException instead.

Tested by checking that
"java -Xcomp -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.Compiler=graal -verbose:class -version"
doesn't load TooManyListenersException class and run vmTestbase/nsk/jvmti/AttachOnDemand/attach024/TestDescription.java with Graal flags.

    JBS: https://bugs.openjdk.java.net/browse/JDK-8195630
webrev: http://cr.openjdk.java.net/~epavlova//8195630/webrev.00/index.html
  
thanks,
-katya

p.s.
  Igor Ignatyev volunteered to sponsor this change.


More information about the hotspot-compiler-dev mailing list