[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-nio-dev
Subject:    Integrated: 8292279: (fs) Use try-with-resources to release NativeBuffer
From:       Andrey Turbanov <aturbanov () openjdk ! org>
Date:       2022-08-17 7:22:20
Message-ID: RqhvLyHCJZZmCPWcTf20UNoCluwWmj8YIh6G2t8Qs7s=.a9c6b955-b3de-4d55-bb55-91935526eb50 () github ! com
[Download RAW message or body]

On Mon, 8 Aug 2022 07:35:44 GMT, Andrey Turbanov <aturbanov@openjdk.org> wrote:

> Since [JDK-8260966](https://bugs.openjdk.org/browse/JDK-8260966), NativeBuffer \
> implements AutoCloseable interface. Now we can use try-with-resources statements to \
> simplify code.

This pull request has now been integrated.

Changeset: 1d9c2f7a
Author:    Andrey Turbanov <aturbanov@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1d9c2f7a6e3e897721ef99af8f383a07148b7c4e
                
Stats:     174 lines in 13 files changed: 6 ins; 113 del; 55 mod

8292279: (fs) Use try-with-resources to release NativeBuffer

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/9794


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic