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

JavaFX Gradle build script fails with Gradle 2.12

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u60, 9
    • javafx
    • OS X 10.11.3

    • x86
    • os_x

        When building with Gradle 2.12 I get the following error:

        * Where:
        Build file '/Users/scott/dev/OpenJFX9-dev/build.gradle' line: 128

        * What went wrong:
        Could not compile build file '/Users/scott/dev/OpenJFX9-dev/build.gradle'.
        > startup failed:
          build file '/Users/scott/dev/OpenJFX9-dev/build.gradle': 128: unable to resolve class Map.Entry
           @ line 128, column 9.
                     for (Map.Entry property in config) {
                     ^
          
          1 error

        The fix is to use the fully-qualified class name for java.util.Map.Entry (importing java.util.Map does not work).

        With this change Gradle 2.12 appears to work properly for building.
        The same problem exists in the 8u-dev repo.

              kcr Kevin Rushforth
              swpalmer Scott Palmer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: