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

roger riggs roger.riggs at oracle.com
Fri Jan 10 17:59:22 UTC 2014

Hi Mandy,

Good point; I'll create another issue to do that update.
(I should have waited a bit longer for comments.)


On 1/10/2014 12:41 PM, Mandy Chung wrote:
> 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 core-libs-dev mailing list