Skip to content

Commit

Permalink
Fix #3177: use an instance of DatabaseTypeRegister when getting the C…
Browse files Browse the repository at this point in the history
…lassLoader
  • Loading branch information
DoodleBobBuffPants committed Jun 2, 2021
1 parent 616f90b commit e48cefb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

public class DatabaseTypeRegister {
private static final Log LOG = LogFactory.getLog(DatabaseTypeRegister.class);
public static ClassLoader classLoader = DatabaseTypeRegister.class.getClassLoader();
public static ClassLoader classLoader = new DatabaseTypeRegister().getClass().getClassLoader();

private static final List<DatabaseType> registeredDatabaseTypes = new ArrayList<>();
private static boolean hasRegisteredDatabaseTypes = false;
Expand Down

0 comments on commit e48cefb

Please sign in to comment.