FULL PRODUCT VERSION :
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
A call to JOptionPane.showMessageDialog from an InputVerifiier followed by a return true will cause an infinite loop. It did not with 1.3x and 1.5.0_03.
If false is returned instead of true, everything works as expected.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
class BosVerifier extends InputVerifier {
public boolean verify (JComponent input) {
JOptionPane.showMessageDialog(null, "Bill of sale number must be numeric only", "NUMBER FORMAT ERROR", JOptionPane.ERROR_MESSAGE);
return true;
}
---------- END SOURCE ----------
Release Regression From : 5.0u3
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.