-
Sub-task
-
Resolution: Fixed
-
P3
-
None
-
b115
The MethodHandle passed to the lambda metafactory must be a direct method handle, suitable for cracking by MethodHandleInfo. We could either borrow the constraints of MHI or the constraints of "method handles that can be in the constant pool"; the latter is narrower and fits better into intended usage.
This is a spec-only clarification.
This is a spec-only clarification.
- relates to
-
JDK-8019646 Clarify javadoc contract of LambdaMetafactory methods
- Closed