Seems that javac tries to build jrockit support, but for android the bootclasspath only includes the android libraries.
When trying to build OpenJFX current 8u-dev for dalvik I get the following build errors:
02:15:28.223 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] /home/stefan/mercurial/android-graphics-rt/modules/base/src/main/java-jfr/com/sun/javafx/logging/JFRInputEvent.java:28: error: package com.oracle.jrockit.jfr does not exist
02:15:28.223 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] import com.oracle.jrockit.jfr.ContentType;
02:15:28.224 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] ^
02:15:28.224 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] /home/stefan/mercurial/android-graphics-rt/modules/
Seems that javac tries to build jrockit support, but for android the bootclasspath only includes the android libraries.
WithRT-36842 a test was introduced to build jrockit support only, if the jfr.jar is available.
It would be good to expand this check with a build time property, which disables jrockit support even, if the jfr.jar is available, because the dalvikvm does not support the jrockit interface.
When trying to build OpenJFX current 8u-dev for dalvik I get the following build errors:
02:15:28.223 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] /home/stefan/mercurial/android-graphics-rt/modules/base/src/main/java-jfr/com/sun/javafx/logging/JFRInputEvent.java:28: error: package com.oracle.jrockit.jfr does not exist
02:15:28.223 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] import com.oracle.jrockit.jfr.ContentType;
02:15:28.224 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] ^
02:15:28.224 [WARN] [org.gradle.api.internal.project.ant.AntLoggingAdapter] [ant:javac] /home/stefan/mercurial/android-graphics-rt/modules/
Seems that javac tries to build jrockit support, but for android the bootclasspath only includes the android libraries.
With
It would be good to expand this check with a build time property, which disables jrockit support even, if the jfr.jar is available, because the dalvikvm does not support the jrockit interface.
- relates to
-
JDK-8094028 OpenJFX no longer builds with OpenJDK
- Resolved