JDK-8222772 : Multiple JCK api/java_lang/Module_class/* tests fail
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2019-04-19
  • Updated: 2020-02-07
  • Resolved: 2020-02-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaResolved
Related Reports
Relates :  
Description
Thes JCK tests fail with the following error in the lookup defineClass repo:

api/java_lang/Module_class/ToStringTests.html
api/java_lang/Module_class/IsNamedTests.html
api/java_lang/Module_class/IsExported1Tests.html
api/java_lang/Module_class/GetResourceAsStreamTests.html
api/java_lang/Module_class/IsExported2Tests.html
api/java_lang/Module_class/GetClassLoaderTests.html
api/java_lang/Module_class/AddUsesTests.html
api/java_lang/Module_class/CanReadTests.html
api/java_lang/Module_class/AddReadsTests.html
api/java_lang/Module_class/AddOpensTests.html
api/java_lang/Module_class/AddExportsTests.html
api/java_lang/ClassLoader/GetUnnamedModule.html
api/java_lang/Class/ForName_ModuleString.html

Caused by: java.lang.IllegalAccessError: class javasoft.sqe.tests.api.java.lang.Class.ForName_ModuleString$$Lambda$98\\170 tried to access protected method 'java.lang.Module javasoft.sqe.tests.api.java.lang.module.ModuleTest.loadModule(javasoft.sqe.tests.api.java.lang.module.ModuleInfo)' (javasoft.sqe.tests.api.java.lang.Class.ForName_ModuleString$$Lambda$98\\170 and javasoft.sqe.tests.api.java.lang.module.ModuleTest are in unnamed module of loader 'app')

Comments
These tests pass with the latest JCK-15.
07-02-2020