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 This pull request has now been integrated. Changeset: 78a8a99d Author: Vladimir Petko <vpe...@openjdk.org> Committer: Alexey Semenyuk <asemen...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/78a8a99d990dcc0b77c096bb2ca2c1bb86462e3f Stats: 10 lines in 1 file changed: 5 ins; 0 del; 5 mod 8312488: tools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++ Reviewed-by: asemenyuk, almatvee ------------- PR: https://git.openjdk.org/jdk/pull/14971