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

[macosx] Test java/net/URL/OpenStream.java fails

    XMLWordPrintable

Details

    • generic
    • os_x

    Description

      Testsuite name: j2se_java_rest
      Test name(s): java/net/URL/OpenStream.java
      Product(s) tested: JDK 7 u111 b32
      OS/architecture: Mac OS (x64)

      Reproducible: Always


      Is it a Regression:No, Test also failed for 7u80b15, also test failed for JDK 7 u111 b12 on the same machine, where it had passed before

      Is it a platform specific issue: Yes, test passed for JDK 7 u111 b32 on Linux x64
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Exception/Error from Log:
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(4/133)----------
      command: main OpenStream
      reason: Assumed action based on file name: run main OpenStream
      Mode: othervm
      elapsed time (seconds): 0.587
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(15/977)----------
      java.io.IOException: Server returned HTTP response code: 502 for URL: http://foo.bar.baz/
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
      at java.net.URL.openStream(URL.java:1048)
      at OpenStream.main(OpenStream.java:41)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.io.IOException: Server returned HTTP response code: 502 for URL: http://foo.bar.baz/
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.io.IOException: Server returned HTTP response code: 502 for URL: http://foo.bar.baz/

      Attachments

        Issue Links

          Activity

            People

              rpatil Ramanand Patil (Inactive)
              vagarwal Vikrant Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: