On Sun, 2 Nov 2025 17:18:39 GMT, Marius Hanl <[email protected]> wrote:
> > 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. > > That sounds indeed reasonable! Agreed. I'll expand [JDK-8179462](https://bugs.openjdk.org/browse/JDK-8179462) to remove `-XDignore.symbol.file` entirely, both as a javadoc and javac option and then add that issue to this PR. > As mentioned above, there is one `sun.misc` usage left in the `android` > folder, so we may need to check that out first. Since that file cannot possibly compile without some additional modification to the JDK and/or JavaFX anyway, I don't see any harm removing this option from `build.gradle`. The right fix for the obsolete `sun.misc` usage in the `android` folder would be to replace `sun.misc.BASE64Encoder` with `java.util.Base64` as we did for the rest of JavaFX. I'll file a follow-on bug for that. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1957#issuecomment-3481353559
