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

UnsafeInstantiator used to create instances of enhanced subclasses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.Beta5
    • 2.0.0.Beta2
    • Proxies
    • None

    Description

      If unsafe instantiators are unabled, UnsafeInstantiator is used to create instances of enhanced subclasses. As a result, an @Inject annotated constructor is not called. For now, UnsafeInstantiator should only be used for instantiation of client proxies.

      The bug can be reproduces by modifying PerDeploymentInstantiatorWithTest to include:

      assertNotNull(bean.getUnproxiable().getBm());

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: