Java default values, fixed #409.