< prev index next >

src/java.base/share/classes/java/lang/System.java

Print this page
rev 57943 : 8238599: Refactor and simplify implAddOpensToAllUnnamed
Reviewed-by: alanb

*** 54,63 **** --- 54,64 ---- import java.util.Map; import java.util.Objects; import java.util.Properties; import java.util.PropertyPermission; import java.util.ResourceBundle; + import java.util.Set; import java.util.function.Supplier; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Stream; import jdk.internal.util.StaticProperty;
*** 2232,2243 **** m.implAddOpens(pn, other); } public void addOpensToAllUnnamed(Module m, String pn) { m.implAddOpensToAllUnnamed(pn); } ! public void addOpensToAllUnnamed(Module m, Iterator<String> packages) { ! m.implAddOpensToAllUnnamed(packages); } public void addUses(Module m, Class<?> service) { m.implAddUses(service); } public boolean isReflectivelyExported(Module m, String pn, Module other) { --- 2233,2244 ---- m.implAddOpens(pn, other); } public void addOpensToAllUnnamed(Module m, String pn) { m.implAddOpensToAllUnnamed(pn); } ! public void addOpensToAllUnnamed(Module m, Set<String> concealedPackages, Set<String> exportedPackages) { ! m.implAddOpensToAllUnnamed(concealedPackages, exportedPackages); } public void addUses(Module m, Class<?> service) { m.implAddUses(service); } public boolean isReflectivelyExported(Module m, String pn, Module other) {
< prev index next >