Running micro benchmark results in 'Error: Unable to access jarfile'

Jorn Vernee jbvernee at xs4all.nl
Mon Feb 18 18:58:08 UTC 2019


Hi,

I'm trying to use the new jdk micro benchmark suite from JEP 230 [1]. 
I've read the instructions in doc/testing.html [2] and I'm using the 
following command:

     make test-only TEST="micro:java.lang.reflect"

However, this results in an error:

     Error: Unable to access jarfile 
/cygdrive/h/cygwin64/home/Jorn/cygwin-projects-new/panama/build/windows-x86_64-server-release/images/test/micro/benchmarks.jar

I've checked and the jar file does exist at that location. I'm on 
Windows, which is a little stricter with file locks, so if I had to 
guess I'd say that the code writing the file does not release it in time 
for other code to read it.

Any suggestions?

Thanks,
Jorn

[1] : https://bugs.openjdk.java.net/browse/JDK-8050952
[2] : 
http://hg.openjdk.java.net/jdk/jdk/raw-file/f0af4b6c4dfd/doc/testing.html#microbenchmarks


More information about the jdk-dev mailing list