JDK-8173905 : Test tools/jar/multiRelease/RuntimeTest.java fails under JDK 10
  • Type: Bug
  • Component: tools
  • Sub-Component: jar
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-02-03
  • Updated: 2017-06-02
  • Resolved: 2017-05-26
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 10
10 b10Fixed
Related Reports
Relates :  
Relates :  
Description
The test

tools/jar/multiRelease/RuntimeTest.java

fails under JDK 10 after the version update (JDK-8029942),
Comments
The hardcode of the release version, not only in the test itself, but also in test data files for the jar that tested on, needs to be removed. Test should be updated in a way to generate the data files on the fly, and to get release version by Runtime.version().major(), so as test don't need to be updated again for JDK 11. RFR: http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-May/047883.html
26-05-2017