RFR: 8288137: The set of available printers is not updated without application restart [v3]

Kevin Rushforth kcr at openjdk.org
Fri Jul 8 21:39:56 UTC 2022


On Fri, 8 Jul 2022 21:01:31 GMT, Phil Race <prr at openjdk.org> wrote:

>> This fixes the issue that the default printer or set of available printers is fixed from the first call to it in the lifetime of the application.
>> Now subsequent calls will check to see if there are changes.
>> A manual test is provided for verifying this - it requires you to add/remove printers at the system level to verify anything related to this fix.
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8288137

The changes to when `lastTime` is stored looks good (both of them). I just noticed that the test is backwards, though.

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

PR: https://git.openjdk.org/jfx/pull/817


More information about the openjfx-dev mailing list