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

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

      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.

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

              Created:
              Updated:
              Resolved: