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

PIT: "Warning: Cannot convert string" displays with awt/swing on RedHatLinux7.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.2
    • client-libs
    • x86
    • linux


      "Warning: Cannot convert string" displays when invoke java awt/swing program.


      Environment:
      J2SDK version:
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-internal-javai18n_30_oct_2002_11_25)

      Bundles location: /net/jano.sfbay/export/disk12/i18n/ws/jdk1.4.2-PIT/bundles

      Red Hat Linux release 7.3
      Kernel version : 2.4.18-10
      XFree86 version: 4.2.0 (Red Hat Linux release: 4.2.0-8)
      glibc version : 2.2.5-40.


      XF86Config:
      InputDevice section of XF86Config is for Japanese setting
      >Section "InputDevice"
      > Identifier "Keyboard0"
      > Driver "keyboard"
      > Option "XkbLayout" "jp"
      > Option "XkbModel" "jp106"


      Keyboard: ja106 Japanese keyboard.


      Reproduce step to:
      Install j2sdk-1_4_2-linux-i586.tar, and then execute Notepad demo
      youcan see the Warnings as follows.

      [kichi@mervyns /export/linux/j2sdk1.4.2/demo/jfc/Notepad]$ java Notepad
      Warning: Cannot convert string "<Key>Escape,_Key_Cancel" to type VirtualBinding
      Warning: Cannot convert string "<Key>Home,_Key_Begin" to type VirtualBinding
      Warning: Cannot convert string "<Key>F1,_Key_Help" to type VirtualBinding
      Warning: Cannot convert string "Shift<Key>F10,_Key_Menu" to type VirtualBinding
      Warning: Cannot convert string "<Key>F10,Shift_Key_Menu" to type VirtualBinding
      Warning: Cannot convert string "<Key>KP_Enter,_Key_Execute" to type VirtualBinding
      Warning: Cannot convert string "Alt<Key>Return,Alt_Key_KP_Enter" to type VirtualBinding


      This warning displays only on RHL7.3 with 1.4.2-internal build that for
      PIT as listed location path above.
      But this warning does not display with 1.4.2-beta-b04 on RHL7.3.
      and it does not display on Redhat7.2(32bit).

      It was seen on ja and C locale.




            ehawkessunw Eric Hawkes (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: