RFR: 8314263: Signed jars triggering Logger finder recursion and StackOverflowError [v5]

Sean Coffey coffeys at openjdk.org
Mon Aug 28 18:45:03 UTC 2023


> 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.

Sean Coffey has updated the pull request incrementally with one additional commit since the last revision:

  Fix up test cases

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15404/files
  - new: https://git.openjdk.org/jdk/pull/15404/files/83fcfae8..ca4cd4f0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15404&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15404&range=03-04

  Stats: 6 lines in 2 files changed: 0 ins; 3 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/15404.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15404/head:pull/15404

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


More information about the core-libs-dev mailing list