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

jdk/nio/zipfs/ZeroDate.java fails on Windows with "IllegalArgumentException: Illegal character in opaque part at index 13"

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • Verification:
      Verified

      Description

      jdk/nio/zipfs/ZeroDate.java fails with "java.lang.IllegalArgumentException: Illegal character in opaque part at index 13"


      ----------System.err:(21/1306)*----------
      java.lang.IllegalArgumentException: Illegal character in opaque part at index 13: jar:file://C:\\Temp\\out8298221163053216496.zip
      at java.base/java.net.URI.create(URI.java:884)
      at ZeroDate.testDate(ZeroDate.java:88)
      at ZeroDate.main(ZeroDate.java:70)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 13: jar:file://C:\\Temp\\out8298221163053216496.zip
      at java.base/java.net.URI$Parser.fail(URI.java:2915)
      at java.base/java.net.URI$Parser.checkChars(URI.java:3086)
      at java.base/java.net.URI$Parser.parse(URI.java:3122)
      at java.base/java.net.URI.<init>(URI.java:601)
      at java.base/java.net.URI.create(URI.java:882)
      ... 8 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sherman Xueming Shen
                Reporter:
                mli Hamlin Li
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: