[jdk17] RFR: 8256919: BCEL: Utility.encode forget to close
Brian Burkhalter
bpb at openjdk.java.net
Thu Jun 24 21:08:02 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.
+1
-------------
Marked as reviewed by bpb (Reviewer).
PR: https://git.openjdk.java.net/jdk17/pull/141
More information about the core-libs-dev
mailing list