defaults in java impl