weixin_39918128 2020-11-20 13:00
浏览 0

ControlsFX should support Java 9

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

  • 写回答

30条回答 默认 最新

  • weixin_39918128 2020-11-20 13:00
    关注

    Original comment by Abhinay Agarwal (Bitbucket: abhinayagarwal, GitHub: abhinayagarwal).

    Closing this ticket as preliminary support is in place. For any further issues, please create a new ticket.

    评论

报告相同问题?