Bug#981984: lombok: FTBFS with OpenJDK 17 due to com.sun.tools.javac.tree.JCTree changes

Emmanuel Bourg ebourg at apache.org
Fri Feb 5 14:32:14 GMT 2021


Source: lombok
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

lombok fails to build with OpenJDK 17:


  [compile:javac] Compiling 79 source files to /<<PKGBUILDDIR>>/build/lombok
  [compile:javac] Support for javac --release has been added in Java9 ignoring it
  [ivy:compile] warning: Supported source version 'RELEASE_6' from annotation processor 'org.mangosdk.spi.processor.SpiProcessor' less than -source '8'
  [ivy:compile] /<<PKGBUILDDIR>>/src/delombok/lombok/delombok/PrettyPrinter.java:1003: error: cannot find symbol
  [ivy:compile]           print(tree.clazz);
  [ivy:compile]                     ^
  [ivy:compile]   symbol:   variable clazz
  [ivy:compile]   location: variable tree of type JCInstanceOf
  [ivy:compile] /<<PKGBUILDDIR>>/src/delombok/lombok/delombok/PrettyPrinter.java:1211: error: cannot find symbol
  [ivy:compile]           if (tree.pat == null) {
  [ivy:compile]                   ^
  [ivy:compile]   symbol:   variable pat
  [ivy:compile]   location: variable tree of type JCCase
  [ivy:compile] /<<PKGBUILDDIR>>/src/delombok/lombok/delombok/PrettyPrinter.java:1215: error: cannot find symbol
  [ivy:compile]                   print(tree.pat);
  [ivy:compile]                             ^
  [ivy:compile]   symbol:   variable pat
  [ivy:compile]   location: variable tree of type JCCase
  [ivy:compile] Note: Some input files use or override a deprecated API.
  [ivy:compile] Note: Recompile with -Xlint:deprecation for details.
  [ivy:compile] 3 errors
  [ivy:compile] 1 warning



More information about the pkg-java-maintainers mailing list