On Tue, 6 Dec 2022 15:20:26 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:
> We have a number of places in the codebase where a macro could help when we > check an exception and afterwrads free something and return. okay, if keeping the block in the code that contains free and return, we probably just stay with what we have if ((*env)->ExceptionCheck(env)) { free(xyz); return val; } ------------- PR: https://git.openjdk.org/jdk/pull/11539