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

UnsafeInstantiator used to create instances of enhanced subclasses

XMLWordPrintable

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

      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());

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

                Created:
                Updated:
                Resolved: