Summary
The API of class com.sun.source.util.TreeScanner
is still annotated with @SuppressWarnings("preview")
even when the API it is using is not part of a preview feature anymore. This superfluous annotation should be removed
Problem
The API of class com.sun.source.util.TreeScanner
is still annotated with @SuppressWarnings("preview")
even when the API it is using is not part of a preview feature anymore
Solution
Remove the superfluous @SuppressWarnings("preview")
annotation from the API of class com.sun.source.util.TreeScanner
.
Specification
diff --git a/src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java b/src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java
@@ -183,7 +183,6 @@ public class TreeScanner<R,P> implements TreeVisitor<R,P> {
* @param p {@inheritDoc}
* @return the result of scanning
*/
- @SuppressWarnings("preview")
@Override
public R visitClass(ClassTree node, P p) {}
- csr of
-
JDK-8267465 remove superfluous preview related annotations and test options
-
- Resolved
-