From dev-return-102914-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Tue Aug 2 12:28:54 2011 Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28C756607 for ; Tue, 2 Aug 2011 12:28:54 +0000 (UTC) Received: (qmail 82358 invoked by uid 500); 2 Aug 2011 12:28:53 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 82143 invoked by uid 500); 2 Aug 2011 12:28:52 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 82126 invoked by uid 99); 2 Aug 2011 12:28:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 12:28:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of peter.hunsberger@gmail.com designates 209.85.215.178 as permitted sender) Received: from [209.85.215.178] (HELO mail-ey0-f178.google.com) (209.85.215.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 12:28:43 +0000 Received: by eye4 with SMTP id 4so7194318eye.37 for ; Tue, 02 Aug 2011 05:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EANfWymW6ZDRLkC2EUGjDhuMVtPAGjm0BxSg8hteiiU=; b=XMzqTQkfRdIvVlMP74q2z61IM6amwuhkla0edulweAKEzab3qudfqLvHaH0qesRVNd 4wDEH1JkT2kiQPP2VLSQ/bL4kmTjH6TtVzzcqToHd5uHvNjlaOrn55Sg82hsfmNlFB0M I22MiHfDWcz1sAIw9OuKYvny1xPjQ4URKBlR0= MIME-Version: 1.0 Received: by 10.204.169.1 with SMTP id w1mr1751472bky.327.1312288103541; Tue, 02 Aug 2011 05:28:23 -0700 (PDT) Received: by 10.204.101.145 with HTTP; Tue, 2 Aug 2011 05:28:23 -0700 (PDT) In-Reply-To: <4E37BCC8.6080506@indoqa.com> References: <4E36B875.6020305@apache.org> <4E37B26E.9000402@apache.org> <4E37BCC8.6080506@indoqa.com> Date: Tue, 2 Aug 2011 07:28:23 -0500 Message-ID: Subject: Re: [C3] Java version 1.6 From: Peter Hunsberger To: dev@cocoon.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org >>> Hi all guys!!! >>> My question is instead: is there any advantage we can get by targeting >>> Cocoon to Java6? Is there any specific Java6 APIs we need to improve [...] >> some of my favorite Java 6 features that Cocoon codebase could profit from: >> >> * Collections Framework Enhancements and ServiceLoader [1]: Cocoon source code makes large use of collections, thus usage of these features can improve quality and performance >> >> * Internationalization Enhancements [2]: especially now that we should start working on the new i18n transformer [3] >> >> * JMX [4] and Management [5] enhancements: will we ever put this great Cocoon 3 stuff in production? >> >> Last but not least, Cocoon 3 depends on many other frameworks and libraries that will eventually require Java 6 (and 7, soon) capabilities. >> >> Regards. > > That's a good list and some fine reasons to switch to Java 6. > [...] >>>> >>>> C3 is still set to 1.5 as source and target version. >>>> >>>> Java5 is end of life since almost two years now. >>>> >>>> >>>> >>>> Is there any good reason not to go 1.6? >>>> >>>> Not that I know, so +1 for me to move to 1.6. >>>> We seem to have this discussion every few years. There's always people that can't upgrade. Personally I think it's time to do it and I wish we had done it long ago. With C3 in particular, people should have no dependencies in production since it is still officially Beta. Even if they do, they can stay on a previous version after all, if it is good enough to use at all why can't they stick with what they are using? Unless someone can come up with a reason not to I'd say it's time to start a vote. Peter Hunsberger