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

Unproxyable bean type check too strict

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 1.1.5.Final
    • 2.0.0.Alpha3
    • Proxies
    • None
    • Release Notes

    Description

      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;
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: