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

JNLPClassLoader.getResource(String) returns null

    Details

    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      windows, windows_xp

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: