JDK-7026184 : (launcher) Regression: class with unicode name can't be launched by java.
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows,windows_xp
  • CPU: generic,x86
  • Submitted: 2011-03-10
  • Updated: 2011-07-25
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b136Fixed
Related Reports
Duplicate :  
Relates :  
Description
Regression test test/tools/launcher/UnicodeTest.sh failed on zh or ja locales on Windows platform.

Class with unicode name can't be launched by java.

Can be reproduced on jdk7 build37 and later.
Test jdk7 b147 on following two platforms, Regression test tools/launcher/UnicodeTest.sh still failed. Attached UnicodeTest.jtr and env.htm files for your reference.

<1>Windows 7 6.1 (x86) with Cygwin
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode)
Locale tested: Thai(Thailand); Chinese(Simplified, PRC); Japanese(Japan)

<2>Windows Server 2008 R2 6.1 (amd64) with Cygwin
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
Locale tested: Thai(Thailand); Chinese(Simplified, PRC); Japanese(Japan)

Region and Language in Windows Control Panel (including Format; Current location; Display language; System locale) are all set to the related test language.

However, run the attached program java file aaa.zip in CR7025874, it works perfectly on zh and ja locale with native characters.

Comments
EVALUATION The main-class type is not converted correctly when passed into Java.
12-03-2011