Fix DriverManagerRegistrationTest failure

This commit is contained in:
Andrea Boriero 2021-03-22 14:22:15 +01:00
parent c3df793dbe
commit 619a123c8d
1 changed files with 1 additions and 5 deletions

View File

@ -73,11 +73,7 @@ public class DriverManagerRegistrationTest extends BaseUnitTestCase {
}
private static ClassLoader determineClassLoader() {
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
if ( classLoader == null ) {
classLoader = DriverManagerRegistrationTest.class.getClassLoader();
}
return classLoader;
return DriverManagerRegistrationTest.class.getClassLoader();
}
@AfterClass