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

FX build fails using gradle 5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8, openjfx11, openjfx12
    • Fix Version/s: openjfx13
    • Component/s: javafx
    • Labels:

      Description

      To reproduce, run the following with gradle 5.0:

      $ gradle
      ...
      > Task :buildSrc:compileGroovy
      startup failed:
      rt/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy: 118: The variable [files] is declared final but is reassigned
      . At [118:21] @ line 118, column 21.
                             files += file;
                             ^

      1 error

      See https://github.com/javafxports/openjdk-jfx/pull/313 for more a discussion on this first problem.

      The build errors with gradle 5 are more extensive than this one failure. Fixing that one problem allows the build to get a little farther, but it still doesn't make it through the configuration phase.

        Attachments

          Activity

            People

            • Assignee:
              kcr Kevin Rushforth
              Reporter:
              kcr Kevin Rushforth
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: