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

Custom DatagramSocketImpl's create method not called when with protected constructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • core-libs
    • b09

    Description

      A side-effect of JDK-8236925 is that creating a DatagramSocket with a custom DatagramSocketImpl will not invoke the imp's create method to create the socket. DatagramSocketImpl is very under-specified in this area but long standing behavior has been to create the socket lazily. The protected constructor can't throw SocketException and an unchecked exception would be unexpected.

      Attachments

        Issue Links

          Activity

            People

              dfuchs Daniel Fuchs
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: