From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22388 invoked by alias); 15 Feb 2006 00:35:31 -0000 Received: (qmail 22365 invoked by uid 22791); 15 Feb 2006 00:35:31 -0000 X-Spam-Check-By: sourceware.org Received: from web50102.mail.yahoo.com (HELO web50102.mail.yahoo.com) (206.190.38.30) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 15 Feb 2006 00:35:31 +0000 Received: (qmail 49804 invoked by uid 60001); 15 Feb 2006 00:35:29 -0000 Message-ID: <20060215003529.49798.qmail@web50102.mail.yahoo.com> Received: from [200.179.255.185] by web50102.mail.yahoo.com via HTTP; Tue, 14 Feb 2006 16:35:29 PST Date: Wed, 15 Feb 2006 00:35:00 -0000 From: Pedro Izecksohn Subject: Generics, BigInteger. To: mauve-discuss@sources.redhat.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-246632824-1139963729=:48697" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00025.txt.bz2 --0-246632824-1139963729=:48697 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline Content-length: 894 As it is known, gnu/testlet/java/math/BigInteger/compareTo.java does not compile with Generics. It is a useful test, even to Generics implementations, since it tests the library implementation, but Generics is forced by the compiler. To be able to compile it with all other tests, I was needed to change Makefile.am as the .diff attached. But I don't think it is good, as other compilers may not understand the -source option, and future tests may use some language feature not implemented at version 1.4. So I propose some kind of change, to compile tests separately, according to the language features used by them. But it is not urgent, and I did not imagine how to do it yet. gnu/testlet/java/math/BigInteger/compareTo.java: The tag JDK1.1 is wrong, according to http://java.sun.com/j2se/1.4.2/docs/api/java/math/BigInteger.html the method compareTo(Object) is there since version 1.2 . --0-246632824-1139963729=:48697 Content-Type: text/plain; name="Makefile.am.diff" Content-Description: 3361057457-Makefile.am.diff Content-Disposition: inline; filename="Makefile.am.diff" Content-length: 56 6c6 < JAVACFLAGS = -g --- > JAVACFLAGS = -g -source 1.4 --0-246632824-1139963729=:48697--