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

PIT: App is not terminating when popping up cross platform print & page dialogs

XMLWordPrintable

    • sparc
    • solaris_9

      I am popping up a cross-platform page dialog, print dialog by passing an attribute set to the methods available in PrinterJob class. Once the dialogs are closed, the application is not getting terminated on Solaris and Linux. The user has to press CTRL+C explicitly to terminate the application. This is reproducible only on Solaris and Linux using the given PIT build and seems to be working fine on Win32. This is not reproducible on any of the promoted builds.

      Here is the PIT build:
      java version "2d.pit-jcg-sparc-01-2004-01-18.tiger"
      Java(TM) 2 Runtime Environment, Standard Edition (build 2d.pit-jcg-sparc-01-2004-01-18.tiger)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b33, mixed mode)

      I have attached a sample testcase. Execute the testcase. You would get a page dialog. Click Ok. Print dialog will popup. Click ok. If the application is not terminated, the bug is reproduced.
      ============================================================================

      The application specified in the evaluation reproduces the problem on all the builds with Solaris9 - CDE also. I noticed a WINDOW_GAINED_FOCUS event being triggered when the frame gets disposed. I have added AWTEventListener to the toolkit and executed this application on J2SE 1.4, 1.4.1, 1.4.2, 1.5 - b32a on Solaris9 - CDE. I have attached the observations to this bug report.

      However this is a PIT failure as far as 2D is concerned, since it is introduced in the 2D PIT build due to the usage of active window as the parent of the print dialogs.

      ###@###.### 2004-01-26

            dmikhalksunw Denis Mikhalkin (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: