Calling extra logging calls during initialization of Logger libraries can cause recursion leading to StackOverflowError This patch adds logic to the EventHelper class to detect recursion and prevent it.
------------- Commit messages: - 8329013 Changes: https://git.openjdk.org/jdk/pull/18534/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18534&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8329013 Stats: 87 lines in 2 files changed: 79 ins; 1 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/18534.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18534/head:pull/18534 PR: https://git.openjdk.org/jdk/pull/18534