RFR: 8337683: Fix -Wconversion problem with arrayOop.hpp [v2]

Coleen Phillimore coleenp at openjdk.org
Wed Aug 7 16:37:51 UTC 2024


> Since base_offset_in_bytes and HeapWordSize are int, there's no loss of conversion in making these variables int.  This seems trivial.
> Tested with tier1 on linux and windows.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Fix additional -Wsign-conversion errors, contributed by Stefan.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20431/files
  - new: https://git.openjdk.org/jdk/pull/20431/files/01b3cf40..4ac52827

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20431&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20431&range=00-01

  Stats: 10 lines in 3 files changed: 0 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/20431.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20431/head:pull/20431

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


More information about the hotspot-dev mailing list