RFR: 8174222: LambdaMetafactory: validate inputs and improve documentation [v4]

Dan Smith dlsmith at openjdk.java.net
Sat Jun 5 00:15:25 UTC 2021


> 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).

Dan Smith has updated the pull request incrementally with two additional commits since the last revision:

 - Fix stray renaming
 - Apply renamings to LambdaProxyClassArchive

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4346/files
  - new: https://git.openjdk.java.net/jdk/pull/4346/files/b8b4ac14..9d722edf

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4346&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4346&range=02-03

  Stats: 94 lines in 4 files changed: 0 ins; 0 del; 94 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4346.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4346/head:pull/4346

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


More information about the core-libs-dev mailing list