Many jtreg errors

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Jun 29 13:05:47 UTC 2016


Most likely, it's JDK-8154239 [1], which is specific to exploded build. 
Have you tried to run the tests using complete jdk images?

Best regards,
Vladimir Ivanov

[1] https://bugs.openjdk.java.net/browse/JDK-8154239

On 6/29/16 4:00 PM, Andrew Haley wrote:
> This is hs-comp, x86-64, jtreg 4.2 dev b02
>
> zebedee:test $ JAVA_HOME=/home/aph/hs-comp/build/linux-x86_64-normal-server-fastdebug//jdk/ ~/jtreg/bin/jtreg  -v gc/arguments/TestSurvivorRatioFlag.java
> Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/management/ManagementFactory
> 	at requires.VMProps.vmFlightRecorder(VMProps.java:134)
> 	at requires.VMProps.call(VMProps.java:58)
> 	at requires.VMProps.call(VMProps.java:44)
> 	at com.sun.javatest.regtest.agent.GetJDKProperties.main(GetJDKProperties.java:49)
> Caused by: java.lang.ClassNotFoundException: java.lang.management.ManagementFactory
> 	at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base/BuiltinClassLoader.java:366)
> 	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base/ClassLoaders.java:185)
> 	at java.lang.ClassLoader.loadClass(java.base/ClassLoader.java:419)
> 	... 4 more
> Error: failed to get JDK properties for /home/aph/hs-comp/build/linux-x86_64-normal-server-fastdebug/jdk/bin/java ; exit code 1
>
> I'm seeing a lot of things like this.  Is there something else that
> I should be doing?
>
> Thanks,
>
> Andrew.
>


More information about the hotspot-dev mailing list