Patched up the Java