RFR: 8372146: Follow-up changes to the Lazy Constants JEP

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Nov 19 17:10:55 UTC 2025


On Wed, 19 Nov 2025 11:54:37 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to implement minor comments from the original integration of "Implement JEP 528: Lazy Constants (second preview)" (https://bugs.openjdk.org/browse/JDK-8366178).

Marked as reviewed by mcimadamore (Reviewer).

src/java.base/share/classes/java/lang/LazyConstant.java line 245:

> 243: 
> 244:     /**
> 245:      * {@return if this lazy constant is the same instance as the provided {@code obj}}

Suggestion:

     * {@return {@code true} if this lazy constant is the same instance as the provided {@code obj}}

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

PR Review: https://git.openjdk.org/jdk/pull/28388#pullrequestreview-3483688099
PR Review Comment: https://git.openjdk.org/jdk/pull/28388#discussion_r2542744396


More information about the core-libs-dev mailing list