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

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Mar 25 16:06:21 UTC 2015


   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