RFR: (8030875) Macros for checking and returning on exceptions

Mandy Chung mandy.chung at oracle.com
Fri Jan 10 09:41:40 PST 2014


On 1/10/2014 7:37 AM, roger riggs wrote:
> Please review:
>
> To enable native code checking consistently for thrown exceptions,
> the macros in net_util.h and java/util/jar/pack/coding.cpp are
> made consolidated and promoted to jni_util.h
>
> webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-check-exception-8030875/
>

Looks good.  Thanks for doing this Roger.  Minor nit: the convention in 
jni.h seems to name functions that take JNIEnv* parameter with the 
"JNU_" prefix and so might be better to rename CHECK_EXCEPTION to 
JNU_CheckedException.

Mandy



More information about the net-dev mailing list