Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8058853

Update pack200 tests to work with modular image

    XMLWordPrintable

    Details

      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.

      The pack200 tests need to be examined and updated to work with a modular image. In the jigsaw/m2 forest we have already removed the check for "jre" directory from test/tools/pack200/PackageVersionTest.java and test/tools/pack200/Utils.java so that the tests will run. Beyond that needs updates to a number of tests to not use rt.jar, tools.jar and other legacy JAR files in the JDK image.

      The tests that are currently failure are:

      tools/pack200/T7007157.java
      tools/pack200/AttributeTests.java
      tools/pack200/InstructionTests.java
      tools/pack200/Pack200Test.java
      tools/pack200/typeannos/TestTypeAnnotations.java
      tools/pack200/CommandLineTests.java
      tools/pack200/Pack200Props.java

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ksrini Kumar Srinivasan
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: