Original report by Abhinay Agarwal (Bitbucket: abhinayagarwal, GitHub: abhinayagarwal).
This issue will be used for all discussions while we try to migrate ControlsFX to Java 9.
Background:
ControlsFX already has a branch "9.0.0" for all the Java 9 related changes with few controls that are already Java 9 compliant.
Current Status:
The following controls are broken and needs to be fixed:
- BreadCrumbBar
- FilterPanel
- GlyphFont
- GridView
- NotificationPane
- SegmentBar
- SpreadSheetView
- SVGLoader
- TableRowExpanderColumn
Also, we need to change the way "VersionChecker" works since in Java 9 we have a new way to check version and we may want to use the public API Runtime#version.
Approach
Since few controls mentioned above uses internal APIs, we would have to export the respective packages (mostly behavior and traversal) from their respective modules so that the code can compile.
To be able to use few restricted methods and fields, we will fall back to reflection. This may again need opening up few modules and exporting packages.
Update
23 Sep, 2017
- Remove SpreadSheetView until someone fix them for good.
- Added a fix for GridView
该提问来源于开源项目:controlsfx/controlsfx