Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8094000

[Android] Need a way to switch off JRockit support

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      dalvik

      Description

      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.
      With RT-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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              msladecek Martin Sládeček
              Reporter:
              sfuchsjfx Stefan Fuchs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: