PrintDialogTest.ksh is failing against JDK 1.5.0_12b01 but passing against JDK 1.5.0_11b03 on Solaris and Linux systems. There is no such a failure on Windows.
Here is the list of tested OSs:
Sol11-sparc Sol10-sparc Sol10-x86 SLES10-x86 WinXP-x86
50u12b01 FAIL FAIL FAIL FAIL PASS
50u11b03 PASS PASS PASS PASS PASS
The test case is attached (test.tar).
How to reproduce:
1. Install JDK on a machine.
2. Untar the test case and cd into created "test" dir.
3. sh PrintDialogTest.ksh ${WORK_DIR} ${JAVAC} ${JAVA}
The execution commands and log are below:
bash-3.00# sh PrintDialogTest.ksh . /export/JDK/jdk1.5.0_11/bin/javac /export/JDK/jdk1.5.0_11/bin/java
Test passed
bash-3.00# sh PrintDialogTest.ksh . /export/JDK/jdk1.5.0_12/bin/javac /export/JDK/jdk1.5.0_12/bin/java
Actual Color: java.awt.Color[r=238,g=238,b=238]
Expected Color: java.awt.Color[r=0,g=0,b=255]
FAIL: Frame not repainted properly
Test failed
About to screen capture - java.awt.Rectangle[x=0,y=0,width=1280,height=1024]
Execution failed
Thanks in advance.