|
Relates :
|
|
|
Relates :
|
After fix for JDK-8156738, nashorn nightly build fails with the following:
LinkedCallSiteLocationTest.java: 74
[javac] return StackWalker.getInstance().walk(s -> s.skip(1).findFirst().get().getLineNumber().getAsInt());
[javac]
This is because the StackWalker API has been changed as part of
JDK-8153912 (Reconsider StackFrame::getFileName and StackFrame::getLineNumber). getLineNumber() returns int rather than an OptionalInt