This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Verify error and $Mnl methods
- To: kawa at sourceware dot cygnus dot com
- Subject: Verify error and $Mnl methods
- From: Jocelyn Paine <popx at pop3 dot ifs dot org dot uk>
- Date: Sun, 4 Nov 2001 10:13:08 +0000 (GMT)
Using the binary release of 1.6.96, I'm getting a verify error when
I run a servlet whose doGet method calls a Kawa function with argument
types ( HttpServletRequest, HttpServletResponse, String ) and result type
void:
java.lang.VerifyError: (class: kb7/wsm/Control, method: doGet$Mn1
signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)V)
Expecting to find integer on stack
at kb7.wsm.WSMServlet.doGet(Compiled Code)
(My function is named do-get and defined in kb7.wsm.Control, as evident
from the trace).
Any ideas? What does the compiler generate $Mnl methods for, and what's
the integer that's expected?
I'm told the servlet engine has been configured to use an IBM 1.2.1 Java
VM. I've had no trouble with the code under Kawa 1.6.94 under NT, but
moving it is evidently causing problems.
Jocelyn Paine
http://www.ifs.org.uk/~popx/
+44 (0)7768 534 091