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

Naoto Sato naoto at openjdk.java.net
Thu Jun 24 21:12:00 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.

`@Last Modified:` needs to be updated. Otherwise looks good.

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

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


More information about the core-libs-dev mailing list