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

Sean Coffey coffeys at openjdk.org
Mon Aug 28 17:29:16 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 two additional commits since the last revision:

 - Tidy up SignedLoggerFinderTest.java
 - Code contribution from Daniel included. New tests. Fix up extra service call issues

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

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

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

  Stats: 389 lines in 9 files changed: 366 ins; 10 del; 13 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