On Fri, 18 Oct 2024 02:19:31 GMT, David Holmes <[email protected]> wrote:
> ```
> +bool InstanceKlass::is_enum_subclass(bool direct_only) const {
> + InstanceKlass* s = java_super();
> + return (s == vmClasses::Enum_klass() ||
> + (s != null && s->java_super() == vmClasses::Enum_klass()));
> +}
> ```
>
> Just happened to notice you aren't checking `direct_only`.
I consulted with John and removed the `direct_only` parameter as it's no longer
needed.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21143#issuecomment-2427815518