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

Update Zip implementation to use Cleaner, not finalizers

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:

      Description

      The zip API and implementation relies on finalization to close file descriptors and cleanup streams and native resources.

      Finalization has been deprecated and zip should remove its dependence on finalization.


        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk/jdk/rev/9f225d4387e2
          User: sherman
          Date: 2017-12-11 19:49:04 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/jdk/rev/9f225d4387e2 User: sherman Date: 2017-12-11 19:49:04 +0000

            People

            • Assignee:
              sherman Xueming Shen
              Reporter:
              rriggs Roger Riggs
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: