Analyzer fails on zero division
Analyzing the bytecode of the following code leads to an AnalyzerException:
public static void main(String[] args) {
try {
int ignored = 0 / 0; // or x % 0
} catch (ArithmeticException e) {
System.out.println("continue code normally");
...
}
}
org.objectweb.asm.tree.analysis.AnalyzerException: Error at instruction 4: / by zero, Cause: [java.lang.ArithmeticException: / by zero]