On Thu, 22 Jan 2026 23:44:25 GMT, Michael Bien <[email protected]> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Rename listener class
>
> src/java.desktop/share/classes/javax/swing/JPopupMenu.java line 963:
>
>> 961: oldInvoker.removePropertyChangeListener("ancestor",
>> propListener);
>> 962: }
>> 963: invoker.addPropertyChangeListener("ancestor", propListener);
>
> fyi: this will now throw NPEs on `setInvoker(null)` when it enters this
> section. (https://github.com/apache/netbeans/issues/9155)
Prasanta @prsadhuk created a JBS bug report,
[JDK-8376169](https://bugs.openjdk.org/browse/JDK-8376169), the fix for which
is being reviewed in #29377.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26407#discussion_r2721237138