RFR: 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`

Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/20866#issuecomment-2333905808


More information about the core-libs-dev mailing list