RFR: JDK-8300240: Replace NULL with nullptr in share/ci/

Vladimir Kozlov kvn at openjdk.org
Mon Jan 23 18:31:26 UTC 2023


On Thu, 19 Jan 2023 21:03:49 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Do the conversion in the share/ci/ sub-directory and all of its files.
>
> src/hotspot/share/ci/ciInstance.hpp line 56:
> 
>> 54: public:
>> 55:   // If this object is a java mirror, return the corresponding type.
>> 56:   // Otherwise, return nullptr.
> 
> And here we have `nullptr` in comment.

Use `null` here.

> src/hotspot/share/ci/ciNullObject.hpp line 2:
> 
>> 1: /*
>> 2:  * Copyright (c) 1999, 2023, Oracle and/or its affiliates. All rights reserved.
> 
> No change in file

Undo this. No changes in file.

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

PR: https://git.openjdk.org/jdk/pull/12029


More information about the hotspot-compiler-dev mailing list