On Mon, 27 Feb 2023 20:48:22 GMT, Andrey Turbanov <[email protected]> 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
