This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: VerifyError when compiling jetty
- From: Tom Tromey <tromey at redhat dot com>
- To: "Bjarni Thorisson" <bjarni at menandmice dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: 28 Jan 2003 10:54:38 -0700
- Subject: Re: VerifyError when compiling jetty
- References: <OLEFKBJBPKCAKCGGBEOPGEECNCAA.bjarni@menandmice.com>
- Reply-to: tromey at redhat dot com
>>>>> "Bjarni" == Bjarni Thorisson <bjarni@menandmice.com> writes:
Bjarni> It works perfectly when compiled with sun's javac 1.2, 1.3 and
Bjarni> 1.4, but when I'd _successfully_ compiled it into bytecode
Bjarni> using gcj, I got this error when I tried to run it:
Sounds like a bug in the bytecode generation. There are still a few
known bugs here :-(
Bjarni> Exception in thread "main" java.lang.VerifyError: (class:
Bjarni> org/mortbay/jetty/servlet/AbstractSessionManager$SessionScavenger, method:
Bjarni> run signature: ()V) Illegal use of nonvirtual function call
This sounds a bit like something I fixed recently. However, it is
hard to be certain. Do you have a small test case? Could you make
one?
I think my fix for this problem hasn't been submitted yet. I'm still
ironing out problems with it. If you had a simple test case, I could
try it with my local gcj.
Bjarni> Can anyone please tell me what those errors mean and how I can
Bjarni> fix this or work around it
Compile to bytecode with javac, then use gcj to compile the bytecode.
That should work.
Bjarni> and whether anyone has ever compiled jetty using gcj
Bjarni> successfully.
I don't know.
Tom