Skip to content

Commit d29abbd

Browse files
committed
Just have module finder tell us the damn module name, if it fails then proceed to do our fallback of checking the manifest...
1 parent b99ea0f commit d29abbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mangorage/bootstrap/internal/JarHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private static Result resolveModuleName(Path jarPath) {
129129
ModuleNameOrigin.MODULE_INFO,
130130
jarPath
131131
);
132-
} else if (moduleName != null) {
132+
} else if (jarFile.isMultiRelease() && moduleName != null) {
133133
return new Result(moduleName, ModuleNameOrigin.MODULE_INFO, jarPath);
134134
}
135135

0 commit comments

Comments
 (0)