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

Serguei Spitsyn sspitsyn at openjdk.org
Fri May 17 00:43:19 UTC 2024


On Thu, 16 May 2024 07:59:51 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review: corrected the nullptr clarification
>
> 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.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19257#discussion_r1604210615


More information about the serviceability-dev mailing list