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

PrintJob.getGraphics() should return null after PrintJob.end

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 26
    • 26
    • client-libs
    • 2d
    • 26

      The fix for https://bugs.openjdk.org/browse/JDK-8363889 makes

      PrintJob.getGraphics() always return a Graphics.
      After PrintJob.end() is called it should return null.
      This has been long-standing behavior even though it isn't specified.

      This was missed because the test for this is not being run due to a bug in the test tag - it is a closed test for no very good reason.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: