RFR: 8333236: Test java/foreign/TestAccessModes.java is timing out after passing [v2]
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri May 31 17:56:06 UTC 2024
On Fri, 31 May 2024 16:26:50 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> Would it make sense to add some tests that assert, `VarHandle` objects get cached?
We can't - at least not easily. As explained in the new comment, the var handles cached by this method are "raw" and always adapted by some other API. So you will never observe their identities from outside.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19485#issuecomment-2142726918
More information about the core-libs-dev
mailing list