> The BindServer starts several threads and opens streams. > > It registered them for cleanup using "Finalizer" from nsk.share.framework. > Currently, it cleanup resources during shutdown hook. > > This fix changes BindServer to explicitly close streams and finish threads > after test is completed. The exceptions are just printed like it was done > previously. I haven't caught any exception during in close method during > testing.
Leonid Mesnik has updated the pull request incrementally with three additional commits since the last revision: - Merge branch '8332631' of https://github.com/lmesnik/jdk into 8332631 - Update test/hotspot/jtreg/vmTestbase/nsk/share/jpda/BindServer.java Co-authored-by: Chris Plummer <chris.plum...@oracle.com> - added space ------------- Changes: - all: https://git.openjdk.org/jdk/pull/19335/files - new: https://git.openjdk.org/jdk/pull/19335/files/eeeb59ff..c18445aa Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=19335&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19335&range=00-01 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/19335.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/19335/head:pull/19335 PR: https://git.openjdk.org/jdk/pull/19335