[ http://jira.codehaus.org/browse/MNG-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Sanchez updated MNG-3240: -------------------------------- Assignee: Carlos Sanchez Affects Version/s: 2.0.7 Fix Version/s: 2.0.8 > maven-model RepositoryBase.equals() causes ClassCastException > ------------------------------------------------------------- > > Key: MNG-3240 > URL: http://jira.codehaus.org/browse/MNG-3240 > Project: Maven 2 > Issue Type: Bug > Affects Versions: 2.0, 2.0.7 > Reporter: Jared Roberts > Assignee: Carlos Sanchez > Fix For: 2.0.8 > > Attachments: MNG-3240-maven-model.patch > > > The equals(Object) method of RepositoryBase does not check the type of the > input before casting it to RepositoryBase. This behavior violates the > contract of Object.equals(Object) and causes ClassCastExceptions when any > other type of object is passed in. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira