JDK-8090171 : Switch production build of FX to gradle 2.9
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-03-12
  • Updated: 2016-01-06
  • Resolved: 2015-12-01
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.
JDK 9
9Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Description
With RT-40254 we are able to build with gradle 2.3, but 1.8 is still the default.

For JDK 9, we will need to switch to a version of gradle 2 that is compatible with JDK 9, specifically modularization. Without this we will not be able to run tests and may run into other issues as well. See the following for one bug we will need a fix for in a future version of gradle:

http://forums.gradle.org/gradle/topics/classcastexception-from-org-gradle-process-internal-child-bootstrapsecuritymanager
Comments
I filed JDK-8143332 to track making 2.9 the minimum supported version.
01-12-2015

http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/cd30a39eb52a
01-12-2015

Pushed to sandbox-9-jake. I am leaving this bug open until pushed to 9-dev (targeted for 1-Dec).
19-11-2015

http://hg.openjdk.java.net/openjfx/sandbox-9-jake/rt/rev/ad847c3fa7ee
19-11-2015

+1
19-11-2015

Webrev to set 2.9 to preferred version, but leave 1.8 as minimum version: http://cr.openjdk.java.net/~kcr/8090171/webrev.00/
19-11-2015

I will "flip the switch" to make 2.9 the default for building the FX jake bits (for Jigsaw) later today for tomorrow's build. Here is the timeline that we are planning: 11/20 - switch 9-jake nightly builds to gradle 2.9 12/1 - switch 9-dev nightly builds to gradle 2.9 12/7 - switch 9 master builds to gradle 2.9 (*) 12/14 - push change to make 2.9 the minimum supported version (*) Note that this is for 9 only -- FX 8u will continue to build with gradle 1.8 (although it is buildable with gradle 2.X for developers). (*) There is a possibility (unrelated to this) that we might skip the 9-dev --> 9 master integration for the week of 12/7 which would delay the last two dates by one week
19-11-2015