RFR: 8371087: Remove unused dependency on jdk.unsupported from javafx.graphics
Anirvan Sarkar
asarkar at openjdk.org
Sun Nov 2 16:17:20 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.
As `sun.misc.Unsafe` is not used anymore, maybe then also remove the references to `XDignore.symbol.file` flag in `build.gradle`.
I noticed [JDK-8179462](https://bugs.openjdk.org/browse/JDK-8179462) already exists to remove the flag from javadoc build.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1957#issuecomment-3478077301
More information about the openjfx-dev
mailing list