RFR: 8329013: StackOverflowError when starting Apache Tomcat with signed jar [v2]
Sean Coffey
coffeys at openjdk.org
Tue Apr 2 17:35:08 UTC 2024
On Tue, 2 Apr 2024 14:59:33 GMT, Sean Coffey <coffeys at openjdk.org> wrote:
>> 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.
>
> Sean Coffey has updated the pull request incrementally with one additional commit since the last revision:
>
> incorporate testcase feedback from Daniel
Thanks for the reviews. Yes - your suggestion would be another example of how recursion could occur with the System Logger Jai. I'll have a look to see if some sort of Noop Logger could be returned if recursion is detected at System Logger end.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18534#issuecomment-2032641881
More information about the core-libs-dev
mailing list