diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-08-30 17:43:26 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-08-30 17:43:26 +0000 |
| commit | 108be03cfcc73f031774fd25bcb470c508a0caa2 (patch) | |
| tree | b6bb441e2df7f3deaeab2977a6f30f6a257f6afe /dev-java/junit/files/junit5-java18-compatibility.patch | |
| parent | 590dee0d9ae41a98434efb5ca89db1e5f3dbbdbd (diff) | |
| download | baldeagleos-repo-108be03cfcc73f031774fd25bcb470c508a0caa2.tar.gz baldeagleos-repo-108be03cfcc73f031774fd25bcb470c508a0caa2.tar.xz baldeagleos-repo-108be03cfcc73f031774fd25bcb470c508a0caa2.zip | |
Adding metadata
Diffstat (limited to 'dev-java/junit/files/junit5-java18-compatibility.patch')
| -rw-r--r-- | dev-java/junit/files/junit5-java18-compatibility.patch | 14 |
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); |
