Re: Re: byte code verification

Rémi Forax <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Le 09/10/2010 19:31, luc peuvrier at home a écrit :
> Hi,
>
> Thank you for your help proposal.
>
> I have error:
>
> java.lang.VerifyError: (class: 
> net/sf/joafip/redblacktree/service/RedBlackTree,
> method: nodeAtIndexInternal signature: 
> (I)Lnet/sf/joafip/redblacktree/entity/IRBTNode;) Register 1 contains 
> wrong type
>
> But, what do you think about a verbose bytecode verifier ?
>
> Best Regards
> Luc

CheckClassAdapter is what you're looking for.
http://asm.ow2.org/asm33/javadoc/user/org/objectweb/asm/util/CheckClassAdapter.html#verify(org.objectweb.asm.ClassReader, 
java.lang.ClassLoader, boolean, java.io.PrintWriter) 
<http://asm.ow2.org/asm33/javadoc/user/org/objectweb/asm/util/CheckClassAdapter.html#verify%28org.objectweb.asm.ClassReader,%20java.lang.ClassLoader,%20boolean,%20java.io.PrintWriter%29>

cheers,
Rémi

>
> ----- Original Message ----- From: "Nikolas Nehmer" 
> <[email protected]>
> To: "luc peuvrier at home" <[email protected]>
> Cc: "++asm" <[email protected]>
> Sent: Saturday, October 09, 2010 10:53 AM
> Subject: Re: [asm] byte code verification
>
>
>> Hi,
>>
>> what is the error message you get? Maybe we can help...
>>
>> Regards
>> Nick
>>
>> Am Sa 09.10.2010 10:26 schrieb luc peuvrier at home <[email protected]>:
>>
>>> Hi,
>>>
>>> Making some byte code transformation I have som JVM bytecode verifier
>>> error.
>>>
>>> I am looking for a byte code verifier that have more verbose error
>>> report.
>>>
>>> Do you know such tool ?
>>>
>>> Best regards
>>> Luc
>>
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.