RFR: JDK-8289106: Add model of class file versions to core reflection [v5]
Joe Darcy
darcy at openjdk.org
Wed Aug 10 01:54:57 UTC 2022
On Tue, 2 Aug 2022 21:21:51 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> True, many ways to factor the code. Another possibility is add a field to the enum that holds a `java.util.Function<Iteger, Set<Location>>)` and initialize it each with a lambda of the code now in the locations(cffv) method that maps the cffv to the set of locations.
Pushed a refactoring to use lambdas; thanks.
-------------
PR: https://git.openjdk.org/jdk/pull/9299
More information about the core-libs-dev
mailing list