opendj-sdk/opends/src/server/org/opends/server/admin/LDAPProfile.java
@@ -268,6 +268,10 @@ */ public String getObjectClass(AbstractManagedObjectDefinition<?, ?> d) throws MissingResourceException { if (d.isTop()) { return "top"; } for (Wrapper profile : profiles) { String objectClass = profile.getObjectClass(d); if (objectClass != null) { @@ -309,11 +313,6 @@ d = d.getParent(); } // Make sure that we have top. if (!s.contains("top")) { objectClasses.addFirst("top"); } return objectClasses; }