Other |
---|
5.0 b32Fixed |
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Name: apR10229 Date: 08/20/2003 Filed By : SPB JCK team (###@###.###) JDK : java full version "1.5.0-beta-b15" JCK : 1.5 Platform[s] : Linux switch/Mode : JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto Failing Test [s] : api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener/index.html#Ctor api/javax_swing/plaf/metal/MetalFileChooserUI/SingleClickListener/index.html#Handler api/javax_swing/text/html/HTMLDocument/index.html#create_el api/javax_swing/text/html/HTMLDocument/index.html#protected api/javax_swing/text/html/StyleSheet/index.html#attr Problem description =================== 5 JCK tests fails during the compilation - NPE thrown by the compiler. There's a minimized example below. Minimized test: =============== ------- Test.java ------- import javax.swing.text.html.*; import javax.swing.text.*; class Test extends HTMLDocument { public AbstractDocument.AbstractElement createDefaultRoot() { // return super.createDefaultRoot(); } } ------- end-of-Test.java ------- Minimized test output: ====================== <pav@hammer(pts/5).258> javac Test.java An exception has occurred in the compiler (1.5.0-beta). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. java.lang.NullPointerException at com.sun.tools.javac.code.Type$ClassType.isSubType(Type.java:1375) at com.sun.tools.javac.code.Type$ClassType.isSubType(Type.java:1365) at com.sun.tools.javac.comp.Check.checkOverride(Check.java:911) at com.sun.tools.javac.comp.Check.checkOverride(Check.java:954) at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:386) at com.sun.tools.javac.tree.Tree$MethodDef.accept(Tree.java:446) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:235) at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:270) at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2251) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2140) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2091) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:400) at com.sun.tools.javac.main.Main.compile(Main.java:520) at com.sun.tools.javac.Main.compile(Main.java:41) at com.sun.tools.javac.Main.main(Main.java:32) <pav@hammer(pts/5).259> JCK test source location: ========================== /java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests Specific Machine Info: ===================== Linux hammer 2.4.21 #1 Wed Jun 25 20:18:22 MSD 2003 i686 unknown ======================================================================
|