On Tue, 5 Aug 2025 10:14:07 GMT, Johan Sjölen <jsjo...@openjdk.org> wrote:

>> Chen Liang has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Update NPE per roger review
>
> src/java.base/share/classes/java/lang/NullPointerException.java line 159:
> 
>> 157:     ///    configurations to trace how a particular argument, which 
>> turns out to
>> 158:     ///    be `null`, was evaluated.
>> 159:     /// 2. `searchSlot < 0`, stack offset is 0 (a call to the nullary 
>> constructor)
> 
> Can `searchSlot == -1` here?

I think the code handles all < 0 cases so using that is fine.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26600#discussion_r2263781125

Reply via email to