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

Remove JrtFileSystem finalize method

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 12
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b24

      Description

      Object.Finalize has been deprecated and uses of finalize should be converted to use java.lang.ref.Cleaner.

      The finalize method should be removed.
      A cleaner can be registered on the JrtFileSystem instance to call the SystemImage.close method.

        Attachments

          Activity

            People

            • Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              rriggs Roger Riggs
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: