<AWT Dev> [9] Review request for 8165705: Robot.createScreenCapture produces black screenshot on Oracle Linux 7.1

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Nov 24 15:56:17 UTC 2016


On 24.11.16 18:50, Semyon Sadetsky wrote:
> Can you point to the spec where this is specified? "common usecase"
> doesn't look as a satisfactory reason.

There is no such specification, but it is how we usually access the 
properties, and the current code follow it.

> I think a user may want to switch the screenshot algorithm in runtime
> and I don't see the reason why do not allow this.

There are should be an opposite vision. This is not a public api(this 
property is for debug only) and we should limit its usage and possible 
abuse by the application.

-- 
Best regards, Sergey.


More information about the awt-dev mailing list