RFR(S): JDK-8031583: warnings from b03 for hotspot/agent/src/os/solaris/proc: JNI exception pending

Staffan Larsen staffan.larsen at oracle.com
Tue Aug 12 11:10:30 UTC 2014


Dmitry,

Since CHECK_EXCEPTION just returns if there was an exception, you will get no information that an exception happened or that there was an error looking up the exception class. I am not sure how this helps (other than get rid of a static analysis warning). 

/Staffan

On 11 aug 2014, at 16:57, Dmitry Samersoff <dmitry.samersoff at oracle.com> wrote:

> Hi Everybody,
> 
> Please, review small fix that adds more exception handling code
> 
> http://cr.openjdk.java.net/~dsamersoff/JDK-8031583/webrev.01/
> 
> -Dmitry
> 
> -- 
> Dmitry Samersoff
> Oracle Java development team, Saint Petersburg, Russia
> * I would love to change the world, but they won't give me the sources.



More information about the serviceability-dev mailing list