RFR: CODETOOLS-7902836: JOL: Fix incorrect implicit numeric promotions

Aleksey Shipilev shade at openjdk.java.net
Mon Mar 8 18:39:17 UTC 2021


SonarCloud instance reports a few places where implicit promotions are not what we want them to be. The most notorious please is in HeapDumpReader::digestObjArray.

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

Commit messages:
 - CODETOOLS-7902836: JOL: Fix incorrect implicit numeric promotions

Changes: https://git.openjdk.java.net/jol/pull/10/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jol&pr=10&range=00
  Issue: https://bugs.openjdk.java.net/browse/CODETOOLS-7902836
  Stats: 8 lines in 2 files changed: 3 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jol/pull/10.diff
  Fetch: git fetch https://git.openjdk.java.net/jol pull/10/head:pull/10

PR: https://git.openjdk.java.net/jol/pull/10


More information about the jol-dev mailing list