[OpenJDK 2D-Dev] Integrated: 8263984: Invalidate printServices when there are no printers
Alexey Ivanov
aivanov at openjdk.java.net
Wed Apr 7 15:34:03 UTC 2021
On Tue, 23 Mar 2021 13:45:33 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> When `getAllPrinterNames()` returns null, the list of `printServices` is assigned a new empty array without invalidating old services which were in the array before.
>
> The old print services should be invalidated.
This pull request has now been integrated.
Changeset: 9d650397
Author: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/9d650397
Stats: 8 lines in 1 file changed: 7 ins; 1 del; 0 mod
8263984: Invalidate printServices when there are no printers
Reviewed-by: serb, jdv
-------------
PR: https://git.openjdk.java.net/jdk/pull/3151
More information about the 2d-dev
mailing list