New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java 9: Inaccessable internal APIs in ˋcom.sun.*ˋ #228
Comments
Here is some code for Java 9 support in Travis: Schedule and features for Java 9: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization |
Results of review of private JavaFX API for consideration to make public in JDK 9: JEP 253: UI control skins and input mapping discussion |
The first early access builds with the Java Platform Module System were published in September 2015.
Early Access builds of JDK 9 with Project Jigsaw: |
|
The first Java 9 early access build with integrated Jigsaw+JavaFX is 9 Build 113 [1]. Important milestones in the current schedule:
|
The
|
@brcolow [1] Removal of com.sun.javafx.robot Platform.runLater(() -> {
Event.fireEvent(scene.getFocusOwner(), keyEvent);
}); |
Do you mean something like #355 ? I was able to pull most things directly out of |
JFXtras uses TextFX to make sure things keep working. It would be great if I can do the Java 9 migration with running those tests. Is TestFX already running on Java 9? |
TestFX should be working on Java 9 as I removed all uses of the private API. I would speak with more confidence if I could run the test suite but gradle does not currently support jigsaw Java 9 builds. Once gradle support has landed, I will be able to progress on this issue. Brave people who want to try and build without gradle are free to hack about, but I don't have time for that at that moment. I added a Java 9 build to our Travis CI infrastructure which is currently stuck at the gradle step. Seems that full jigsaw support is being tracked in gradle/gradle#719 - which is milestoned for version 4.1 (quite a ways away I think). |
Thanks for the response. I'm using Gradle as well for JFXtras, but Maven is already fully Java 9 compatible. I'm considering switching back (maybe polyglot maven :-) ) or to Kobalt |
Indeed - it would honestly not take that much work to also add the equivalent |
From the Gradle 4.1 release notes (https://docs.gradle.org/4.1/release-notes.html):
|
The guide works, but it's still not as simple as an established plugin. One could use the experimental one, but it's experimental. |
Some TestFX functionality might become unavailable with Java 9. We depend on internal JavaFX API for Monocle headless tests, the Glass robot, ... Monocle is an external JAR for desktop system, so this might not cause problems, but on embedded system it might.
https://github.com/TestFX/TestFX/search?q=%22com.sun%22&type=Code
The text was updated successfully, but these errors were encountered: