On Wed, 4 Mar 2026 03:50:23 GMT, Chen Liang <[email protected]> wrote:
> lworld contained an incomplete version of this mainline patch. As a result, I
> am porting this explicitly ahead of David Simms' merges, so we can minimize
> the noisy diffs we have between mainline and valhalla.
#2171 will be updated once this patch is integrated.
src/java.base/share/classes/java/lang/runtime/ObjectMethods.java line 526:
> 524: if (type instanceof MethodType mt) {
> 525: methodType = mt;
> 526: if (mt.parameterType(0) != recordClass) {
Note: This is already handled by `switch (methodName)` cases below and is
covered in the tests.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/2194#issuecomment-3995086894
PR Review Comment:
https://git.openjdk.org/valhalla/pull/2194#discussion_r2881648068