Another compiler bug

Tom Tromey
Thu Aug 23 21:24:00 GMT 2001

While compiling Mauve I ran into this:

./gnu/testlet/java/lang/Math/ In class `':
./gnu/testlet/java/lang/Math/ In method `':
./gnu/testlet/java/lang/Math/ Can't find method `toString(D)' in type `java.lang.Float'.
         harness.check (Float.toString (Math.min (Float.NaN, 2.0f)), "NaN");

This code looks fine to me.  And if I compile a simple test of this by
hand, it works fine.  So there is some compiler bug here, but the
obvious reduced test case doesn't show it :-(


More information about the Java mailing list