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

sun/nio/cs/TestIBM1364.java fails with SE bundle

XMLWordPrintable

    • b01
    • x86
    • solaris_10
    • Verified

        Testsuite name: regression

        test: sun/nio/cs/TestIBM1364.java

        JDK/JRE tested: jdk6u22b90 (2010-06-17) - test failed, but passed on 6u21b06

        OS/architecture: x64-solaris10

        Reproducible: Always

        Reproducible on machine: stt-93.russia


        Is it a platform specific regression: N

        Is it a Regression: Y

        Regression introduced in release/build: 6u22b90

        Test run log location:

        [stt-robot@stt-93]$ pwd
        /export/JQA/6u22b90
        [stt-robot@stt-93]$ cat current/work/sun/nio/cs/TestIBM1364.jtr
        #Test Results (version 2)
        #Fri Jun 25 12:37:20 MSD 2010
        #checksum:7f83343c6b8ea16a
        #-----testdescription-----
        $file=/net/vice/export/stt/newroot/regression/workspaces/160/1.6.0_21b06/j2se/test/sun/nio/cs/TestIBM1364.java
        $root=/net/vice/export/stt/newroot/regression/workspaces/160/1.6.0_21b06/j2se/test
        keywords=bug6803681
        run=ASSUMED_ACTION main TestIBM1364\n
        source=TestIBM1364.java
        title=Test IBM1364

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

        #-----testresult-----
        description=file:///net/vice/export/stt/newroot/regression/workspaces/160/1.6.0_21b06/j2se/test/sun/nio/cs/TestIBM1364.java
        end=Fri Jun 25 12:37:20 MSD 2010
        environment=regtest
        execStatus=Failed. Execution failed: `main' threw exception: java.io.UnsupportedEncodingException: cp1364
        javatestOS=SunOS 5.10 (x86)
        javatestVersion=3.2.2_03
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages build main
        start=Fri Jun 25 12:37:18 MSD 2010
        test=sun/nio/cs/TestIBM1364.java
        work=/export/JQA/6u22b90/current/work/sun/nio/cs

        #section:script_messages
        ----------messages:(4/189)----------
        JDK under test: (/export/jdk/6u22b90/jdk1.6.0_22)
        java version "1.6.0_22-ea"
        Java(TM) SE Runtime Environment (build 1.6.0_22-ea-b90)
        Java HotSpot(TM) Client VM (build 17.0-b15, mixed mode)

        #section:build
        ----------messages:(3/97)----------
        command: build TestIBM1364
        reason: Named class compiled on demand
        elapsed time (seconds): 0.0020
        result: Passed. All files up to date

        #section:main
        ----------messages:(3/121)----------
        command: main TestIBM1364
        reason: Assumed action based on file name: run main TestIBM1364
        elapsed time (seconds): 1.155
        ----------System.out:(0/0)----------
        ----------System.err:(15/806)----------
        java.io.UnsupportedEncodingException: cp1364
                at java.lang.StringCoding.encode(StringCoding.java:269)
                at java.lang.String.getBytes(String.java:946)
                at TestIBM1364.main(TestIBM1364.java:99)
                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:597)
                at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
                at java.lang.Thread.run(Thread.java:619)

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

        STATUS:Failed.`main' threw exception: java.io.UnsupportedEncodingException: cp1364
        result: Failed. Execution failed: `main' threw exception: java.io.UnsupportedEncodingException: cp1364


        test result: Failed. Execution failed: `main' threw exception: java.io.UnsupportedEncodingException: cp1364


        Steps to reproduce:

        [stt-robot@stt-93]$ /export/jdk/6u22b90/jdk1.6.0_22/bin/javac TestIBM1364.java
        [stt-robot@stt-93]$ /export/jdk/6u22b90/jdk1.6.0_22/bin/java TestIBM1364
        Exception in thread "main" java.io.UnsupportedEncodingException: cp1364
                at java.lang.StringCoding.encode(StringCoding.java:269)
                at java.lang.String.getBytes(String.java:946)
                at TestIBM1364.main(TestIBM1364.java:99)
        [stt-robot@stt-93]$ /export/jdk/6u21b06/jdk1.6.0_21/bin/javac TestIBM1364.java
        [stt-robot@stt-93]$ /export/jdk/6u21b06/jdk1.6.0_21/bin/java TestIBM1364

              asaha Abhijit Saha
              ikobzaresunw Ivan Kobzarev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: