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

PIT: printing application does not exit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 5.0
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
      2d
    • Resolved In Build:
      tiger
    • CPU:
      generic
    • OS:
      generic

      Description

      This application never exits.
      ----------------------------------------------------------
      import java.awt.*;
      import java.awt.print.*;

      class PrintDlgAWT {

          public static void main(java.lang.String[] args) {
                PrintJob PJ = Toolkit.getDefaultToolkit().getPrintJob(
                              new Frame(),"Testing Exit", null,null);

          }

      }
      ----------------------------------------------------------------------

      ###@###.### wrote:

      > It turns out there's an old bug
      > "4515058 application does not exit after printing"
      > on exactly this isssue was closed as "will not fix" out of confusion
      > that input method contexts were the issue. Perhaps in that case they
      > were somehow involved, but I see no evidence of that - it just looks
      > like an AWT bug.
      >
      > I've attached the Ctrl-Break output to see if it tells anyone anything
      > beyond the obvious that the non-daemon thread AWT-EventQueue-0 is still
      > running.
      >

      See attachments.

      Praveen Mohan found this bug while testing it on the 2D PIT build:
      /net/capra/export12/java2d/builds/01-Apr-03.tiger

      ###@###.### 2003-04-08

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jgodinez Jennifer Godinez (Inactive)
              Reporter:
              jgodinez Jennifer Godinez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: