-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
x86
-
linux
Name: aaR10208 Date: 02/03/2004
Filed By : J2SE-SQA [###@###.###
JDK : jdk1.5.0-beta-b32c
Platform[s] : RH Linux 9
How to reproduce:
=================
1. Start Font2DTest
2. Choose "File" -> "Save as jpeg"
You'll see the following exception:
java.lang.ClassCastException: sun.awt.image.DataBufferNative
at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:405)
at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:228)
at FontPanel$FontCanvas.writeJPEG(FontPanel.java:1078)
at FontPanel.doSaveJPEG(FontPanel.java:391)
at Font2DTest.actionPerformed(Font2DTest.java:779)
======================================================================
- duplicates
-
JDK-4908153 Font2DTest throws classcast exception on "save as JPEG"
- Closed