That won't compile since `javac` will consider the following code as unreachable, which is a compile-time error. Adding the `if (true)` allows it to compile, and the JDK compiler will almost certainly remove the remaining dead code (http://stackoverflow.com/a/2141050/313875).