<AWT Dev> [9] Review Request: 8074500 java.awt.Checkbox.setState() call causes ItemEvent to be filed

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Tue Mar 31 13:40:20 UTC 2015


Hello Sergey,

the fix looks fine to me.

Thanks,

Alexander.

On 03/25/2015 07:06 PM, Alexander Scherbatiy wrote:
>
>   The fix looks good to me.
>
>   Thanks,
>   Alexandr.
>
> On 3/24/2015 2:11 PM, Sergey Bylokhov wrote:
>> Hello.
>> Please review a small fix for jdk 9.
>> According to specification of java.awt.Checkbox.setState() we should 
>> not post ItemEvent after a call to this method. And this case is 
>> violated on the osx.
>> The new event is postponed in the same way as in 
>> LWCheckboxPeer.setCheckboxGroup()
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8074500
>> Webrev can be found at: 
>> http://cr.openjdk.java.net/~serb/8074500/webrev.00
>> -- 
>> Best regards, Sergey.
>



More information about the awt-dev mailing list