-
Bug
-
Resolution: Duplicate
-
P4
-
10
tools/jlink/JLinkToolProviderTest.java fails when run w/ --limit-modules java.logging,java.scripting,java.rmi,java.sql,java.xml due to java.lang.RuntimeException: jlink tool not found:
#section:main
----------messages:(4/213)----------
command: main JLinkToolProviderTest
reason: User specified action: run main/othervm/java.security.policy=toolprovider.policy JLinkToolProviderTest
Mode: othervm [/othervm specified]
elapsed time (seconds): 1.115
----------configuration:(3/84)----------
Boot Layer
limit modules: java.logging java.scripting java.rmi java.sql java.xml
----------System.out:(0/0)----------
----------System.err:(13/881)----------
java.lang.ExceptionInInitializerError
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:563)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.RuntimeException: jlink tool not found
at JLinkToolProviderTest.lambda$static$0(JLinkToolProviderTest.java:37)
at java.base/java.util.Optional.orElseThrow(Optional.java:385)
at JLinkToolProviderTest.<clinit>(JLinkToolProviderTest.java:36)
... 6 more
STATUS:Failed.`main' threw exception: java.lang.ExceptionInInitializerError
#section:main
----------messages:(4/213)----------
command: main JLinkToolProviderTest
reason: User specified action: run main/othervm/java.security.policy=toolprovider.policy JLinkToolProviderTest
Mode: othervm [/othervm specified]
elapsed time (seconds): 1.115
----------configuration:(3/84)----------
Boot Layer
limit modules: java.logging java.scripting java.rmi java.sql java.xml
----------System.out:(0/0)----------
----------System.err:(13/881)----------
java.lang.ExceptionInInitializerError
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:563)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.RuntimeException: jlink tool not found
at JLinkToolProviderTest.lambda$static$0(JLinkToolProviderTest.java:37)
at java.base/java.util.Optional.orElseThrow(Optional.java:385)
at JLinkToolProviderTest.<clinit>(JLinkToolProviderTest.java:36)
... 6 more
STATUS:Failed.`main' threw exception: java.lang.ExceptionInInitializerError
- duplicates
-
JDK-8179294 several langtools tests depend on jar, jlink, javac but do not declare that dependency
-
- Resolved
-