Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2386

Refactor Bean Validation "constants" to package-private class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.0-alpha
    • JSR-314
    • None

    Description

      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

      Attachments

        Activity

          People

            jankeesvanandel JCC Van Andel
            jankeesvanandel JCC Van Andel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: