JDK-6362639 : Regression 1.6: Application does not terminate after calling PrinterJob.printDialog()
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-12-13
  • Updated: 2010-04-02
  • Resolved: 2005-12-13
Related Reports
Duplicate :  
Description
Application does not terminate after calling PrinterJob.printDialog() 

Steps to reproduce the problem:

1. Compile and run Test.java
2. Cancel print dialog.
3. The application does not terminate on 1.6.
Running under 1.5 it terminates.


--- Test.java 
import java.awt.print.PrinterJob;

public class Test {
    public static void main(String[] args) {
        PrinterJob.getPrinterJob().printDialog();
    }
}
---