-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.2.2
-
sparc
-
solaris_2.5.1
Name: aaC67449 Date: 02/23/99
Some AccessibleJTree methods print debug information on console.
Source code:
JTree:2924:"
public AccessibleJTree() {
System.out.println("AccessibleJTree created");
Thread.dumpStack();
"
JTree:3497:"
System.out.println("in getAccessibleParent for " + this.toString());
System.out.println(" -> index = " + index);
"
The bug appears in JDK-1.2.2-H.
see example.
-------------------Example-----------------------------------
import javax.swing.*;
import javax.accessibility.*;
public class Test {
public static void main(String argv[]) {
JTree parent = new JTree();
AccessibleContext c = parent.getAccessibleContext();
}
}
-------------------Output------------------------------------
AccessibleJTree created
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java, Compiled Code)
at javax.swing.JTree$AccessibleJTree.<init>(JTree.java, Compiled Code)
at javax.swing.JTree.getAccessibleContext(JTree.java, Compiled Code)
at Test.main(Test.java, Compiled Code)
======================================================================