Integrated: 8340831: Simplify simple validation for class definition in MethodHandles.Lookup
Chen Liang
liach at openjdk.org
Wed Sep 25 18:34:44 UTC 2024
On Tue, 24 Sep 2024 22:07:25 GMT, Chen Liang <liach at 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 <liach at 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
More information about the core-libs-dev
mailing list