RFR: JDK-8264111 (fs) Leaking NativeBuffers in case of errors during UnixUserDefinedFileAttributeView.read/write [v4]

Sebastian Stenzel github.com+1204330+overheadhunter at openjdk.java.net
Fri Mar 26 09:16:43 UTC 2021


On Fri, 26 Mar 2021 09:02:58 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> This looks good.
>> Would you mind adding "@Override" to the public write method so it is consistent with the other public methods.
>
> Thanks for the update. Can you add the import of java.lang.ref.Reference so that it compiles? Happy to sponsor once the tests are passing.

Crap, how could I miss that. �� It's now building again:

   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/jdk/java/nio/file/attribute/UserDefinedFileAttributeView
                                                         1     1     0     0

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

PR: https://git.openjdk.java.net/jdk/pull/3171


More information about the nio-dev mailing list