Serious loop hole in Java