On Thu, 5 May 2022 01:13:23 GMT, Xiaohong Gong <xg...@openjdk.org> wrote:
> Yeah, I agree that it's not good by adding a branch checking for > `offsetInRange`. But actually I met the constant issue that passing the > values all the way cannot guarantee the argument a constant in compiler at > the compile time. Do you have any better idea to fixing this? That's odd, `boolean` constants are passed that are then converted to `int` constants. Did you try passing integer constants all the way through? ------------- PR: https://git.openjdk.java.net/jdk/pull/8035