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

AbstractFileSystemProvider.getSunPathForSocketCall for empty Path returns '.'

    XMLWordPrintable

    Details

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

      Description

      It should return an empty byte array which leads to strange error message when binding a ServerSocketChannel to an empty address.

      When corrected, the errno is still "No such file or directory". A more specific error message would be desirable.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: