RFR: 8357821: Revert incorrectly named JavaLangAccess::unchecked* methods

Volkan Yazici vyazici at openjdk.org
Tue Jun 3 09:12:52 UTC 2025


On Fri, 30 May 2025 11:57:39 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:

> Reverts certain [JDK-8353197](https://bugs.openjdk.org/browse/JDK-8353197) (which implements JavaDoc improvement and precautionary naming for certain unsafe methods in `jdk.internal.access.JavaLangAccess`) changes that are found to be incorrect. See the JBS issue for details on the followed evaluation process.

> I wonder if we should add that implementations of the affected method _shall_ do bounds checking to reduce the likelihood of a new/updated native implementation miss that?

@minborg, would you mind elaborating on this a bit, please? Do you imply adding an `@implSpec` to the touched `JavaLangAccess` methods?

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

PR Comment: https://git.openjdk.org/jdk/pull/25545#issuecomment-2934272812


More information about the nio-dev mailing list