On Wed, 14 Jan 2026 04:53:35 GMT, Sergey Bylokhov <[email protected]> wrote:

>> Phil Race has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   8375221
>
> src/java.desktop/unix/classes/sun/print/IPPPrintService.java line 1718:
> 
>> 1716:         PrinterResolution []arr = new 
>> PrinterResolution[printerResolutions.length];
>> 1717:         System.arraycopy(printerResolutions, 0, arr, 0, 
>> printerResolutions.length);
>> 1718:         return arr;
> 
> Can this be simplified to just "return printerResolutions.clone()"?

Done. Later I'll take a look if we can do the same in other places in 
javax.print.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29208#discussion_r2695300242

Reply via email to