-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.0
-
None
-
sparc
-
solaris_8
ImageIO Suite Render2DTest (jtreg) fails with JDK1.4 and Hopper-rc.
Specifically, the test fails when attempting to write "jpeg" BufferedImages for types:
TYPE_USHORT_GRAY
TYPE_BYTE_BINARY
For these images, the test produces no rendered image. Note that when the test writes out these types as "png", there is no problem.
- The test case is a JTREG/Interactive test part of the ImageIO test suite.
- The test fails with Merlin JDK1.4 FCS and Hopper builds (JDK1.4.1)
- Verified the failure on Win2000, Win98, and Solaris 8 (32) with Hopper JDK1.4.1-B17
Test location:
-------------
/net/sqesvr/export/2d/Merlin_2d_ws/ImageIO/src/Interactive/QL/Render2DTest
Steps to reproduce:
------------------
The ImageIO test suite workspace is located at:
/net/sqesvr/export/2d/Merlin_2d_ws/ImageIO/
1) Copy the test suite from the workspace to your local directory.
(For example, /home/rickr/work/2d/ImageIO)
2) cd /home/rickr/work/2d/ImageIO
3) Set JAVA_HOME variable to the jdk141-b17 build
4) Set JTREG_HOME variable to your jtreg location
5) Go to the test directory
/net/sqesvr/export/2d/Merlin_2d_ws/ImageIO/src/Interactive/
5) Run the jtreg interactive test with the command (modify with your suite location):
ksh $JTREG_HOME/solaris/bin/jtreg -va -cpa:"/home/rickr/work/2d/ImageIO/data" src/Interactive/QL/Render2DTest/Render2DTest.html
6) The test should create a frame with 3 buttons "BuffImage", "Write", and "Next" (along with instructions frame).
7) Select jpeg image types by clicking either the "jpeg-Shape" or "jpeg-Font" radio button.
8) Click the "Next" button several times until the type "TYPE_USHORT_GRAY" appears in the TextArea. (The test cycles through all avail. BufferedImage types starting with TYPE_INT_RGB).
8) Click on the "BuffImage" button and an image will be rendered.
9) Click on the "Write" button and the test will attempt to write out the jpeg image.
10 For types TYPE_USHORT_GRAY and TYPE_BYTE_BINARY the rendered image will be blank.
Specifically, the test fails when attempting to write "jpeg" BufferedImages for types:
TYPE_USHORT_GRAY
TYPE_BYTE_BINARY
For these images, the test produces no rendered image. Note that when the test writes out these types as "png", there is no problem.
- The test case is a JTREG/Interactive test part of the ImageIO test suite.
- The test fails with Merlin JDK1.4 FCS and Hopper builds (JDK1.4.1)
- Verified the failure on Win2000, Win98, and Solaris 8 (32) with Hopper JDK1.4.1-B17
Test location:
-------------
/net/sqesvr/export/2d/Merlin_2d_ws/ImageIO/src/Interactive/QL/Render2DTest
Steps to reproduce:
------------------
The ImageIO test suite workspace is located at:
/net/sqesvr/export/2d/Merlin_2d_ws/ImageIO/
1) Copy the test suite from the workspace to your local directory.
(For example, /home/rickr/work/2d/ImageIO)
2) cd /home/rickr/work/2d/ImageIO
3) Set JAVA_HOME variable to the jdk141-b17 build
4) Set JTREG_HOME variable to your jtreg location
5) Go to the test directory
/net/sqesvr/export/2d/Merlin_2d_ws/ImageIO/src/Interactive/
5) Run the jtreg interactive test with the command (modify with your suite location):
ksh $JTREG_HOME/solaris/bin/jtreg -va -cpa:"/home/rickr/work/2d/ImageIO/data" src/Interactive/QL/Render2DTest/Render2DTest.html
6) The test should create a frame with 3 buttons "BuffImage", "Write", and "Next" (along with instructions frame).
7) Select jpeg image types by clicking either the "jpeg-Shape" or "jpeg-Font" radio button.
8) Click the "Next" button several times until the type "TYPE_USHORT_GRAY" appears in the TextArea. (The test cycles through all avail. BufferedImage types starting with TYPE_INT_RGB).
8) Click on the "BuffImage" button and an image will be rendered.
9) Click on the "Write" button and the test will attempt to write out the jpeg image.
10 For types TYPE_USHORT_GRAY and TYPE_BYTE_BINARY the rendered image will be blank.
- duplicates
-
JDK-4450894 Application crashes when USHORT_GRAY BuffImage is written using JPEG writer.
-
- Closed
-