RFR: 8280993: [XWayland] Popup is not closed on click outside of area controlled by XWayland [v3]
Phil Race
prr at openjdk.org
Fri May 19 17:25:54 UTC 2023
On Fri, 19 May 2023 16:04:50 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
>> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> move to toolkit
>
> src/java.desktop/share/classes/javax/swing/JPopupMenu.java line 763:
>
>> 761:
>> 762: private Window getMenuInvoker() {
>> 763: if (invoker instanceof Window menuInvoker) {
>
> [Pattern matching for instanceof](https://openjdk.org/jeps/394) is used.
> Maybe we shouldn't use this if we plan to backport this change to the JDK < 16
I wouldn't worry about that.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13830#discussion_r1199191097
More information about the client-libs-dev
mailing list