[jdk17] Integrated: 8256919: BCEL: Utility.encode forget to close
Joe Wang
joehw at openjdk.java.net
Fri Jun 25 18:46:11 UTC 2021
On Thu, 24 Jun 2021 20:36:29 GMT, Joe Wang <joehw at openjdk.org> wrote:
> Fix a regression caused by the previous BCEL update. The issue was fixed in the current BCEL repo with a reversal of the previous code, adding back "gos.close();". Note however, doing so will result in a warning: [try] explicit call to close() on an auto-closeable resource. This fix calls finish() instead.
This pull request has now been integrated.
Changeset: d799563a
Author: Joe Wang <joehw at openjdk.org>
URL: https://git.openjdk.java.net/jdk17/commit/d799563ac06d66acea6dbd9cb1fe78b253e8a0e7
Stats: 73 lines in 2 files changed: 72 ins; 0 del; 1 mod
8256919: BCEL: Utility.encode forget to close
Reviewed-by: lancea, bpb, naoto
-------------
PR: https://git.openjdk.java.net/jdk17/pull/141
More information about the core-libs-dev
mailing list