On 07/01/2015 20:15, Roman Kennke wrote:
Hi there,

I'm sending to this mailing list as it seems likely to me to be a
problem related to Jigsaw (not sure).

I try to run SpecJVM2008 using a recent JDK9 checkout. When I pass
-Xbootclasspath/p:lib/javac.jar (which is required for SpecJVM2008
currently to run with OpenJDK) I get:

Fatal Error: Unable to find package java.lang in classpath or
bootclasspath

It works with OpenJDK8.

The full command to run SPECjvm2008 is:

images/jdk/bin/java -Xms1g -Xmx1g -jar SPECjvm2008.jar -ikv
compiler.compiler compress crypto.aes crypto.rsa crypto.signverify derby
mpegaudio scimark.fft.large scimark.lu.large scimark.sor.large
scimark.sparse.large scimark.fft.small scimark.lu.small
scimark.sor.small scimark.sparse.small scimark.monte_carlo serial
sunflow xml.transform xml.validation

Is there a known issue related to bootclasspath handling in JDK9? Or
maybe something changed and I'm doing it wrong?

This looks like it's an error come from the code in javac.jar rather than anything to do with -Xbootclasspath/p. Is it possible for SPECjvm98 to run with the javac in the JDK image rather than the (old copy?) in javac.jar that pre-images the runtime image work?

That said, I expect that later in JDK 9 that we will need to drop -Xbootclasspath/p and replace it with a means to override classes in modules.

-Alan

Reply via email to