java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],
int
,
int
,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does
not
"opens java.lang"
to module org.javassist
at java.base
/
java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:
354
)
at java.base
/
java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:
297
)
at java.base
/
java.lang.reflect.Method.checkCanSetAccessible(Method.java:
199
)
at java.base
/
java.lang.reflect.Method.setAccessible(Method.java:
193
)
at org.javassist@
3.28
.
0
-
GA
/
javassist.util.proxy.SecurityActions.setAccessible(SecurityActions.java:
159
)
at org.javassist@
3.28
.
0
-
GA
/
javassist.util.proxy.DefineClassHelper$JavaOther.defineClass(DefineClassHelper.java:
213
)
at org.javassist@
3.28
.
0
-
GA
/
javassist.util.proxy.DefineClassHelper$Java11.defineClass(DefineClassHelper.java:
52
)
at org.javassist@
3.28
.
0
-
GA
/
javassist.util.proxy.DefineClassHelper.toClass(DefineClassHelper.java:
260
)
at org.javassist@
3.28
.
0
-
GA
/
javassist.ClassPool.toClass(ClassPool.java:
1240
)
at org.javassist@
3.28
.
0
-
GA
/
javassist.ClassPool.toClass(ClassPool.java:
1098
)
at org.javassist@
3.28
.
0
-
GA
/
javassist.ClassPool.toClass(ClassPool.java:
1056
)
at org.javassist@
3.28
.
0
-
GA
/
javassist.CtClass.toClass(CtClass.java:
1298
)
at helloworld
/
helloworld.test.main(test.java:
20
)