RFR 8170494 : JNI exception pending in PlainDatagramSocketImpl.c
Langer, Christoph
christoph.langer at sap.com
Wed Mar 20 21:31:42 UTC 2019
Hi Ivan,
looks good to me.
Best regards
Christoph
> -----Original Message-----
> From: net-dev <net-dev-bounces at openjdk.java.net> On Behalf Of Ivan
> Gerasimov
> Sent: Mittwoch, 20. März 2019 17:18
> To: net-dev <net-dev at openjdk.java.net>
> Subject: RFR 8170494 : JNI exception pending in PlainDatagramSocketImpl.c
>
> Hello!
>
> The function Java_java_net_NetworkInterface_getByInetAddress0 may
> throw,
> so after calling it we need to check if an exception is pending.
>
> Would you please help review a one-line fix?
>
> BUGURL: https://bugs.openjdk.java.net/browse/JDK-8170494
> WEBREV: http://cr.openjdk.java.net/~igerasim/8170494/00/webrev/
>
> Thanks in advance!
>
> --
> With kind regards,
> Ivan Gerasimov
More information about the net-dev
mailing list