Reg jtreg failure to get JDK properties
Shashidhara Veerabhadraiah
shashidhara.veerabhadraiah at oracle.com
Fri Feb 22 06:00:31 UTC 2019
Hi All, I believe am in the right place to post a jtreg problem that I am facing while running jtreg. If not please direct me.
I get the following the failure when tried to run the jtreg-4.2-b14 with the test jdk set to the latest of the jdk 13 builds:
Exception while calling user-specified class: requires.VMProps
java.lang.UnsatisfiedLinkError: sun.hotspot.WhiteBox.aotLibrariesCount()I
at sun.hotspot.WhiteBox.aotLibrariesCount(Native Method)
at requires.VMProps.vmAotEnabled(VMProps.java:344)
at requires.VMProps.call(VMProps.java:89)
at requires.VMProps.call(VMProps.java:55)
at com.sun.javatest.regtest.agent.GetJDKProperties.run(GetJDKProperties.java:80)
at com.sun.javatest.regtest.agent.GetJDKProperties.main(GetJDKProperties.java:54)
And if I tried to use the jdk 11 build, I get the following error:
Exception while calling user-specified class: requires.VMProps
java.lang.UnsatisfiedLinkError: sun.hotspot.WhiteBox.isJFRIncludedInVmBuild()Z
at sun.hotspot.WhiteBox.isJFRIncludedInVmBuild(Native Method)
at requires.VMProps.vmHasJFR(VMProps.java:301)
at requires.VMProps.call(VMProps.java:84)
at requires.VMProps.call(VMProps.java:55)
at com.sun.javatest.regtest.agent.GetJDKProperties.run(GetJDKProperties.java:80)
at com.sun.javatest.regtest.agent.GetJDKProperties.main(GetJDKProperties.java:54)
Error: failed to get JDK properties for C:\JDK\jdk-11\bin\java ; exit code 1
I am not sure why I end up getting this error when it used to work earlier. I believe am missing configuration settings to be set. Please direct me to a solution for this problem. And it is really annoying as I can't seem to get any further help from the way the error is thrown!!
Thanks and regards,
Shashi
More information about the jtreg-dev
mailing list