Issue Type: Task Task
Affects Versions: 1.1.0.Beta2
Assignee: Gunnar Morling
Components: api
Created: 10/Jan/13 4:50 AM
Description:

Currently the methods for constructor validation can't be invoked passing Constructor<?>:

Type mismatch: cannot convert from Set<ConstraintViolation<capture#2-of ?>> to Set<ConstraintViolation<?>>

This can be avoided by relaxing the method signatures a bit:

<T> Set<ConstraintViolation<T>> validateConstructorParameters(Constructor<? extends T> constructor, Object[] parameterValues, Class<?>... groups);

<T> Set<ConstraintViolation<T>> validateConstructorReturnValue(Constructor<? extends T> constructor, Object[] parameterValues, Class<?>... groups);
Fix Versions: 1.1.0.next
Project: Bean Validation
Priority: Major Major
Reporter: Gunnar Morling
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira