summaryrefslogtreecommitdiff
path: root/dev-java/junit/files/junit5-java18-compatibility.patch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-java/junit/files/junit5-java18-compatibility.patch
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-java/junit/files/junit5-java18-compatibility.patch')
-rw-r--r--dev-java/junit/files/junit5-java18-compatibility.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-java/junit/files/junit5-java18-compatibility.patch b/dev-java/junit/files/junit5-java18-compatibility.patch
new file mode 100644
index 000000000000..8015d4658b7b
--- /dev/null
+++ b/dev-java/junit/files/junit5-java18-compatibility.patch
@@ -0,0 +1,14 @@
+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);