[forge-issues] [JBoss JIRA] (FORGE-1565) ClassCastExceptions while retrieving services from ServiceRegistry

George Gastaldi (JIRA) issues at jboss.org
Sun Feb 9 15:15:29 EST 2014


George Gastaldi created FORGE-1565:
--------------------------------------

             Summary: ClassCastExceptions while retrieving services from ServiceRegistry
                 Key: FORGE-1565
                 URL: https://issues.jboss.org/browse/FORGE-1565
             Project: Forge
          Issue Type: Bug
          Components: Furnace (Container)
    Affects Versions: 2.0.0.Final
            Reporter: George Gastaldi
             Fix For: 2.x Future


I believe this may be the cause of the sporadic ClassCastExceptions being thrown:

https://github.com/forge/furnace-cdi/blob/master/impl/src/main/java/org/jboss/forge/furnace/container/cdi/impl/ServiceRegistryImpl.java#L292

Using just the hashCode is not a good option. Using the class name would be more appropriate. Needs to be reviewed .


--
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


More information about the forge-issues mailing list