Integrated: 8339592: Simplify and remove unused code in ObjectMethods.<clinit>

Claes Redestad redestad at openjdk.org
Fri Sep 6 12:06:53 UTC 2024


On Thu, 5 Sep 2024 08:19:44 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> A few trivial(?) cleanups to `java.lang.runtime.ObjectMethods`:
> - Avoid `MethodType.fromMethodDescriptorString` which needs a classloader
> - Use `MethodHandles.zero`
> - Remove unused static `MethodHandles` and `MethodTypes`

This pull request has now been integrated.

Changeset: 260908e1
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/260908e16ece7a0a9e6f538273b27c677db4d296
Stats:     40 lines in 1 file changed: 0 ins; 21 del; 19 mod

8339592: Simplify and remove unused code in ObjectMethods.<clinit>

Reviewed-by: liach

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

PR: https://git.openjdk.org/jdk/pull/20866


More information about the core-libs-dev mailing list