Fixed issue with @ObjectHolder and the new registry system. Closes #2640

Only run static initalizers for classes we need to get the names from values.
This commit is contained in:
LexManos 2016-05-29 00:06:43 -07:00
parent 0bb4d9fb89
commit d3e758fce6

View file

@ -70,7 +70,7 @@ public enum ObjectHolderRegistry {
{
try
{
clazz = Class.forName(className, true, getClass().getClassLoader());
clazz = Class.forName(className, extractFromValue, getClass().getClassLoader());
classCache.put(className, clazz);
}
catch (Exception ex)