RFR: 8340831: Simplify simple validation for class definition in MethodHandles.Lookup [v2]

Claes Redestad redestad at openjdk.org
Wed Sep 25 14:50:12 UTC 2024


On Wed, 25 Sep 2024 14:47:10 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.
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Rename to internalName where possible

Marked as reviewed by redestad (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21170#pullrequestreview-2328513487


More information about the core-libs-dev mailing list