RFR: 8376187: [VectorAPI] Define new lane type constants and pass them to intrinsic entries [v2]
Quan Anh Mai
qamai at openjdk.org
Thu Jan 29 11:22:31 UTC 2026
On Thu, 29 Jan 2026 09:07:54 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
>> 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.
I don't see this gets resolved. My suggestion is to use a scoped enum so we have a strongly typed value instead of using an unscoped enum and passing `int` all over the places.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29481#discussion_r2741147870
More information about the core-libs-dev
mailing list