Fix DriverManagerRegistrationTest failure
This commit is contained in:
parent
c3df793dbe
commit
619a123c8d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue