diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java index c55bd27d7d9..5a6e0fb8556 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java @@ -328,13 +328,6 @@ public class Attr extends JCTree.Visitor { return sym != null && sym.kind == TYP; } - /** The current `this' symbol. - * @param env The current environment. - */ - Symbol thisSym(DiagnosticPosition pos, Env env) { - return rs.resolveSelf(pos, env, env.enclClass.sym, names._this); - } - /** Attribute a parsed identifier. * @param tree Parsed identifier name * @param topLevel The toplevel to use