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

No error is thrown if the same class is present in both Application.getClasses() and Application.getSingletons()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.1.CR1, 7.0.1.GA
    • None
    • REST
    • None
    • EAP 7.0.1

    Description

      If the same class is returned in both Application.getClasses() and Application.getSingletons() then one is picked at random, so sometimes CDI injection will work, and other times not (this varies each time the app is deployed).

      Even though this is user error it would be nice if it could be detected and an error thrown.

      Attachments

        Issue Links

          Activity

            People

              rsigal@redhat.com Ronald Sigal
              sdouglas1@redhat.com Stuart Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: