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

Unproxyable bean type check too strict

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Alpha3
    • 1.1.5.Final
    • Proxies
    • None
    • Release Notes

      According to the specification, a deployment that contains the following bean:

      public interface FooInterface {
      }
      
      @ApplicationScoped
      public final class Foo implements FooInterface {
      }
      

      is valid as long as there is no injection point injecting Foo directly.
      The following injection point is valid:

      @Inject
      private FooInterface foo;
      

            rhn-engineering-jharting Jozef Hartinger
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: