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

test for SO_FLOW_SLA availability does not check for EACCESS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 8u20
    • core-libs
    • b20
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: