jdk.internal.module.SystemModuleFinders , jdk.internal.module.SystemModules
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | SystemModulesPlugin.
Generates a SystemModules class to reconstitute the ModuleDescriptor and other attributes of system modules. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final ClassDesc | |
| private static final ClassDesc | |
| private static final ClassDesc | |
| private static final int | |
| private static final String | |
| private boolean | |
| private int | |
| private static final MethodTypeDesc | |
| private static final MethodTypeDesc | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(Map<String, String> config)
Overrides default jdk. Configure the plugin based on the passed configuration. |
| private static ModuleFinder | finderOf(Collection<SystemModulesPlugin.
Returns a module finder that finds all modules in the given list |
| private String | Returns: the name of the class resource added to the poolGenerate a SystemModules implementation class and add it as a resource. |
| private Set | Returns: the resource names of the resources added to the poolGenerates the SystemModules classes (at least one) and the SystemModulesMap class to map initial modules to a SystemModules class. |
| private String | Returns: the name of the class resource added to the poolGenerate SystemModulesMap and add it as a resource. |
| public Set | |
| public boolean | hasArguments()
Overrides default jdk. Has this plugin require one or more arguments? |
| private Configuration | resolve(ModuleFinder finder, Set<String> roots)
Resolves a collection of root modules, with service binding, to create a Configuration for the boot layer. |
| private static <T extends Comparable | Returns: a sorted copy of the given collection.Returns a sorted copy of a collection. |
| private List | sublist(List<SystemModulesPlugin.
Returns the list of ModuleInfo objects that correspond to the modules in the given configuration. |
| public ResourcePool | transform(ResourcePool in, ResourcePoolBuilder out)
Implements jdk. Visit the content of the modules that are composing the image. |
| pack-priv List | Returns: the list of ModuleInfo objects, the first element is java.baseValidates and transforms the module-info.class files in the modules, adding the ModulePackages class file attribute if needed. |