On Tue, 3 Feb 2026 17:42:18 GMT, Joe Darcy <[email protected]> wrote:

> With a recent javac code generation fix, update the UnsignedInt class to use 
> lambdas.

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

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

FYI, implementing a previously discussed change: 
https://github.com/openjdk/valhalla/pull/1991/changes#r2743332791

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2024#discussion_r2760292267

Reply via email to