Integrated: 8378792: ObjectMethods.bootstrap missing getter validation
Chen Liang
liach at openjdk.org
Fri Feb 27 17:55:34 UTC 2026
On Thu, 26 Feb 2026 19:15:14 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.
This pull request has now been integrated.
Changeset: 1fb608e1
Author: Chen Liang <liach at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1fb608e1bcbbc3fd68205ea168f10584cc5c2a62
Stats: 71 lines in 2 files changed: 46 ins; 4 del; 21 mod
8378792: ObjectMethods.bootstrap missing getter validation
Reviewed-by: rriggs, jvernee
-------------
PR: https://git.openjdk.org/jdk/pull/29941
More information about the core-libs-dev
mailing list