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

Sean Coffey coffeys at openjdk.org
Thu Aug 24 10:54:19 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:

 - Improve test coverage
 - Incorporate review comments from Daniel

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15404/files
  - new: https://git.openjdk.org/jdk/pull/15404/files/b7cf2947..976fdb27

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

  Stats: 168 lines in 4 files changed: 110 ins; 38 del; 20 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