On Thu, 4 Aug 2022 17:02:48 GMT, Bradford Wetmore <wetm...@openjdk.org> wrote:
>> src/java.base/share/classes/javax/security/auth/callback/NameCallback.java >> line 45: >> >>> 43: * @since 1.4 >>> 44: */ >>> 45: private final String prompt; >> >> I think you can also mark `defaultName` final. > > First constructor doesn't set defaultName (or inputName), so there will be a > error "might not have been initialized". I verified the error message happens when `defaultName` is final. ------------- PR: https://git.openjdk.org/jdk/pull/9664