Details
-
Bug
-
Resolution: Fixed
-
P4
-
11.0.23
-
b01
Description
```
% CONF=linux-x86_64-normal-server-fastdebug make run-test TEST="applications/ctw/modules/jdk_jfr.java applications/ctw/modules/jdk_management_jfr.java"
STDERR:
com.sun.javatest.regtest.agent.ModuleHelper$Fault: unexpected exception: java.lang.reflect.InvocationTargetException
at com.sun.javatest.regtest.agent.ModuleHelper.addExportsOrOpens(ModuleHelper.java:134)
at com.sun.javatest.regtest.agent.ModuleHelper.addExports(ModuleHelper.java:43)
at com.sun.javatest.regtest.agent.MainActionHelper.runClass(MainActionHelper.java:170)
at com.sun.javatest.regtest.agent.AgentServer.doMain(AgentServer.java:317)
at com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:242)
at com.sun.javatest.regtest.agent.AgentServer.main(AgentServer.java:71)
Caused by: java.lang.reflect.InvocationTargetException
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:566)
at com.sun.javatest.regtest.agent.ModuleHelper.addExportsOrOpens(ModuleHelper.java:128)
... 5 more
Caused by: java.lang.reflect.InvocationTargetException
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:566)
at java.base/java.lang.JTRegModuleHelper.addExports(JTRegModuleHelper.java:51)
... 10 more
Caused by: java.lang.IllegalArgumentException: package jdk.internal.access not in contents
at java.base/java.lang.Module.implAddExportsOrOpens(Module.java:885)
at java.base/java.lang.Module.implAddExports(Module.java:785)
... 15 more
TEST RESULT: Error. Can't init module exports: unexpected exception: java.lang.reflect.InvocationTargetException
--------------------------------------------------
Test results: error: 1
```
The hunks added by the backport make no sense for 11u:
https://github.com/openjdk/jdk11u-dev/commit/9d4da7c1dfb829ef5973857c2707b0feadeaa8c7
...because `jdk.internal.access` package is not present in 11u. It was added later with
Attachments
Issue Links
- relates to
-
JDK-8214908 add ctw tests for jdk.jfr and jdk.management.jfr modules
- Resolved