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

jdk.net.Sockets.setOption/getOption does not support IP_TOS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u79
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b39
    • Verification:
      Verified

      Backports

        Description

        IP_TOS is missing from the list of supported options for ServerSocket

        --- a/src/share/classes/jdk/net/Sockets.java
        +++ b/src/share/classes/jdk/net/Sockets.java
        @@ -371,6 +371,7 @@
                 set = new HashSet<>();
                 set.add(StandardSocketOptions.SO_RCVBUF);
                 set.add(StandardSocketOptions.SO_REUSEADDR);
        + set.add(StandardSocketOptions.IP_TOS);
                 set = Collections.unmodifiableSet(set);
                 options.put(ServerSocket.class, set);

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  michaelm Michael McMahon
                  Reporter:
                  michaelm Michael McMahon
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: