nashorn/test/script/basic/JDK-8075207.js
changeset 39662 e2b36a3779b9
parent 29536 805894cd3c6b
--- a/nashorn/test/script/basic/JDK-8075207.js	Wed Jul 05 21:57:11 2017 +0200
+++ b/nashorn/test/script/basic/JDK-8075207.js	Tue Jul 12 21:18:13 2016 +0530
@@ -61,7 +61,7 @@
 Assert.assertTrue(stats.get(2) instanceof VariableTree);
 
 var print_hello = stats.get(1);
-Assert.assertEquals(print_hello.name, "print_hello");
+Assert.assertEquals(print_hello.name.name, "print_hello");
 var print_hello_stats = print_hello.body.statements;
 Assert.assertTrue(print_hello_stats.get(0) instanceof VariableTree);
 Assert.assertTrue(print_hello_stats.get(1) instanceof ExpressionStatementTree);