8156820: Nashorn nightly test failure after fix for 8156738
Reviewed-by: hannesw, mhaupt
--- a/nashorn/test/src/jdk/dynalink/test/LinkedCallSiteLocationTest.java Wed May 11 19:24:29 2016 +0200
+++ b/nashorn/test/src/jdk/dynalink/test/LinkedCallSiteLocationTest.java Thu May 12 13:07:21 2016 +0530
@@ -71,7 +71,7 @@
}
private static int getLineNumber() {
- return StackWalker.getInstance().walk(s -> s.skip(1).findFirst().get().getLineNumber().getAsInt());
+ return StackWalker.getInstance().walk(s -> s.skip(1).findFirst().get().getLineNumber());
}
public static class TestClass1 {