Re: RFR: 8339592: Simplify and remove unused code in ObjectMethods.

2024-09-06 Thread Claes Redestad
On Thu, 5 Sep 2024 08:19:44 GMT, Claes Redestad 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! --

Re: RFR: 8339592: Simplify and remove unused code in ObjectMethods.

2024-09-05 Thread Chen Liang
On Thu, 5 Sep 2024 08:19:44 GMT, Claes Redestad 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` Marked as r

RFR: 8339592: Simplify and remove unused code in ObjectMethods.

2024-09-05 Thread Claes Redestad
A few trivial(?) cleanups to `java.lang.runtime.ObjectMethods`: - Avoid `MethodType.fromDescriptorString` which needs a classloader - Use `MethodHandles.zero` - Remove unused static `MethodHandles` and `MethodTypes` - Commit messages: - 8339592: Simplify and remove unused code in Obj