On Mon, 21 Nov 2022 13:43:56 GMT, Per Minborg <pminb...@openjdk.org> wrote:
>> src/java.base/share/classes/sun/nio/ch/DirectBuffer.java line 41: >> >>> 39: // An example of a guarded use of a memory address is shown here: >>> 40: // >>> 41: // try (var guard = NIO_ACCESS.acquireSessionAsAutoCloseable(bb)) { >> >> Suggestion: >> >> // try (var guard = NIO_ACCESS.acquireSession(bb)) { > > Are you happy with the proposed renaming now @ExE-Boss ? I think our > propositions crossed in time? This change was missed in commit <https://github.com/openjdk/jdk/pull/11260/commits/c081b4aebb7b52c7161656b4cba9b0a60d36202a>. ------------- PR: https://git.openjdk.org/jdk/pull/11260