RFR: 8371087: Remove unused dependency on jdk.unsupported from javafx.graphics [v2]
Laurent Bourgès
lbourges at openjdk.org
Mon Nov 3 17:48:50 UTC 2025
On Mon, 3 Nov 2025 16:31:46 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.
>
> Kevin Rushforth has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove unneeded '-XDignore.symbol.file' option
modules/javafx.graphics/src/main/java/module-info.java line 45:
> 43: requires java.desktop;
> 44: requires java.xml;
> 45: requires jdk.unsupported;
Good job!
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1957#discussion_r2487359926
More information about the openjfx-dev
mailing list