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

Project Coin: convert pack200 library code to use try-with-resources

XMLWordPrintable

    • b136
    • generic
    • generic
    • Not verified

      There are a number of opportunities to use the new try-with-resources feature of Java 7 in the pack200 library code. The affected files are as follows:

      src/share/classes/com/sun/java/util/jar/pack/BandStructure.java
      src/share/classes/com/sun/java/util/jar/pack/Driver.java
      src/share/classes/com/sun/java/util/jar/pack/NativeUnpack.java
      src/share/classes/com/sun/java/util/jar/pack/PackageReader.java
      src/share/classes/com/sun/java/util/jar/pack/PackageWriter.java
      src/share/classes/com/sun/java/util/jar/pack/PropMap.java
      src/share/classes/com/sun/java/util/jar/pack/UnpackerImpl.java
      src/share/classes/com/sun/java/util/jar/pack/Utils.java

            smarks Stuart Marks
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: