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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • b78
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: