On Wed, 2 Apr 2025 14:15:28 GMT, Pabulaner IV <d...@openjdk.org> wrote:
> 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 So I adapted the test to the new requirements. The test can be found here: https://github.com/pabulaner/openurifx Currently I just put the JDK and JFX builds right into the repo, but they can be self build and easily changed inside the test script. Maybe You can give me feedback if that is the test You expected or if it was something else @kevinrushforth . When I tested it, it didn't seem to give any errors and worked without problems. ------------- PR Comment: https://git.openjdk.org/jdk/pull/24379#issuecomment-2824378411