-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
1.2.2
-
sparc
-
solaris_2.6
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2116777 | 1.2.0 | Swingtraq Swingtraq | P3 | Closed | Cannot Reproduce |
JDK Version: 1.2fcs-O
OS: Solaris 2.6
Locale: zh_TW
JComboBox will printed out debug information in zh_TW locale, the information
is as follows:
nrows = 0 cellHeights.length = 1
The printed number will changed sometimes.
In fact in BasicListUI.java, there exists a code like:
System.out.println("nrows = " + nrows + " cellHeights.length = " + cellHeights.length);
(line number is 648)
I think it should be removed from the source code.
Attached is a program to reproduce it:
Save the file
javac JComboBoxTester.java
java JComboBoxTester
use mouse to pull down the list of the JComboBox, then wait a while
to see this printed information.
jim.hu@prc 1998-10-29
OS: Solaris 2.6
Locale: zh_TW
JComboBox will printed out debug information in zh_TW locale, the information
is as follows:
nrows = 0 cellHeights.length = 1
The printed number will changed sometimes.
In fact in BasicListUI.java, there exists a code like:
System.out.println("nrows = " + nrows + " cellHeights.length = " + cellHeights.length);
(line number is 648)
I think it should be removed from the source code.
Attached is a program to reproduce it:
Save the file
javac JComboBoxTester.java
java JComboBoxTester
use mouse to pull down the list of the JComboBox, then wait a while
to see this printed information.
jim.hu@prc 1998-10-29
- backported by
-
JDK-2116777 JComboBox will printed out debug information in zh_TW locale.
-
- Closed
-