With the Java2D 05-Nov-02.mantis build we are observing several failures with image rendering, especially with png image files. The rendering is a blank image.
- The failures have been seen on both Solaris and Win32 platforms.
- The bug is not reproducable with the last Mantis promoted build: 1.4.2-beta-b06
1) ImageIO (jtreg) Suite/Interactive Tests
- Interactive/QL/Render2DTest
- Interactive/QL/GetImageReaderTest
- Interactive/QL/FileCacheImageOutputStreamTest
2) MediaServer GoldenRetriever.java application is unable to render PNG images read from local directory.
Attaching test application ImgReadWrite.java which will allow the bug to be reproduced on supported BufferedImage types.
Here's a summary of results for rendering PNG and JPG images on various BufferedImages:
png-Shape
=========
Fails - no rendering
--------------------
TYPE_INT_RGB
TYPE_INT_ARGB
TYPE_INT_ARGB_PRE
TYPE_INT_BGR
TYPE_3BYTE_BGR
TYPE_4BYTE_ABGR
TYPE_4BYTE_ABGR_PRE
TYPE_USHORT_565_RGB
TYPE_USHORT_555_RGB
Passes
------
TYPE_BYTE_GRAY
TYPE_USHORT_GRAY
TYPE_BYTE_BINARY
TYPE_BYTE_INDEXED
-------------------------------
jpeg-Shape
==========
Fails - no rendering
--------------------
TYPE_INT_ARGB
TYPE_INT_ARGB_PRE
TYPE_4BYTE_ABGR
TYPE_4BYTE_ABGR_PRE
Passes
------
TYPE_INT_RGB
TYPE_INT_BGR
TYPE_3BYTE_BGR
TYPE_USHORT_565_RGB
TYPE_USHORT_555_RGB
TYPE_BYTE_GRAY
TYPE_USHORT_GRAY (test bug)
TYPE_BYTE_BINARY
TYPE_BYTE_INDEXED