The following simple code is accepted by the code inspector with warnings only, despite the fact that the compiler rejects it on the grounds that the println() is unreachable:
public class TestClass {
public static void main(String[] args) {
while(true) {
try {
break;
} finally {
continue;
}
}
System.out.println("Hello, world!");
}
}
Screenshot is attached.