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

Adjustment to socket getOption(), setOption() methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 9
    • core-libs
    • None

      8036979 added the new setOption() and getOption() methods to the various socket classes in java.net.
      Originally, it was intended to implement these methods independent of the underlying SocketImpls.

      This turned out to be problematic and the implementation needs to be delegated to the impl (with a default implementation for legacy options).

      To support this setOption, getOption and supportedOptions need to be added to SocketImpl.

      Also, the existing public supportedOptions() methods need to throw IOException now.

            vtewari Vyom Tewari
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: