Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F20DDDF9C for ; Fri, 30 Nov 2012 11:07:59 +0000 (UTC) Received: (qmail 62765 invoked by uid 500); 30 Nov 2012 11:07:59 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 62632 invoked by uid 500); 30 Nov 2012 11:07:59 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 62606 invoked by uid 99); 30 Nov 2012 11:07:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 11:07:58 +0000 Date: Fri, 30 Nov 2012 11:07:58 +0000 (UTC) From: "Martin Kouba (JIRA)" To: deltaspike-dev@incubator.apache.org Message-ID: <1616404463.44796.1354273678529.JavaMail.jiratomcat@arcas> In-Reply-To: <1903737792.40435.1354204139613.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (DELTASPIKE-295) JsfMessageProducer createJsfMessage return type should be parametrized MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DELTASPIKE-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507266#comment-13507266 ] Martin Kouba commented on DELTASPIKE-295: ----------------------------------------- Mark this might also be interpreted the other way around: it's not identical and it's not assignable as defined in 5.2.3(4). I suggest to file a CDI clarification issue. BTW I don't see any statement like "if not defined, standard Java rules apply" there. > JsfMessageProducer createJsfMessage return type should be parametrized > ---------------------------------------------------------------------- > > Key: DELTASPIKE-295 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-295 > Project: DeltaSpike > Issue Type: Bug > Components: JSF-Module > Affects Versions: 0.4-incubating > Environment: Current 0.4-incubating snapshot, Weld 2.0.0.Beta1 > Reporter: Marek Schmidt > Fix For: 0.4-incubating > > > The > {code} > public JsfMessage createJsfMessage(InjectionPoint injectionPoint) > {code} > should probably be > {code} > public JsfMessage createJsfMessage(InjectionPoint injectionPoint) > {code} > instead. > The problem manifests itself in Weld 2.0.0.Beta1: > {noformat} > Tests in error: > org.apache.deltaspike.test.jsf.impl.message.JsfMessageTest: Could not deploy to container: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"jsfMessageTest.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jsfMessageTest.war\".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [JsfMessage] with qualifiers [@Default] at injection point [[BackedAnnotatedField] @Inject private org.apache.deltaspike.test.jsf.impl.message.beans.JsfMessageBackingBean.msg]"}} > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira