Integrated: 8174222: LambdaMetafactory: validate inputs and improve documentation

Dan Smith dlsmith at openjdk.java.net
Mon Jun 7 23:25:24 UTC 2021


On Thu, 3 Jun 2021 20:03:53 GMT, Dan Smith <dlsmith at openjdk.org> wrote:

> Standardizes and better specifies the errors thrown by LambdaMetafactory, including for inputs that would not be generated by javac.
> 
> Does some renaming of core parameters/fields to better reflect their purpose.
> 
> In the implementation, stops using ACC_BRIDGE for any methods, which is not a good fit for what these methods do (they don't delegate to each other, but all invoke the same implementation method).

This pull request has now been integrated.

Changeset: fc08af58
Author:    Dan Smith <dlsmith at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/fc08af58cb0571ed375a7937aac7a951ba224644
Stats:     834 lines in 8 files changed: 397 ins; 33 del; 404 mod

8174222: LambdaMetafactory: validate inputs and improve documentation

Reviewed-by: mchung

-------------

PR: https://git.openjdk.java.net/jdk/pull/4346


More information about the core-libs-dev mailing list