On Wed, 18 May 2022 07:40:43 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:
>> src/java.base/share/native/libjli/java.c line 1631: >> >>> 1629: const char *arg = jargv[i]; >>> 1630: if (arg[0] == '-' && arg[1] == 'J') { >>> 1631: assert(arg[2] != '\0' && "Invalid JAVA_ARGS or >>> EXTRA_JAVA_ARGS defined by build"); >> >> Interesting trick. > > Since we pass NDEBUG, this assert is disabled in release builds. This is the > supposed behavior, right? That we don't do anything on release builds? Right - that is what I would expect from an assert. ------------- PR: https://git.openjdk.java.net/jdk/pull/8694