From 8dcc1051ad320176323325eec2c2904da34e96bd Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Tue, 5 Nov 2019 09:53:47 -0600 Subject: [PATCH] Some changes to start supporting Java 11 * Use OpenJFX 11 * Add annotation-api dependency * Remove tools.jar dependency * Use recent TestFX that accesses Robot properly This last bullet is not quite working; even though TestFX/TestFX#629 claims this has been fixed I continue to get NoClassDefFoundError when trying to run tests. --- pom.xml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 11305bf98..915fc0907 100644 --- a/pom.xml +++ b/pom.xml @@ -21,13 +21,6 @@ picocontainer 2.15 - - com.sun - tools - 8 - system - ${java.home}/../lib/tools.jar - org.webbitserver webbit @@ -36,7 +29,6 @@ com.fasterxml.jackson.core jackson-databind - 2.6.7 @@ -65,13 +57,13 @@ org.testfx testfx-core - 4.0.6-alpha + 4.0.16-alpha test org.testfx testfx-junit - 4.0.6-alpha + 4.0.15-alpha test @@ -80,6 +72,21 @@ 1.8.0_20 test + + org.openjfx + javafx-controls + 11.0.2 + + + org.openjfx + javafx-fxml + 11.0.2 + + + javax.annotation + javax.annotation-api + 1.3.2 +