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

Jan-Kees van Andel resolved MYFACES-2386.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-alpha

Fixed, but not with an implementation I'm very proud of. I think the 
specification needs to standardize this class, so we can make it public and 
avoid code duplication.

> Refactor Bean Validation "constants" to package-private class
> -------------------------------------------------------------
>
>                 Key: MYFACES-2386
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2386
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Jan-Kees van Andel
>            Assignee: Jan-Kees van Andel
>             Fix For: 2.0.0-alpha
>
>
> Matthias pointed me to a TCK issue in the Bean Validation related classes 
> (BeanValidator, UIInput).
> I've created some public static final booleans, used to determine @startup 
> whether Bean Validation and Unified EL are available.
> The reason to declare them as public was because they are shared between the 
> "javax.faces.component" and "javax.faces.bean" packages, but it will probably 
> cause TCK failures.
> Solution: Refactor the environment related "constants" to a package-private 
> class that exists in all necessary packages. This class might delegate the 
> plumbing to the IMPL to prevent code duplication.
> See the issue on the mailing list:
> http://www.nabble.com/-JSF-2.0--JSR-303-support-in-MyFaces-2.0-td25969477.html

-- 
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