hi

i've downloaded cactus and tried to add test case into my app (jboss 3.2.1
jdk 1.4.2_10)
i'd copied all libraries from distro into embeeded into jboss tomcat lib dir
then added 2 servlets into web.xml
and tried to compile 'test':
*public class SomeTest extends ServletTestCase{
    public SomeTest() {
    }
}*

and i got next message from my ide (idea 7.0.3)
*
Information:An exception has occurred in the compiler (1.4.2_10). 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.
Information:java.lang.ClassCastException
Information:    at
com.sun.tools.javac.v8.code.ClassReader.readClassSymbol(ClassReader.java:547)
Information:    at
com.sun.tools.javac.v8.code.ClassReader.readClass(ClassReader.java:849)
Information:    at
com.sun.tools.javac.v8.code.ClassReader.readClassFile(ClassReader.java:936)
Information:    at
com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1091)
Information:    at
com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:1049)
Information:    at
com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:372)
Information:    at
com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbol.java:691)
Information:    at
com.sun.tools.javac.v8.code.Type$ClassType.complete(Type.java:1119)
Information:    at
com.sun.tools.javac.v8.code.Type$ClassType.interfaces(Type.java:867)
Information:    at
com.sun.tools.javac.v8.comp.Check.checkNonCyclic(Check.java:888)
Information:    at
com.sun.tools.javac.v8.comp.Check.checkNonCyclic(Check.java:889)
Information:    at
com.sun.tools.javac.v8.comp.Enter$CompleteEnter.attribBase(Enter.java:959)
Information:    at
com.sun.tools.javac.v8.comp.Enter$CompleteEnter.complete(Enter.java:857)
Information:    at
com.sun.tools.javac.v8.comp.Enter.complete(Enter.java:601)
Information:    at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:582)
Information:    at
com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:331)
Information:    at com.sun.tools.javac.v8.Main.compile(Main.java:569)
Information:    at com.sun.tools.javac.Main.compile(Main.java:36)
Information:    at com.sun.tools.javac.Main.main(Main.java:27)
Information:    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
Information:    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Information:    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Information:    at java.lang.reflect.Method.invoke(Method.java:324)
Information:    at
com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:53)
Information:Compilation completed with 1 error and 0 warnings
Information:1 error
Information:0 warnings
Error:Compiler internal error. Process terminated with exit code 4

*Is it an bug in jdk1.4.2_10 or .... ?

Thanx!

Reply via email to