JDK-5092815 : REGRESSION: Simplified chinese file name not displayed correctly in JFileChooser
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_2000,windows_xp
  • CPU: x86
  • Submitted: 2004-08-26
  • Updated: 2005-01-07
  • Resolved: 2004-09-22
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.
Other JDK 6
5.0u1 betaFixed 6Fixed
Related Reports
Relates :  
Description
Name: gm110360			Date: 08/26/2004


FULL PRODUCT VERSION :
java version "1.5.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b60)
Java HotSpot(TM) Client VM (build 1.5.0-beta3-b60, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

EXTRA RELEVANT SYSTEM CONFIGURATION :
My MS windows is an English version, and "Control Panel/Regional and Language Options" settings are:
  "Riginal Options/Standards and formats" was set to "Chinese(PRC)",
  "Riginal Options/Location" was set to "China",
  "Advanced/Language for non-Unicode programs" was set to "Chinese(PRC)",


A DESCRIPTION OF THE PROBLEM :
Simplified chinese folder or file name can't be displayed correctly in FileChooserDemo demo application when the "Windows" Look and Feel" was selected and file chooser dialog was shown.

It runs correctly when the others "Look and Feel" was selected.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
This bug always occur on my computer.

I think if you have the same os and "Regional and Language Options" settings, you will reproduce it.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I hope you will correct this bug
ACTUAL -
Simplified Chinese can not display, some small quadrangle was displayed for each Chinese word

ERROR MESSAGES/STACK TRACES THAT OCCUR :
there are no error message

REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 297012) 
======================================================================
###@###.### 10/25/04 19:25 GMT

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.5.0_01 mustang FIXED IN: 1.5.0_01 mustang INTEGRATED IN: 1.5.0_01 mustang
28-09-2004

EVALUATION This regression was caused by fix for bug 4826791. Instead of creating a new non-UIResource font for the filepane list, we should check in BasicListUI which UIResource to use, based on the UI property "List.isFileList". ###@###.### 2004-09-07
07-09-2004