RFR: 8292022: Issues caused by Unary Plus Operator + and Shift Operators priority [v2]

GGGGGHT duke at openjdk.org
Mon Aug 22 07:47:37 UTC 2022


> (capacity + capacity>>1) The result of this expression is still capacity. So I guess what the author thought at the time might be (capacity + (capacity >> 1)), see https://bugs.openjdk.org/projects/JDK/issues/JDK-8292022

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

  modify the capacity

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9698/files
  - new: https://git.openjdk.org/jdk/pull/9698/files/27e124bd..a46e51fd

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/9698.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9698/head:pull/9698

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


More information about the compiler-dev mailing list