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

test for SO_FLOW_SLA availability does not check for EACCESS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 9
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b20
    • OS:
      solaris_11

      Backports

        Description

        When we test for the avilability of the SO_FLOW_SLA feature in Solaris we set the option on a socket and check for ENOPROTOOPT. Success, or any other error means the feature is available.

        However, EACCESS can also occur if the current process doesn't have the privilege. So, we should test for that as well.

          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: