}
catch (PrivilegedActionException e1)
{
Exception e = e1.getException();
if (e instanceof NoSuchMethodException == false)
throw new NestedRuntimeException(e);
}
info.setAdvisor(this);
constructorInfos[i] = info;
try
{
final String name = ConstructorExecutionTransformer.getConstructorInfoFieldName(getSimpleName(clazz), i);
AccessController.doPrivileged(new PrivilegedExceptionAction<Object>()
{
public Object run() throws Exception
{
Field infoField = clazz.getDeclaredField(name);
infoField.setAccessible(true);
infoField.set(null, new WeakReference<ConstructorInfo>(info));
return null;
}
});
}
catch (PrivilegedActionException e1)
{
Exception e = e1.getException();
if (e instanceof NoSuchFieldException == false)
throw new NestedRuntimeException(e);
}
}
}