On Fri, 28 Jun 2024 09:44:03 GMT, Johan Vos <j...@openjdk.org> wrote:
> If the SecurityException is not thrown, how does the caller of getRGBPixels > knows that the result will not be correct because of the missing permission? > (as opposed to being incorrect due to a failure) He won't know it. An indirect result of failure can be a black image. The [current documentation](https://github.com/openjdk/jfx/blob/master/modules/javafx.graphics/src/main/java/javafx/scene/robot/Robot.java#L240) documentation specifies only IllegalStateException and NullPointerException. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1490#discussion_r1658462409