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

java/net/URLPermission/OpenURL.java fails on cpu build

    Details

    • Subcomponent:
    • OS:
      windows_7
    • Verification:
      Verified

      Description

      fails on jdk1.8.0b122cpu, jdk1.8.0b121cpu. passes with jdk1.7.0_51b14

      java.lang.IllegalArgumentException: illegal IPv4 address
      at java.net.HostPortrange.<init>(HostPortrange.java:142)
      at java.net.URLPermission$Authority.<init>(URLPermission.java:476)
      at java.net.URLPermission.parseURI(URLPermission.java:446)
      at java.net.URLPermission.init(URLPermission.java:167)
      at java.net.URLPermission.<init>(URLPermission.java:163)
      at sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission(HttpURLConnection.java:1031)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1424)
      at OpenURL.main(OpenURL.java:42)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)

        Attachments

          Activity

            People

            • Assignee:
              asakharu Aleksandr Sakharuk (Inactive)
              Reporter:
              asakharu Aleksandr Sakharuk (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: