[weld-issues] [JBoss JIRA] (WELD-1052) Unproxyable bean type check too strict

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Sun Jan 15 03:41:18 EST 2012


Jozef Hartinger created WELD-1052:
-------------------------------------

             Summary: Unproxyable bean type check too strict
                 Key: WELD-1052
                 URL: https://issues.jboss.org/browse/WELD-1052
             Project: Weld
          Issue Type: Bug
          Components: Proxies
    Affects Versions: 1.1.5.Final
            Reporter: Jozef Hartinger
            Assignee: Jozef Hartinger
             Fix For: 2.0.0.Alpha2


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

{code:JAVA}
public interface FooInterface {
}

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

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

{code:JAVA}
@Inject
private FooInterface foo;
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list