RFR: 8371087: Remove unused dependency on jdk.unsupported from javafx.graphics
Marius Hanl
mhanl at openjdk.org
Sat Nov 1 16:49:18 UTC 2025
On Sat, 1 Nov 2025 15:47:00 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
> This PR removes the unused dependency on `jdk.unsupported` from `javafx.graphics` as a followup to [JDK-8334137](https://bugs.openjdk.org/browse/JDK-8334137), which replaced the use of `sun.misc.Unsafe` with FFM in PR #1814. `sun.misc.Unsafe` was the only use of `jdk.unsupported`, so it can now be removed.
Makes sense. Can confirm that the last `sun.misc` usage is `WebEngine.java` in the `android` folder in `javafx.web`, as also noted in the comment in https://github.com/openjdk/jfx/pull/1814#issuecomment-3475802120.
-------------
Marked as reviewed by mhanl (Committer).
PR Review: https://git.openjdk.org/jfx/pull/1957#pullrequestreview-3407595674
More information about the openjfx-dev
mailing list