On Tue, 9 Sep 2025 06:29:51 GMT, Ioi Lam <[email protected]> wrote:

> There are 54 cases where we call as_Klass(JNIHandles::resolve_non_null(x)), 
> so I think it would be nice to have a way to write less code.

I think you should deal with that by adding a helper function inside jni.cpp 
instead of extending the *Klass functions to take a jobject.

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

PR Comment: https://git.openjdk.org/jdk/pull/27158#issuecomment-3274150749

Reply via email to