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

PIT: SplashScreen does not come up for jar bundled applications, when specified in manifest file

XMLWordPrintable

    • b47
    • generic
    • generic
    • Verified

      I have created a jar file having a sample application, couple of images and a manifest file. Manifest file contains the splash screen option and path to the corresponding image to be used. When I launch the application using 'java -jar <jar file>' option, I don't see any splash screen and I get a null value when calling SplashScreen.getSplashScreen(). This is a basic feature and hence should work fine.

      This is reproducible on all platforms with the given PIT build. I tested with WinXP and SolSparc10-JDS.
      java version "1.6.0-awt.pit-int-awt-blade"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-dm97671_20_May_2005_10_19-b00)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b37, mixed mode)

      I have attached a jar file. Execute it as follows:
      java -jar Splash.jar
      If you don't see the splash screen and if you see a NPE on the console, the bug is reproduced.
      ###@###.### 2005-05-23 08:25:41 GMT

            osemenovsunw Oleg Semenov (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: