JDK-8217750 : Update LambdaMetafactory in light of nestmates
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2019-01-24
  • Updated: 2021-06-07
  • Resolved: 2021-06-07
Related Reports
Duplicate :  
Description
The LambdaMetafactory bootstrap uses IMPL_LOOKUP to introspect over the generated class; with the advent of nestmates, it can use the caller lookup.
Comments
LMF was changed to use the caller lookup as part of JEP 371: Hidden Classes [1] [1] https://hg.openjdk.java.net/jdk/jdk/rev/30ec85283758#l78.1
07-06-2021