<AWT Dev> [9] Review request for 7081580: Specification for MouseInfo.getNumberOfButtons() doesn't contain info about "awt.mouse.numButtons"

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Mar 12 06:47:07 UTC 2015


Hi, Semyon.
The fix in general is correct, but it adds an assertion that this method 
should return the same values as Toolkit.get...
And this is incorrect, and we can get a new CR that implementation don't 
follow the specification. Probably we can simplify it and state that we 
use numeric value from desktop property or something like that?

11.03.15 22:52, Semyon Sadetsky wrote:
> Hello,
>
> please review fix for jdk9.
>
> Webrev: 
> http://cr.openjdk.java.net/~alexsch/semyon-sadetsky/7081580/webrev.00/
> Bug: https://bugs.openjdk.java.net/browse/JDK-7081580
>
> Thanks,
> --Semyon


-- 
Best regards, Sergey.



More information about the awt-dev mailing list