Re: RFR: Inet[4|6]Address native initializing code should check fieldID values

2013-11-05 Thread Michael McMahon
On 05/11/13 20:49, Chris Hegarty wrote: On 5 Nov 2013, at 20:39, Michael McMahon wrote: On 05/11/13 19:38, Chris Hegarty wrote: Another installment of checks for return values from GetFieldID, and friends, to follow up on last weeks work [1]. http://cr.openjdk.java.net/~chegar/netNullChecks/w

Re: RFR: Inet[4|6]Address native initializing code should check fieldID values

2013-11-05 Thread Chris Hegarty
> On 5 Nov 2013, at 20:47, roger riggs wrote: > > H Michael, > > If I remember rightly, CHECK_NULL tests for an exception and conditionally > does an early return from the function. So testing just before an > unconditional return is unnecessary. > > (These look ok to me; not a Reviewer) Th

Re: RFR: Inet[4|6]Address native initializing code should check fieldID values

2013-11-05 Thread Chris Hegarty
> On 5 Nov 2013, at 20:39, Michael McMahon wrote: > >> On 05/11/13 19:38, Chris Hegarty wrote: >> Another installment of checks for return values from >> GetFieldID, and friends, to follow up on last weeks work [1]. >> >> http://cr.openjdk.java.net/~chegar/netNullChecks/webrev/ >> >> There are

Re: RFR: Inet[4|6]Address native initializing code should check fieldID values

2013-11-05 Thread roger riggs
H Michael, If I remember rightly, CHECK_NULL tests for an exception and conditionally does an early return from the function. So testing just before an unconditional return is unnecessary. (These look ok to me; not a Reviewer) Roger On 11/5/2013 3:39 PM, Michael McMahon wrote: On 05/11/13

Re: RFR: Inet[4|6]Address native initializing code should check fieldID values

2013-11-05 Thread Michael McMahon
On 05/11/13 19:38, Chris Hegarty wrote: Another installment of checks for return values from GetFieldID, and friends, to follow up on last weeks work [1]. http://cr.openjdk.java.net/~chegar/netNullChecks/webrev/ There are more cleanups to come along the same lines, but I'd like to keep these c

RFR: Inet[4|6]Address native initializing code should check fieldID values

2013-11-05 Thread Chris Hegarty
Another installment of checks for return values from GetFieldID, and friends, to follow up on last weeks work [1]. http://cr.openjdk.java.net/~chegar/netNullChecks/webrev/ There are more cleanups to come along the same lines, but I'd like to keep these changes small and confined for now. -Chr