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

(fs) FileSystems.newFileSystem(URI, ..) doesn't handle UOE thrown by provider

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b78
    • Verification:
      Verified

      Backports

        Description

        FileSystems.newFileSystem will throw UnsupportedOperationException if given a jar: URL that references something that is not a valid zip or jar file.

        This exception is not documented in its javadoc,

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bpb Brian Burkhalter
                  Reporter:
                  jjg Jonathan Gibbons
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: