When I run this class the for loop seems to terminate early
class Test { public static void main(String[] args) { int result = 0; int en
You can work around the JVM bug by using Integer.MAX_VALUE-1.