-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b119
-
generic
-
generic
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
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
- relates to
-
JDK-8153912 Reconsider StackFrame::getFileName and StackFrame::getLineNumber
-
- Resolved
-
-
JDK-8156738 Use StackWalker for DynamicLinker.getLinkedCallSiteLocation()
-
- Resolved
-