diff --git a/acl/src/main/java/org/springframework/security/acls/objectidentity/ObjectIdentityImpl.java b/acl/src/main/java/org/springframework/security/acls/objectidentity/ObjectIdentityImpl.java index 00d43a8ae1..b7d79e1114 100644 --- a/acl/src/main/java/org/springframework/security/acls/objectidentity/ObjectIdentityImpl.java +++ b/acl/src/main/java/org/springframework/security/acls/objectidentity/ObjectIdentityImpl.java @@ -144,7 +144,7 @@ public class ObjectIdentityImpl implements ObjectIdentity { public String toString() { StringBuffer sb = new StringBuffer(); sb.append(this.getClass().getName()).append("["); - sb.append("Java Type: ").append(this.javaType); + sb.append("Java Type: ").append(this.javaType.getName()); sb.append("; Identifier: ").append(this.identifier).append("]"); return sb.toString();