Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package junit5 for openSUSE:Factory checked in at 2023-10-26 17:15:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/junit5 (Old) and /work/SRC/openSUSE:Factory/.junit5.new.24901 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "junit5" Thu Oct 26 17:15:10 2023 rev:6 rq:1120555 version:5.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/junit5/junit5.changes 2023-09-11 21:27:13.012142323 +0200 +++ /work/SRC/openSUSE:Factory/.junit5.new.24901/junit5.changes 2023-10-26 17:16:04.899932758 +0200 @@ -1,0 +2,7 @@ +Thu Oct 26 12:21:48 UTC 2023 - Fridrich Strba <fst...@suse.com> + +- Added patch: + * unreported-exception.patch fix unreported exception error that + is fatal with JDK 21 + +------------------------------------------------------------------- New: ---- unreported-exception.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ junit5.spec ++++++ --- /var/tmp/diff_new_pack.Y6y0Xd/_old 2023-10-26 17:16:05.507955088 +0200 +++ /var/tmp/diff_new_pack.Y6y0Xd/_new 2023-10-26 17:16:05.507955088 +0200 @@ -50,6 +50,7 @@ Source400: https://repo1.maven.org/maven2/org/junit/vintage/junit-vintage-engine/%{vintage_version}/junit-vintage-engine-%{vintage_version}.pom # BOM POM Source500: https://repo1.maven.org/maven2/org/junit/junit-bom/%{version}/junit-bom-%{version}.pom +Patch0: unreported-exception.patch BuildRequires: asciidoc BuildRequires: fdupes BuildRequires: maven-local @@ -92,6 +93,7 @@ %prep %setup -q -n %{name}-r%{version} +%patch0 -p1 find -name \*.jar -delete cp -p %{SOURCE100} pom.xml ++++++ unreported-exception.patch ++++++ --- junit5-r5.8.2/junit-platform-launcher/src/main/java/org/junit/platform/launcher/TestIdentifier.java 2023-10-26 14:17:20.653152124 +0200 +++ junit5-r5.8.2/junit-platform-launcher/src/main/java/org/junit/platform/launcher/TestIdentifier.java 2023-10-26 14:18:08.740160341 +0200 @@ -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);