RFR: 8309044: Replace NULL with nullptr, final sweep of hotspot code [v2]
Johan Sjölen
jsjolen at openjdk.org
Thu Jun 1 09:54:26 UTC 2023
On Thu, 1 Jun 2023 05:23:25 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> What's the plan now to prevent re-introducing `NULL`?
Hi Tobias. The only plan in place is social, the reviewers have to look out for it. I am however researching how to do this through machine. I'm currently researching ways of preventing any re-introductions by machine. These include poisoning the NULL macro by re-defining it and finding a tool which is capable of parsing C++ code which is yet to go through the pre-processor.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14198#issuecomment-1571722147
More information about the hotspot-dev
mailing list