On Wed, 17 Apr 2024 15:39:11 GMT, Paul Sandoz wrote:
>> Adam Sotona has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> applied suggested changes
>
> test/jdk/java/lang/invoke/defineHiddenClass/src/Lambda.java line 28:
>
>> 26: public class
On Wed, 17 Apr 2024 12:51:55 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 han
On Wed, 17 Apr 2024 10:58:59 GMT, Jorn Vernee wrote:
> Do we also need to check if the parameters or return type are hidden classes?
I think this is already failing and will continue to fail. Don't think we need
special error messages for this case.
-
PR Comment: https://git.openj
> 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 `j/l/