[OpenJDK 2D-Dev] [13] RFR 8222108: Reduce minRefreshTime for updating remote printer list on Windows

Alexey Ivanov alexey.ivanov at oracle.com
Fri Jun 14 18:07:40 UTC 2019


Hi,

Please review the following fix for JDK 13:

bug: https://bugs.openjdk.java.net/browse/JDK-8222108
webrev: http://cr.openjdk.java.net/~aivanov/8222108/webrev.00/

The main goal of this bug was to reduce the minimum refresh time for 
updating remote printer list to facilitate testing.

While working on this bug, I've also done some refactoring. The most 
prominent one is replacing doCompare() with Arrays.equals(). The former 
gives wrong result for equal arrays if the array length is greater than 
2. Thus this bug can be considered as regression.

Arrays.equals() accepts null parameters and null elements in the arrays 
and always returns the correct result.


Thank you in advance.

-- 
Regards,
Alexey


More information about the 2d-dev mailing list