XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Undefined Undefined
    • MTR-1.0.2
    • WINDUP-6.1.0
    • OpenJDK11 -> OpenJDK17
    • None

      If you use a version of Lombok lower than 1.18.22, you will get the following exception:

      ```
      Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project bss-serviceengine-commonutil: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x1b0cfe11) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x1b0cfe11 -> [Help 1]
      ```

      The reason is that from Lombok 1.18.22, Lombok can be compatible with JDK 17.

      https://github.com/iluwatar/java-design-patterns/issues/2034

      So there should be a rule that windup will indicate that the target JDK is 17, then the Lombok version should be 1.18.22 or higher.

              agoncal Antonio Goncalves (Inactive)
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: