[
https://jira.jboss.org/browse/WELDX-133?page=com.atlassian.jira.plugin.sy...
]
Pete Muir reopened WELDX-133:
-----------------------------
Doing
git merge stuart/WELDX-133 && git rebase origin/master
mvn clean install && mvn verify -Dincontainer
Results in a lot of test fails:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.weld.extensions.test.bean.generic.field.ObserversOnGenericBeanTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.068 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.interceptor.InterceptorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.jboss.weld.extensions.test.util.AnnotationInstanceProviderTest
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.018 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.util.collections.CompilerBugTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running org.jboss.weld.extensions.test.core.CoreTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.005 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.bean.generic.method.ProducersOnGenericBeanTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.008 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.bean.generic.field.GenericBeanUnwrapTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.047 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.util.MavenArtifactPathResolverTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.jboss.weld.extensions.test.bean.generic.field.GenericProductTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.003 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.bean.generic.method.GenericProductTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.01 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.servicehandler.ServiceHandlerTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.003 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.bean.generic.field.GenericBeanTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.019 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.bean.generic.field.ProducersOnGenericBeanTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.004 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.resourceLoader.ResourceLoaderTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.004 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.bean.generic.method.GenericBeanTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.007 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.unwraps.UnwrapsTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.003 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.el.ElTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.005 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.defaultbean.DefaultBeanTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.031 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.util.AnnotationInspectorTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.004 sec <<<
FAILURE!
Running org.jboss.weld.extensions.test.log.LoggerInjectionTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.002 sec <<<
FAILURE!
I haven't merged to master.
Odd issues with generic parameter types and generic beans
---------------------------------------------------------
Key: WELDX-133
URL:
https://jira.jboss.org/browse/WELDX-133
Project: Weld Extensions
Issue Type: Bug
Components: Generic Beans
Reporter: Pete Muir
Assignee: Stuart Douglas
Fix For: 1.0.0.Beta1
For example:
@Produces
@Infinispan
@DefaultCache
private Cache<String, String> cache;
and on the generic bean
@Produces
public AdvancedCache<K, V> getAdvancedCache()
{
return cacheContainer.<K, V>getCache(infinispan.value()).getAdvancedCache();
}
Should allow
@Inject Cache<String, String> cache;
but doesn't
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira