RFR: 8332947: [macos] java.awt.desktop.OpenURIHandler is not receiving events [v5]
Pabulaner IV
duke at openjdk.org
Tue Apr 29 22:43:03 UTC 2025
> When trying to register an open URI handler when using JavaFX with a native menu, this task fails on Mac.
> Either the native menu is not shown or the URIs are not received.
>
> This pull request fixes this issue if AWT is registered after JavaFX, so that AWT runs embedded inside JavaFX.
> It fixes this by introducing a native event to AWT, which can be used by JavaFX to forward events such as an openURL event.
>
> JavaFX Pull Request: https://github.com/openjdk/jfx/pull/1755
> Co-Author: @FlorianKirmaier
Pabulaner IV has updated the pull request incrementally with three additional commits since the last revision:
- 8332947: [macos] java.awt.desktop.OpenURIHandler is not receiving events
- 8332947: [macos] java.awt.desktop.OpenURIHandler is not receiving events
- 8332947: [macos] java.awt.desktop.OpenURIHandler is not receiving events
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24379/files
- new: https://git.openjdk.org/jdk/pull/24379/files/5e5b87df..1aa1831d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24379&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24379&range=03-04
Stats: 7 lines in 1 file changed: 6 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/24379.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24379/head:pull/24379
PR: https://git.openjdk.org/jdk/pull/24379
More information about the client-libs-dev
mailing list