Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 84362 invoked from network); 22 Apr 2009 09:43:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 09:43:08 -0000 Received: (qmail 58683 invoked by uid 500); 22 Apr 2009 09:43:08 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 58568 invoked by uid 500); 22 Apr 2009 09:43:07 -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 58558 invoked by uid 99); 22 Apr 2009 09:43:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 09:43:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.27.42.91] (HELO wmproxy1-g27.free.fr) (212.27.42.91) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 09:43:01 +0000 Received: from wmproxy1-g27.free.fr (localhost [127.0.0.1]) by wmproxy1-g27.free.fr (Postfix) with ESMTP id 28345635B0 for ; Wed, 22 Apr 2009 11:42:38 +0200 (CEST) Received: from spooler6-g27.priv.proxad.net (spooler6-g27.priv.proxad.net [172.20.243.236]) by wmproxy1-g27.free.fr (Postfix) with ESMTP id 386A26363C for ; Wed, 22 Apr 2009 11:42:37 +0200 (CEST) Date: Wed, 22 Apr 2009 11:42:36 +0200 (CEST) From: luc.maisonobe@free.fr To: Commons Developers List Message-ID: <712006414.3164121240393356909.JavaMail.root@spooler6-g27.priv.proxad.net> In-Reply-To: Subject: Re: [math] Java 6 dependancies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.20.243.42] X-Mailer: Zimbra 5.0.11_GA_2627.UBUNTU8_64 (ZimbraWebClient - [unknown] (Linux)/5.0.11_GA_2627.UBUNTU8_64) X-Virus-Checked: Checked by ClamAV on apache.org ----- "Bill Barker" a =C3=A9crit : > I can't compile commons-math any longer due to the below errors. It > seems=20 > that some 1.6 methods have creaped in. I have no problem upgrading to > 1.6=20 > if that is what is necessary, but I thought 1.5 was the targeted > version. Yes, it is for now the targeted version. >=20 > [javac] symbol : method newInstance(java.lang.Class=20 > extends org.apache.commons.math.FieldElement>,int,int) > [javac] location: class java.lang.reflect.Array > [javac] (T[][])=20 > Array.newInstance(field.getZero().getClass(), rows, columns); > [javac] ^ > [javac] symbol : method newInstance(java.lang.Class=20 > extends org.apache.commons.math.FieldElement>,int,int) > [javac] location: class java.lang.reflect.Array > [javac] final T[][] d =3D (T[][])=20 > Array.newInstance(zero.getClass(), dimension, dimension); > [javac] ^=20 >=20 It's my fault. I used the newInstance(Class, int ...) signature but in J= ava5 it was still newInstance(Class, int[]). I have fixed it in the subv= ersion repository. Thanks for the reports and sorry for the error, Luc >=20 >=20 >=20 > --------------------------------------------------------------------- > 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