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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 15
    • 15
    • core-libs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: