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

"java.lang.InternalError" exception is thrown on Windows 2000 and Whistler beta

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      beta2
    • CPU:
      x86
    • OS:
      windows_2000
    • Verification:
      Verified

      Description

      Tested with merlin_beta-refresh b73 on Windows 2000 and Whistler beta (japanese).

      Clicking the checkbox or button with image file on JCheckBox or JRadiubutton component,
      the following error is thrown;


      java.lang.InternalError: not implemented yet
              at sun.awt.windows.Win32OffScreenSurfaceData.getRaster(Win32OffScreenSurfaceData.java:138)
              at sun.java2d.loops.OpaqueCopyAnyToArgb.Blit(CustomComponent.java:70)
              at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:285)
              at sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:193)
              at sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:140)
              at sun.awt.image.AcceleratedOffScreenImage.copyBackupToAccelerated(AcceleratedOffScreenImage.java:123)
              at sun.awt.image.AcceleratedOffScreenImage.validate(AcceleratedOffScreenImage.java:289)
              at sun.awt.image.AcceleratedOffScreenImage.getSourceSurfaceData(AcceleratedOffScreenImage.java:221)
              at sun.java2d.SurfaceData.getSurfaceDataFromImage(SurfaceData.java:103)
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67)
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:53)
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:812)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2711)
              at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:738)
              at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:819)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2711)
              at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2701)
              at javax.swing.ImageIcon.paintIcon(ImageIcon.java:309)
              at javax.swing.plaf.metal.MetalRadioButtonUI.paint(MetalRadioButtonUI.java:161)
              at javax.swing.plaf.ComponentUI.update(ComponentUI.java:145)
              at javax.swing.JComponent.paintComponent(JComponent.java:492)
              at javax.swing.JComponent.paint(JComponent.java:759)
              at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4674)
              at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4627)
              at javax.swing.JComponent._paintImmediately(JComponent.java:4571)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4403)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:407)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:120)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:167)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)



      To reproduce;
      1. Extract attaced file(test.tar) and compile.
      2. Launch program.
         % java JRadioButton
             or JCheckBoxTest
      3. Comes up dialog.
      4. Click the banana or broccoli image.

      Then, you can see the problem.
      However, this messages are dispalyed only once every buttun with image.
      So, clicking the same buttuon twice, this messages are not displayed anymore.

      This problem does not occur on merlin-beta-refresh b72.

      And this problem is not seen in windows NT or 98 japanese with b73.

        Attachments

          Activity

            People

            Assignee:
            tdv Dmitri Trembovetski (Inactive)
            Reporter:
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: