--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java 2019-10-25 17:13:05.000000000 +0100 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java 2019-10-25 17:13:05.000000000 +0100 @@ -973,7 +973,7 @@ * Computes the set of annotations on the symbol in question. * Leave class public for external testing purposes. */ - @SuppressWarnings("removal") + @SuppressWarnings("preview") public static class ComputeAnnotationSet extends ElementScanner14, Set> { final Elements elements;