< prev index next >
src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
Print this page
rev 48841 : imported patch 8187950
@@ -4176,13 +4176,10 @@
Symbol location,
Type site,
Name name,
List<Type> argtypes,
List<Type> typeargtypes) {
- if (sym.owner.type.hasTag(ERROR))
- return null;
-
if (sym.name == names.init && sym.owner != site.tsym) {
return new SymbolNotFoundError(ABSENT_MTH).getDiagnostic(dkind,
pos, location, site, name, argtypes, typeargtypes);
}
else if ((sym.flags() & PUBLIC) != 0
< prev index next >