Integrated: 8314263: Signed jars triggering Logger finder recursion and StackOverflowError

Sean Coffey coffeys at openjdk.org
Wed Aug 30 12:58:32 UTC 2023


On Wed, 23 Aug 2023 15:41:16 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

> Recursive initialization calls possible during loading of LoggerFinder service.  
> 
> This fix detects the recursive call and returns a temporary LoggerFinder that is backed by a lazy logger. Automated test case developed to simulate loading of an external LoggerFinder service while also having other threads poke System.getLogger during this framework initialization.

This pull request has now been integrated.

Changeset: 7daae1fb
Author:    Sean Coffey <coffeys at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7daae1fb4267f92b38f0152611d69b7b89691087
Stats:     818 lines in 12 files changed: 790 ins; 3 del; 25 mod

8314263: Signed jars triggering Logger finder recursion and StackOverflowError

Co-authored-by: Daniel Fuchs <dfuchs at openjdk.org>
Reviewed-by: dfuchs

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

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


More information about the core-libs-dev mailing list