How to check whether the class file version 50.0 (Java 6) has been pre verified?
I used Proguard to "upgrade" some jar files from class file version 49.0 to 50.0
Because pre validation is optional for version 50.0, I wonder if there is a way to check whether there is really a stackmaptable attribute in the class file
(not that I don't believe Proguard "[...] the following options upgrade class files to Java 6 by updating build numbers and pre validating them." But I want to learn how to verify the existing problems StackMapTable.)
Solution
Javaasist supports viewing stack mapping tables
Another gold nugget I met is java - XX: - failovertooldverifier - xverify: all these should only verify whether there is SMT information in the class file of version 50 However, I haven't tried, and I can't even tell you what it looks like in the output