RFR: 8307779: Relax the java.awt.Robot specification [v4]

Phil Race prr at openjdk.org
Mon May 15 17:00:54 UTC 2023


On Fri, 12 May 2023 15:23:56 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> We need to relax the java.awt.Robot specification according to the latest operating system trends. 
>> This should at least cover the case of Wayland, which has changed many familiar concepts in Linux.
>> 
>> https://bugs.openjdk.org/browse/JDK-8280982 [Wayland] [XWayland] java.awt.Robot taking screenshots
>> https://bugs.openjdk.org/browse/JDK-8280995 [XWayland] Robot.mouseMove does not visually move mouse cursor
>> https://bugs.openjdk.org/browse/JDK-8280990 [XWayland] XTest emulated mouse click does not bring window to front.
>> https://bugs.openjdk.org/browse/JDK-8280988 [XWayland] Click on title to request focus test failures
>
> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   update SecurityException, fix year

src/java.desktop/share/classes/java/awt/Robot.java line 475:

> 473:      * @see     SecurityManager#checkPermission
> 474:      * @see     AWTPermission
> 475:      */

BTW, all of the above also needs to be added to createMultiResolutionScreenCapture(..) !

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13809#discussion_r1194106007



More information about the client-libs-dev mailing list