Added more cases to the boolean inference code to handle the slightly
different code generation by the JDK compiler from the Eclipse compiler.