[Git][java-team/openjpa][master] 3 commits: Fixed the build failure with Java 21 (Closes: #1052623)

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Mon Oct 16 08:49:02 BST 2023



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / openjpa


Commits:
c665cd23 by Emmanuel Bourg at 2023-10-16T09:19:39+02:00
Fixed the build failure with Java 21 (Closes: #1052623)

- - - - -
0abeea18 by Emmanuel Bourg at 2023-10-16T09:48:24+02:00
Improved the clean target (Closes: #1048794)

- - - - -
ca3d9b53 by Emmanuel Bourg at 2023-10-16T09:48:34+02:00
Upload to unstable

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+openjpa (2.4.2-9) unstable; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with Java 21 (Closes: #1052623)
+  * Improved the clean target (Closes: #1048794)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 16 Oct 2023 09:48:29 +0200
+
 openjpa (2.4.2-8) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/clean
=====================================
@@ -0,0 +1 @@
+openjpa/dependency-reduced-pom.xml


=====================================
debian/patches/java21-compatibility.patch
=====================================
@@ -0,0 +1,11 @@
+--- a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java
++++ b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/criteria/CriteriaQueryImpl.java
+@@ -231,7 +231,7 @@
+     
+     public Set<ParameterExpression<?>> getParameters() {
+         collectParameters(new CriteriaExpressionVisitor.ParameterVisitor(this));
+-        return _params == null ? Collections.EMPTY_SET : _params.keySet();
++        return (Set) (_params == null ? Collections.EMPTY_SET : _params.keySet());
+     }
+ 
+     /**


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ exclude-was-uow.diff
 openjpa-xmlstore-no-tests.patch
 javacc-compatibility.patch
 java17-compatibility.patch
+java21-compatibility.patch



View it on GitLab: https://salsa.debian.org/java-team/openjpa/-/compare/00f2dcc2a53cb1bf2e38b14c6800aad72fea983a...ca3d9b5323b487bd56c067e22270456a770d2273

-- 
View it on GitLab: https://salsa.debian.org/java-team/openjpa/-/compare/00f2dcc2a53cb1bf2e38b14c6800aad72fea983a...ca3d9b5323b487bd56c067e22270456a770d2273
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/20231016/b839833d/attachment.htm>


More information about the pkg-java-commits mailing list