Openjdk6 testing

Kelly O'Hair kelly.ohair at oracle.com
Sat May 29 11:06:00 PDT 2010


FYI...

I'm getting 3 jdk nio test failures with openjdk6. The middle one is  
mine, bug 6933622 an older bug.
The first one looks like 6920545, so I added a 6-open version for that  
bug.

The last one I'm filing a new bug on. 6957098

-kto


FAILED: java/nio/charset/Charset/NIOCharsetAvailabilityTest.java
FAILED: sun/nio/cs/Test4200310.sh
FAILED: sun/nio/cs/TestSJIS0213.java

--------------------------------------------------
TEST: java/nio/charset/Charset/NIOCharsetAvailabilityTest.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.917 seconds
messages:
command: build NIOCharsetAvailabilityTest
reason: Named class compiled on demand
elapsed time (seconds): 1.917

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   1.917 seconds
messages:
command: compile /tmp/jprt/P1/T/182806.ohair/source/test/java/nio/ 
charset/Charset/NIOCharsetAvailabilityTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.917
STDOUT:
STDERR:
/tmp/jprt/P1/T/182806.ohair/source/test/java/nio/charset/Charset/ 
NIOCharsetAvailabilityTest.java:46: warning: sun.misc.Launcher is Sun  
proprietary API and may be removed in a future release
import sun.misc.Launcher;
                ^
/tmp/jprt/P1/T/182806.ohair/source/test/java/nio/charset/Charset/ 
NIOCharsetAvailabilityTest.java:91: warning:  
sun.security.action.GetPropertyAction is Sun proprietary API and may  
be removed in a future release
              new  
sun.security.action.GetPropertyAction("sun.boot.class.path"));
                                     ^
/tmp/jprt/P1/T/182806.ohair/source/test/java/nio/charset/Charset/ 
NIOCharsetAvailabilityTest.java:94: warning:  
sun.security.action.GetPropertyAction is Sun proprietary API and may  
be removed in a future release
              new  
sun.security.action.GetPropertyAction("java.class.path"));
                                     ^
/tmp/jprt/P1/T/182806.ohair/source/test/java/nio/charset/Charset/ 
NIOCharsetAvailabilityTest.java:112: warning: sun.misc.Launcher is Sun  
proprietary API and may be removed in a future release
         ClassLoader appLoader =  
Launcher.getLauncher().getClassLoader();
                                 ^
Note: /tmp/jprt/P1/T/182806.ohair/source/test/java/nio/charset/Charset/ 
NIOCharsetAvailabilityTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 warnings

ACTION: main -- Failed. Execution failed: `main' threw exception:  
java.lang.RuntimeException
REASON: Assumed action based on file name: run main  
NIOCharsetAvailabilityTest
TIME:   7.506 seconds
messages:
command: main NIOCharsetAvailabilityTest
reason: Assumed action based on file name: run main  
NIOCharsetAvailabilityTest
elapsed time (seconds): 7.506
STDOUT:
Unused Charset subclass: sun.nio.cs.ext.MS932DB
STDERR:
java.lang.RuntimeException
	at NIOCharsetAvailabilityTest.main(NIOCharsetAvailabilityTest.java:80)
	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.lang.RuntimeException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException

TEST RESULT: Failed. Execution failed: `main' threw exception:  
java.lang.RuntimeException
--------------------------------------------------

--------------------------------------------------
TEST: sun/nio/cs/Test4200310.sh
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: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell Test4200310.sh
TIME:   1.348 seconds
messages:
command: shell Test4200310.sh []
reason: User specified action: run shell Test4200310.sh
elapsed time (seconds): 1.348
STDOUT:
FAILED: sun/nio/cs/ext/DoubleByteDecoder.class sun/nio/cs/ext/ 
DoubleByteEncoder.class sun/nio/cs/ext/EUC_CN$Decoder.class sun/nio/cs/ 
ext/EUC_CN$Encoder.class sun/nio/cs/ext/EUC_CN.class sun/nio/cs/ext/ 
EUC_KR$Decoder.class sun/nio/cs/ext/EUC_KR$Encoder.class sun/nio/cs/ 
ext/EUC_KR.class sun/nio/cs/ext/EUC_TW$Decoder.class sun/nio/cs/ext/ 
EUC_TW$Encoder.class sun/nio/cs/ext/EUC_TW.class sun/nio/cs/ext/ 
ExtendedCharsets.class sun/nio/cs/ext/GBK$Decoder.class sun/nio/cs/ext/ 
GBK$Encoder.class sun/nio/cs/ext/GBK.class sun/nio/cs/ext/HKSCS 
$Decoder.class sun/nio/cs/ext/HKSCS$Encoder.class sun/nio/cs/ext/ 
HKSCS.class sun/nio/cs/ext/JIS_X_0201$Decoder.class sun/nio/cs/ext/ 
JIS_X_0201$Encoder.class sun/nio/cs/ext/JIS_X_0201.class sun/nio/cs/ 
ext/JIS_X_0208_Decoder.class sun/nio/cs/ext/JIS_X_0208_Encoder.class  
sun/nio/cs/ext/JIS_X_0212_Decoder.class sun/nio/cs/ext/ 
JIS_X_0212_Encoder.class are duplicated between rt.jar, charsets.jar,  
and localedata.jar
STDERR:

TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------


--------------------------------------------------
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
--------------------------------------------------





More information about the jdk6-dev mailing list