JDK-6671593 : failure with ConvolveOp
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: generic
  • Submitted: 2008-03-05
  • Updated: 2011-01-19
  • Resolved: 2009-06-01
Related Reports
Duplicate :  
Relates :  
Description
The attached sameple code fails to ConvolOP the provided image. I suspect there is a problem with the image, but the BufferedImage can be written to a png and that looks right.

I filed a related bug 6671585 where the same image causes RescaleOp to memory fault.

This test worked with jdk 1.4 on Linux, but failes using 1.5 and 1.6 on Mac and Ubuntu.

ddhill@ddhill-desktop:~$ java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

Comments
EVALUATION Note that image produced by a jpeg reader is TYPE_3BYTE_BGR. Problem with processing images of such type was resolved as a part of fix for CR 6585922.
01-06-2009