gentoo-ebuilds/dev-java/junit/files/junit5-java18-compatibility.patch
Volkmar W. Pogatzki 9a3422f831
dev-java/junit: add 5.10.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/37748/commits/96f1c841d4283b14cbce11e61adf6cf398f7761e
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
2024-08-30 12:20:42 +02:00

14 lines
742 B
Diff

Description: Fixes the compatibility with the latest version of Java
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/junit-platform-launcher/src/main/java/org/junit/platform/launcher/TestIdentifier.java
+++ b/junit-platform-launcher/src/main/java/org/junit/platform/launcher/TestIdentifier.java
@@ -316,7 +316,7 @@
}
@SuppressWarnings("unchecked")
- private SerializedForm(ObjectInputStream.GetField fields) throws IOException {
+ private SerializedForm(ObjectInputStream.GetField fields) throws ClassNotFoundException, IOException {
this.uniqueId = (String) fields.get("uniqueId", null);
this.parentId = (String) fields.get("parentId", null);
this.displayName = (String) fields.get("displayName", null);