Java code changes in SGC