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

Weijun Wang weijun at openjdk.org
Fri Aug 19 21:46:00 UTC 2022


On Fri, 19 Aug 2022 20:29:18 GMT, Jayashree Huttanagoudar <duke at openjdk.org> wrote:

> I have included your suggestions for the test case.
> Since we are using `PrintStream` the `flush` is automatically called itseems so I didn't see any exception trace in the .jtr file when the test case fails.

This is because exception stack trace is printed into `System.err` but you haven't restored the previous one -- which is the console output. See my comment in line.

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

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



More information about the security-dev mailing list