[ adempiere-ZK Web Client-2721921 ] cache reset
This commit is contained in:
parent
c9dfc870f9
commit
7a5db01b5b
|
@ -84,9 +84,13 @@ public final class ProcessUtil {
|
|||
}
|
||||
//Get Class
|
||||
Class<?> processClass = null;
|
||||
//use context classloader if available
|
||||
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
|
||||
if (classLoader == null)
|
||||
classLoader = ProcessUtil.class.getClassLoader();
|
||||
try
|
||||
{
|
||||
processClass = Class.forName (className);
|
||||
processClass = classLoader.loadClass(className);
|
||||
}
|
||||
catch (ClassNotFoundException ex)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue