RFR: 8353197: Document preconditions for JavaLangAccess methods
Roger Riggs
rriggs at openjdk.org
Fri May 2 14:42:46 UTC 2025
On Thu, 1 May 2025 05:33:29 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:
> Document preconditions on certain `JavaLangAccess` methods that use operations either unsafe and/or without range checks.
src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java line 314:
> 312: * <p>
> 313: * <b>WARNING: The caller of this method shall relinquish and transfer the
> 314: * ownership of the byte array to the callee</b>, since the later will not
Typo: "later" -> "latter". (pre-existing)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24982#discussion_r2071714828
More information about the core-libs-dev
mailing list