RFR: 8303213: Avoid AtomicReference in TextComponentPrintable [v3]

Phil Race prr at openjdk.org
Tue Feb 28 21:01:08 UTC 2023


On Mon, 27 Feb 2023 20:48:22 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

>> If CompareAndSwap is not used, then AtomicReference could be replaced with volatile. It simplified code a bit.
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8303213: Avoid AtomicReference in TextComponentPrintable
>   
>   expand star import

How was this change tested ? 
Did you run any Swing printing tests that exercise this code ?
If you did not find such a test, you can write one.

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

PR: https://git.openjdk.org/jdk/pull/12018



More information about the client-libs-dev mailing list