RFR: 8343802: Prevent NULL usage backsliding [v6]
Kim Barrett
kbarrett at openjdk.org
Tue Feb 11 04:38:10 UTC 2025
On Mon, 10 Feb 2025 20:59:32 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> I realized that my proposal is much stronger than the script, as it also forbids any 3rd headers included by hotspot from using NULL. If that's not our intention, then I withdraw my proposal.
Yes, that is the problem with such an approach. Consider, for example, the Google Test framework.
I have no idea whether it uses NULL, nullptr, or a mix, and don't want to care.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23466#issuecomment-2649780192
More information about the hotspot-dev
mailing list