RFR: 8338019: Fix simple -Wzero-as-null-pointer-constant warnings in riscv code
    Gui Cao 
    gcao at openjdk.org
       
    Fri Aug  9 03:02:37 UTC 2024
    
    
  
On Thu, 8 Aug 2024 03:37:06 GMT, Gui Cao <gcao at openjdk.org> wrote:
> Hi, 
> Same as  [JDK-8337786](https://bugs.openjdk.org/browse/JDK-8337786) for aarch64, similar build warnings exist on riscv. Please help review this trivial change that replaces some uses of literal 0 as a null pointer constant in riscv code to instead use nullptr.
> 
> ### Testing
> - [x] Run tier1 tests on SOPHON SG2042 (release)
Thanks for the review.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20506#issuecomment-2277050866
    
    
More information about the hotspot-dev
mailing list