RFR: 8215916: The failure reason of an optional JAAS LoginModule is not logged [v18]

Weijun Wang weijun at openjdk.org
Mon Aug 22 16:10:00 UTC 2022


On Mon, 22 Aug 2022 15:58:49 GMT, Jayashree Huttanagoudar <duke at openjdk.org> wrote:

>> Could you please review the changes?
>> This patch is to address : https://bugs.openjdk.org/browse/JDK-8215916?jql=labels%20%3D%20starter-bug
>
> Jayashree Huttanagoudar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Address review comments

The exception only shows the test failed. But, what's the reason? There will be more info if you print out `s`. On the other hand, it's not worth printing it out when the test succeeds.

Just to clarify, I might have confused the stack trace of the exception thrown by the test and the newly printed one thrown inside `LoginContext`. I meant the latter, which is captured in `s` and this bug is about its content.

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

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



More information about the security-dev mailing list