SEC-267: Bug when working with CGLIB-generated classes.
This commit is contained in:
parent
a5d74ca2e1
commit
501eaadd09
|
@ -63,8 +63,8 @@ public class NamedEntityObjectIdentity implements AclObjectIdentity {
|
||||||
|
|
||||||
this.classname = (getPackageName(object.getClass().getName()) == null)
|
this.classname = (getPackageName(object.getClass().getName()) == null)
|
||||||
? ClassUtils.getShortName(object.getClass())
|
? ClassUtils.getShortName(object.getClass())
|
||||||
: getPackageName(object.getClass().getName() + "."
|
: getPackageName(object.getClass().getName()) + "."
|
||||||
+ ClassUtils.getShortName(object.getClass()));
|
+ ClassUtils.getShortName(object.getClass());
|
||||||
|
|
||||||
Class clazz = object.getClass();
|
Class clazz = object.getClass();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue