JDK Version: 1.5.0-beta-b15, b22
System Information:
SunOS papabear 5.9 Generic i86pc i386 i86pc
Solaris 9 s9_58shwpl3 INTEL
SunOS lopez 5.9 Generic i86pc i386 i86pc
Solaris 9 s9_58shwpl3 INTEL
Problems:
When run VolatileDuke in solaris9 x86 by using 1.5.0-beta-b15 and later builds b22, it rendering so slowly, and got execption as followings:
Exception during paint: java.lang.ClassCastException: sun.awt.image.WritableRast
erNative
Exception during paint: java.lang.ClassCastException: sun.awt.image.WritableRast
erNative
It only happens in solaris-i586, it is OK with windows-i586 in win2k and solaris-sparc in sparc9.
To reproduce the problem:
1. cd /net/sqesvr-nfs.sfbay/global/nfs/ws1/1.5.0/2d/src/VolatileDuke
2. set JAVA_HOME to the target build, b22 or b21
3. gnumake all
4. Max the frame or min the frame, you will see the execption, and duke is moving so slow in Volatile side.
5. The source code as attached.