RFR: 8326716: JVMTI spec: clarify what nullptr means for C/C++ developers [v2]

David Holmes dholmes at openjdk.org
Fri May 31 02:42:02 UTC 2024


On Fri, 31 May 2024 01:43:35 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:

> Okay. I've made a fix to replace in the docs nullptr with null pointer as you suggested.

What I suggested was

> returns _a_ null pointer

in place of

> returns `nulllptr`

but "a null pointer" doesn't always look right either e.g. "was a null pointer" would be better as just "was null".

I think using non-code-font "null" to represent the concept of null-ness would be fine: "returns null", "is null", "was null"

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19257#issuecomment-2141136079


More information about the serviceability-dev mailing list