Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4348056

AffineTransform.setToShear(1.0,1.0) throws ImagingOpException in merlin-beta

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      beta
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_7
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jehung Jeannette Hung
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: