Integrated: 8332641: Update nsk.share.jpda.Jdb to don't use finalization
Leonid Mesnik
lmesnik at openjdk.org
Fri May 24 17:34:07 UTC 2024
On Tue, 21 May 2024 21:49:51 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> The nsk.share.jdb.Jdb has finalize() nethods that close jdb connection and output streams.
>
> The fix renames the method to close() and calls it explicitly after the test finishes. I verified that close() called for each nsk share jdb test.
>
> The jdb is also LocalProcess with it's own cleanup(). This part still remains the same so far.
This pull request has now been integrated.
Changeset: f66a5866
Author: Leonid Mesnik <lmesnik at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/f66a58661459bf64212ec332540c12d5d691270f
Stats: 25 lines in 2 files changed: 8 ins; 7 del; 10 mod
8332641: Update nsk.share.jpda.Jdb to don't use finalization
Reviewed-by: cjplummer, kevinw
-------------
PR: https://git.openjdk.org/jdk/pull/19336
More information about the serviceability-dev
mailing list