RFR: 8378792: ObjectMethods.bootstrap missing getter validation [v2]

Chen Liang liach at openjdk.org
Thu Feb 26 19:42:26 UTC 2026


On Thu, 26 Feb 2026 19:30:21 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Name change as review recommended
>
> test/jdk/java/lang/runtime/ObjectMethodsTest.java line 162:
> 
>> 160:     }
>> 161: 
>> 162:     record NamePlusType(String mn, MethodType mt) {}
> 
> Parameter/fields names of `name`, and `type` would make the uses below more readable.

I have renamed these two components, and extracted them in the test method to local variables early on to make the test code more concise.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29941#discussion_r2860948595


More information about the core-libs-dev mailing list