-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.4.0
-
sparc
-
solaris_8
Tested bundle: j2sdk-1_4_0-beta_refresh-bin-b74-solsparc-01_aug_2001.sh
Tested enviroment: ko/ solaris 8 /sun4u
From awttest application, when you input korean characters on command line and then delete the last character, the space from command line is displayed garbage on java.awt.Canvas, Label, Button, Fextfield...
When i ran this application on solaris2.9, i got the following error messages :
Exception in thread "main" java.lang.Error: Converter malfunction: sun.io.ByteToCharEUC_KR
at java.lang.StringCoding$ConverterSD.decode(StringCoding.java:123)
at java.lang.StringCoding.decode(StringCoding.java:189)
at java.lang.StringCoding.decode(StringCoding.java:195)
at java.lang.String.<init>(String.java:362)
at java.lang.String.<init>(String.java:376)
Caused by: sun.io.MalformedInputException
at sun.io.ByteToCharDoubleByte.flush(ByteToCharDoubleByte.java:51)
at java.lang.StringCoding$ConverterSD.decode(StringCoding.java:120)
... 4 more
How to reproduce :
1) get awttest.class file from /net/tugrik/export/home1/JDK/test_suites/l10n_suites/awt/classes
2) enter $java awttest -command [some korean characters],
and delete some of korean characters from the command line,
then hit "return key" to run the application.
3) Then the java awttest application displays garbage on awt.Canvas, Label, Button, Fextfield...