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

ClassCastExceptions while retrieving services from ServiceRegistry

    XMLWordPrintable

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 .

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            rhn-support-ggastald George Gastaldi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: