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

PIT: Adding a TrayIcon closes a SplashScreen on Solaris but not on Win32

XMLWordPrintable

    • b25
    • sparc
    • solaris_10
    • Not verified

      I am running an application which adds a tray icon to the system tray. I am running this app with '-splash' option and I am passing an image file. I see some behavioral difference between WinXP and Solaris with respect to the closure of SplashScreen. This application is not opening any window and it just adds the tray icon to the system tray.

      On WinXP, The splash Screen stays on the screen forever and getSplashScreen() returns a valid instance of the splash screen.
      On SolSparc10-JDS, the splash screen vanishes as soon as the tray icon is added to the system tray and eventually getSplashScreen() returns null.

      I am not sure which is the right behavior but I tend to feel that what I see on winXP is appropriate, going by the spec.

      This is reproducible only on the current AWT PIT build (b47) and not reproducible on previous builds since splash screen never closes on the previous builds.

      I have attached a sample test and an image. Run the application as follows:
      java -splash:sun.gif SplashTest

      If you see SplashScreen staying on the screen forever on Win32 and closing immediately after tray icon being added on Solaris, the bug is reproduced.

            anthony Anthony Petrov (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: