On Fri, 4 Apr 2025 20:24:16 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> Andy Goryachev has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   javadoc
>
> tests/system/src/test/java/test/util/ScreenshotCapture.java line 60:
> 
>> 58:      * @throws IOException when an I/O error occurs
>> 59:      */
>> 60:     public static byte[] takeScreenshot() throws IOException {
> 
> I have no idea how to interpret this byte array. What is the use case for 
> this method?

To save to a file, or send to a stream, for example.  This is a general purpose 
test utility.  The javadoc says "in PNG format".

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1746#discussion_r2029411650

Reply via email to