> 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
Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision: Replace logger with System.err ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15681/files - new: https://git.openjdk.org/jdk/pull/15681/files/c531bf83..691dd5e8 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15681&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15681&range=01-02 Stats: 5 lines in 1 file changed: 0 ins; 1 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/15681.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15681/head:pull/15681 PR: https://git.openjdk.org/jdk/pull/15681