RFR 8073542 : File Leak in jdk/src/java/base/unix/native/libnet/PlainDatagramSocketImpl.c

Vyom Tewari vyom.tewari at oracle.com
Wed Sep 16 09:08:29 UTC 2015


Hi All,

Please review my changes for below bug.

Bug:
       JDK-8073542 : File Leak in 
jdk/src/java/base/unix/native/libnet/PlainDatagramSocketImpl.c
Webrev:
http://cr.openjdk.java.net/~dfuchs/vyom/8073542/webrev.00

This change ensure that if "setsocketopt" fails we close the 
corresponding fd and throw correct  exception.

Thanks,
Vyom



More information about the core-libs-dev mailing list