bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <>
Subject [jira] [Commented] (BVAL-109) Wrong enforcement that validation groups have to be interfaces
Date Sun, 29 Jul 2012 15:12:33 GMT


Matt Benson commented on BVAL-109:

To be pedantic, hat is Hibernate Validator's own documentation, rather than "the Bean Validation
specification."  The specification itself says plainly:  "Groups are represented by interfaces."
 I am well-aware that Hibernate Validator is the RI and that its developers include many members
of the EG including the spec lead, but my evaluation is that this is an implementation-specific
issue.  I would prefer that Apache BVal's default behavior remain as-is, although we could
possibly enable support with an implementation-specific property.
> Wrong enforcement that validation groups have to be interfaces
> --------------------------------------------------------------
>                 Key: BVAL-109
>                 URL:
>             Project: BVal
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.4
>            Reporter: Konstantin Triger
>             Fix For: 0.5
> The Bean Validation specification does not enforce that groups have to be interfaces.
Non interface classes could be used as well, but we recommend to stick to interfaces.
> (Taken from
> Suggested fix: remove the check from GroupsComputer.computeGroups.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message