Files
openide/java/java-tests/testData/inspection/dataFlow/fixture/ThrowNull.java
T

13 lines
278 B
Java

class DataFlowBug {
public void add2() {
try {
throw <warning descr="Dereference of 'null' will produce 'java.lang.NullPointerException'">null</warning>;
} catch (Throwable e) {
if (e instanceof NullPointerException) {
return;
}
}
}
}