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

(prefs) java.util.prefs.Preferences does not work with web start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • core-libs
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
      Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      java.util.prefs.Preferences.java class does not load a resource dynamically with Class.forName(..) as Class.forName(..) will not find any resources that are defined in the JNLP file.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      To replace class.forName(..) with Thread.getCurrent().getContextClassLoader()/this.getClass().getClassLoader() as described in the webstart FAQ section.
      ###@###.### 2004-11-09 20:32:16 GMT

            sherman Xueming Shen
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: