On Mon, 20 Nov 2023 23:58:30 GMT, Phil Race <[email protected]> wrote:
> Whilst reviewing the fix for https://bugs.openjdk.org/browse/JDK-7001133 I > realised that although the proposed > changes there may help, the problem would be inconsequential except that if > anything causes an app to > call PrintService.getAttributes() we will continually be re-initialising > attributes, which causes IPPPrintService > to keep creating new instances of CUPSPrinter which are then discarded and > over-written. > So update the implementation to only re-initialise the relevant attributes. This pull request has now been integrated. Changeset: 91ffdfb1 Author: Phil Race <[email protected]> URL: https://git.openjdk.org/jdk/commit/91ffdfb1fcacbb95b93491d412e506695198946e Stats: 20 lines in 1 file changed: 10 ins; 0 del; 10 mod 8320365: IPPPrintService.getAttributes() causes blanket re-initialisation Reviewed-by: aivanov, azvegint ------------- PR: https://git.openjdk.org/jdk/pull/16752
