8156820: Nashorn nightly test failure after fix for 8156738

Reviewed-by: hannesw, mhaupt
This commit is contained in:
Athijegannathan Sundararajan 2016-05-12 13:07:21 +05:30
parent 860e71a134
commit 945ba5a918

@ -71,7 +71,7 @@ public class LinkedCallSiteLocationTest {
}
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 {