Skip to content

Commit

Permalink
Fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imbyungjun committed Jun 13, 2024
1 parent d9f9f2b commit af88dfb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public void init() {
final String systemClasspath = System.getProperty("java.class.path", StringUtils.EMPTY);
for (String pathEntry : systemClasspath.split(File.pathSeparator)) {
final File parentFile = ObjectUtils.defaultIfNull(new File(pathEntry).getParentFile(), new File("."));
if (!parentFile.isDirectory()) {
continue;
}
final Collection<File> childrenFileList = FileUtils.listFiles(parentFile, new String[]{"jar"}, false);
for (File candidate : childrenFileList) {
final String name = candidate.getName();
Expand Down

0 comments on commit af88dfb

Please sign in to comment.