On Fri, 5 Aug 2022 10:04:43 GMT, Sean Mullan <mul...@openjdk.org> wrote:

>> I verified the error message happens when `defaultName` is final.
>
> 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.

-------------

PR: https://git.openjdk.org/jdk/pull/9664

Reply via email to