RFR: 8280982: [Wayland] [XWayland] java.awt.Robot taking screenshots

Alexander Zvegintsev azvegint at openjdk.org
Tue May 9 14:40:18 UTC 2023


On Mon, 8 May 2023 18:41:56 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> > It seems that the current robot API is not suitable for this.
> 
> Can we just reset the token when we create a new instance of Robot?

This will be a big problem for automated testing, as each test with the robot will require user confirmation(or even more than one, as some tests instantiate it several times).
This is exactly what we are trying to avoid.

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

PR Comment: https://git.openjdk.org/jdk/pull/13803#issuecomment-1540255849



More information about the build-dev mailing list