Changelog
- IMPORTANT: Fix security checking of
UnsafeAccess.getInstance
Affected version:
>= 1.4.0 & < 1.7.0
- Add
Root.MethodHandleLookup
for bytecodeinvokeDynamic
executing - Add
Unsafe.getOriginalUnsafe()
to getsun.misc.Unsafe
/jdk.internal.misc.Unsafe
- Preview api for control
--enable-native-access
(ModuleAccess.isEnableNativeAccess
) - Make
BytecodeUtil
public - Add
ModuleAccess.getUnnamedModule(ClassLoader)
- Try to use standard api to initialize UnsafeAccessor
Test Report
https://github.com/KasukuSakura/static-assets/blob/main/unsafe-accessor-release-test-report/1.7.0.md