JDK-8058854 : Remove dependency on dt.jar from test/tools/jar/normalize/TestNormal.java
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 9-repo-jigsaw
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-09-21
  • Updated: 2024-02-28
  • Resolved: 2014-10-13
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 b36Fixed
Related Reports
Relates :  
Relates :  
Description
The jigsaw/m2 forest is currently accumulating the changes for the move to a modular image. The modular image will replace the current JRE/JDK layout. The replacement for j2sdk-image will not not have a top-level "jre" directory. The replacement for both j2sdk-image and j2re-image will not contain rt.jar, tools.jar and other JAR files, instead the classes and resources will be stored in a new container format.

test/tools/jar/normalize/TestNormal.java needs to be updated to remove its dependency on dt.jar that ships with the JDK. There will be no dt.jar or other JAR files in the modular image.
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/48668630348e User: lana Date: 2014-10-22 18:55:37 +0000
22-10-2014

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/48668630348e User: alanb Date: 2014-10-13 17:02:21 +0000
13-10-2014

RFR: http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-October/029089.html
13-10-2014

Root Cause: With a modular dt.jar (and the other JAR files in the JDK) go away, test that use dt. jar or other JAR files in the legacy image need to be fixed. Suggested Fix: Test does not intent to testing "dt.jar", so not have to use "dt.jar". Test could leverage jdk/test/tools/pack200/Utils.java to create a test.jar to replace the usage of dt.jar
13-10-2014