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

IMF does not remove the bogus information from the Preferences on Japanese Windo

XMLWordPrintable

    • beta
    • x86
    • windows_nt
    • Verified


      IMF does not remove the bogus information from the Preferences on Japanese Windows.


      Reproduce to:
      1, Set Wubi.jar which attached into $JAVAHOME/jre/lib/ext
      2, Launch Notepad in DEMO.
      3, Text input for use javaIM WubiIM and TestIM.
         like this->
         - Select "Select input method" in the system menu (at upper-left of window)
         - Select java IM {TestIM,WuBiIM}
         - Press Ctrl+Space, and input 'aabbccdd'
      4, Close Notepad
      5, Remove Wubi.jar which in $JAVAHOME/jre/lib/ext.
      6, Launch Notepad in DEMO.
      7, Warning displays below.

      C:\tmp\win\demo\jfc\Notepad>java -jar Notepad.jar
      2001/03/23 16:28:36 java.util.prefs.WindowsPreferences removeSpi
      WARNING: Could not delete windows registry value Software\JavaSoft\Prefs\sun\awt
      \im\preferred/Input/Method\_ja\_/J/P\[B@384065 at root 0x80000001. Windows RegDe
      leteValue(...) returned error code 2.

      This message display, it means the bogus information does not remove from the Preferences.


      Reference: Windows registory is written below.

      After reproduce step3
      HKEY_CURRENT_USER\Software\JavaSoft\Prefs\sun\awt\im\preferred/Input/Method\_ja

      After reproduce step6
      HKEY_CURRENT_USER\Software\JavaSoft\Prefs\sun\awt\im\preferred/Input/Method\_ja\_/J/P

      On reproduce Step6,
      The bogus information should be removed from the Preferences on this step.

      Notepad launch up after remove resistory key that reproduce Step6,
      Warning message "WARNING: Could not delete windows registry valuedoes..."
      does not display.



            naoto Naoto Sato
            kkichisunw Kichi Kichi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: