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

Scaling outside of width causes PRException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs
    • 2d
    • sparc
    • solaris_2.6

      I'm doing repetitive scaling and continuing to scale past the width of the window. Maybe this exception is correct behavior:

      sun.dc.pr.PRException: endPath: bad path
              at sun.dc.pr.Rasterizer.endPath(Rasterizer.java:519)
              at sun.java2d.pipe.DuctusRenderer.createShapeRasterizer(DuctusRenderer.java:159)
              at sun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRenderer.java:62)
              at sun.java2d.pipe.DuctusShapeRenderer.fill(DuctusShapeRenderer.java:57)
              at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:1226)
              at tests.transforms.scale.update(scale.java:37)
              at java.awt.Component.dispatchEventImpl(Component.java:1880)
              at java.awt.Component.dispatchEvent(Component.java:1837)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)

      java full version "JDK1.2T"

      Source code has been attached.

      This problem now also appears in the TestProduct with the Tree test.
      tests/fonts/Tree

            jkaulorcl Jeet Kaul (Inactive)
            blichtensunw Brian Lichtenwalter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: