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

[Android] dalvik build should add main classes on javah classpath

    XMLWordPrintable

    Details

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

      Description

      On dalvik, javah command in graphics module fails since main/classes is not on the classpath. I think it was when introducing an accessibility class that this became required. The following patch fixes this:
      diff -r 9425ba418764 buildSrc/dalvik.gradle
      --- a/buildSrc/dalvik.gradle Sun May 25 16:59:23 2014 +0300
      +++ b/buildSrc/dalvik.gradle Mon May 26 20:38:20 2014 +0200
      @@ -487,6 +487,7 @@
        "modules/graphics/build/classes/main")
       DALVIK.glass.javahClasspath = files("modules/graphics/build/classes/main",
        "modules/graphics/build/classes/dalvik",
      + "modules/base/build/classes/main",
        "$sdk/platforms/$sdk_target/android.jar")
       DALVIK.glass.javahInclude = [
           "javafxports/android/**",

        Attachments

          Activity

            People

            Assignee:
            ddhill David Hill (Inactive)
            Reporter:
            jvos Johan Vos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: