[jdk17] RFR: 8256919: BCEL: Utility.encode forget to close

Lance Andersen lancea at openjdk.java.net
Thu Jun 24 21:02:59 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.

Looks OK to me

-------------

Marked as reviewed by lancea (Reviewer).

PR: https://git.openjdk.java.net/jdk17/pull/141


More information about the core-libs-dev mailing list