On Tue, 12 Sep 2023 11:32:46 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> See the bug for stack traces. This causes a very intermittent test failure: 
> when we call for `LOGGER.info` from our custom security manager, it goes into 
> formatter, which loads locale data, which causes class load, which goes back 
> to this custom security manager, starting the loop again. 
> 
> I think we get lucky most of the time to load the relevant classes outside 
> this path. But sometimes, we don't get as lucky.
> 
> Additional testing:
>  - [x] 500x iterations of 
> [JDK-8315640](https://bugs.openjdk.org/browse/JDK-8315640) reproducer

I am not sure why this test uses a Logger - possibly this could be simply 
replaced with System.err::println to avoid the issue? @AlekseiEfimov ?

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

PR Comment: https://git.openjdk.org/jdk/pull/15681#issuecomment-1715642904

Reply via email to