RFR: 8364588: Export the NPE backtracking functionality to general null-checking APIs [v3]
Chen Liang
liach at openjdk.org
Tue Aug 5 15:07:15 UTC 2025
On Tue, 5 Aug 2025 14:53:03 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> This is intended to be an API directly called by future null-check APIs, like `Objects.requireNonNull` or `Checks.nullCheck`. I initially had code for rNN but decided to withhold that for a future patch since it involves CSR and other evaluations not related to this patch's efforts.
>
> Don't add APIs without uses; it speculative and the API may not be what is really needed.
Should I open a dependent PR to prove that this is exactly what we need to unblock [Objects::requireNonNull message enhancements](https://bugs.openjdk.org/browse/JDK-8233268)?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26600#discussion_r2254627867
More information about the security-dev
mailing list