This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: verifier error


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
per@bothner.com   http://www.bothner.com/per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]