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

Remove BaseSSLSocketImpl finalizer method

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      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.
      Note that sockets that become unreferenced are closed by the Cleaner on the FileDescriptor.

      The empty SunJSSE.finalizer method should be removed also.

        Attachments

          Activity

            People

            • Assignee:
              xuelei Xue-Lei Fan
              Reporter:
              rriggs Roger Riggs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: