[Git][java-team/libreflections-java][master] 2 commits: d/p/add_java25_annotations.patch: add Java 25 annotations (Closes: #1108582).

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Wed Feb 4 22:44:42 GMT 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / libreflections-java


Commits:
64122889 by Vladimir Petko at 2026-02-05T10:51:48+13:00
d/p/add_java25_annotations.patch: add Java 25 annotations (Closes: #1108582).

- - - - -
a481d211 by Vladimir Petko at 2026-02-05T10:58:55+13:00
changelog

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/add_java25_annotations.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+libreflections-java (0.10.2+dfsg-3) UNRELEASED; urgency=medium
+
+  * d/p/add_java25_annotations.patch: add annotations for Java 25
+    (Closes: #1108582).
+
+ -- Vladimir Petko <vladimir.petko at canonical.com>  Thu, 05 Feb 2026 10:52:04 +1300
+
 libreflections-java (0.10.2+dfsg-2) unstable; urgency=medium
 
   * Raising Standards version to 4.6.2 (no change)


=====================================
debian/patches/add_java25_annotations.patch
=====================================
@@ -0,0 +1,23 @@
+Description: Add Java 25-specific annotations
+ Note: the test file was removed upstream in
+ https://github.com/ronmamo/reflections/commit/a566ac6d69008b16296d623c490d5a8b6179f96f#diff-38481b6618c9be4d7e566974e65bc21bc501d6dcd171ea4a58100d2c485bb376
+Author: Vladimir Petko <vladimir.petko at canonical.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108582
+Forwarded: not-needed
+Last-Update: 2026-02-05
+
+--- a/src/test/java/org/reflections/JdkTests.java
++++ b/src/test/java/org/reflections/JdkTests.java
+@@ -107,8 +107,10 @@
+ 				"jdk.internal.reflect.CallerSensitive",  // jdk 11, 13, 15
+ 				"jdk.internal.PreviewFeature",           // jdk 15
+ 				"jdk.internal.javac.PreviewFeature",     // jdk 21
+-				"jdk.internal.reflect.CallerSensitiveAdapter")     // jdk 21
+-			.forEach(diff::remove);
++				"jdk.internal.reflect.CallerSensitiveAdapter", // jdk 21
++				"jdk.internal.vm.annotation.ForceInline", // jdk 25
++				"java.lang.foreign.SegmentAllocator"      // jdk 25
++			).forEach(diff::remove);
+ 		assertEquals(diff, Collections.emptyMap());
+ 	}
+ 


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ omit_manifest.patch
 omit_flaky_test.patch
 omitting_tests_needing_sourceless_resources.patch
 add_annotations.patch
+add_java25_annotations.patch



View it on GitLab: https://salsa.debian.org/java-team/libreflections-java/-/compare/ac518ac493f544c7f24ced80dc8bb2f97c629a4f...a481d211aecaf41d6be1179f98b2a3c4bcd6c83d

-- 
View it on GitLab: https://salsa.debian.org/java-team/libreflections-java/-/compare/ac518ac493f544c7f24ced80dc8bb2f97c629a4f...a481d211aecaf41d6be1179f98b2a3c4bcd6c83d
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/20260204/29266a88/attachment.htm>


More information about the pkg-java-commits mailing list