[Git][java-team/lombok][master] 3 commits: Add Java 21 compatibility patch

Tony Mancill (@tmancill) gitlab at salsa.debian.org
Sat Jan 27 20:04:23 GMT 2024



Tony Mancill pushed to branch master at Debian Java Maintainers / lombok


Commits:
bce63fb5 by Vladimir Petko at 2024-01-25T14:08:01+13:00
Add Java 21 compatibility patch

add eclise-jface-text.jar to the classpath

- - - - -
ba396b74 by Vladimir Petko at 2024-01-25T14:08:31+13:00
changelog

- - - - -
6ddfd215 by Tony Mancill at 2024-01-27T20:04:12+00:00
Merge branch 'resolve_java_ftbfs' into 'master'

Resolve Java 21 ftbfs - add Java 21 compatibility patch

See merge request java-team/lombok!2
- - - - -


3 changed files:

- debian/changelog
- + debian/patches/java21-compatibility.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+lombok (1.18.24-2) UNRELEASED; urgency=medium
+
+  * d/p/java21_compatibility.patch: add eclise-jface-text.jar to the
+    classpath to fix the ftbfs (Closes: #1057524).
+
+ -- Vladimir Petko <vladimir.petko at canonical.com>  Thu, 25 Jan 2024 11:47:21 +1300
+
 lombok (1.18.24-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/java21-compatibility.patch
=====================================
@@ -0,0 +1,16 @@
+Description: add eclise-jface-text.jar to the classpath
+ Java 21 build fails with the error "cannot access ICompletionProposal".
+ Explicitly add eclipse-jface-test.jar to the classpath.
+Author: Vladimir Petko <vladimir.petko at canonical.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057524
+Forwarded: not-needed
+--- a/buildScripts/compile.ant.xml
++++ b/buildScripts/compile.ant.xml
+@@ -183,6 +183,7 @@
+ 			<classpath refid="cp.eclipse-oxygen" />
+ 			<classpath refid="cp.javac6" />
+ 			<classpath path="build/lombok-utils:build/lombok-utils6:build/lombok-main:dist/spiProcessor.jar" />
++			<classpath path="/usr/share/java/eclipse-jface-text.jar"/>
+ 			<annotationProcessor jar="dist/spiProcessor.jar" processor="lombok.spi.SpiProcessor" />
+ 		</ivy:compile>
+ 		


=====================================
debian/patches/series
=====================================
@@ -9,3 +9,4 @@ build-with-java11-only.patch
 compilation.patch
 ignore-apt-errors.patch
 java17-compatibility.patch
+java21-compatibility.patch



View it on GitLab: https://salsa.debian.org/java-team/lombok/-/compare/d41b7eddb99a34c4db1069127d019c6fba7da8e1...6ddfd21590ec75cb1d6f74a204edab5fd12b6529

-- 
View it on GitLab: https://salsa.debian.org/java-team/lombok/-/compare/d41b7eddb99a34c4db1069127d019c6fba7da8e1...6ddfd21590ec75cb1d6f74a204edab5fd12b6529
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20240127/d7813170/attachment.htm>


More information about the pkg-java-commits mailing list