RFR: 8364588: Export the NPE backtracking functionality to general null-checking APIs [v4]
Johan Sjölen
jsjolen at openjdk.org
Wed Aug 6 07:48:23 UTC 2025
On Wed, 6 Aug 2025 06:57:55 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> If we don't adopt the enum I suggested, then I do prefer the naming of the condition through a variable. It gives you a hint of what the check is looking for, and not only what the check does.
>
> That is what comments are for.
I'd rather explain things with code than with comments when possible.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26600#discussion_r2256207131
More information about the security-dev
mailing list