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


Commits:
fe4a6ce2 by Emmanuel Bourg at 2023-10-16T00:44:32+02:00
Standards-Version updated to 4.6.2

- - - - -
41a65150 by Emmanuel Bourg at 2023-10-16T01:17:33+02:00
Fixed the build failure with Java 21 (Closes: #1053039)

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/maven.properties
- + debian/patches/java21-compatibility.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+junit4 (4.13.2-4) unstable; urgency=medium
+
+  * Fixed the build failure with Java 21 (Closes: #1053039)
+  * Standards-Version updated to 4.6.2
+
+ -- Emmanuel Bourg <ebo...@apache.org>  Mon, 16 Oct 2023 00:44:29 +0200
+
 junit4 (4.13.2-3) unstable; urgency=medium
 
   * Replace hamcrest-core with hamcrest in the pom dependencies


=====================================
debian/control
=====================================
@@ -16,7 +16,7 @@ Build-Depends:
  libhamcrest-java (>= 2.2),
  libmaven-javadoc-plugin-java,
  maven-debian-helper (>= 2.2)
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Git: https://salsa.debian.org/java-team/junit4.git
 Vcs-Browser: https://salsa.debian.org/java-team/junit4
 Homepage: http://www.junit.org


=====================================
debian/maven.properties
=====================================
@@ -1 +1,2 @@
 maven.compiler.release=8
+argLine=-Djava.security.manager=allow


=====================================
debian/patches/java21-compatibility.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Fixes a test failure with Java 21 due to ThreadGroup changes
+Author: Emmanuel Bourg <ebo...@apache.org>
+Forwarded: not-needed
+--- 
a/src/test/java/org/junit/internal/runners/statements/FailOnTimeoutTest.java
++++ 
b/src/test/java/org/junit/internal/runners/statements/FailOnTimeoutTest.java
+@@ -204,8 +204,6 @@
+ 
+         assertNotNull("the Statement was never run", innerThread.get());
+         innerThread.get().join();
+-        assertTrue("the 'FailOnTimeoutGroup' thread group should be destroyed 
after running the test",
+-                innerThreadGroup.get().isDestroyed());
+     }
+ 
+     @Test


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ exclude-dependency-sources.patch
 Version.patch
 java17-compatibility.patch
 hamcrest-compatibility.patch
+java21-compatibility.patch



View it on GitLab: 
https://salsa.debian.org/java-team/junit4/-/compare/46d9ebda7bfc823026d280eae8e14f4d4dfb4eac...41a65150f78d3310abca741ef6b93436edfe0f1f

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/junit4/-/compare/46d9ebda7bfc823026d280eae8e14f4d4dfb4eac...41a65150f78d3310abca741ef6b93436edfe0f1f
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to