On Thu, 6 Nov 2025 08:45:28 GMT, Jayathirth D V <[email protected]> wrote:
>Current spec already throws IAE in one of the validation scenario, so throwing >the same IAE for other input argument validation is uniform. We usually throw an NPE when the value is null, since you can’t validate any properties on a null reference, and it’s more specific than an IAE. Moreover, NPE was thrown before, so this won’t change the behavior. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/28127#discussion_r2500318684
