Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1565

ClassCastExceptions while retrieving services from ServiceRegistry

    Details

      Description

      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 .

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                gastaldi George Gastaldi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: