GC stress fixes and other bugfixes; classpath progress

This commit is contained in:
Joel Dice
2007-07-29 17:32:23 -06:00
parent d5a00c4556
commit a2bd7d0668
27 changed files with 463 additions and 75 deletions

View File

@ -9,6 +9,22 @@ public final class Float extends Number {
this.value = value;
}
public boolean equals(Object o) {
return o instanceof Float && ((Float) o).value == value;
}
public int hashCode() {
return floatToRawIntBits(value);
}
public String toString() {
return toString(value);
}
public static String toString(float v) {
return "todo";
}
public byte byteValue() {
return (byte) value;
}
@ -32,4 +48,9 @@ public final class Float extends Number {
public double doubleValue() {
return (double) value;
}
public static int floatToRawIntBits(float value) {
// todo
return 0;
}
}