Duplicate :
|
JDK : 1.6.0 b11 and b12 Platform[s] : Fails On: Solaris Sparc 10 and Redhat AS 3.0 Failing Test [s] : java/awt/ImageClass/GarbageCollectionTest2 java/awt/image/BufferedImage/BufImgGraphicsConfig/GarbageCollectionTest Test source location: ===================== /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b12/ws/j2se/test/java/awt/image/BufferedImage/BufImgGraphicsConfig/GarbageCollectionTest/GarbageCollectionTest.java jtr file location: ================== file:///net/cady/export/dtf/unified/results/mustang/b11/regression/Sparc10-reg/workDir/java/awt/image/BufferedImage/BufImgGraphicsConfig/GarbageCollectionTest/GarbageCollectionTest.jtr How to reproduce: ==================== - Set JAVA_HOME to /net/koori/onestop/jdk/6.0/latest/binaries/solaris-sparc - cd /net/koori.sfbay/p/jdk12/jdk/1.6.0/ea/b12/ws/j2se/test/java/awt/image/BufferedImage/BufImgGraphicsConfig/GarbageCollectionTest - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg -r:/tmp -w:/tmp . Test output: ============= Test FAILED: MyButton hasn't been collected/finalized! java.lang.RuntimeException: Test FAILED. Button was not collected at GarbageCollectionTest.<init>(GarbageCollectionTest.java:56) at GarbageCollectionTest.main(GarbageCollectionTest.java:23) 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:82) at java.lang.Thread.run(Thread.java:595) JavaTest Message: Test threw exception: java.lang.RuntimeException: Test FAILED. Button was not collected JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test FAILED. Button was not collected result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED. Button was not collected test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED. Button was not collected Specific Machine Info: ===================== Host Name: huangho Solaris 10 s10_70 SPARC Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 22 October 2004 ###@###.### 2004-11-17 01:44:17 GMT