JDK-8170864 : java/net/URLClassLoader/closetest/CloseTest.java has undeclared dependencies
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2016-12-07
  • Updated: 2017-01-03
  • Resolved: 2016-12-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 b150Fixed
Related Reports
Relates :  
Relates :  
Description
The test CloseTest.java has undeclared dependency on java.logging due to usage of libray "@library /com/sun/net/httpserver". Also the test tries to load "java.sql.Array" class. Because the class is not mandatory for test logic it is better to substitute the class by other class from java.base module.

The test fails in case of running with module limitation that could be done by using of "--limit-modules java.base" command line option.
Comments
Review link: http://mail.openjdk.java.net/pipermail/net-dev/2016-December/010519.html
09-12-2016