Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2544

Gradle script for hello-world fails to compile with JDK17

XMLWordPrintable

    • 2021 Week 40-42 (from Oct 4)
    • NEW
    • NEW

      > java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x26e2f90e) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x26e2f90e
      

      Examples affected as well 'use-cases/school-timetabling', 'technology/java-spring-boot
       
      Automation needs to be adjusted as well http://github.com/dupliaka/optaplanner-quickstarts/blob/56db0aaa6248c6b8abcce3b0f610375dea0ff8e7/.github/workflows/gradle.yml#L49-L49
       

            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            adupliak Anna Dupliak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: