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

Remove unnecessary NetworkPermission checks from jdk/net/ExtendedSocketOptions.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      NetworkPermissions are wrongly checked for all socket options in `jdk/net/ExtendedSocketOptions`. The only option that was specified to require a permission a check was `SO_FLOW_SLA`, and is option has been removed. The unspecified and unnecessary permissions check that were mistakenly also performed for all other extended socket options should be removed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pconcannon Patrick Concannon (Inactive)
              Reporter:
              pconcannon Patrick Concannon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: