Integrated: 8360120: Bundled macOS applications not receiving OpenURL events when launched as subprocess
Dmitry Kulikov
duke at openjdk.org
Wed Nov 5 18:57:38 UTC 2025
On Wed, 25 Jun 2025 05:14:11 GMT, Dmitry Kulikov <duke at openjdk.org> 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 <dmitry.kulikov at bell-sw.com>
Committer: Phil Race <prr at openjdk.org>
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
More information about the client-libs-dev
mailing list