RFR: 8336346: Fix -Wzero-as-null-pointer-constant warnings in jvmciJavaClasses.cpp [v2]

Kim Barrett kbarrett at openjdk.org
Tue Jul 16 17:28:23 UTC 2024


On Tue, 16 Jul 2024 07:03:05 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix backslash alignment in jvmciJavaClasses change
>
> src/hotspot/share/jvmci/jvmciJavaClasses.cpp line 629:
> 
>> 627:     assert(obj.is_non_null(), "null field access of %s.%s", #className, field_name);                                              \
>> 628:     assert(jvmciEnv->isa_##className(obj), "wrong class, " #className " expected, found %s", jvmciEnv->klass_name(obj));          \
>> 629:     assert(offset != nullptr, "must be valid offset");                                                                                  \
> 
> Alignment of the backslash seems off

Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20175#discussion_r1679792674


More information about the hotspot-compiler-dev mailing list