RFR: JDK-8301497: Replace NULL with nullptr in cpu/s390

Johan Sjölen jsjolen at openjdk.org
Tue Apr 11 10:12:09 UTC 2023


On Tue, 14 Feb 2023 15:38:04 GMT, Lutz Schmidt <lucy at openjdk.org> wrote:

>> src/hotspot/cpu/s390/vtableStubs_s390.cpp line 85:
>> 
>>> 83: 
>>> 84:   const Register rcvr_klass   = Z_R1_scratch;
>>> 85:   address        npe_addr     = __ pc(); // npe == null ptr exception
>> 
>> This reads a bit strange.
>
> Read this as "npe means null pointer exception" or however you would like to spell it.

So it's saying "NPE is short for null pointer exception"?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/12325#discussion_r1162582116


More information about the hotspot-dev mailing list