RFR: [type-classes] 8377123: Add SIZE and BYTES static fields to UnsignedInt

Joe Darcy darcy at openjdk.org
Wed Feb 4 18:34:12 UTC 2026


On Wed, 4 Feb 2026 09:54:56 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> Looks good -- not sure if we should mention the word "flat" anywhere (e.g. in the field name, or in the javadoc) -- after all, an UnsignedInt instance is 4 bytes only when flattened and null-restricted. Maybe MIN_SIZE/MIN_BYTES :-)
> 
> We can also settle on the name later...

I'll push it as-as and we can refine the wording/naming later; thanks.

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

PR Comment: https://git.openjdk.org/valhalla/pull/2028#issuecomment-3849067903


More information about the valhalla-dev mailing list