[Java] added lost changes to submission handler