Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8212136 Remove finalizer implementation in SSLSocketImpl
  3. JDK-8286065

Release Note: Remove finalizer implementation in SSLSocketImpl

    XMLWordPrintable

    Details

      Description

      The finalizer implementation in SSLSocket has been removed, with the underlying native resource releases now done by the Socket implementation. With this update, the TLS close_notify messages will no longer be emitted if SSLSocket is not explicitly closed.

      Not closing Sockets properly is an error condition that should be avoided. Applications should always close sockets and not rely on garbage collection.

        Attachments

          Activity

            People

            Assignee:
            xuelei Xuelei Fan
            Reporter:
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: