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

closed/test/java/util/zip/ZipFile/Collectible.java failing intermittently

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Fixed
    • None
    • 8
    • core-libs
    • b75
    • Verified

    Description


      JSR-310 adds tzdb.jar to the JRE lib directory and this appears to cause closed/test/java/util/zip/ZipFile/Collectible.java to fail intermittently. Here's a sample failure:

      $ java Collectible
      Using /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image/jre/lib/tzdb.jar
      Using /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image/jre/lib/tzdb.jar
      Using /u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image/jre/lib/tzdb.jar
      java.lang.NullPointerException: entry
      at java.util.zip.ZipFile.getInputStream(ZipFile.java:340)
      at Collectible.makeGarbage(Collectible.java:56)
      at Collectible.realMain(Collectible.java:65)
      at Collectible.main(Collectible.java:86)

      Passed = 2, failed = 1

      Attachments

        Issue Links

          Activity

            People

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: