RFR 8207750 : Native handle leak in java.io.WinNTFileSystem.list()

Brian Burkhalter brian.burkhalter at oracle.com
Wed Jul 18 00:08:20 UTC 2018

Hi Ivan,

This looks all right to me.



On Jul 17, 2018, at 5:01 PM, Ivan Gerasimov <ivan.gerasimov at oracle.com> wrote:

> In the file WinNTFileSystem_md.c there is a potential leak of native handle obtained from FindFirstFileW() in the unfortunate event of memory allocation failure.
> Would you please help review a simple fix?
> BUGURL: https://bugs.openjdk.java.net/browse/JDK-8207750
> WEBREV:http://cr.openjdk.java.net/~igerasim/8207750/00/webrev/

More information about the core-libs-dev mailing list