Skip to content

How to get more descriptive errors? #1619

Answered by mgroth0
mgroth0 asked this question in Q&A
Discussion options

You must be logged in to vote

Answering my own question based on what I discovered. ASM has some code in CheckClassAdapter that helped. I couldn't call the ASM methods directly unfortunately because it has some strange logic regarding when to throw errors and print output, but I copied some of the code and adapted it to get a nice verifyer that prints helpful errors before a potential VerifyHerror

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by raphw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant