On Wed, 25 Jun 2025 05:14:11 GMT, Dmitry Kulikov <[email protected]> wrote:
> Added an on-demand installation of the native OpenURL event handler to the > `Application.setOpenURIHandler()`. > > This does not break the specification for the affected API, since the > requirement of the application being bundled and containing > `CFBundleURLTypes` in the `Info.plist` is still valid: macOS will neither > launch nor send OpenURL events to an application that does not declare such > capabilities it the bundle. > > Running tests on macOS showed no regressions after this patch. Other > platforms are not affected. This pull request has now been integrated. Changeset: 2872f815 Author: Dmitry Kulikov <[email protected]> Committer: Phil Race <[email protected]> URL: https://git.openjdk.org/jdk/commit/2872f815fdbe4a84bbec1cd910e81e2e21fffbdf Stats: 41 lines in 3 files changed: 32 ins; 3 del; 6 mod 8360120: Bundled macOS applications not receiving OpenURL events when launched as subprocess Reviewed-by: kizune, prr ------------- PR: https://git.openjdk.org/jdk/pull/25967
