verifier error

Per Bothner
Sun Jan 27 22:09:00 GMT 2002

Tom Tromey wrote:
> Step 2, unfortunately, is harder.  The `invokeinterface' instruction
> takes a byte (the byte at <loc>+3, where <loc> is the location of the
> invokeinterface opcode).  This byte is the number of arguments to the
> method, plus one.  One way to do this would be to look at the .class
> file in a hex editor; I don't think jcf-dump will print this byte.

I'm disappointed in your lack of faith in my/our code.
Of course jcf-dump prints this byte.

jcf-dump prints *everything*.  If it doesn't, it's a bug that
would be fixed.

  12: invokeinterface #18=<InterfaceMethod gnu.lists.Consumer.writeChars 
(java.lang.String)void> nargs:2
	--Per Bothner

More information about the Java mailing list