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

Joe Wang joehw at openjdk.java.net
Thu Jun 24 21:41:48 UTC 2021


> 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.

Joe Wang has updated the pull request incrementally with one additional commit since the last revision:

  update LastModified

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

Changes:
  - all: https://git.openjdk.java.net/jdk17/pull/141/files
  - new: https://git.openjdk.java.net/jdk17/pull/141/files/27840892..8cd786ae

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk17&pr=141&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk17&pr=141&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/141.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/141/head:pull/141

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


More information about the core-libs-dev mailing list