Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 32769 invoked from network); 11 May 2010 20:13:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 May 2010 20:13:04 -0000 Received: (qmail 33724 invoked by uid 500); 11 May 2010 20:13:03 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 33664 invoked by uid 500); 11 May 2010 20:13:03 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 33388 invoked by uid 99); 11 May 2010 20:13:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 May 2010 20:13:03 +0000 X-ASF-Spam-Status: No, hits=-1414.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 May 2010 20:13:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4BKCfHv011165 for ; Tue, 11 May 2010 20:12:41 GMT Message-ID: <1230187.11141273608761608.JavaMail.jira@thor> Date: Tue, 11 May 2010 16:12:41 -0400 (EDT) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Closed: (FELIX-2041) Look into using generics in framework code In-Reply-To: <209411182.11621265226927906.JavaMail.jira@brutus.apache.org> 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/FELIX-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard S. Hall closed FELIX-2041. ---------------------------------- Resolution: Fixed Framework code use generics, but targets jsr14 so the resulting byte code runs on old JVMs. Looks good enough to close this issue. > Look into using generics in framework code > ------------------------------------------ > > Key: FELIX-2041 > URL: https://issues.apache.org/jira/browse/FELIX-2041 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: framework-2.0.3 > Reporter: Richard S. Hall > Assignee: Richard S. Hall > Fix For: framework-3.0.0 > > > Currently, the framework doesn't use generics and often adopts simple data structures based on arrays. At the time, this was done to keep things simple and avoid unnecessary class creation. Perhaps it is time to move beyond this thinking and more liberally use collection classes with generic. The OSGi Alliance is looking into support generics via "-target jsr14", so maybe this approach could be leveraged internally by the framework for now until the entire spec moves to Java 5. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.