RFR: 8353197: Document preconditions for JavaLangAccess methods [v4]

Jaikiran Pai jpai at openjdk.org
Mon May 12 08:54:54 UTC 2025


On Fri, 9 May 2025 08:31:35 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:

>> Document preconditions on certain `JavaLangAccess` methods that use operations either unsafe and/or without range checks.
>
> Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix copyright years

src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java line 461:

> 459:      * make a copy.
> 460:      */
> 461:     Object stringConcat1(String[] constants);

Is this missing the `unchecked` prefix to the method name?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24982#discussion_r2084172186


More information about the core-libs-dev mailing list