Skip to content

Commit

Permalink
Fix export module name (#1357)
Browse files Browse the repository at this point in the history
Signed-off-by: JermaineHua <[email protected]>
  • Loading branch information
CrazyHZM authored Dec 25, 2024
1 parent 0c34c1e commit d8bbf84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static void exportAllJDKModulePackageToAll() {
try {
if (isExported.compareAndSet(false,true) && nameToModules != null) {
nameToModules.forEach((name, module) -> module.getPackages().forEach(pkgName -> {
if (isJDKModulePackage(pkgName)) {
if (isJDKModulePackage(module.getName())) {
addOpensToAll(module, pkgName);
addExportsToAll(module, pkgName);
}
Expand Down

0 comments on commit d8bbf84

Please sign in to comment.