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.
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