On Wed, 10 Sep 2025 22:46:00 GMT, Ioi Lam <ik...@openjdk.org> wrote: >> The purpose of this PR is to simplify JNI code and also to avoid unnecessary >> `InstanceKlass::cast()` calls by adding a new function: >> >> >> static InstanceKlass* java_lang_Class::as_InstanceKlass(oop java_class); >> >> >> This PR is intended to be a strict clean-up that preserves existing >> behaviors. > > Ioi Lam has updated the pull request incrementally with one additional commit > since the last revision: > > Removed the (jobject) version of as_Klass/as_InstanceKlass
Reduced set of changes still looks good. I was prepared to be accommodating on the broader change, but seems others agreed with my initial position. :) ------------- Marked as reviewed by dholmes (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/27158#pullrequestreview-3208294346