-
Bug
-
Resolution: Fixed
-
P2
-
1.4.1
-
None
-
tiger
-
generic
-
generic
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
----------------------------------------------------------
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
- relates to
-
JDK-4848456 Javadoc for Toolkit.getPrintJob() in java.awt is incomplete
-
- Open
-
-
JDK-4030718 A program which calls Toolkit.getDefaultToolkit() won't terminate.
-
- Resolved
-
-
JDK-4515058 application does not exit after printing
-
- Closed
-