Skip to content

Commit c32d653

Browse files
authored
Merge pull request #151 from Olli-Lolli/fix-closure-cast-exception
Fix cast exception on invalid class entries
2 parents 439dda9 + affa69c commit c32d653

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/groovy/org/beryx/runtime/util/PackageUseScanner.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ class PackageUseScanner extends ClassVisitor {
212212
} catch (Exception e) {
213213
LOGGER.info("Failed to scan $path", e)
214214
invalidEntries << ("${basePath}/${path}" as String)
215+
return
215216
}
216217
}
217218
} as Closure)

0 commit comments

Comments
 (0)