On Thu, 26 Feb 2026 19:30:21 GMT, Roger Riggs <[email protected]> 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

Reply via email to