Weird, weird bug [message #104700] |
Sun, 25 September 2005 15:14 |
Eclipse User |
|
|
|
Originally posted by: christophercrawford.direcway.com
I have a weird bug to report on the Eclipse platform JDK for Macintosh OS
X. I am using Eclipse 3.1.0 under OS 10.4.2. I tried to gain access to
the bug report area but it refused to accept my username/password.
The bug arises in a call to JComboBox.addItem(String). I have used this
method many times with no problem, but in this one case, the item is being
added immediately after a call to JComboBox.removeAllItems(). In many
cases, this works fine. But under these conditions:
String contains any character other than those in this set:
acdeghikmnopqrtvwHLT4>%'/
AND
Random
Then the JComboBox is altered so as to take up a very large amount of
space on the screen, pushing everything else (except one Container) off
the screen.
I have performed many experiments on this bug. Although its striking is
inconsistent, its effect is consistent; either it works fine or the bug
strikes in the standard way. I have tried longer strings and shorter
strings, strings with offending characters in various positions in the
string, and so forth. When the conditions are met, the bug strikes at
least 50% of the time, but I have been unable (despite numerous
experiments) to precisely characterize the conditions under which it will
strike.
My colleagues have not been able to replicate this bug on the Windows
version of Eclipse, so it seems to be a compiler bug. I shall continue my
experiments. I really don't expect anybody to solve this problem, as it is
too esoteric to be believable. I can work around it.
|
|
|
Powered by
FUDForum. Page generated in 0.09157 seconds