On Tue, 24 Sep 2024 22:07:25 GMT, Chen Liang <li...@openjdk.org> wrote:
> `MethodHandles.Lookup` defines a `ClassFile` for simple validations; it is > unnecessary and can be scalarized manually. The removal of `ClassFile` class > is also slightly helpful for bootstrap by reducing class loading. Also > improved class file version checking in `VM` class. This pull request has now been integrated. Changeset: 84751cbf Author: Chen Liang <li...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/84751cbfddf69bd9ed6bc5c39f8e056009440331 Stats: 147 lines in 2 files changed: 19 ins; 62 del; 66 mod 8340831: Simplify simple validation for class definition in MethodHandles.Lookup Reviewed-by: redestad ------------- PR: https://git.openjdk.org/jdk/pull/21170