Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 16515 invoked from network); 1 May 2008 19:48:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 May 2008 19:48:45 -0000 Received: (qmail 38905 invoked by uid 500); 1 May 2008 19:48:46 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 38879 invoked by uid 500); 1 May 2008 19:48:46 -0000 Mailing-List: contact tuscany-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-dev@ws.apache.org Received: (qmail 38859 invoked by uid 99); 1 May 2008 19:48:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2008 12:48:45 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2008 19:48:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AFFFC234C117 for ; Thu, 1 May 2008 12:44:55 -0700 (PDT) Message-ID: <1324689632.1209671095720.JavaMail.jira@brutus> Date: Thu, 1 May 2008 12:44:55 -0700 (PDT) From: "Gilbert Kwan (JIRA)" To: tuscany-dev@ws.apache.org Subject: [jira] Updated: (TUSCANY-2289) Java runtime should not inject property into an unannotated non-public field by protected setter In-Reply-To: <708750382.1209669775662.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TUSCANY-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gilbert Kwan updated TUSCANY-2289: ---------------------------------- Summary: Java runtime should not inject property into an unannotated non-public field by protected setter (was: Java runtime should inject property into an unannotated non-public field by public setter) > Java runtime should not inject property into an unannotated non-public field by protected setter > ------------------------------------------------------------------------------------------------ > > Key: TUSCANY-2289 > URL: https://issues.apache.org/jira/browse/TUSCANY-2289 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Core Runtime > Affects Versions: Java-SCA-Next > Reporter: Gilbert Kwan > Assignee: Simon Laws > Fix For: Java-SCA-Next > > > Java Common Annotations and APIs v1.0 - Sec 1.8.13: > 1349 Properties may also be injected via public setter methods even when the @Property annotation is not > 1350 present. However, the @Property annotation must be used in order to inject a property onto a non-public > 1351 field. In the case where there is no @Property annotation, the name of the property is the same as the > 1352 name of the field or setter. > Currently the properties are injected into unannotated protected fields too. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.