RFR: 6450193: After the first Serialization, JTableHeader does not uninstall its UI [v3]
Alexey Ivanov
aivanov at openjdk.org
Fri Sep 22 11:59:28 UTC 2023
On Fri, 22 Sep 2023 07:12:08 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> I guess in test, resource leak probably wouldn't matter…
No, it wouldn't. Yet someone could later copy the code and use file streams where closing the streams matters. Always following the pattern is safer.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15507#discussion_r1334283537
More information about the client-libs-dev
mailing list