JDK-8179462 : Remove obsolete -XDignore.symbol.file flag from build
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: jfx11,9,10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-04-29
  • Updated: 2025-11-06
  • Resolved: 2025-11-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx26 b15Fixed
Related Reports
Blocks :  
Blocks :  
Relates :  
Relates :  
Relates :  
Description
The FX API docs are built with the obsolete "-XDignore.symbol.file" flag. It used to be necessary, but that option no longer does anything.

The FX classes are also built with "-XDignore.symbol.file" flag. This is no longer necessary now that we stopped using sun.misc.Unsafe with JDK-8334137.

We should remove the  "-XDignore.symbol.file" from build.gradle.
Comments
Changeset: a4e54513 Branch: master Author: Kevin Rushforth <kcr@openjdk.org> Date: 2025-11-04 14:39:09 +0000 URL: https://git.openjdk.org/jfx/commit/a4e5451373beed93942e0bf2b6c8b81d3e6ad66d
04-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1957 Date: 2025-11-01 15:47:00 +0000
03-11-2025

Now that we have removed the last remaining reference to sun.misc, this is ready to proceed.
03-11-2025

I create a WIP pull request here: https://github.com/javafxports/openjdk-jfx/pull/447 As noted in the description, we still need this flag at compile time to suppress a warning we get due to the use of sun.misc.Unsafe. As such, there is less motivation to do this, so I may end up pushing this off to JavaFX 14.
22-06-2019

RDP1 is approaching (Dec 14) it means P4s will be re-targeted to "11" by Dec 14. http://mail.openjdk.java.net/pipermail/jdk-dev/2017-December/000357.html
08-12-2017