United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-5054343 : J2SE 1.4.2 cannot display certain awt components in Asian characters in RH2.1 AS

Details
Type:
Bug
Submit Date:
2004-05-28
Status:
Resolved
Updated Date:
2004-11-30
Project Name:
JDK
Resolved Date:
2004-08-17
Component:
client-libs
OS:
linux_redhat_2.1,linux_redhat_3.0,linux
Sub-Component:
java.awt:i18n
CPU:
x86
Priority:
P1
Resolution:
Fixed
Affected Versions:
laurel,orion2,orion2linux_b11,1.3.1_14,1.4.2_05
Fixed Versions:
1.4.2_06 (06)

Related Reports
Duplicate:
Duplicate:
Relates:
Relates:

Sub Tasks

Description
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.

                                    

Comments
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
                                     
2004-07-26
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


                                     
2004-08-18



Hardware and Software, Engineered to Work Together