On Tue, 4 Jun 2024 04:48:04 GMT, David Holmes <dhol...@openjdk.org> wrote:

>> src/hotspot/share/prims/jvmti.xml line 1007:
>> 
>>> 1005:     explicitly deallocate. This is indicated in the individual 
>>> <jvmti/>
>>> 1006:     function descriptions.  Empty lists, arrays, sequences, etc are
>>> 1007:     returned as a null pointer (C <code>NULL</code> or C++ 
>>> <code>nullptr</code>).
>> 
>> Why describe what is meant by a "null pointer" here when it is not done 
>> elsewhere?
>
> The intent is to provide a definition of what a null pointer is, for both C 
> and C++ programs. Is there a better place to do that so that elsewhere the 
> spec can simply to refer to "a null pointer" or "null"?

Thanks, David. I also feel this clarification is still useful.

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

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

Reply via email to