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

Per Minborg pminborg at openjdk.org
Mon Jun 2 12:47:56 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.

The changes look good to me. 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?

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

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


More information about the core-libs-dev mailing list