From d3822a2eb97e3d1455507bf51ede1f2736d40816 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 12 Sep 2022 18:24:00 +0200 Subject: [PATCH] Revert workaround for Java 8 compiler bug --- .../java/org/springframework/test/context/TestContext.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/context/TestContext.java b/spring-test/src/main/java/org/springframework/test/context/TestContext.java index 59a45a27d9d..f0b21a9479f 100644 --- a/spring-test/src/main/java/org/springframework/test/context/TestContext.java +++ b/spring-test/src/main/java/org/springframework/test/context/TestContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,8 +43,6 @@ import org.springframework.test.annotation.DirtiesContext.HierarchyMode; * @see TestContextManager * @see TestExecutionListener */ -// Suppression required due to bug in javac in Java 8: presence of default method in a Serializable interface -@SuppressWarnings("serial") public interface TestContext extends AttributeAccessor, Serializable { /**