RFR: 8326716: JVMTI spec: clarify what nullptr means for C/C++ developers [v2]
Alan Bateman
alanb at openjdk.org
Fri May 17 04:50:01 UTC 2024
On Fri, 17 May 2024 00:38:07 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> src/hotspot/share/prims/jvmti.xml line 1008:
>>
>>> 1006: function descriptions. Empty lists, arrays, sequences, etc are
>>> 1007: returned as <code>nullptr</code> which is C programming language
>>> 1008: <code>null</code> pointer.
>>
>> Perhaps instead something like
>>
>> "returned as a null pointer (C <code>NULL</code> or C++ <code>nullptr</code>)."
>>
>> "null pointer" is the generic phrase used in both the C and C++ standards.
>
> Thank you, Kim. I like this suggestion. Updated now.
That part looks okay but I think all the parameters and error descriptions changed by JDK-8324680 will now need to change to use "null" instead of "nullptr".
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19257#discussion_r1604344850
More information about the serviceability-dev
mailing list