RFR: 8292022: Unary Plus Operator + and Shift Operators priority
Dalibor Topic
robilad at openjdk.org
Mon Aug 8 06:30:36 UTC 2022
On Mon, 1 Aug 2022 07:07:18 GMT, GGGGGHT <duke at openjdk.org> wrote:
> (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
Hi, please send me an e-mail at Dalibor.topic at oracle.com so that I can verify your account's OCA.
-------------
PR: https://git.openjdk.org/jdk/pull/9698
More information about the compiler-dev
mailing list