-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
1.3.1
-
sparc
-
solaris_8
Compile the following codes under jdk1.3.1, then run it under jdk1.2.2, jdk1.3.1, jdk1.4, you can find that under jdk1.3.1/jdk1.4, it runs well, but under jdk1.2.2, a VerifyError will be thrown.
import javax.swing.*;
import javax.swing.table.*;
public class Test
{
public Test() {
new MyCellEditor();
System.out.println("success!");
}
static public void main(String[] args) {
new Test();
}
}
class MyCellEditor extends DefaultCellEditor {
public MyCellEditor() {
super(new JCheckBox());
}
protected void fireEditingStopped() {
super.fireEditingStopped();
}
}
import javax.swing.*;
import javax.swing.table.*;
public class Test
{
public Test() {
new MyCellEditor();
System.out.println("success!");
}
static public void main(String[] args) {
new Test();
}
}
class MyCellEditor extends DefaultCellEditor {
public MyCellEditor() {
super(new JCheckBox());
}
protected void fireEditingStopped() {
super.fireEditingStopped();
}
}