Jumbo patch:

* Imported beans and serialization
* Updated IA-64 port
* Miscellaneous bug fixes

From-SVN: r34028
This commit is contained in:
Tom Tromey 2000-05-19 17:55:34 +00:00
parent 021c89ed68
commit 6c80c45e30
125 changed files with 18458 additions and 560 deletions

View file

@ -8,6 +8,8 @@ details. */
package java.lang;
import java.io.UnsupportedEncodingException;
import java.io.Serializable;
import java.lang.Comparable;
/**
* @author Per Bothner <bothner@cygnus.com>
@ -18,7 +20,7 @@ import java.io.UnsupportedEncodingException;
* Status: Complete to 1.1, but see FIXMEs. Also see testsuite results.
*/
public final class String
public final class String implements Serializable, Comparable
{
private Object data;
private int boffset; // Note this is a byte offset - don't use in Java code!
@ -172,6 +174,11 @@ public final class String
public native int compareTo (String anotherString);
public int compareTo (Object obj)
{
return compareTo ((String)obj);
}
public native boolean regionMatches (int toffset,
String other, int ooffset, int len);