public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Izecksohn <izecksohn@yahoo.com>
To: mauve-discuss@sources.redhat.com
Subject: Generics, BigInteger.
Date: Wed, 15 Feb 2006 00:35:00 -0000	[thread overview]
Message-ID: <20060215003529.49798.qmail@web50102.mail.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

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 .

[-- Attachment #2: 3361057457-Makefile.am.diff --]
[-- Type: text/plain, Size: 56 bytes --]

6c6
< JAVACFLAGS = -g
---
> JAVACFLAGS = -g -source 1.4

                 reply	other threads:[~2006-02-15  0:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060215003529.49798.qmail@web50102.mail.yahoo.com \
    --to=izecksohn@yahoo.com \
    --cc=mauve-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).