8072000: New compiler warning after JDK-8067139

Reviewed-by: hannesw, sundar
This commit is contained in:
Attila Szegedi 2015-01-30 15:03:56 +01:00
parent edc9d85e7b
commit 73d940848b

@ -326,6 +326,7 @@ final class Lower extends NodeOperatorVisitor<BlockLexicalContext> implements Lo
return addStatement(throwNode); //ThrowNodes are always terminal, marked as such in constructor
}
@SuppressWarnings("unchecked")
private static <T extends Node> T ensureUniqueNamesIn(final T node) {
return (T)node.accept(new NodeVisitor<LexicalContext>(new LexicalContext()) {
@Override