Proposal: JavaFX Incubator Modules

Kevin Rushforth kevin.rushforth at oracle.com
Wed Feb 21 17:37:16 UTC 2024


JEP 11 [1] defines a process for delivering non-final JDK APIs in 
incubator modules.

Similarly, some JavaFX APIs would benefit from spending a period of time 
in a JavaFX release prior to being deemed stable. I propose JavaFX 
incubator modules as a means of putting non-final API in the hands of 
developers, while the API progresses towards either finalization or 
removal in a future release. This is especially useful for complex 
features with a large API surface.

The JavaFX proposal is largely the same as the JDK one, but has some 
important differences.

Please take a look at the preliminary proposal [2]. I have also created 
a Draft PR [3], for illustrative purposes only, to show how this might work.

Please reply to this message with any feedback.

Thanks.

-- Kevin

[1] https://openjdk.org/jeps/11
[2] 
https://github.com/kevinrushforth/jfx/blob/javafx.incubator/INCUBATOR-MODULES.md
[3] https://github.com/openjdk/jfx/pull/1375



More information about the openjfx-dev mailing list