-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
tiger
-
generic
-
generic
-
Verified
BMPImageReaderSpi.getPluginClassName() returns the plugin class name as 'com.sun.imageio.plugins.bmp.BMPImageWriter'. it must actually return BMPImageReader. Due to this, ImageReaderSpi.isOwnReader() returns false even when the reader passed to the SPI is the spi's own reader object.
Run the sample code and pass a bmp file name. It would print the reader class name, plugin class name and the output of isOwnReader() method.
This is noticed on solaris as well as windows on the following build:
java version "2d-jcg-win-01-2003-07-16.tiger"
Java(TM) 2 Runtime Environment, Standard Edition (build 2d-jcg-win-01-2003-07-16.tiger)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b10, mixed mode)
------------------------------------------------------------------------
WBMPImageReaderSpi.getPluginClassName() returns the plugin class name as WBMPImageWriter. Hence this must be fixed for WBMP also.
###@###.### 2003-07-22
Run the sample code and pass a bmp file name. It would print the reader class name, plugin class name and the output of isOwnReader() method.
This is noticed on solaris as well as windows on the following build:
java version "2d-jcg-win-01-2003-07-16.tiger"
Java(TM) 2 Runtime Environment, Standard Edition (build 2d-jcg-win-01-2003-07-16.tiger)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b10, mixed mode)
------------------------------------------------------------------------
WBMPImageReaderSpi.getPluginClassName() returns the plugin class name as WBMPImageWriter. Hence this must be fixed for WBMP also.
###@###.### 2003-07-22
- relates to
-
JDK-4901831 REGRESSION: JCK1.5-runtime api/javax_imageio/ImageIO/index.html#getImageWriter f
- Closed