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

Reply via email to