This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Curious verifier error
- From: Tom Tromey <tromey at redhat dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>, java at gcc dot gnu dot org
- Date: 28 Jan 2002 11:15:47 -0700
- Subject: Re: Curious verifier error
- References: <Pine.LNX.4.10.10201281251590.12314-100000@mars.deadcafe.org>
- Reply-to: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
>> 6: invokeinterface #99=<InterfaceMethod
>> javax.servlet.http.HttpServletResponse.setDateHeader
>> (java.lang.String,long)void> nargs:4
Jeff> Does this have something to do with the fact that
Jeff> lastModifiedTime is a long, and requires two stack slots?
Good catch! I completely missed this. The invokeinterface
instruction documentation clearly says that nargs is the number of
words (not number of arguments). So I agree this is the problem. It
turns out to be a bug in the verifier after all. I'll write a patch
today.
Tom