RFR: 8345836: Stable annotation documentation is incomplete

Andrey Turbanov aturbanov at openjdk.org
Tue Jul 22 06:20:32 UTC 2025


On Wed, 16 Jul 2025 17:45:23 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Please review this documentation update, authored by @rose00 and originally pushed to the Leyden repo in [this PR](https://github.com/openjdk/leyden/pull/26), where more comments can be found regarding this update.

src/java.base/share/classes/jdk/internal/vm/annotation/Stable.java line 310:

> 308:  * atomic operation such as {@code compareAndExchange},
> 309:  * {@code setRelease}, {@code releaseFence}, or the like.
> 310:  * </li><li> using regular variable access under explicit sychronization

typo `sychronization`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26355#discussion_r2221343585


More information about the core-libs-dev mailing list