emptybox
emptybox
the jdk11+ has remove sun.misc.Unsafe.defineClass method, the useage of defineClass is broken. ```accessClass = UnsafeHolder.theUnsafe.defineClass(accessClassName, bytes, 0, bytes.length, loader,```
**DriverManager.getDrivers()** only return the drivers which be load by caller(DriverManagerCleanUp.class). For many scenarios the Caller is not the same classloader which load the jdbc Drivers. So ,DriverManager.getDrivers() will return empty...
error message : [LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder getInt LL_I (success) Error occurred during initialization of boot layer java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: symbolic reference class is not accessible: class java.lang.Class, from public...
The error information is as follows os: macos 14.7 xcode version: 16 ```shell Compiling up to 4 files for COMPILE_CREATE_SYMBOLS Compiling up to 68 files for COMPILE_CREATE_SYMBOLS Exception in thread...