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

PIT: SplashScreen.getImageURL() returns null always

XMLWordPrintable

    • b47
    • generic
    • generic
    • Verified

      I am running a java application with '-splash:<img file>' option and inside the application, I am getting the instance of splash screen and calling SplashScreen.getImageURL(). According to the API spec, this method is supposed to return the URL of the image file used in the splash screen. But this method always returns null on all platforms, for all image types.

      I reproduced it on SolSparc10-JDS, WinXP and Linux RH9.

      Here is the PIT build:
      java version "1.6.0-awt.pit-int-jcg-win-03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-jcg-win-03-java2d_20_may_2005_05_21-b00)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)

      Run the attached test. If you see a 'null' value being printed for ImageURL, the bug is reproduced.
      ###@###.### 2005-05-22 10:55:27 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: