summaryrefslogtreecommitdiffstats
path: root/libjava/java/lang/natSystem.cc
Commit message (Collapse)AuthorAgeFilesLines
* * java/lang/natSystem.cc (init_properties): Don't set user.name ortromey1999-12-151-1/+5
| | | | | | | | | | | | | | user.home if NO_GETUID defined. Only set user.dir if getcwd exists. * include/config.h.in: Rebuilt. * acconfig.h (NO_GETUID): New define. * configure.in: Rebuilt. * configure.in: Define NO_GETUID in cross case. Check for getcwd in native case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30964 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (_Jv_NewObjectArray): Usetromey1999-11-251-44/+2
| | | | | | | | | | | | | | _Jv_GetArrayElementFromElementType. (_Jv_NewPrimArray): Likewise. * java/lang/natObject.cc (clone): Use _Jv_GetArrayElementFromElementType instead of sizeof. * java/lang/natSystem.cc (arraycopy): Use _Jv_GetArrayElementFromElementType. * include/jvm.h (_Jv_GetArrayElementFromElementType): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30655 138bc75d-0d04-0410-961f-82ee72b054a4
* * gij.cc (main): Formatting fixes.tromey1999-10-151-3/+15
| | | | | | | | | | | | (_Jv_Compiler_Properties): Define. * java/lang/natSystem.cc (_Jv_Environment_Properties): Don't declare. (init_properties): Set properites from _Jv_Compiler_Properties. * include/java-props.h (_Jv_Compiler_Properties, _Jv_Environment_Properties): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30020 138bc75d-0d04-0410-961f-82ee72b054a4
* * libtool-version: Catch up by incrementing current.green1999-10-151-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.host: Disable use of GCJ_PROPERTIES for mips-tx39. * configure, include/config.h.in: Rebuilt. * acconfig.h (DISABLE_GETENV_PROPERTIES): Undefine. * configure.in: Added --disable-getenv-properties and new define `DISABLE_GETENV_PROPERTIES'. * prims.cc (PROCESS_GCJ_PROPERTIES): Define. (next_property_key): New function. (next_property_value): New function. (process_gcj_properties): New function. (JvRunMain): Call process_gcj_properties. (_JvRunMain): Ditto. * java/lang/natSystem.cc (init_properties): Set properties defined in GCJ_PROPERTIES. Also add 1.2 style versioning properties. * include/java-props.h: New file. * java/lang/natSystem.cc (init_properties): Add new properties to conform with Java Product Versioning Specification. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30007 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
* Added missing whitespace in function calls within adaptorsoliva1999-08-221-2/+2
| | | | | | | Pointed out by Tom git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28803 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (getpwuid_adaptor): New overloadedoliva1999-08-211-1/+30
| | | | | | | | | | function that detects the signature of getpwuid_r. (init_properties): Use it. * java/util/natDate.cc (ctime_adaptor): Likewise for ctime_r. (toString): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28790 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>tromey1999-07-311-1/+6
| | | | | | | | | * java/lang/natSystem.cc (arraycopy): Use bcopy if memmove is not available. Don't cast memmove args to (void*). * configure.in: Do not abort if memmove is not available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28360 138bc75d-0d04-0410-961f-82ee72b054a4
* * 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
* * 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
* 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
* * 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
* * 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
* Initial revisiontromey1999-04-071-0/+259
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26263 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud