Change By: Gunnar Morling (23/Jan/13 5:16 AM)
Description: As per the API documentation an {{IllegalArgumentException}} is to be thrown in case {{null}} is passed to  the methods of  {{ExecutableValidator # }}. That's not consistently implemented in the RI currently:

* {{
validateParameters()}}  and {{validateConstructorParameters()}} accept {{null }}  for the _parameterValues_ parameter , but the RI accepts that  and  returns  return  an empty set of violations .

Also an
* All methods throw a  {{ IllegalArgumentException NullPointerException }}  ( instead of  a  an  {{ NullPointerException IllegalArgumentException }}  as of today) needs to be thrown  when passing {{null}} as single validation group ({{(Class<?>)null}}).

Also an
*  {{ IllegalArgumentException validateConstructorReturnValue() }}  needs to be thrown when passing  accepts  {{null}}  to  for the _createdObject_ parameter.
*
 {{ ExecutableValidator#validateConstructorReturnValue validateReturnValue ()}}  accepts {{null}}  for the  _createdObject_  _object_  parameter.

See {{ValidateParametersTest}} etc.
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