JDK-5054343 : J2SE 1.4.2 cannot display certain awt components in Asian characters in RH2.1 AS
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version:
    laurel,orion2,orion2linux_b11,1.3.1_14,1.4.2_05 laurel,orion2,orion2linux_b11,1.3.1_14,1.4.2_05
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS:
    linux,linux_redhat_2.1,linux_redhat_3.0 linux,linux_redhat_2.1,linux_redhat_3.0
  • CPU: x86
  • Submitted: 2004-05-28
  • Updated: 2004-11-30
  • Resolved: 2004-08-17
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.
1.4.2_06 06Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
The problem was reported by Java ES team (5049127, 5048639).
There is a similar bug 4951068, discussed with responsible engineer, that bug has been verified by Oracle. The recommendation was to file a new bug with these additional findings.

Tested OS: RedHat AS 2.1 (32-bit)
Tested locales: ko, zh_CN, zh_TW
Tested JDK: 1.4.2_04_b05 and 1.4.2_05 b03

Test Suite 1: /net/sekai/projects/java_websvcs_j2se_1.5_tiger_l10n/java_websvcs_j2se_1.5_tiger_l10n/web/i18n/test_suites/GlobalSuite/1.4.2/gs142-b16.tar

Test results:
No problem with 2d and swing. Some problems in awt tests.

font-render/awt/one/CheckboxMenuItemRednerTest1.java - FAILED
font-render/awt/one/ChoiceRenderTest2.java - PASSED
font-render/awt/one/LabelRenderTest3.java - FAILED
font-render/awt/one/ListRenderTest4.java - FAILED
font-render/awt/one/TextFieldRenderTest1.java - PASSED
font-render/awt/one/TextFieldRenderTest4.java - PASSED

TestSuite 2: /net/sekai/projects/java_websvcs_j2se_1.5_tiger_l10n/java_websvcs_j2se_1.5_tiger_l10n/web/i18n/test_suites/awt.tar

Test results:

This test case also verified that certain awt components (menu, button, checkbox, label) displayed CCK characters as square boxes.

Furthermore, ASCII text cannot inputted in TextField and TextArea. CCK characters can be inputted there.

Warning messages:
Warning: Cannot convert string "-b&h-luxi
sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct

If we replace "luxi" with "lucidux" in font.properties.zh_CN.Redhat2.1 for S.Chinese, then the ASCII input problem disappeared. But the CCK font display problem still existed.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_06 generic FIXED IN: 1.4.2_06 INTEGRATED IN: 1.4.2_06

EVALUATION Not a 1.5 issue. ###@###.### 2004-06-01 A fix is being reviewed. Webrev at: http://jpsesvr.sfbay.sun.com:8080/ctetools/CodeStore/../html/ViewDetail.jsp?index=1158 ###@###.### 2004-07-26 A fix is reviewed on GS1.4.2-b16 for korean. ###@###.### 2004-07-26