On Thu, 4 Aug 2022 01:40:36 GMT, Weijun Wang <wei...@openjdk.org> wrote:
> BTW, have you reverted your change on `LoginContext.java`. I remembered we > agreed that this bug is all about debug info instead of updating the > exception thrown. Actually here: https://bugs.openjdk.org/browse/JDK-8215916?jql=labels%20%3D%20starter-bug , the ask is that its better to print the stack trace of an exception so I didn't revert it back. And sorry I didn't mention that in the conversation. Already the `debug.println` is there for `OPTIONAL` section here: https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/javax/security/auth/login/LoginContext.java#L880 where `debug!=null`. ------------- PR: https://git.openjdk.org/jdk/pull/9159