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:
parent
0bb4d9fb89
commit
d3e758fce6
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public enum ObjectHolderRegistry {
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
clazz = Class.forName(className, true, getClass().getClassLoader());
|
clazz = Class.forName(className, extractFromValue, getClass().getClassLoader());
|
||||||
classCache.put(className, clazz);
|
classCache.put(className, clazz);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
Loading…
Reference in a new issue