RFR: 8312488: tools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++

Alexey Semenyuk asemenyuk at openjdk.org
Fri Jul 21 15:05:41 UTC 2023


On Fri, 21 Jul 2023 10:55:13 GMT, Vladimir Petko <vpetko at 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


More information about the core-libs-dev mailing list