Skip to content

Commit 29b5318

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 d29abbd commit 29b5318

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
@@ -130,7 +130,7 @@ private static Result resolveModuleName(Path jarPath) {
130130
jarPath
131131
);
132132
} else if (jarFile.isMultiRelease() && moduleName != null) {
133-
return new Result(moduleName, ModuleNameOrigin.MODULE_INFO, jarPath);
133+
return new Result(moduleName, ModuleNameOrigin.GUESSED, jarPath);
134134
}
135135

136136
// 2. Check MANIFEST.MF for Automatic-Module-Name

0 commit comments

Comments
 (0)