RFR: 8375480: Remove usage of AppContext from javax/swing/text [v2]
Phil Race
prr at openjdk.org
Tue Jan 20 20:44:33 UTC 2026
On Mon, 19 Jan 2026 07:08:10 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8375350
>
> src/java.desktop/share/classes/javax/swing/text/LayoutQueue.java line 58:
>
>> 56: public static LayoutQueue getDefaultQueue() {
>> 57: if (defaultQueue == null) {
>> 58: defaultQueue = new LayoutQueue();
>
> synchronized not needed?
like the other case, I looked at the change that introduced AppContext here and I simply reverted it.
https://hg.openjdk.org/jdk7/jdk7/jdk/rev/442b563e57c6
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29259#discussion_r2709999542
More information about the client-libs-dev
mailing list