changeset 28784:a79ac84f2ea4

8072000: New compiler warning after JDK-8067139 Reviewed-by: hannesw, sundar
author attila
date Fri, 30 Jan 2015 15:03:56 +0100
parents 5b8db585a33c
children a503c972d4bd
files nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java	Wed Jul 05 20:17:33 2017 +0200
+++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java	Fri Jan 30 15:03:56 2015 +0100
@@ -326,6 +326,7 @@
         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