JDK-4760787 : problem to find the class with traditional Chinese characters name
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 1.4.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2002-10-09
  • Updated: 2002-11-14
  • Resolved: 2002-11-14
Related Reports
Duplicate :  
Description
###@###.### 2002-10-09

J2SE Version (please include all output from java -version flag):
  java version "1.4.1"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
  Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

Does this problem occur on J2SE 1.3 or 1.4?  Yes / No (pick one) 
  Yes

Operating System Configuration Information (be specific):
  Only on Windows XP

Bug Description:
  Unable to run classes containing traditional Chinese characters
  though being able to compile them correctly. 

  Following exception throws:
      java.lang.NoClassDefFoundError: ��Ps?????
      Exception in thread "main"

Steps to Reproduce (be specific):
- Configurate Windows XP to support traditional Chinese characters
- Run the sample(taiwan3.zip)

Comments
EVALUATION In respsonse to SDN comments concerning "encoding(Big5)", please file a new bug so your issue can be properly evaluated.
28-07-2006

SUGGESTED FIX Alex Sultanov sent diffs to address 4653176; in summary, to fix the problem the command line input is processed assuming it is using a utf8 encoding. ###@###.### 2002-10-10
10-10-2002

EVALUATION Looks like a duplicate of 4392380. ###@###.### 2002-10-10 I concur; this bug appears to be the same as a number of other bugs concerning launching classes from the command line whose names include non-ISO 8859-1 characters. Another engineer has sent me a suggested fix to address this problem (see suggested fix section). I'm working on restructuring the launcher; as part of that effort, I'll try to incorporate these changes. I will need to consult with the I18N group since I'm not familiar with how I18N issues are addressed in C. ###@###.### 2002-10-10 Verified this bug is a duplicate of 4761384; the attached test ran succesfully on XP using a jdk with the fix for 4761384. Closing as a dup. ###@###.### 2002-11-14
10-10-2002