undo some accidental changes in java binding section