-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
generic, sparc
-
generic, solaris_7
-
Verified
On Windows and Solaris :
In Merlin-beta,
Following exception is thorwn when 1.0,1.0 are passed to AffineTransform.setToShear() method.
Exception occurred during event dispatching:
java.awt.image.ImagingOpException: Unable to transform src image
at java.awt.image.AffineTransformOp.filter(Unknown Source)
at sun.java2d.SunGraphics2D.renderingPipeImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at sun.awt.image.ImageRepresentation.drawToBufImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at ShearTest.paint(ShearTest.java:65)
at java.awt.Container.update(Unknown Source)
at sun.awt.RepaintArea.update(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
This bug does not occur in JDK1.2, 1.3. A similar bug (Bugid: 4091868) was filed against JDK1.2bata2 and it was fixed in jdk1.2beta4. Now it is occuring again.
How To reproduce the bug:
Set the path to latest merlinbeta build and run the sample code.
If you get the above Exception , bug is reproduced.
In Merlin-beta,
Following exception is thorwn when 1.0,1.0 are passed to AffineTransform.setToShear() method.
Exception occurred during event dispatching:
java.awt.image.ImagingOpException: Unable to transform src image
at java.awt.image.AffineTransformOp.filter(Unknown Source)
at sun.java2d.SunGraphics2D.renderingPipeImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at sun.awt.image.ImageRepresentation.drawToBufImage(Unknown Source)
at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
at ShearTest.paint(ShearTest.java:65)
at java.awt.Container.update(Unknown Source)
at sun.awt.RepaintArea.update(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
This bug does not occur in JDK1.2, 1.3. A similar bug (Bugid: 4091868) was filed against JDK1.2bata2 and it was fixed in jdk1.2beta4. Now it is occuring again.
How To reproduce the bug:
Set the path to latest merlinbeta build and run the sample code.
If you get the above Exception , bug is reproduced.
- duplicates
-
JDK-4349964 jck_regr: api/java_awt/java2d/awt/Graphics2D/index.html#DrawImageTest1,2
- Closed
-
JDK-4352704 jck_regr: .._awt/java2d/awt/Graphics2D/index.html#DrawRenderedImageTesttestCase1
- Closed
-
JDK-4352715 jck_regr: api/java_awt/java2d/image/AffineTransformOp/index.html#FilterTest1
- Closed
- relates to
-
JDK-4091868 shear(1.0,1.0) of image throws ImagingOpException
- Closed