Bug#1057538: lombok: java.lang.NoSuchFieldError - exception when building with Java 21 default

2024-02-21 Thread Vladimir Petko
Dear Maintainers,

  Would it be possible to consider a merge request[1] that addresses this issue?

Best Regards,
 Vladimir.

 [1] https://salsa.debian.org/java-team/lombok/-/merge_requests/3



Bug#1057538: lombok: java.lang.NoSuchFieldError - exception when building with Java 21 default

2024-02-21 Thread Vladimir Petko
Apologies for the wrong build link, the correct one is for jcabi-log[1]

[1] 
https://launchpadlibrarian.net/715257895/buildlog_ubuntu-noble-amd64.jcabi-log_0.19.0-1_BUILDING.txt.gz

On Thu, Feb 22, 2024 at 12:41 PM Vladimir Petko
 wrote:
>
> Dear Maintainers,
>
>  I apologise, in the previous MR I have forgotten to add  Java 21
> runtime support patch[1]  and the issue is still present[2]. I have
> reopened the bug.
>
> Best Regards,
>  Vladimir.
>
> [1] 
> https://github.com/projectlombok/lombok/commit/f6ca064d752a85ca799978b1afc87510c5e220f1
> [2] 
> https://launchpad.net/~vpa1977/+archive/ubuntu/october-21/+build/27797937/+files/buildlog_ubuntu-noble-amd64.ddogleg_0.22+ds-1_BUILDING.txt.gz



Bug#1057538: lombok: java.lang.NoSuchFieldError - exception when building with Java 21 default

2024-02-21 Thread Vladimir Petko
Dear Maintainers,

 I apologise, in the previous MR I have forgotten to add  Java 21
runtime support patch[1]  and the issue is still present[2]. I have
reopened the bug.

Best Regards,
 Vladimir.

[1] 
https://github.com/projectlombok/lombok/commit/f6ca064d752a85ca799978b1afc87510c5e220f1
[2] 
https://launchpad.net/~vpa1977/+archive/ubuntu/october-21/+build/27797937/+files/buildlog_ubuntu-noble-amd64.ddogleg_0.22+ds-1_BUILDING.txt.gz



Bug#1057538: lombok: java.lang.NoSuchFieldError - exception when building with Java 21 default

2023-12-05 Thread Vladimir Petko
Source: lombok
Version: 1.18.24-1
Severity: important
User: debian-j...@lists.debian.org
Usertags: default-java21

Dear Maintainer,

When building lombok-ast with default Java 21 the following exception in lombok
has occured casing the failure to build.

templateProcessor:
[compile:mkdir] Created dir: /<>/build/templateProcessor
[compile:javac] Compiling 10 source files to
/<>/build/templateProcessor
[ivy:compile] warning: [options] bootstrap class path not set in conjunction
with -source 8
[ivy:compile] warning: [options] source value 8 is obsolete and will be removed
in a future release
[ivy:compile] warning: [options] target value 8 is obsolete and will be removed
in a future release
[ivy:compile] warning: [options] To suppress warnings about obsolete options,
use -Xlint:-options.
[ivy:compile] 4 warnings
[ivy:compile]
[ivy:compile]
[ivy:compile] An annotation processor threw an uncaught exception.
[ivy:compile] Consult the following stack trace for details.
[ivy:compile] java.lang.NoSuchFieldError: Class
com.sun.tools.javac.tree.JCTree$JCImport does not have member field
'com.sun.tools.javac.tree.JCTree qualid'
[ivy:compile]   at
lombok.javac.JavacImportList.getFullyQualifiedNameForSimpleNameNoAliasing(JavacImportList.java:53)
[ivy:compile]   at
lombok.core.TypeResolver.typeRefToFullyQualifiedName(TypeResolver.java:60)
[ivy:compile]   at
lombok.javac.HandlerLibrary.handleAnnotation(HandlerLibrary.java:247)
[ivy:compile]   at
lombok.javac.JavacTransformer$AnnotationVisitor.visitAnnotationOnType(JavacTransformer.java:79)
[ivy:compile]   at lombok.javac.JavacNode.traverse(JavacNode.java:132)
[ivy:compile]   at lombok.javac.JavacAST.traverseChildren(JavacAST.java:222)
[ivy:compile]   at lombok.javac.JavacNode.traverse(JavacNode.java:95)
[ivy:compile]   at lombok.javac.JavacAST.traverseChildren(JavacAST.java:222)
[ivy:compile]   at lombok.javac.JavacNode.traverse(JavacNode.java:95)
[ivy:compile]   at lombok.javac.JavacAST.traverseChildren(JavacAST.java:222)
[ivy:compile]   at lombok.javac.JavacNode.traverse(JavacNode.java:90)
[ivy:compile]   at lombok.javac.JavacAST.traverse(JavacAST.java:218)
[ivy:compile]   at
lombok.javac.JavacTransformer.transform(JavacTransformer.java:63)
[ivy:compile]   at
lombok.javac.apt.LombokProcessor.process(LombokProcessor.java:328)
[ivy:compile]   at
lombok.core.AnnotationProcessor$JavacDescriptor.process(AnnotationProcessor.java:187)
[ivy:compile]   at
lombok.core.AnnotationProcessor.process(AnnotationProcessor.java:241)
[ivy:compile]   at
lombok.launch.AnnotationProcessorHider$AnnotationProcessor.process(AnnotationProcessor.java:90)
[ivy:compile]   at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:1021)
[ivy:compile]   at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:937)
[ivy:compile]   at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1265)
[ivy:compile]   at
jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380)
[ivy:compile]   at
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1272)
[ivy:compile]   at
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:946)
[ivy:compile]   at
jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:319)
[ivy:compile]   at
jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:178)
[ivy:compile]   at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)
[ivy:compile]   at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[ivy:compile]   at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[ivy:compile]   at
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:57)
[ivy:compile]   at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1352)
[ivy:compile]   at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1092)
[ivy:compile]   at com.zwitserloot.ivyplusplus.Compile.execute(Unknown Source)
[ivy:compile]   at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
[ivy:compile]   at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[ivy:compile]   at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[ivy:compile]   at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
[ivy:compile]   at org.apache.tools.ant.Task.perform(Task.java:350)
[ivy:compile]   at org.apache.tools.ant.Target.execute(Target.java:449)
[ivy:compile]   at org.apache.tools.ant.Target.performTasks(Target.java:470)
[ivy:compile]   at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
[ivy:compile]   at
org.apache.tools.ant.Project.executeTarget(Project.java:1374)
[ivy:compile]   at