RFR: 8378297: Remove AppContext from several Swing component and related classes [v2]

Phil Race prr at openjdk.org
Tue Feb 24 19:31:27 UTC 2026


On Mon, 23 Feb 2026 09:46:38 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8378297
>
> src/java.desktop/share/classes/javax/swing/PopupFactory.java line 723:
> 
>> 721:          */
>> 722:         private static List<LightWeightPopup> getLightWeightPopupCache() {
>> 723:             synchronized (PopupFactory.class) {
> 
> I believe it should synchronize on LightWeightPopup class and not on PopupFactory?

fixed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29830#discussion_r2849133507


More information about the client-libs-dev mailing list