Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8024570 | 8 | Karen Kinnear | P2 | Closed | Fixed | b107 |
When invoking lambda body methods with invokespecial, we get a verification error:
Exception in thread "main" java.lang.BootstrapMethodError: call site initialization exception
...
Caused by: java.lang.IllegalAccessException: no such constructor: java.util.stream.IntPipeline$7$1$$Lambda$7.<init>()void/newInvokeSpecial
...
Caused by: java.lang.VerifyError: Bad invokespecial instruction: current class isn't assignable to reference class.
Exception Details:
Location:
java/util/stream/IntPipeline$7$1$$Lambda$7.accept(I)V @5: invokespecial
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2ab4 000f 1bb7 0016 b1
Exception in thread "main" java.lang.BootstrapMethodError: call site initialization exception
...
Caused by: java.lang.IllegalAccessException: no such constructor: java.util.stream.IntPipeline$7$1$$Lambda$7.<init>()void/newInvokeSpecial
...
Caused by: java.lang.VerifyError: Bad invokespecial instruction: current class isn't assignable to reference class.
Exception Details:
Location:
java/util/stream/IntPipeline$7$1$$Lambda$7.accept(I)V @5: invokespecial
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2ab4 000f 1bb7 0016 b1
- backported by
-
JDK-8024570 Verification error in generated lambda classes
-
- Closed
-
- blocks
-
JDK-8010433 Remove lambda metafactory work-around to JDK-8005119
-
- Closed
-