Details
Description
The asserts in the constructor of VarHandle.AccessMode can result in the loading of local-based classes too early in the startup process that may cause java/util/Locale/Bug4152725.java to fail if AtomicInteger is updated to use VarHandles.
The asserts should be replaced with tests.
The asserts should be replaced with tests.