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

Java2Demo raises java.lang.InternalError on Solaris 7 (Build 55)

    XMLWordPrintable

Details

    • beta2
    • generic
    • solaris_7

    Description



      The link to the testcase:
      net/sqesvr/export/2d/Merlin_2d_ws/Java2Demo

      The following exception is raised when Java2Demo is run. The program doesn't crash but all the different images and animations get messed up.

      java.lang.InternalError: bad curvelink [-1.491668503499459E-154=>1.4916685037090535E-154] for Curve[1, (60.290584564208984, 53.0805549621582), (-15.824516296386719, 80.78418731689453), D]
              at sun.awt.geom.CurveLink.<init>(CurveLink.java:27)
              at sun.awt.geom.AreaOp.pruneEdges(AreaOp.java:346)
              at sun.awt.geom.AreaOp.calculate(AreaOp.java:144)
              at java.awt.geom.Area.<init>(Area.java:121)
              at sun.java2d.SunGraphics2D.intersectByArea(SunGraphics2D.java:430)
              at sun.java2d.SunGraphics2D.intersectRectShape(SunGraphics2D.java:397)
              at sun.java2d.SunGraphics2D.intersectShapes(SunGraphics2D.java:351)
              at sun.java2d.SunGraphics2D.clip(SunGraphics2D.java:1715)
              at java2d.demos.Clipping.Intersection.render(Intersection.java:152)
              at java2d.Surface.paint(Surface.java:348)
              at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4515)
              at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4468)
              at javax.swing.JComponent._paintImmediately(JComponent.java:4418)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4250)
              at java2d.Surface.paintImmediately(Surface.java:317)
              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:154)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)


      -----

      The bug doesn't occur with -Xint option on B55 and it works fine on B56 too.

      kannan.balasubramanian@Eng 2001-03-26

      Attachments

        Activity

          People

            busersunw Btplusnull User (Inactive)
            kbalasubsunw Kannan Balasubramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: