- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    None
- 
    None
- 
        b19
                    Current implementation of `LambdaMetafactory` does not allow to use lambdas in hidden classes. Invocation throws `NoClassDefFoundError` instead.
`j/l/i/defineHiddenClass/BasicTest::testLambda` should cover this use case, however it references a publicly available method handle instead of a hidden lambda implementation method.
When `j/l/i/defineHiddenClass/src/Lambda` is modified from `Object::toString;` to `o -> o.toString();` the test fails with `NoClassDefFoundError`.
`j/l/i/defineHiddenClass/BasicTest::testLambda` should cover this use case, however it references a publicly available method handle instead of a hidden lambda implementation method.
When `j/l/i/defineHiddenClass/src/Lambda` is modified from `Object::toString;` to `o -> o.toString();` the test fails with `NoClassDefFoundError`.
 
        