Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8850

WeldDeployment.loadBeanDeploymentArchive() may create multiple bean deployment archives with the same id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR12
    • None
    • CDI / Weld
    • None
    • Workaround Exists
    • Hide

      The result of Bean.getBeanClass() for a synthetic bean should not be a type loaded by the bootstrap class loader. It should be fine to return an extension class.

      Show
      The result of Bean.getBeanClass() for a synthetic bean should not be a type loaded by the bootstrap class loader. It should be fine to return an extension class.

      This does not match the org.jboss.weld.bootstrap.spi.BeanDeploymentArchive contract.

      The use case is described in https://issues.jboss.org/browse/WELD-2165?focusedCommentId=13286271&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13286271.

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: