summaryrefslogtreecommitdiffstats
path: root/libjava/java/lang
Commit message (Collapse)AuthorAgeFilesLines
* * java/lang/natSystem.cc (init_properties): URL now points totromey1999-05-171-1/+1
| | | | | | | sourceware. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26974 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/javaprims.h: Updated namespace declarations.tromey1999-05-125-2/+362
| | | | | | | | | | | | | | | | | | | | | | | * classes.pl (scan): Uniquify class list. * Makefile.in, configure: Rebuilt. * Makefile.am (nat_source_files): Added natConcreteProcess.cc. (built_java_source_files): New macro. (nat_headers): Added built_java_source_files. (javao_files): Likewise. (EXTRA_libgcj_la_SOURCES): Likewise. (libgcj.zip): Create built class files. ($(built_java_source_files:.java=.class)): New target. (jv_convert_LDADD): Added -L$(here)/.libs. * configure.in: Create links for ConcreteProcess.java and natConcreteProcess.cc. * java/lang/Runtime.java (exec): Create a ConcreteProcess. * java/lang/natEcosProcess.cc: New file. * java/lang/EcosProcess.java: New file. * java/lang/PosixProcess.java: New file. * java/lang/natPosixProcess.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26901 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natObject.cc (sync_init): Use _Jv_AllocBytesChecked.tromey1999-05-101-2/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26858 138bc75d-0d04-0410-961f-82ee72b054a4
* * acconfig.h (GCJVERSION): New undef.tromey1999-05-071-6/+25
| | | | | | | | | | | | * java/lang/natSystem.cc (init_properties): Define java.version, java.class.version, os.name, os.arch, os.version. Include <sys/utsname.h> if required. * configure: Rebuilt. * configure.in: Compute and define GCJVERSION. * java/lang/natSystem.cc (default_file_encoding): Now static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26830 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natCharacter.cc (isLowerCase): Use a binary search.tromey1999-05-071-3/+18
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26829 138bc75d-0d04-0410-961f-82ee72b054a4
* bothner1999-05-061-1/+6
| | | | | | | | | * java/lang/natSystem.cc (DEFAULT_FILE_ENCODING): New macro. (default_file_encoding): New global, initial value is above macro. (init_properties): Default file.encoding to default_file_encoding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26797 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey1999-05-052-13/+61
| | | | | | | | | | | | | | | | * Makefile.am (CLEANFILES): Don't mention $(class_files). (clean-local): New target * java/lang/natRuntime.cc: Include <ltdl.h> if required. (load, loadLibrary): Now native. (init): New method. * java/lang/Runtime.java (load, loadLibrary): Now native. (init): New native method. (Runtime): Use init. * prims.cc: Include <ltdl.h> if required. (JvRunMain): Call LTDL_SET_PRELOADED_SYMBOLS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26785 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StringBuffer.java (ensureCapacity): Don't resizetromey1999-04-301-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vector when shared. * java/util/Locale.java (Locale(String,String)): Implement in terms of 3-argument version; variant now defaults to empty string. (toString): Assume variant is not null. (equals): Assume all strings are not null. (Locale): Throw NullPointerException if any argument is null. * java/util/ResourceBundle.java (getBundle): Don't try the base name; now implicit in partialGetBundle call. (trySomeGetBundle): Search for parent bundles and call setParent as required. (partialGetBundle): Added `langStop' argument. Use `Locale.toString' to compute bundleName. (resource_cache): New static field. (partialGetBundle): Cache the returned resource bundle. Now synchronized. * gnu/gcj/text/LocaleData_en.java (contents): [collatorRule] Added missing `<'. * mauve-libgcj: Enable Collator and RuleBasedCollator. * java/text/natCollator.cc (decomposeCharacter): `base' now `const'. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added CollationElementIterator, CollationKey, Collator, RuleBasedCollator. (nat_source_files): Added natCollator.cc. * java/text/RuleBasedCollator.java (ceiNext): No longer static. (compare): Pass `this' to CollationElementIterator constructor. (getCollationElementIterator): Likewise. (ceiNext): Fix off-by-one error when finding initial substring. (next): Correctly mask off bits when computing return value. Fixed return values when one string is shorter than the other. * java/text/CollationElementIterator.java (collator): New field. (CollationElementIterator): Added collator argument. (next): Call ceiNext on collator object. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26707 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/String.java: Don't throwtromey1999-04-211-2/+20
| | | | | | | UnsupportedEncodingException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26577 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
* * java/lang/natSystem.cc (init_properties): Only declare pwd_entrytromey1999-04-191-1/+1
| | | | | | | once. From Anthony Green. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26545 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
* 1999-04-14 Andrew Haley <aph@cygnus.com>aph1999-04-142-0/+13
| | | | | | | | | | * java/lang/natDouble.java (doubleToLongBits): ensure that all NaNs are always converted to the same long value. * java/lang/natFloat.java (floatToIntBits): ditto, but for float converted to int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26439 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (arraycopy): Don't always use jbyteArray;tromey1999-04-131-9/+51
| | | | | | | instead switch on actual element type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26405 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (SystemClass): New define.tromey1999-04-121-3/+10
| | | | | | | (init_properties): Synchronize. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26372 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Long.java (parseLong): Corrected overflow detectiontromey1999-04-082-30/+20
| | | | | | | | | code. * java/lang/Integer.java (parseInt): Corrected overflow detection code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26295 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-07137-0/+19610
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26263 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud