Skip to content

Commit 59c9c73

Browse files
committed
Remove usage of deprecated API from classgraph
1 parent f09ee66 commit 59c9c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

random-beans/src/main/java/io/github/benas/randombeans/util/ClassGraphFacade.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
abstract class ClassGraphFacade {
4141

4242
private static final ConcurrentHashMap<Class<?>, List<Class<?>>> typeToConcreteSubTypes = new ConcurrentHashMap<>();
43-
private static final ScanResult scanResult = new ClassGraph().enableSystemPackages().enableClassInfo().scan();
43+
private static final ScanResult scanResult = new ClassGraph().enableSystemJarsAndModules().enableClassInfo().scan();
4444

4545
/**
4646
* Searches the classpath for all public concrete subtypes of the given interface or abstract class.

0 commit comments

Comments
 (0)