summaryrefslogtreecommitdiffstats
path: root/libjava/java/lang/natString.cc
Commit message (Collapse)AuthorAgeFilesLines
* * All files: Updated copyright to reflect Cygnus purchase.tromey2000-01-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31504 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-09 Anthony Green <green@cygnus.com>green2000-01-091-16/+23
| | | | | | | | | | | | | | | | | * java/lang/natString.cc (init): Test for overflow condition during out of bounds check. (getChars): Throw StringIndexOutOfBoundsException, not ArrayIndexOutOfBoundsException. (getBytes): Ditto. (regionMatches): Obey case option during string comparison. * configure.host (ligcj_interpreter): New variable. Enable interpreter by default on IA-32. * configure.in: Examine libgcj_interpreter. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31300 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (equalsIgnoreCase): return false ifbryce1999-12-021-1/+1
| | | | | | | | | anotherString is null. * java/lang/Boolean.java (valueOf): return FALSE if argument is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30763 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Build include/Makefile. * Makefile.in: Rebuilt. * Makefile.am (SUBDIRS): Added gcj and include. (install-data-local): New target. (extra_headers): New macro. * include/Makefile.in: New file. * include/Makefile.am: New file. * interpret.cc: Don't include gcj/field.h or gcj/cni.h. * java/lang/reflect/natField.cc: Don't include gcj/field.h or gcj/cni.h. * boehm.cc: Don't include java-threads.h or gcj/field.h. * resolve.cc: Include config.h. * defineclass.cc: Include config.h. * include/java-interp.h: Don't include config.h. * include/jvm.h: Include java-threads.h, Object.h, java-gc.h, cni.h. * gcj/javaprims.h: Regenerated namespace decls. * classes.pl (scan): Don't put `;' after closing brace. * Makefile.in: Rebuilt. * Makefile.am (INCLUDES): Added -I for top_srcdir. * configure.in: Create gcj/Makefile. * gcj/Makefile.in: New file. * gcj/Makefile.am: New file. * java/lang/Object.h: Don't include any other headers. * gcj/array.h: Renamed from include/java-array.h. * gcj/field.h: Renamed from include/java-field.h. * gcj/method.h: Renamed from include/java-method.h. * gcj/cni.h, gcj/javaprims.h: Moved from include/. Updated all files to reflect new include structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29278 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-07-22 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-07-261-0/+2
| | | | | | | | | | * java/lang/natString.cc (substring): optimize where substring is entire String. * java/io/File.java (getName): don't return separator with file name. * java/io/natFile.cc (attr): fix overflow. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28246 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (getBytes): Reverted earlier change andtromey1999-04-211-3/+5
| | | | | | | applied correct fix from Per Bothner. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26579 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (getBytes): Correctly size resulttromey1999-04-211-2/+2
| | | | | | | buffer. From Bryce McKinlay <bryce@albatross.co.nz>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26575 138bc75d-0d04-0410-961f-82ee72b054a4
* bothner1999-04-161-23/+56
| | | | | | | | | | | | | | * java/io/InputStreamReader.java (<init>): Set super.in correctly. * java/io/OutputStreamWriter.java (<init>): Set super.in correctly. (writeChars): Don't be quite so eager to flush. * java/io/PrintStream.java: Rewrite. Now more similar to OutputStreamWriter, using explicit UnicodeToBytes converter. Also, autoflush does not need to flush so often. * java/lang/natString.cc (getBytes): More efficient algorithm. (init(jbyteArray,jint,jint,jstring)): More efficient. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26508 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (init(jbyteArray,jint,jint,jstring)):warrenl1999-04-071-0/+4
| | | | | | | Set count to 0 when InputStreamReader returns -1 for EOF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26273 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiontromey1999-04-071-0/+800
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26263 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud