<Beans Dev> [9] Review Request: 8159898 Negative array size in java/beans/Introspector/Test8027905.java

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Tue Aug 16 17:22:41 UTC 2016


The fix looks good to me.

Thanks,
Alexandr.

On 8/16/2016 4:46 PM, Yuri Nesterenko wrote:
> +1
>
> -yan
>
> On 08/16/2016 04:36 PM, Sergey Bylokhov wrote:
>> Hello.
>> Please review the fix for jdk9.
>>
>> The javabeans test tries to allocate huge array and fail, because the
>> calculated size became negative.(another test from the description of
>> the bug was fixed already by JDK-8159899).
>>
>> In the fix I added "-xm" option to minimize the available amount of 
>> memory.
>>
>> Also I added this option to one of awt test, which works properly but
>> this update will speedup it.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8159898
>> Webrev can be found at: 
>> http://cr.openjdk.java.net/~serb/8159898/webrev.00
>>
>



More information about the beans-dev mailing list