On Fri, 5 Aug 2022 14:09:18 GMT, Mark Powers <mpow...@openjdk.org> wrote:
>> Yes but `defaultName` (like `prompt`) should never change once the object is >> constructed. So it seems inconsistent not to also mark it final (and if >> necessary, set it to a default value (`null`) in the constructors). > > Agreed. I'll make the change. That works also, as the API allows for these values to be set/reset to null. Can't do the same for inputName, as that can be set later. ------------- PR: https://git.openjdk.org/jdk/pull/9664