Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 80166 invoked from network); 16 Oct 2010 13:57:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Oct 2010 13:57:30 -0000 Received: (qmail 14793 invoked by uid 500); 16 Oct 2010 13:57:30 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 14702 invoked by uid 500); 16 Oct 2010 13:57:29 -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 14694 invoked by uid 99); 16 Oct 2010 13:57:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Oct 2010 13:57:29 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Oct 2010 13:57:21 +0000 Received: by qyk35 with SMTP id 35so1739127qyk.9 for ; Sat, 16 Oct 2010 06:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=x8RwblOh7kO5j/DlBKG2zxmxozIsnCsNH7qXChfcaGU=; b=rvhpinQ4WhwJMoLqpC7N1UpiO1BOqyrNjgYJx5c9uRzi1Y3huDu1424QFw3bqW5hKM AanmBreqCmgiqGb1VpcUiKAVnnXw2V3WVz30WsNXYjLtLOKiLlJnHsywdYzyn5qf3Ydk jSLTDkjNh1HLdlqxJO42KA0G2YBn/cWPSqXgU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=j+0yOyNlQI+KsLzbbZgmksNR4Gy3hW6P+R0gp55gA7fJrwt2whlvZ6XhgwJSZN/3GJ H5A4h9NSmSjZ6q86pIGfbVo1h6R8X1M2K4jKx/q9SY+91oPwDqQQgnQzpbezdxCrux8N okKmRPp9Swek4ajfq0U/9eJ7C2CUUmPY9RRb4= MIME-Version: 1.0 Received: by 10.229.246.194 with SMTP id lz2mr1846870qcb.216.1287237414976; Sat, 16 Oct 2010 06:56:54 -0700 (PDT) Received: by 10.229.184.144 with HTTP; Sat, 16 Oct 2010 06:56:54 -0700 (PDT) In-Reply-To: <4CB9A53E.5080702@apache.org> References: <4CB9A53E.5080702@apache.org> Date: Sat, 16 Oct 2010 14:56:54 +0100 Message-ID: Subject: Re: [DAEMON] Java version? From: sebb To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 16 October 2010 14:14, Mladen Turk wrote: > On 10/16/2010 02:32 PM, sebb wrote: >> >> The current build files (Ant and Maven) assume that the Java source >> and target versions are 1.3. >> > > Exactly. > >> However, some of the Java source files make use of methods and classes >> that require later versions of Java >> >> For example: >> >> java.net.InterfaceAddress requires 1.6 >> java.net.NetworkInterface - 1.4 >> >> FileOutputStream(File file, boolean append) - 1.4 >> Arrays.copyOf - 1.6 >> java.lang.System.getenv() - 1.5 >> > > Those are all examples *you* made recently. I created some of the original code, but AFAICT you have added some fixes. And Main.java and DaemonConfiguration were yours; both use Arrays.copyOf(). > Before those we had a clean 1.3 code. Yes. >> I think it's definitely time to abandon Java 1.3, and require at least >> 1.4 or perhaps 1.5; but I think requiring 1.6 is too much of a jump. >> > > -1. Java 1.3 it is. > Changing that could happen only with daemon-2.0 > > > Regards > -- > ^TM > > --------------------------------------------------------------------- > 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