[OpenJDK 2D-Dev] RFR: 8263984: Invalidate printServices when there are no printers [v3]

Alexey Ivanov aivanov at openjdk.java.net
Tue Apr 6 20:38:57 UTC 2021


> 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.

Alexey Ivanov has updated the pull request incrementally with one additional commit since the last revision:

  Add a blank line to separate condition from body

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3151/files
  - new: https://git.openjdk.java.net/jdk/pull/3151/files/edc8ab06..774e4074

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3151&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3151&range=01-02

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3151.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3151/head:pull/3151

PR: https://git.openjdk.java.net/jdk/pull/3151


More information about the 2d-dev mailing list