Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2687

WeldInstance.Handle#get() behaves unexpectedly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.1.8.Final, 4.0.2.Final
    • None
    • None

    Description

      If you invoke WeldInstance.Handler#get() for a Handler whose contextual reference was already destroyed, we currently return the same instance.
      This is unexpected and it would make a lot more sense to instead throw an exception.

      For Weld 5, this has been fixed as part of WELD-2685, but we still need to fix this for Weld 3 and 4.

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            manovotn Matěj Novotný
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: