IllegalAccessException is thrown when accesing annotation values
----------------------------------------------------------------
Key: BVAL-26
URL: https://issues.apache.org/jira/browse/BVAL-26
Project: BeanValidation
Issue Type: Bug
Components: jsr303
Affects Versions: 0.1-incubating
Reporter: Carlos Vara
Reason is those values are in public abstract methods, which need to be set
accessible before calling them reflectively.
The patch chooses the safest route: always calling setAccessible(true) before
invoking the method.
I added a simple test that replicates the issue.
2 more tests pass with it applied.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.