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

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.17.Final
    • 2.3.5.Final, 3.0.16.Final
    • CDI Integration
    • None

    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:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: