JDK-8166289 : RuntimeException\: canRead() reports false for reading from the same module\: expected true, was false
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-09-19
  • Updated: 2016-11-23
  • Resolved: 2016-10-19
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.
JDK 9
9 b146Fixed
Related Reports
Relates :  
Sub Tasks
JDK-8166312 :  
Description
java.lang.RuntimeException: canRead() reports false for reading from the same module: expected true, was false
	at jdk.test.lib.Asserts.fail(Asserts.java:594)
	at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
	at AllModulesCommandTest.assertCanRead(AllModulesCommandTest.java:138)
	at AllModulesCommandTest.doJdwp(AllModulesCommandTest.java:97)
	at AllModulesCommandTest.doTest(AllModulesCommandTest.java:57)
	at AllModulesCommandTest.main(AllModulesCommandTest.java:48)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
	at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

Comments
Review: http://cr.openjdk.java.net/~akulyakh/8166289/
17-10-2016

No evident issues with the test and the test passes unchanged. Waiting for the dev. team advise what additional testing can be done before resubmit.
28-09-2016