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

From function main's args could get locale char

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      jdk1.3.1_01 or merlin b72
      winnt s.chinese, winme t.chinese

      tar -xvf swing_awt_test.tar
      cd /awt/classes
      java awttest -command <localchar>

      then the windows popup with garble.

      It's seemed that it's deal with the main function's args as en locale, but using Locale.getDefaultlocale() we can get the defaultlocale is zh.

        Attachments

          Activity

            People

            Assignee:
            ehawkessunw Eric Hawkes (Inactive)
            Reporter:
            lefan Leon Fan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: