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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b78
    • Verified

        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,

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

                Created:
                Updated:
                Resolved: