Object value = valuesEnum.next();
Class theClass = null;
try{
if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
try {
theClass = (Class)AccessController.doPrivileged(new PrivilegedClassForName((String)key, true, classLoader));
} catch (PrivilegedActionException exception) {
throw ValidationException.classNotFoundWhileConvertingClassNames((String)key, (Exception)exception.getCause());
}
} else {
theClass = org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName((String)key, true, classLoader);
}
} catch (ClassNotFoundException exc){
throw ValidationException.classNotFoundWhileConvertingClassNames((String)key, exc);
}
this.classIndicatorMapping.put(theClass, value);
this.classIndicatorMapping.put(value, theClass);
}
if (getParentClassName() == null){
return;
}
Class parentClass = null;
try{
if (PrivilegedAccessHelper.shouldUsePrivilegedAccess()){
try {
parentClass = (Class)AccessController.doPrivileged(new PrivilegedClassForName(getParentClassName(), true, classLoader));
} catch (PrivilegedActionException exception) {
throw ValidationException.classNotFoundWhileConvertingClassNames(getParentClassName(), exception.getException());
}
} else {
parentClass = org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(getParentClassName(), true, classLoader);