On Tue, 29 Jul 2025 20:45:36 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> what would be the expected behaviour? I'm not sure. If I was maintaining code with this bad rebuilding pattern: I'd appreciate it if this PR's new listener was something I could toggle off or nullify. (For ex: if it was `protected` instead of `private`). Or if it invoked a protected JPopupMenu method I could override. But I'm not currently maintaining any such code, and I think overall this PR is worth accepting as-is. ------------- PR Comment: https://git.openjdk.org/jdk/pull/26407#issuecomment-3134230270