On Fri, 21 Jul 2023 10:55:13 GMT, Vladimir Petko <vpe...@openjdk.org> wrote:
> Use the same approach as Logger::defaultLogger() to ensure that the appender > is not destroyed before shared object destructor function is executed. > > The alternative is to delete dcon() function, but we might run into a > similiar tear-down issue later (e.g. logging from some object's destructor). > > > ============================== > Test summary > ============================== > TEST TOTAL PASS FAIL ERROR > > jtreg:test/jdk/tools 215 215 0 0 > > ============================== > TEST SUCCESS Great catch! ------------- Marked as reviewed by asemenyuk (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/14971#pullrequestreview-1541331538