[ 
https://issues.apache.org/jira/browse/BVAL-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roman Stumm updated BVAL-26:
----------------------------

    Fix Version/s: 0.1-incubating

> 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
>            Assignee: Roman Stumm
>             Fix For: 0.1-incubating
>
>         Attachments: bval-core.patch, ConstraintDefinitionsTest.java
>
>
> 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.

Reply via email to