On 24.11.2016 18:44, Sergey Bylokhov wrote:
On 24.11.16 18:27, Semyon Sadetsky wrote:
Isn't the open test always passed before/after the fix?
The open test was wrong from the time it was created. By the way, it was
approved by you.
I can fix this along with the current bug or I can file a separate test
bug. What is your suggestion?

Can you explain why do you think it is wrong?
The Robot#Robot( GraphicsDevice screen) spec explains:

Creates a Robot for the given screen device. Coordinates passed to Robot method calls like mouseMove and createScreenCapture will be interpreted as being in the same coordinate system as the specified screen. Note that depending on the platform configuration, multiple screens may either:
 * share the same coordinate system to form a combined virtual screen
 * use different coordinate systems to act as independent screens
This constructor is meant for the latter case.


The change which was added in the JDK-8145784(as well as the changes
in this fix) looks quite similar to the code which was removed in
JDK-8013116.
Apparently that was incorrect.

Why do you think so? After reading description of those bug I guess
that it was intended decision to use screen coordinate space in jdk8,
in case of windows we share the same coordinates space between
screens, so it is unimportant on what screen the robot was created.

Also take a look to the comment above.




On 11.11.16 17:06, Semyon Sadetsky wrote:
Hello,

Please review fix for JDK9:

bug: https://bugs.openjdk.java.net/browse/JDK-8169133

webrev: http://cr.openjdk.java.net/~ssadetsky/8169133/webrev.00/

Screen specific AWT robot was not implemented on Windows
platform. The
fix proposes the missed implementation.

--Semyon













Reply via email to