8031494: [launcher] java launcher should check for JNI Pending exceptions.

Kumar Srinivasan kumar.x.srinivasan at oracle.com
Mon Jan 13 16:18:08 UTC 2014


Hi Alan, Chris,

> On 11/01/2014 00:55, Kumar Srinivasan wrote:
>> Hi,
>>
>> Please review fixes for launcher correctness wrt. JNI calls.
>>
>> http://cr.openjdk.java.net/~ksrini/8031494/webrev.0/
> Looks okay, the only thing that isn't clear is whether the calls to 
> the static methods defined by the launcher helper class can complete 
> with an exception or not.

The launcher helpers call System.exit via the abort call, however while
double checking this, I noticed a couple of spots that might need
these checks. I will post another webrev.

Kumar

>
> -Alan




More information about the core-libs-dev mailing list