#701791 java-common: update default-java when setting new alternative