-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
kestrel
-
sparc
-
solaris_2.5.1, solaris_2.6
Name: aaC67449 Date: 07/21/99
The AccessibleRelation.getTarget() method throws NullPointerException
------------- example --------------
import javax.accessibility.AccessibleRelation;
import java.awt.*;
public class Test {
public static void main(String argv[]) {
AccessibleRelation ar= new AccessibleRelation(
AccessibleRelation.CONTROLLER_FOR);
System.out.println("Target:"+ar.getTarget());
}
}
------------- output ---------------
Exception in thread "main" java.lang.NullPointerException
at javax.accessibility.AccessibleRelation.getTarget(AccessibleRelation.java, Compiled Code)
at Test.main(Test.java, Compiled Code)
======================================================================
- duplicates
-
JDK-4262625 accessibility.AccessibleRelation.getTarget() throws NPE
- Closed