RFR: 8322765: Eliminate -Wparentheses warnings in runtime code

Kim Barrett kbarrett at openjdk.org
Fri Dec 29 06:31:59 UTC 2023


Please review this change to eliminate some -Wparentheses warnings. This
involved simply adding a few parentheses to make some implicit operator
precedence explicit.

Testing: mach5 tier1

Also ran mach5 tier1 with these changes in conjunction enabling -Wparentheses
and other changes needed to make that work.

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

Commit messages:
 - fix -Wparentheses warnings in runtime code

Changes: https://git.openjdk.org/jdk/pull/17201/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17201&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322765
  Stats: 9 lines in 5 files changed: 0 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/17201.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17201/head:pull/17201

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


More information about the hotspot-dev mailing list