It may be worth thinking about a library class for class file testing utilities – like a ClassFileToolBox. If you had that, you could write stuff like ClassFileToolBox.checkExceptionTable(classFile, "m1", new ExceptionTableData(11, 13, 16, 0))
- relates to
-
JDK-8024039 javac, previous solution for JDK-8022186 was incorrect
- Closed