Results for “java function interface example code site:bugs.java.com”
bugs.java.com
Bug ID: JDK-8007933 Functional Interface case from lambda spec...
During the course of writing tests for JDK-8007574, the following functional interface test case from the in-progress lambda specification caused javac to crash
bugs.java.com
Bug ID: JDK-8074541 Assertion error inside compiler when passing...
A DESCRIPTION OF THE PROBLEM : When providing a lambda function into a constructor that has a custom consumer interface as a parameter, compiler throws an assertion error. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Compile provided source code.
bugs.java.com
Bug ID: JDK-8025475 invokespecial to a private super-interface...
Code/output of the version that works: *_Succeed.*With Lambda goggles on: lambda in a default method of an interface that is the target functional interface for the lambda. The lambda references instance methods forcing it to be implemented in the private default method.