On Thu, 18 Apr 2024 05:54:17 GMT, Adam Sotona wrote:
>> Current implementation of `LambdaMetafactory` does not allow to use lambdas
>> in hidden classes. Invocation throws `NoClassDefFoundError` instead.
>>
>> This patch includes lambda implementation in a hidden class under the
>> special
On Thu, 18 Apr 2024 05:54:17 GMT, Adam Sotona wrote:
>> Current implementation of `LambdaMetafactory` does not allow to use lambdas
>> in hidden classes. Invocation throws `NoClassDefFoundError` instead.
>>
>> This patch includes lambda implementation in a hidden class under the
>> special
On Thu, 18 Apr 2024 05:54:17 GMT, Adam Sotona wrote:
>> Current implementation of `LambdaMetafactory` does not allow to use lambdas
>> in hidden classes. Invocation throws `NoClassDefFoundError` instead.
>>
>> This patch includes lambda implementation in a hidden class under the
>> special
On Mon, 29 Apr 2024 17:09:24 GMT, ExE Boss wrote:
>> Adam Sotona has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Update
>> src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java
>>
>> Co-authored-by: Mandy
On Mon, 29 Apr 2024 17:09:24 GMT, ExE Boss wrote:
> This doesn’t fix the case where the lambda is created from an instance
> method, e.g.:
>
Yes, unfortunately the fix is limited to invokeStatic (see the comments above).
-
PR Comment:
On Thu, 18 Apr 2024 05:54:17 GMT, Adam Sotona wrote:
>> Current implementation of `LambdaMetafactory` does not allow to use lambdas
>> in hidden classes. Invocation throws `NoClassDefFoundError` instead.
>>
>> This patch includes lambda implementation in a hidden class under the
>> special
> Current implementation of `LambdaMetafactory` does not allow to use lambdas
> in hidden classes. Invocation throws `NoClassDefFoundError` instead.
>
> This patch includes lambda implementation in a hidden class under the special
> handling of `useImplMethodHandle`.
> The patch also fixes