RFR: 8309044: Replace NULL with nullptr, final sweep of hotspot code [v2]

Julian Waters jwaters at openjdk.org
Sun Jan 21 12:21:46 UTC 2024


On Tue, 30 May 2023 19:15:38 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> A final sweep of Hotspot to remove all re-added NULLs. With only 110 changes I'd appreciate if this was considered trivial.
>
> Johan Sjölen has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Align
>  - Suggestions

For Visual C++, that would be #pragma deprecated("NULL")

To quote Microsoft:
"You can deprecate macro names. Place the macro name in quotes or else macro expansion will occur."

I have no idea how to achieve this with the xlc compiler

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

PR Comment: https://git.openjdk.org/jdk/pull/14198#issuecomment-1902611263


More information about the shenandoah-dev mailing list