bval-dev mailing list archives

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


Konstantin Triger commented on BVAL-109:

Matt, thank you for the comment. No one asks you to deviate. We are talking about an issue
where specification is not 100% precise, RI takes a more permissive approach, fix is absolutely
simple and can hardly be regressive. I, personally, cannot think of any arguments against.
And finally I, as a user, will benefit since I need it to be a class (and probably other users
will benefit too).
I'm asking again to provide an objective reasoning why not fix this (if you claim the fix
is not compliant with the specification, please explain why).

> Wrong enforcement that validation groups have to be interfaces
> --------------------------------------------------------------
>                 Key: BVAL-109
>                 URL:
>             Project: BVal
>          Issue Type: New Feature
>          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