RFR: 8360120: Bundled macOS applications not receiving OpenURL events when launched as subprocess [v2]

Dmitry Kulikov duke at openjdk.org
Wed Jun 25 07:03:33 UTC 2025


> 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.

Dmitry Kulikov has updated the pull request incrementally with one additional commit since the last revision:

  Update copyright years

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/25967/files
  - new: https://git.openjdk.org/jdk/pull/25967/files/88676983..9b579b60

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25967&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25967&range=00-01

  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/25967.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25967/head:pull/25967

PR: https://git.openjdk.org/jdk/pull/25967


More information about the client-libs-dev mailing list