[hibernate-issues] [Hibernate-JIRA] Created: (HV-449) Remove interface check in BeanMetaDataImpl#newGroupSequenceProviderInstance()

Kevin Pollet (JIRA) noreply at atlassian.com
Thu Mar 10 07:52:08 EST 2011


Remove interface check in BeanMetaDataImpl#newGroupSequenceProviderInstance()
-----------------------------------------------------------------------------

                 Key: HV-449
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-449
             Project: Hibernate Validator
          Issue Type: Improvement
    Affects Versions: 4.2.0.Beta2
            Reporter: Kevin Pollet
            Priority: Trivial
             Fix For: 4.2.0.CR1


By removing the interface check in {{BeanMetaDataImpl#newGroupSequenceProviderInstance()}}, the behavior will be consistent. Consequently, an invocation of this method will throw an {{InstantiationException}} if the provider class (not limited to this case):

* is an {{interface}}
* is an {{abstract}} class
* doesn't provide a default constructor

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list