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

Regression test java/net/URLConnection/HandleContentTypeWithAttrs.java failed on winXP Home

XMLWordPrintable

    • x86
    • windows_xp

      Regression test java/net/URLConnection/HandleContentTypeWithAttrs.java Failed.
      This happened on winxp HOME, tested on winxp pro, and other os did not find the problem.
      Test bundles: b31, b27
      See also bug: 6256268

      #Test Results (version 2)
      #Sun Aug 14 06:58:41 CST 2005
      #checksum:43cc7dbbfe9279b6
      #-----testdescription-----
      $file=D:\\kc\\jdk\\jreg\\b31\\test\\java\\net\\URLConnection\\HandleContentTypeWithAttrs.java
      $root=D:\\kc\\jdk\\jreg\\b31\\test
      keywords=bug4160200
      run=ASSUMED_ACTION main HandleContentTypeWithAttrs\r\n
      source=HandleContentTypeWithAttrs.java
      title=Make sure URLConnection.getContnentHandler can handle MIME types with attributes

      #-----environment-----

      #-----testresult-----
      description=file:///D:/kc/jdk/jreg/b31/test/java/net/URLConnection/HandleContentTypeWithAttrs.java
      end=Sun Aug 14 06:58:41 CST 2005
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
      javatestOS=Windows XP 5.1 (x86)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Sun Aug 14 06:58:39 CST 2005
      status=Failed. Execution failed: `main' threw exception: java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
      test=java/net/URLConnection/HandleContentTypeWithAttrs.java
      work=D:\\kc\\jdk\\jreg\\b31\\JTwork\\java\\net\\URLConnection

      #section:script_messages
      ----------messages:(4/197)----------
      JDK under test: (g:/jdk1.6.0)
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b31)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b31, mixed mode, sharing)

      #section:build
      ----------messages:(3/115)----------
      command: build HandleContentTypeWithAttrs
      reason: Named class compiled on demand
      elapsed time (seconds): 1.873
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/189)*----------
      command: compile D:\\kc\\jdk\\jreg\\b31\\test\\java\\net\\URLConnection\\HandleContentTypeWithAttrs.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 1.873
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/153)----------
      command: main HandleContentTypeWithAttrs
      reason: Assumed action based on file name: run main HandleContentTypeWithAttrs
      elapsed time (seconds): 0.46
      ----------System.out:(1/102)----------
      Failed to construct defauit URL context: java.net.UnknownHostException: SC-WINXP-HOME: SC-WINXP-HOME
      ----------System.err:(29/1865)----------
      java.net.UnknownHostException: SC-WINXP-HOME: SC-WINXP-HOME
      at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
      at myHttpServer.<init>(HandleContentTypeWithAttrs.java:201)
      at HandleContentTypeWithAttrs.main(HandleContentTypeWithAttrs.java:43)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:595)
      java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
      at java.net.ServerSocket.createImpl(ServerSocket.java:255)
      at java.net.ServerSocket.getImpl(ServerSocket.java:205)
      at java.net.ServerSocket.bind(ServerSocket.java:319)
      at java.net.ServerSocket.<init>(ServerSocket.java:185)
      at java.net.ServerSocket.<init>(ServerSocket.java:141)
      at myHttpServer.startServer(HandleContentTypeWithAttrs.java:117)
      at HandleContentTypeWithAttrs.main(HandleContentTypeWithAttrs.java:44)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:595)

      JavaTest Message: Test threw exception: java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
      result: Failed. Execution failed: `main' threw exception: java.net.SocketException: Unrecognized Windows Sockets error: 10106: create


      test result: Failed. Execution failed: `main' threw exception: java.net.SocketException: Unrecognized Windows Sockets error: 10106: create
      ###@###.### 2005-04-18 20:43:01 GMT

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: