Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-3 Support JDK 9 on Geode
  3. GEODE-5848

conditionally add --add-opens to test.gradle if testing on Java 11

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • ci

    Description

      While we continue to discuss possible ways to make this unnecessary, for now this is the shortest path to getting the Java 11 jobs in the pipeline green.

      Need to add the following around line 225 of grade/test.gradle:

      jvmArgs += ["--add-opens", "java.xml/jdk.xml.internal=ALL-UNNAMED"] 
      jvmArgs += ["--add-opens", "java.base/jdk.internal.module=ALL-UNNAMED"] 
      jvmArgs += ["--add-opens", "java.base/java.lang.module=ALL-UNNAMED"]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              onichols Owen Nichols
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m