On Wed, 8 Mar 2023 22:02:22 GMT, Justin Lu <j...@openjdk.org> wrote: > This PR removes the JNI Exception pending defect groups in ClassLoader.c. > > `getUTF()` throws an exception and subsequently returns `null`; the exception > should either be cleared, or control returned to the JVM. > `JNU_ThrowOutOfMemoryError(env, NULL);` should not be called again
This change looks right. OOME is thrown by getUTF if fails to allocate a string. It should not be thrown again. ------------- Marked as reviewed by mchung (Reviewer). PR: https://git.openjdk.org/jdk/pull/12934