RFR: 8337782: Use THROW_NULL instead of THROW_0 in pointer contexts in prims code

Kim Barrett kbarrett at openjdk.org
Mon Aug 5 19:52:30 UTC 2024


On Mon, 5 Aug 2024 14:43:58 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Current changes look okay. I have not checked these caught all the instances of `THROW_MSG_0` in those files, did you check that somehow?

I'm developing these changes on a branch that has `-Wzero-as-null-pointer-constant` enabled, then cherry picking
related groups of changes into a separate branch for a PR.  I look at the build logs from the first to find a given set of
warnings.  So there may be more warnings coming from some of those files, but not from that specific usage.  Although
this means I might touch some files more than once, it has seemed to me better to keep most PRs simple and easy to
review.

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

PR Comment: https://git.openjdk.org/jdk/pull/20456#issuecomment-2269797387


More information about the hotspot-dev mailing list