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 pull request has now been integrated.

Changeset: 6f54eda4
Author:    Justin Lu <j...@openjdk.org>
Committer: Naoto Sato <na...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/6f54eda4a42a7c27c8eabbdc1c989de7cf246bdb
Stats:     3 lines in 1 file changed: 0 ins; 3 del; 0 mod

8299088: ClassLoader::defineClass2 throws OOME but JNI exception pending thrown 
by getUTF

Reviewed-by: mchung, naoto

-------------

PR: https://git.openjdk.org/jdk/pull/12934

Reply via email to