JDK-8333398 : Uncomment the commented test in test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarAPI.java
  • Type: Task
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-06-03
  • Updated: 2024-09-22
  • Resolved: 2024-06-04
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 11 JDK 17 JDK 21 JDK 23
11.0.26-oracleFixed 17.0.13-oracleFixed 21.0.5-oracleFixed 23 b26Fixed
Related Reports
Relates :  
Relates :  
Description
The test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarAPI.java test has a commented out line which tests for the "Multi-Release" attribute's value, when the value uses the "\r" newline character. It was commented in the test due to a bug in Manifest parsing as noted in https://bugs.openjdk.org/browse/JDK-8176843.

That bug has been fixed several releases back through https://bugs.openjdk.org/browse/JDK-8200530. The commented out line in test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarAPI.java should now be uncommented to allow it to test the usage of "\r" newline character.

Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/2613 Date: 2024-06-19 06:39:45 +0000
08-08-2024

[jdk17u-fix-request] Approval Request from Amos "Backporting for parity with 17.0.13-oracle. No risk, test fix. Clean backport. Test passes and SAP nightlies pass on 2024-06-20”
20-06-2024

[jdk21u-fix-request] Approval Request from Amos "Backporting for parity with 21.0.5-oracle. No risk, test fix. Clean backport. Test passes and SAP nightlies pass on 2024-06-21”
20-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/759 Date: 2024-06-19 06:39:36 +0000
19-06-2024

Changeset: d230b303 Author: Jaikiran Pai <jpai@openjdk.org> Date: 2024-06-04 01:53:18 +0000 URL: https://git.openjdk.org/jdk/commit/d230b30353f59135287436b09949b80e9fd73a93
04-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19514 Date: 2024-06-03 04:25:38 +0000
03-06-2024