jtreg 42b12 build 398 fails on macos10.13 running jdk12 test

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

jtreg 42b12 build 398 fails on macos10.13 running jdk12 test

prasanta sadhukhan

I am trying to run jdk12 regression test case with jtreg42b12 b398 but encountering an error on osx10.13.3. Can anyone point what needs to be done?

#./bin/jtreg -jdk:/Users/PRSADHUK/Downloads/jdk-11.jdk/Contents/Home/ /export/jdk/client/closed/test/jdk/java/awt/Frame/Undecorated/MinimizeUndecoratedTest/MinimizeUndecoratedTest.html 
Directory "JTwork" not found: creating
Directory "JTreport" not found: creating
Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.hotspot.WhiteBox.isJavaHeapArchiveSupported()Z
at sun.hotspot.WhiteBox.isJavaHeapArchiveSupported(Native Method)
at requires.VMProps.vmCDSForArchivedJavaHeap(VMProps.java:366)
at requires.VMProps.call(VMProps.java:89)
at requires.VMProps.call(VMProps.java:55)
at com.sun.javatest.regtest.agent.GetJDKProperties.run(GetJDKProperties.java:66)
at com.sun.javatest.regtest.agent.GetJDKProperties.main(GetJDKProperties.java:46)
Error: failed to get JDK properties for /Users/PRSADHUK/Downloads/jdk-11.jdk/Contents/Home/bin/

#./bin/jtreg -version
jtreg, version 4.2 dev 398
Installed in /Users/PRSADHUK/Downloads/jtreg/lib/jtreg.jar
Running on platform version 10.0.2 from /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home.
Built with Java(TM) 2 SDK, Version 1.8.0_121-b13 on June 11, 2018.
Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
JTHarness: version 5.0
JCov 3.0-2
TestNG (testng.jar): version unknown
TestNG (jcommander.jar): version 1.72
AsmTools: version 7.0 ; exit code 1