Corrections java limitations