RFR: 8378792: ObjectMethods.bootstrap missing getter validation [v2]
Chen Liang
liach at openjdk.org
Fri Feb 27 17:55:33 UTC 2026
On Thu, 26 Feb 2026 19:42:24 GMT, Chen Liang <liach at openjdk.org> wrote:
>> During review of Valhalla lworld vs mainline patch, I noticed Valhalla has a fix for a mainline issue where there is no getter validation for ObjectMethods.bootstrap. We should upstream this fix to mainline to make lworld cleaner and make mainline more robust.
>>
>> Before this fix, the invalid getters caused weird exceptions in method handle construction. Now they consistently throw IllegalArgumentException as specified.
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>
> Name change as review recommended
Thanks for the reviews! This will facilitate Valhalla cleanups.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29941#issuecomment-3974245446
More information about the core-libs-dev
mailing list