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

Update java.net Socket and DatagramSocket implementations to use Cleaner

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • core-libs
    • b01

      The java.net.AbstractPlainDatagramSocketImpl and AbstractPlainSocketImpl have finalize methods that call close() to free FileDescriptors when the objects are no longer referenced. The cleanup behavior is not specified and can be reimplemented to use the Cleaner to more efficiently free FileDescriptors.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: