RFR: 8311530: Deprecate jdk.jsobject module for removal

Kevin Rushforth kcr at openjdk.org
Thu Sep 5 21:16:58 UTC 2024


Deprecate the `jdk.jsobject` module for removal from the JDK, and ship it with JavaFX instead.

See [JDK-8337280](https://bugs.openjdk.org/browse/JDK-8337280) / PR openjdk/jfx#1529 for the JavaFX PR that will include the module with JavaFX. That PR describes the needed test scenarios.

This PR does two things:

1. Deprecates the `jdk.jsobject` module for removal; the javadoc indicates that the module will be delivered with JavaFX
2. Makes `jdk.jsobject` an upgradeable module, which will facilitate the transition by allowing the version of the module shipped with JavaFX to be used in favor of the deprecated module in the JDK itself.

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

Commit messages:
 - Merge branch 'master' into 8311530-depr-jsobject
 - Merge branch 'master' into 8311530-depr-jsobject
 - Update javadoc
 - Update copyright years
 - Merge branch 'master' into 8311530-depr-jsobject
 - Add jdk.jsobject to list of UPGRADEABLE_MODULES in UpgradeableModules test
 - 8311530: Deprecate jdk.jsobject module for removal

Changes: https://git.openjdk.org/jdk/pull/20555/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20555&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8311530
  Stats: 27 lines in 7 files changed: 17 ins; 5 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/20555.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20555/head:pull/20555

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


More information about the core-libs-dev mailing list