8165896: Use "open" flag from JVM_DefineModule to export all module packages
Implemented VM side of open modules, which export all their packages unqualifiedly. Automatic modules and unnamed modules are treated internally as open modules. Reviewed-by: alanb, hseigel, lfoltan
This commit is contained in:
parent
654c500294
commit
3843553139
@ -482,8 +482,8 @@ public class WhiteBox {
|
||||
}
|
||||
|
||||
// Jigsaw
|
||||
public native void DefineModule(Object module, String version, String location,
|
||||
Object[] packages);
|
||||
public native void DefineModule(Object module, boolean is_open, String version,
|
||||
String location, Object[] packages);
|
||||
public native void AddModuleExports(Object from_module, String pkg, Object to_module);
|
||||
public native void AddReadsModule(Object from_module, Object source_module);
|
||||
public native void AddModulePackage(Object module, String pkg);
|
||||
|
Loading…
Reference in New Issue
Block a user