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

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Nov 24 16:20:54 UTC 2016



On 24.11.2016 18:56, Sergey Bylokhov wrote:
> 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.
That is not an argument as well. Having extra functionality for free is 
better than disable it unless there are disadvantages.


More information about the awt-dev mailing list