diff --git a/java/java-tests/testSrc/com/intellij/java/codeInspection/RedundantSuppressTest.java b/java/java-tests/testSrc/com/intellij/java/codeInspection/RedundantSuppressTest.java index f6047708ba6c..70ba94cd1d22 100644 --- a/java/java-tests/testSrc/com/intellij/java/codeInspection/RedundantSuppressTest.java +++ b/java/java-tests/testSrc/com/intellij/java/codeInspection/RedundantSuppressTest.java @@ -30,6 +30,7 @@ import com.intellij.codeInspection.uncheckedWarnings.UncheckedWarningLocalInspec import com.intellij.psi.PsiElement; import com.intellij.psi.impl.source.tree.injected.MyTestInjector; import com.intellij.testFramework.InspectionTestCase; +import com.intellij.testFramework.LightProjectDescriptor; import com.siyeh.ig.dataflow.UnnecessaryLocalVariableInspection; import com.siyeh.ig.inheritance.RefusedBequestInspection; import com.siyeh.ig.migration.RawUseOfParameterizedTypeInspection; @@ -63,6 +64,12 @@ public class RedundantSuppressTest extends InspectionTestCase { }); } + @NotNull + @Override + protected LightProjectDescriptor getProjectDescriptor() { + return JAVA_9; + } + @Override protected void tearDown() throws Exception { myWrapper = null;