On Thu, 29 Jan 2026 09:02:29 GMT, Jatin Bhateja <[email protected]> wrote:

>> src/hotspot/share/prims/vectorSupport.hpp line 140:
>> 
>>> 138:   };
>>> 139: 
>>> 140:   enum {
>> 
>> Please use a scoped enum instead.
>
> Its contained in VectorSupport class which makes it implicitly scoped for 
> external uses without being a named (scoped) enum

I mean an `enum class`. With this we just pass `int` around which is not 
recommended.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29481#discussion_r2740638154

Reply via email to