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

Drawing Image in Scroll Pane bombs on Hopper

XMLWordPrintable

    • 2d
    • generic
    • generic

      Build Tested : B05 (Hopper)
      OS Tested : All OSes

      Please compile and run attached Test case . Exception as follows is thrown

       java.lang.RuntimeException: java.lang.ClassNotFoundException: sun/java2d/loops/SetDrawLineANY
              at sun.java2d.loops.GraphicsPrimitiveProxy.instantiate(GraphicsPrimitiveProxy.java:73)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:254)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locatePrim(GraphicsPrimitiveMgr.java:211)
              at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:161)
              at sun.java2d.loops.DrawLine.locate(DrawLine.java:38)
              at sun.java2d.SurfaceData.makeRenderLoops(SurfaceData.java:472)
              at sun.awt.image.BufImgSurfaceData.getSolidLoops(BufImgSurfaceData.java:350)
              at sun.awt.image.BufImgSurfaceData.initSolidLoops(BufImgSurfaceData.java:335)
              at sun.awt.image.BufImgSurfaceData.createData(BufImgSurfaceData.java:212)
              at sun.java2d.SurfaceData.getSurfaceDataFromImage(SurfaceData.java:100)
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:60)
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:48)
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:722)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2782)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2772)
              at javax.swing.ImageIcon.paintIcon(ImageIcon.java:322)
              at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:152)
              at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
              at javax.swing.JComponent.paintComponent(JComponent.java:541)
              at javax.swing.JComponent.paint(JComponent.java:808)
              at javax.swing.JComponent.paintChildren(JComponent.java:647)
              at javax.swing.JComponent.paint(JComponent.java:817)
              at javax.swing.JComponent.paintChildren(JComponent.java:647)
              at javax.swing.JComponent.paint(JComponent.java:817)
              at javax.swing.JViewport.paint(JViewport.java:707)
              at javax.swing.JComponent.paintChildren(JComponent.java:647)
              at javax.swing.JComponent.paint(JComponent.java:817)
              at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4771)
              at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4724)
              at javax.swing.JComponent._paintImmediately(JComponent.java:4668)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4477)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:404)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)

      also confirmed as not reproducible on B92 of Merlin.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: