With the love of JNI Unsafe & MethodHandles/VarHandles API from Java 9 - 23, this provides:
-
Public-facing
sun.misc.Unsafe
API instance & maximum priviledge (TRUSTED)MethodHandles$Lookup
instance. -
Breaking down the Java Platform Module System (JPMS) to open up any specified module
-
Disguise as any specified Module, in order to fool
@CallerSensitive
methods -
Removal of Reflection Filters, allows retrieval of any fields from classes that were previously blocked:
jdk.internal.reflect.ConstantPool
jdk.internal.reflect.Reflection
jdk.internal.reflect.UnsafeStaticFieldAccessorImpl
java.lang.Class
java.lang.ClassLoader
java.lang.reflect.Constructor
java.lang.reflect.Field
java.lang.reflect.Method
java.lang.Module
java.lang.System
java.lang.invoke.MethodHandles$Lookup
java.lang.reflect.AccessibleObject
build.gradle
:
repositories {
maven {
url 'https://maven.cleanroommc.com'
}
}
dependencies {
implementation 'zone.rong:imaginebreaker:2.1'
}
Namesake: Toaru Majutsu no Index