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

Testcase failure sun/nio/cs/TestSJIS0213.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • OpenJDK6
    • OpenJDK6
    • core-libs
    • None

      Not sure why this only showed up with openjdk6 testing, happens on all platforms.

      I was testing the rebranding changes I made to nio makefiles, but this was the only failure left that did not make sense.

      --------------------------------------------------
      TEST: sun/nio/cs/TestSJIS0213.java
      JDK under test: (/tmp/jprt/P1/T/182806.ohair/testproduct/solaris_sparc_5.8-product)
      openjdk version "1.6.0-201005281828.ohair.jdk"
      OpenJDK Runtime Environment (build 1.6.0-201005281828.ohair.jdk-jprtadm_29_May_2010_00_34-b00)
      Java HotSpot(TM) Server VM (build 17.0-b14, mixed mode)

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 1.682 seconds
      messages:
      command: build TestSJIS0213
      reason: Named class compiled on demand
      elapsed time (seconds): 1.682

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 1.681 seconds
      messages:
      command: compile /tmp/jprt/P1/T/182806.ohair/source/test/sun/nio/cs/TestSJIS0213.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 1.681
      STDOUT:
      STDERR:

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.io.UnsupportedEncodingException: MS932_0213
      REASON: Assumed action based on file name: run main TestSJIS0213
      TIME: 0.262 seconds
      messages:
      command: main TestSJIS0213
      reason: Assumed action based on file name: run main TestSJIS0213
      elapsed time (seconds): 0.262
      STDOUT:
      STDERR:
      java.io.UnsupportedEncodingException: MS932_0213
      at java.lang.StringCoding.decode(StringCoding.java:188)
      at java.lang.String.<init>(String.java:451)
      at java.lang.String.<init>(String.java:523)
      at TestSJIS0213.main(TestSJIS0213.java:86)
      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:616)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:636)

      JavaTest Message: Test threw exception: java.io.UnsupportedEncodingException: MS932_0213
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.io.UnsupportedEncodingException: MS932_0213

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.io.UnsupportedEncodingException: MS932_0213
      --------------------------------------------------

            sherman Xueming Shen
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: