[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-nio-dev
Subject: Re: RFR: 8292279: (fs) Use try-with-resources to release NativeBuffer [v2]
From: Alan Bateman <alanb () openjdk ! org>
Date: 2022-08-15 8:23:28
Message-ID: 1zligTgnx6QJ9zN4bHFlqArAKqv86ZMgZJf5ingzvdI=.69f9bc26-59d4-4e05-866c-5ab5350564a8 () github ! com
[Download RAW message or body]
On Mon, 15 Aug 2022 08:18:38 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.
>
> Andrey Turbanov has updated the pull request incrementally with one additional \
> commit since the last revision:
> 8292279: (fs) Use try-with-resources to release NativeBuffer
>
> apply Alan's suggestion
Marked as reviewed by alanb (Reviewer).
-------------
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