Integer.getInteger patch for null argument

Mark Wielaard mark@klomp.org
Mon Apr 15 13:11:00 GMT 2002


Hi,

The following fixes one more Mauve failure.
(Just 13 unexpected failures to go! *)

2002-04-14  Mark Wielaard <mark@klomp.org>

  * java/lang/Integer.java (getInteger(String,Integer): Return def when
  nm is null or the empty String.

This is already fixed in Classpath so we will get it in 3.2 when we
merge the primitive wrapper classes after the 3.1 release.

OK for the branch?

Cheers,

Mark

*) That is on i686-pc-linux-gnu and only because we compile from
byte-code, not directly from source->native. When using Mauve as one big
source->native linked binary there are just 4 unexpected failures (with
2 new Float failures which don't appear when compiling from byte-code).
But on powerpc-unknown-linux-gnu there are a lot more failures mostly
Long, Double, Math and Integer tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Integer.patch
Type: text/x-patch
Size: 746 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20020415/d46d3e82/attachment.bin>


More information about the Java-patches mailing list