--- a/nashorn/test/script/basic/JDK-8025515.js Tue Feb 25 18:56:10 2014 +0530
+++ b/nashorn/test/script/basic/JDK-8025515.js Wed Feb 26 13:17:57 2014 +0100
@@ -47,7 +47,7 @@
var stack = e.nashornException.getStackTrace();
var name = getFirstScriptFrame(stack).methodName;
if (name !== expected) {
- fail("got " + stack[0].methodName + ", expected " + expected);
+ fail("got " + name + ", expected " + expected);
}
}
}
@@ -61,7 +61,7 @@
var f = (function() {
return function() { a.b.c; };
})();
-testMethodName(f, "L:61$L:62");
+testMethodName(f, "f$L:62");
testMethodName((function() {
return function() { return a.b.c; };