RFR: [type-classes] 8375482: Basic tests for UnsignedInt [v2]

Chen Liang liach at openjdk.org
Thu Jan 29 18:52:34 UTC 2026


On Thu, 29 Jan 2026 06:43:33 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Add some witnesses to UnsignedInt and basic tests.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix min/max typo.

src/java.base/share/classes/java/lang/UnsignedInt.java line 41:

> 39:     // implementing Serializable. Might implement Comparable<UnsignedInt>.
> 40: 
> 41:     private static Integral<UnsignedInt> INT = new Integral<UnsignedInt>() {

Suggestion:

    private static final Integral<UnsignedInt> INT = new Integral<UnsignedInt>() {

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1991#discussion_r2742942173


More information about the valhalla-dev mailing list