On Fri, 13 May 2022 08:56:59 GMT, Yasumasa Suenaga <ysuen...@openjdk.org> wrote:
> GCC 12 reports as following: Simply considering the compiler warning shouldn't `(arg+2) == NULL` actually be `arg[2] = '\0'` ? as we are looking to see if this arg is only three characters: '-', 'J' and '\0' ------------- PR: https://git.openjdk.java.net/jdk/pull/8694