On Thu, 19 Feb 2026 23:20:12 GMT, Phil Race <[email protected]> wrote:
> Remove AppContext usage from several Swing classes that use it via Swing
> utility (still used by other cases so can't remove that yet).
>
> One ToolTipManager test for the AppContext is removed.
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?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29830#discussion_r2839901931