This is the mail archive of the mauve-patches@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Float.compare() / Double.compare()


On Fri, 2004-08-27 at 14:43, David Gilbert wrote:
> I've written some checks for the Float.compare() and Double.compare()
> methods.  These give me the following errors with JamVM 1.1.4:
> 
> dgilbert@linux42:~/workspace/mauve> jamvm -cp .
> gnu.testlet.SimpleTestHarness -file CurrentTests.txt -debug
> FAIL: gnu.testlet.java.lang.Double.compare (number 2)
> FAIL: gnu.testlet.java.lang.Double.compare (number 13)
> FAIL: gnu.testlet.java.lang.Float.compare (number 2)
> FAIL: gnu.testlet.java.lang.Float.compare (number 13)
> 4 of 28 tests failed
> 
> I'm fairly sure this is due to a bug in JamVM rather than Classpath.

Yep. I have a pre-release of jamvm-1.2.0 here that passes all these new
tests without failures. I don't know when/if Robert will release a real
version soon. Maybe we can synchronize a release with the new 0.11
release of GNU Classpath next week?

I have checked in your new tests as:

2004-08-27  David Gilbert  <david.gilbert@object-refinery.com>

        * gnu/testlet/java/lang/Double/compare.java: New test.
        * gnu/testlet/java/lang/Float/compare.java: New test.

> P.S.  A few of my earlier posts to the list still need someone to
> evaluate them:
> 
> Aug 15 - re; AffineTransform
> Aug 16 - java.awt.Polygon/contains()
> Aug 19 - RenderingHints.java

I believe the only pending one now is your new java.util.Arrays tests
from today (will look at those in a minute). My apologies for the long
delay in reviewing and checking in your tests.
Your work is really appreciated! Hope I am not discouraging you by
taking so long. If you want CVS write access for mauve please yell
(or just email Tom Tromey who can give you access).

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]