fixed bug with package listing in JPMS modules
All checks were successful
CI / build (push) Successful in 1m32s
All checks were successful
CI / build (push) Successful in 1m32s
This commit is contained in:
@@ -192,7 +192,7 @@ public class JarFileModuleFinder implements ModuleFinder {
|
||||
private static Set<String> collectPackageNames(JarFile jarFile) {
|
||||
Set<String> result = jarFile
|
||||
.versionedStream()
|
||||
.filter(entry -> entry.getName().endsWith(".class"))
|
||||
.filter(zipEntry -> !zipEntry.isDirectory())
|
||||
.map(entry -> {
|
||||
String entryName = entry.getName();
|
||||
int lastSlash = entryName.lastIndexOf('/');
|
||||
|
Reference in New Issue
Block a user