< prev index next >
src/java.base/share/classes/java/lang/Module.java
Print this page
imported patch classloader-cleanup
*** 416,431 ****
}
// -- exported and open packages --
! // the packages are open to other modules, can be null
! // if the value contains EVERYONE_MODULE then the package is open to all
private volatile Map<String, Set<Module>> openPackages;
! // the packages that are exported, can be null
! // if the value contains EVERYONE_MODULE then the package is exported to all
private volatile Map<String, Set<Module>> exportedPackages;
/**
* Returns {@code true} if this module exports the given package to at
* least the given module.
--- 416,431 ----
}
// -- exported and open packages --
! // the packages that are open to other modules, can be null
! // if a value contains EVERYONE_MODULE then the package is open to all
private volatile Map<String, Set<Module>> openPackages;
! // the packages that are exported to other modules, can be null
! // if a value contains EVERYONE_MODULE then the package is exported to all
private volatile Map<String, Set<Module>> exportedPackages;
/**
* Returns {@code true} if this module exports the given package to at
* least the given module.
< prev index next >