This is the mail archive of the
mauve-discuss@sourceware.org
mailing list for the Mauve project.
Generics, BigInteger.
- From: Pedro Izecksohn <izecksohn at yahoo dot com>
- To: mauve-discuss at sources dot redhat dot com
- Date: Tue, 14 Feb 2006 16:35:29 -0800 (PST)
- Subject: Generics, BigInteger.
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 .
6c6
< JAVACFLAGS = -g
---
> JAVACFLAGS = -g -source 1.4