diff --git a/src/test/shell/integration/java_integration_test.sh b/src/test/shell/integration/java_integration_test.sh index da88e91d5fe7ec..9e6c0717dd9e21 100755 --- a/src/test/shell/integration/java_integration_test.sh +++ b/src/test/shell/integration/java_integration_test.sh @@ -590,6 +590,10 @@ import javax.lang.model.*; import javax.lang.model.element.*; @SupportedAnnotationTypes(value= {"test.processor.TestAnnotation"}) public class Processor extends AbstractProcessor { + @Override + public SourceVersion getSupportedSourceVersion() { + return SourceVersion.latestSupported(); + } private static final String OUTFILE_CONTENT = "package test;\n" + "public class Generated {\n" + " public static String value = \"" + ProcessorDep.value + "\";\n"