RFR: 8326716: JVMTI spec: clarify what nullptr means for C/C++ developers [v5]
Serguei Spitsyn
sspitsyn at openjdk.org
Wed Jun 5 23:49:08 UTC 2024
On Wed, 5 Jun 2024 22:49:51 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
>> I'm still not sure this works. It seems kind of muddled. Rather than trying to retrofit in the clarifying text, why not start from scratch. That should result in better organization and clearer descriptions. For example, I think first you should clarify what is meant by a "null pointer". Maybe even make that a separate section. I can take a stab at this later today if you want.
>
> How about undoing the changes in this subsection and then just add the following as a preceding subsection:
>
> **Null Pointers**
>
> Parts of this specification refer to a "null pointer" as a possible function parameter or return value. A "null pointer" is C `NULL` or C++ `nullptr`.
Good suggestion, thanks!
Will add it now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19257#discussion_r1628565113
More information about the serviceability-dev
mailing list