Package: lombok / 1.16.22-7

Metadata

Package Version Patches format
lombok 1.16.22-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
build.patch | (download)

build.xml | 23 16 + 7 - 0 !
1 file changed, 16 insertions(+), 7 deletions(-)

 build

java9 compatibility.patch | (download)

src/core/lombok/javac/JavacAST.java | 9 6 + 3 - 0 !
src/utils/lombok/javac/PackageName.java | 16 2 + 14 - 0 !
2 files changed, 8 insertions(+), 17 deletions(-)

 fixes the incompatibilities with java 9:
 * Upstream compiles PackageName.java against the JDK 6 API which isn't available
   in Debian. The public field JCCompilationUnit.ui was replaced in JDK 9 and this
   patch uses the equivalent getPackageName() method instead which is available
   since JDK 6 at least.
 * JavacAST.java accesses the multipleErrors field of com.sun.tools.javac.util.Log
   but it was removed in JDK 9. The patch uses reflection to access the field instead.
disable java6 and java7 support.patch | (download)

build.xml | 2 2 + 0 - 0 !
src/utils/lombok/javac/Javac.java | 20 1 + 19 - 0 !
2 files changed, 3 insertions(+), 19 deletions(-)

 disables support for java 6 and 7
remove j9stub.patch | (download)

build.xml | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 remove j9stub

Apparently the Java 9 stub file is not needed because we use OpenJDK8?

Fix a FTBFS due to
/build/lombok-1.16.22/src/j9stubs/org/mapstruct/ap/spi/AstModifyingAnnotationProcessor.java:21: error:
package javax.lang.model.type is not visible
[ivy:compile] import javax.lang.model.type.TypeMirror;
[ivy:compile]                        ^
[ivy:compile]   (package javax.lang.model.type is declared in module java.compiler, but module
             org.objectweb.asm does not read it)

java11 log error.patch | (download)

src/core/lombok/javac/JavacAST.java | 32 0 + 32 - 0 !
1 file changed, 32 deletions(-)

 java11-log-error

Some methods were removed in Java 11.

Bug-Debian: https://bugs.debian.org/910748

build with java11 only.patch | (download)

build.xml | 45 18 + 27 - 0 !
1 file changed, 18 insertions(+), 27 deletions(-)

 build with java 11, using the javac 'release' parameter to replace the bootclasspaths