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

javaw.exe use different system default Locale than java.exe

XMLWordPrintable

    • mantis
    • x86
    • windows_nt, windows_2000



      Name: jk109818 Date: 01/28/2002


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

      AND

      java version "1.4.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b91)
      Java HotSpot(TM) Client VM (build 1.4.0-rc-b91, mixed mode)


      FULL OPERATING SYSTEM VERSION :
      Windows 2000 Server build 2195 Service Pack 2.



      A DESCRIPTION OF THE PROBLEM :
      In Regional Options:
        My locale(location) is setted to English(United States),
      and "Set default", Select System default locale to Chinese
      (PRC). When starting my application by "java -jar
      myapp.jar", it can display Chinese character correctly, but
      when using "javaw -jar myapp.jar", it just shows something
      unrecognizable.
      When set locale(location) to Chinese(PRC), everything is
      fine.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install a windows 2k English version, then install
      Chinese locale.
      2. Set locale as my description, then create a new file
      with Chinese character in its name.
      3. Use javaw to start any java application with "file open"
      function, then use file browser to open the new created
      file, you'll find the filename is unrecognizable.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      I hope javaw does the identical thing as java.

      This bug can be reproduced always.
      (Review ID: 137814)
      ======================================================================

            kkladkosunw Konstantin Kladko (Inactive)
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: