JDK-8144353 : gradle apps fails to build on linux-arm platforms
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 9
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-01
  • Updated: 2015-12-02
  • Resolved: 2015-12-02
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
Relates :  
Description
After the fix for JDK-8134716  the build is broken on linux-arm platforms.

To reproduce, run the following on a linux-arm configuration:

$ gradle -PCOMPILE_TARGETS=armv6hf apps

[ant:javac] Compiling 2 source files to 9-dev/label/linux-armv6-91/rt/apps/tests/HelloTest/build/classes
9-dev/label/linux-armv6-91/rt/apps/tests/HelloTest/src/hellotest/HelloFPS.java:28: error: package javafx.animation does not exist
import javafx.animation.KeyFrame;
                       ^
...

Comments
Changeset: 06342be43a09 Author: ddhill Date: 2015-12-01 18:10 -0500 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/06342be43a09
02-12-2015

+1
01-12-2015

I suspect that it works without the above patch only in cases where you first build the sdk for desktop Linux. With your patch it should now work for both cases.
01-12-2015

This delta was lost in the shuffle, and is needed for us to properly find the jfxrt.jar in the build. It probably works in some cases because there happens to be a jar in the right default place. Probably does not help that we are not using lib/ext in the jake repo. ddhill@ddhlinux:~/sb/9/openjfx$ hg diff diff -r cd30a39eb52a apps/tests/HelloTest/nbproject/project.properties --- a/apps/tests/HelloTest/nbproject/project.properties Thu Nov 19 13:08:29 2015 -0800 +++ b/apps/tests/HelloTest/nbproject/project.properties Tue Dec 01 15:35:44 2015 -0500 @@ -30,11 +30,11 @@ endorsed.classpath= excludes= file.reference.HelloTest-src=src -file.reference.jfxrt.jar=../../../build/sdk/rt/lib/ext/jfxrt.jar +jfxbuild.jfxrt.jar=../../../build/sdk/rt/lib/ext/jfxrt.jar includes=** jar.compress=false javac.classpath=\ - ${file.reference.jfxrt.jar} + ${jfxbuild.jfxrt.jar} # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false
01-12-2015