aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/junit/runner/Result.java
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-12-21 13:11:02 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-12-21 13:11:02 +0000
commitcf4566a71d1ceff9434d496a1a618cf8c03b0ae3 (patch)
treec55c3ad54ff76e561545974e1e0e828a4fcca7b3 /src/main/java/org/junit/runner/Result.java
parent1647dd701f16e1ec4092476406763683dec44960 (diff)
parent140c3e8c6d7f61c9a6571063a3518deb52793ccc (diff)
downloadjunit-cf4566a71d1ceff9434d496a1a618cf8c03b0ae3.tar.gz
Merge "Fix compile error on JDK 18 and later" into main am: 9a33f4130b am: 9153ebaf70 am: 140c3e8c6dHEADmastermain
Original change: https://android-review.googlesource.com/c/platform/external/junit/+/2887826 Change-Id: Ia1e02c6ac71f7e2f05ff846a08dfe2510c2da547 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'src/main/java/org/junit/runner/Result.java')
-rw-r--r--src/main/java/org/junit/runner/Result.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/junit/runner/Result.java b/src/main/java/org/junit/runner/Result.java
index 4b5f4a4..ff53b08 100644
--- a/src/main/java/org/junit/runner/Result.java
+++ b/src/main/java/org/junit/runner/Result.java
@@ -188,7 +188,7 @@ public class Result implements Serializable {
}
@SuppressWarnings("unchecked")
- private SerializedForm(ObjectInputStream.GetField fields) throws IOException {
+ private SerializedForm(ObjectInputStream.GetField fields) throws IOException, ClassNotFoundException {
fCount = (AtomicInteger) fields.get("fCount", null);
fIgnoreCount = (AtomicInteger) fields.get("fIgnoreCount", null);
assumptionFailureCount = (AtomicInteger) fields.get("assumptionFailureCount", null);