Code review request: 8036543 Parfait JNI pending exceptions for j2secmod.c, j2secmod_md.c, and p11_md.c
Valerie (Yu-Ching) Peng
valerie.peng at oracle.com
Fri Mar 7 17:54:49 UTC 2014
Yeah, I think Parfait is still under improvement on this. Just prefer
that we fix whatever we can identify which may lead to pending
exceptions and hopefully we can address all possible problems in one
shot. Should save us much more time with only one round of
investigation/impl/testing/review/integration.
Changes look good.
Thanks,
Valerie
On 03/06/14 19:38, Anthony Scarpino wrote:
> Don't think parfait caught that one.. updated....
> http://cr.openjdk.java.net/~ascarpino/8036543/webrev.02/
>
> On 03/06/2014 04:32 PM, Valerie (Yu-Ching) Peng wrote:
>>
>> How about line 223, there may be a pending exception thrown as well and
>> this is inside a loop?
>> Valerie
>>
>> On 03/06/14 14:37, Anthony Scarpino wrote:
>>> webrev updated at:
>>> http://cr.openjdk.java.net/~ascarpino/8036543/webrev.01/
>>>
>>> On 03/05/2014 04:02 PM, Anthony Scarpino wrote:
>>>> Sure.. I debated that piece of code before the review too.
>>>>
>>>> Tony
>>>>
>>>> On 03/05/2014 03:52 PM, Valerie (Yu-Ching) Peng wrote:
>>>>>
>>>>> <j2secmod.c>
>>>>> line 133 - 138, I think it's better to take the
>>>>> ReleaseStringUTFChars()
>>>>> call of 'configDir' out of the block for 'functionName'.
>>>>> So we can ensure that both are released even if the code from
>>>>> 82-94 are
>>>>> somehow later altered.
>>>>>
>>>>> The rest looks fine.
>>>>> Thanks,
>>>>> Valerie
>>>>>
>>>>> On 03/04/14 22:56, Anthony Scarpino wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I need a review for changes that cover JNI pending exceptions for
>>>>>> j2secmod.c, j2secmod_md.c, and p11_md.c
>>>>>>
>>>>>> http://cr.openjdk.java.net/~ascarpino/8036543/webrev.00/
>>>>>>
>>>>>> thanks
>>>>>>
>>>>>> Tony
>>>>>
>>>>
>>>
>>
>
More information about the security-dev
mailing list