changeset 47315 | 31f541df4187 |
parent 47268 | 48ec75306997 |
child 47318 | 423f5e46016e |
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java Thu Oct 05 12:41:06 2017 +0200 +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java Thu Oct 05 12:19:23 2017 +0100 @@ -3077,7 +3077,7 @@ if (that.getMode() == ReferenceMode.INVOKE && TreeInfo.isStaticSelector(that.expr, names) && that.kind.isUnbound() && - !desc.getParameterTypes().head.isParameterized()) { + lookupHelper.site.isRaw()) { chk.checkRaw(that.expr, localEnv); }