JDK-4932206 : VolatileDuke threw execptions in IA9
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9
  • CPU: x86
  • Submitted: 2003-10-03
  • Updated: 2003-10-07
  • Resolved: 2003-10-07
Related Reports
Duplicate :  
Description
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.

Comments
EVALUATION Most likely a duplicate of 4931726. ###@###.### 2003-10-03 Closing as a duplicate of 4931726. I verified that the fix for 4931726 resolves the issue reported here. ###@###.### 2003-10-07
03-10-2003