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

Not setting the clipping rectangle crashes application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • Windows 7, JDK 7, JavaFX 2.2 b11

      In the attached program, in order not to draw outside of the bounds of the drawingPane
      I set a clipping Rectangle. This works nicely although it is
      a bit of a pain that we still have to do that manually.
      But even worse if you don't do that the whole application
      crashes at startup caused by a StackOverfowError. I'd rather
      expect some drawing artifacts on the tool bar but not a crash
      of the application.

            psafrata Pavel Ĺ afrata
            dpausjfx Dr. Michael Paus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: