Re: Testing JavaFX with Java14 preview features

2020-04-19 Thread Nir Lisker
I managed to get it working by adding "--enable-preview" in several places, I'm not sure if they are all needed. There will be a test branch in my fork with the working build.grade. On Tue, Apr 14, 2020 at 4:35 AM Nir Lisker wrote: > It contains: > -source > 14 > -target > 14 > > Looks like

Re: Testing JavaFX with Java14 preview features

2020-04-13 Thread Nir Lisker
It contains: -source 14 -target 14 Looks like I'll have to do some digging. Thanks On Tue, Apr 14, 2020 at 2:38 AM Kevin Rushforth wrote: > Not sure, but you might check here: > > modules/javafx.base/build/tmp/compileJava/java-compiler-args.txt > > That's the list of args that gradle

Re: Testing JavaFX with Java14 preview features

2020-04-13 Thread Kevin Rushforth
Not sure, but you might check here: modules/javafx.base/build/tmp/compileJava/java-compiler-args.txt That's the list of args that gradle generates to pass to javac (using @.../java-compiler-args.txt) -- Kevin On 4/13/2020 4:10 PM, Nir Lisker wrote: Thanks, yes, testing on JavaFX itself. I

Re: Testing JavaFX with Java14 preview features

2020-04-13 Thread Nir Lisker
Thanks, yes, testing on JavaFX itself. I made these changes. I'm getting "error: invalid source release: 14" when trying to build. These are the settings that are output during the task: Gradle Distribution: Gradle wrapper from target build Gradle Version: 6.3 Java Home: C:\Program

Re: Testing JavaFX with Java14 preview features

2020-04-13 Thread Kevin Rushforth
I guess you mean modifying the FX build in your local repo so that you can test the use of JDK 14 preview features in FX itself? (if you were just trying to use it from your app you wouldn't need any build changes in FX). At a minimum you would need to add the "--enable-preview" flag to

Testing JavaFX with Java14 preview features

2020-04-13 Thread Nir Lisker
Hi, I would like to test the preview features in Java 14 on JavaFX. What changes should I make in the build files to get it working? - Nir