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

JNLPClassLoader.getResource(String) returns null

XMLWordPrintable

    • generic, x86
    • windows, windows_xp

      FULL PRODUCT VERSION :
      1.6.0_19 and _20

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP, Windows Vista and Windows 7

      A DESCRIPTION OF THE PROBLEM :
      URL packageUrl = getClass().getClassLoader().getResource("/existing/package");

      worked fine in our webstarted app before u19 on windows, after that it returns null

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use the above code line in a javaws application.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      packageUrl contains an URL instance pointing to the package
      ACTUAL -
      packageUrl is null

      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 6u19
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            herrick Andy Herrick (Inactive)
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: