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

test/java/awt/Graphics2D/MTGraphicsAccessTest/MTGraphicsAccessTest.java succeeds despite exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7
    • client-libs
    • None
    • 2d
    • generic
    • generic

      To fix bug 6982632 we had to make the test only fail optionally if the rendering methods threw exceptions. While this does not violate any specification or stated
      promises about the behavior of these methods, it does represent a change in behavior that is a bit more annoying than the silent failures that used to happen.

      We should consider installing fake NOP loops instead of setting the loops to null when the SunGraphics2D is invalidated. This will preserve the lack of exceptions with a more benign failure (no output).

            prr Philip Race
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: