On Tue, 4 Jun 2024 07:01:54 GMT, Alan Bateman <al...@openjdk.org> wrote:

>> Thanks, David. I also feel this clarification is still useful.
>
> I think this is the right place but it is only for return values. There are a 
> few functions where a parameter value can be a null pointer, e.g. in 
> GetThreadState, SuspendThread, GetOwnedMonitorInfo the thread parameter can 
> be a null pointer to mean the current thread.  I don't think the introduction 
> section has anywhere right now to say what a null pointer means.

Yes, my point was that this section is only for return values. The section is 
titled "Function Return Values". Maybe we should add another short section just 
before this one to describe what is meant by "null pointer".

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

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

Reply via email to