@@ -2667,10 +2667,15 @@ } return value; } static { + runtimeSetup(); + } + + // Called from JVM when loading an AOT cache + private static void runtimeSetup() { /** * Setup the shared secret to allow code in other packages access * private package methods in java.lang.module. */ jdk.internal.access.SharedSecrets