FieldInjection should try public setter first and revert to setting private field

Description

The field injection in JavaDelegate's now uses the private fields to inject the Expressions:

field.setAccessible(true);
field.set(object, value);

Some environments can have a strict SecurityManager that doesn't permits this. Better to first try public setter which doesn't require the "suppressAccessChecks" and revert to field-access.

http://issues.alfresco.com/jira/browse/ALF-6900

Assignee

Frederik Heremans

Reporter

Frederik Heremans

Labels

None

Fix versions

Priority

Major
Configure