Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-841

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
    • 3.0.17.Final
    • 2.3.5.Final, 3.0.16.Final
    • CDI Integration
    • None

      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 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: