mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8253208: Move CDS related code to a separate class
Reviewed-by: mchung, iklam
This commit is contained in:
parent
24e12b3811
commit
c1df13b855
23 changed files with 165 additions and 99 deletions
|
@ -55,6 +55,7 @@ import java.util.stream.Stream;
|
|||
import jdk.internal.loader.BuiltinClassLoader;
|
||||
import jdk.internal.loader.BootLoader;
|
||||
import jdk.internal.loader.ClassLoaders;
|
||||
import jdk.internal.misc.CDS;
|
||||
import jdk.internal.misc.VM;
|
||||
import jdk.internal.module.IllegalAccessLogger;
|
||||
import jdk.internal.module.ModuleLoaderMap;
|
||||
|
@ -277,7 +278,7 @@ public final class Module implements AnnotatedElement {
|
|||
}
|
||||
|
||||
static {
|
||||
VM.initializeFromArchive(ArchivedData.class);
|
||||
CDS.initializeFromArchive(ArchivedData.class);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue