Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 E2ACF9352 for ; Sun, 17 Jun 2012 16:54:49 +0000 (UTC) Received: (qmail 85439 invoked by uid 500); 17 Jun 2012 16:54:49 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 85329 invoked by uid 500); 17 Jun 2012 16:54:49 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 85320 invoked by uid 99); 17 Jun 2012 16:54:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 16:54:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of garydgregory@gmail.com designates 209.85.210.43 as permitted sender) Received: from [209.85.210.43] (HELO mail-pz0-f43.google.com) (209.85.210.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 16:54:44 +0000 Received: by dajz8 with SMTP id z8so7077951daj.30 for ; Sun, 17 Jun 2012 09:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type:content-transfer-encoding; bh=i8fgOzpnk6wm9yzW7vGbA2sZeMvo8Gykda4yAUcAc7w=; b=bi4uxNV/rmdP4GRtAStlZr6HfNU8eEzaltbHPesDlr5pWVv5RpEQa1Jutgp3SBKReK y/mn6ToOnXlShrmpaU43RFW7BxAn28VjsdTjiuyWMG3jnWr4eP7OrxiQIdAvtnOYUo7q ERS/va3tzZeU/kUgMcnTuKex6IZ8WTtJc014FHGoIMR5SZxrTrUl9mwn74lMyNiWcHxI +y0yC+dUsp0ncYr2d9Czz/GyyFLnJ+hQVACe4IQdxvDVHLpSPLyBUqn090s7Lnpc3pKu HWnbuGgpW9IBMF0+YpUMz3UqZASnyRbBVwg0wV+uli4d1soXiXpFW3pe0dWxkFlxc0R4 WCEg== Received: by 10.68.136.68 with SMTP id py4mr1627016pbb.151.1339952064079; Sun, 17 Jun 2012 09:54:24 -0700 (PDT) References: <1DCE895F45843C42B615CA046BA821581688FD1A3F@walle> <0ED963DA-8EA9-4F97-945A-683CDA95C6C3@apache.org> <1339771619736-4635119.post@n4.nabble.com> <7D2C51C7-A615-4EB5-BEF9-6E493B7FA9F5@dslextreme.com> <-481079521411586636@unknownmsgid> <8FEA4840-38A3-4B04-AB9C-608F178EEA8E@dslextreme.com> From: Gary Gregory In-Reply-To: Mime-Version: 1.0 (1.0) Date: Sun, 17 Jun 2012 12:54:22 -0400 Message-ID: <-9046439851977193359@unknownmsgid> Subject: Re: [VFS] Update VFS trunk to Java 6 To: Commons Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Jun 17, 2012, at 7:42, sebb wrote: > On 17 June 2012 03:40, Ralph Goers wrote: >> >> On Jun 16, 2012, at 2:26 PM, Gary Gregory wrote: >> >>> For now, I want @override so I am ok with 1.6 source but I is safe to >>> the have 1.5 target? Commons-io >=3D2.3 is not pressing for VFS. >>> >>> Gary >> >> Why would it not be? If that is all you are doing the @Override doesn't = make it to the actual Class. See http://docs.oracle.com/javase/6/docs/api/= java/lang/annotation/RetentionPolicy.html#SOURCE for the retention policy u= sed by @Override. > > Does not work for me; just tried changing target for pool and running > "mvn clean compile": > > [ERROR] BUILD FAILURE > [INFO] ------------------------------------------------ > [INFO] Compilation failure > Failure executing javac, but could not parse the error: > javac: source release 1.6 requires target release 1.6 > > =3D=3D > > I'm not sure that wanting to use @Override for interface > implementations is a very good reason for requiring 1.6. > > If there is new functionality in Java 1.6 that is required for VFS then f= ine. > But not for a minor annotation issue. Hi all, ATM I do not see a runtime reason for Java 6 but I have not looked for one really. I do see a development time reason in the value of @Override. I do see run time and dev time reasons as both drivers for adopting a newer JDK. Gary > >> Ralph >> >>> >>> On Jun 16, 2012, at 16:00, Ralph Goers wro= te: >>> >>>> @Override is a compile annotation so we could have source be 1.6 and t= arget 1.5 for that. Do you have a pressing need to upgrade to commons-io 2= .3? If that is a necessity than I am OK with upgrading to Java 6 for the t= arget. IOW, I'm not in favor of upgrading just because "Java 5 is dead" but= because we actually have a requirement to do it. >>>> >>>> Ralph >>>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org