JDK-8210093 : Build FX class files with -source 11 and -target 11
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: build
  • Affected Version: openjfx12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-28
  • Updated: 2018-09-25
  • Resolved: 2018-09-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx12Fixed
Related Reports
Blocks :  
Description
We currently specify 'sourceCompatibility = 10' in build.gradle for building FX classes, which maps to '-source 1.10' and '-target 1.10'.

Once openjfx requires JDK 11 to build and run (see JDK-8209966), we should change this to build FX classes with ''sourceCompatibility = 11' , which maps to '-source 11' and '-target 11'.

This will allow us to use JDK 11 language features, and also will cause a fast-fail if a down-rev JDK is used.
Comments
Changeset: 22c69e868654 Author: kcr Date: 2018-09-25 11:49 -0700 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/22c69e868654 8210093: Build FX class files with -source 11 and -target 11 Reviewed-by: prr, jvos
25-09-2018

Review on GitHub: https://github.com/javafxports/openjdk-jfx/pull/208
21-09-2018