-
Enhancement
-
Resolution: Fixed
-
P3
-
8
-
b52
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084515 | emb-9 | Staffan Larsen | P3 | Resolved | Fixed | team |
JDK-8086821 | 8u65 | Staffan Larsen | P3 | Resolved | Fixed | b01 |
JDK-8072617 | 8u60 | Staffan Larsen | P3 | Resolved | Fixed | b08 |
JDK-8138030 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8076897 | emb-8u60 | Staffan Larsen | P3 | Resolved | Fixed | team |
public class Foo {
public static void main(String[] args) {
Runnable r = () -> { throw new RuntimeException(); };
r.run();
}
}
which produces:
Exception in thread "main" java.lang.RuntimeException
at Foo.lambda$0(Foo.java:3)
at Foo$$Lambda$1.run(Unknown Source)
at Foo.main(Foo.java:4)
Here, Foo$$Lambda$1 is a synthetic class generated by the bootstrap of the lambda factory call site. (Lambdas are created by invoking an invokedynamic callsite, which returns the lambda. The bootstrap spins classes as necessary.)
Ideally the user would want to see the calling line (r.run()) and the callee (the lambda) and nothing in between.
- backported by
-
JDK-8072617 Hide lambda proxy frames in stacktraces
-
- Resolved
-
-
JDK-8076897 Hide lambda proxy frames in stacktraces
-
- Resolved
-
-
JDK-8084515 Hide lambda proxy frames in stacktraces
-
- Resolved
-
-
JDK-8086821 Hide lambda proxy frames in stacktraces
-
- Resolved
-
-
JDK-8138030 Hide lambda proxy frames in stacktraces
-
- Resolved
-
- duplicates
-
JDK-8016334 Hide the lambda proxy frame
-
- Closed
-
- relates to
-
JDK-8212620 Provide a mechanism to allow a class/method to request filtering from the stack trace
-
- Open
-
-
JDK-8046782 Test hidden methods in JFR
-
- Resolved
-
-
JDK-8159870 java.lang.SecurityManager.getClassContext() does not return an array the same length as the of methods on the execution stack with lambdas
-
- Closed
-