[bv-dev] Cross parameter validation convergence

Matt Benson mbenson at apache.org
Thu Sep 6 12:20:40 EDT 2012


On Thu, Sep 6, 2012 at 9:38 AM, Emmanuel Bernard <emmanuel at hibernate.org> wrote:
> On Jeu 2012-09-06 11:29, Michael Nascimento wrote:
>> On Thu, Sep 6, 2012 at 11:13 AM, Matt Benson <mbenson at apache.org> wrote:
>> > My inclination here would be to require unique signatures, and apply
>> > full JLS method matching rules.
>>
>> I agree, they have given plenty of thought about it while working on
>> the JLS and I don't think we can do much better - but there is a lot
>> of room for doing worse.
>
> The rules are quite complex so before we end up having coding them, I
> want to make sure every one likes them more than direct matching :)

I could live with direct matching, at that.  In fact, that might
actually be better in this case.  Mainly unique signatures is the
important thing, and we'll already avoid collision between a type-safe
validation method and the generic method by hosting them on different
interfaces, right?

Matt

> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev


More information about the beanvalidation-dev mailing list