8072000: New compiler warning after JDK-8067139
Reviewed-by: hannesw, sundar
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user