[
https://issues.jboss.org/browse/WELD-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12691415#comment-12691415
]
Ron Šmeral commented on WELD-1111:
----------------------------------
The {{TypeVariableResolverTest}} fails on JDK7:
{noformat}
Failed tests:
testVariableArray(org.jboss.weld.tests.unit.reflection.inheritance.TypeVariableResolverTest):
expected:<class [Ljava.lang.Integer;> but
was:<org.jboss.weld.util.reflection.GenericArrayTypeImpl@f158f9e>
{noformat}
Also, as this is a unit test, shouldn't it be located in {{tests}} (which
contains unit tests) instead of {{tests-arquillian}} (which contains
integration tests) ?
> Inheritance of member-level metadata for generic types - missing substitution
> of actual type arguments
> ------------------------------------------------------------------------------------------------------
>
> Key: WELD-1111
> URL: https://issues.jboss.org/browse/WELD-1111
> Project: Weld
> Issue Type: Bug
> Reporter: Martin Kouba
> Assignee: Marko Lukša
> Priority: Minor
> Fix For: 1.1.8.Final
>
>
> See the spec *4.2. Inheritance of member-level metadata*.
> {code}
> class Bar<T> {
> @Inject Baz<T> baz;
> }
> class Foo extends Bar<String> {}
> {code}
> The required type of inherited injection point on {{Foo}} is {{Baz<T>}} but
> should be {{Baz<String>}}.
--
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
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues