summaryrefslogtreecommitdiff
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * include/config.h.in: Rebuilt.green2000-01-224-48/+92
| | | | | | | | | * acconfig.h: Add undef for __NO_MATH_INLINES. * configure: Rebuilt. * configure.in: Add test for `g++ -O2 -ffloat-store' bug. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31566 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/natConstructor.cc (newInstance): Usetromey2000-01-2110-532/+1669
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _Jv_CallAnyMethodA. * include/jvm.h: Declare _Jv_CallAnyMethodA. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Renamed from _Jv_CallNonvirtualMethodA. Changed interface; overloaded. Include <jni.h>. (COPY): Removed. (invoke): Use _Jv_CallAnyMethodA. (VAL): Redefined. * java/lang/Class.h (Class): Declare JvGetFirstStaticField, JvNumStaticFields, JvNumMethods, and JvGetFirstMethod as friend functions. (struct _Jv_Method): Added getNextMethod method. (JvNumMethods): New function. (JvGetFirstMethod): Likewise. * gcj/field.h (JvGetFirstStaticField): New function. (JvNumStaticFields): Likewise. (getNextField): Renamed from getNextInstanceField. (struct _Jv_Field): New method getClass. * jni.cc: Wrote many new functions. * include/jni.h (JNI_TRUE): Define. (JNI_FALSE): Likewise. (jobject, jclass, jstring, jarray, jthrowable, jobjectArray, jbyteArray, jshortArray, jintArray, jlongArray, jbooleanArray, jcharArray, jfloatArray, jdoubleArray): New typedefs. (jfieldID, jmethodID): Likewise. (JNI_COMMIT, JNI_ABORT): New defines. (JNINativeMethod): New struct. (struct JNINativeInterface): Correctly declared more entries. (class _Jv_JNIEnv): Added `ex' member. (JNI_VERSION_1_1): New define. (JNI_VERSION_1_2): Likewise. * boehm.cc (_Jv_MarkObj): Use getNextField, not getNextInstanceField. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31553 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/BlankFinal.java: New file.tromey2000-01-212-0/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31552 138bc75d-0d04-0410-961f-82ee72b054a4
* * resolve.cc (StringClass): Removed.tromey2000-01-203-6/+7
| | | | | | | * defineclass.cc (StringClass): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31539 138bc75d-0d04-0410-961f-82ee72b054a4
* Updated NEWS file.bryce2000-01-192-0/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31522 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-19 Alexandre Petit-Bianco <apbianco@cygnus.com>tromey2000-01-1944-0/+804
| | | | | | | | | | | | | | | | | | | | * libjava.lang/anon.java, libjava.lang/anon2.java, libjava.lang/anon3.java, libjava.lang/anon4.java, libjava.lang/direct_read.java, libjava.lang/direct_write.java, libjava.lang/indirect.java, libjava.lang/indirect_read.java, libjava.lang/indirect_write.java, libjava.lang/inner1.java, libjava.lang/inner2.java, libjava.lang/inner3.java, libjava.lang/inner4.java, libjava.lang/inner_array.java, libjava.lang/multiple_finit.java, libjava.lang/private_direct_read.java, libjava.lang/private_direct_write.java, libjava.lang/private_indirect_read.java, libjava.lang/private_indirect_write.java, libjava.lang/search_outer.java, libjava.lang/tmi.java, libjava.lang/tp.java, libjava.lang/update_outer.java: New files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31511 138bc75d-0d04-0410-961f-82ee72b054a4
* * interpret.cc (PC_REGISTER_ASM): Removed.tromey2000-01-192-10/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31510 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natThrowable.cc: Don't use `#pragma implementation'.tromey2000-01-193-16/+49
| | | | | | | From Bryce McKinlay. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31505 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright to reflect Cygnus purchase.tromey2000-01-19380-382/+386
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31504 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/inner_pub.java: New file.tromey2000-01-192-0/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31503 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-18 Bryce McKinlay <bryce@albatross.co.nz>tromey2000-01-193-159/+168
| | | | | | | | * configure: Rebuilt. * configure.in: Recognize --disable-interpreter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31496 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-18 Andrew Haley <aph@cygnus.com>aph2000-01-186-118/+179
| | | | | | | | | | | * name-finder.cc (lookup): Check for dladdr function. acconfig.h (HAVE_DLADDR): Add. configure.in: Check for HAVE_DLADDR configure: Rebuilt. include/config.h.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31487 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-17 Andrew Haley <aph@cygnus.com>aph2000-01-182-0/+10
| | | | | | | * prims.cc (_Jv_RunMain): Set the name of this executable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31486 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natThrowable.cc (fillInStackTrace): Return `this' eventromey2000-01-182-1/+4
| | | | | | | when backtrace can't be computed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31483 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey2000-01-183-4/+7
| | | | | | | * configure.in: Fixed typo in AC_CONFIG_SUBDIRS call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31482 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Runtime.java (loadLibraryInternal): Declare.tromey2000-01-1714-897/+535
| | | | | | | | | | | | | | | | | | | | | | | * java/lang/natClassLoader.cc (_Jv_FindClass): Removed dead copy. (_Jv_FindClassInCache): Likewise. (_Jv_FindClass): Don't conditionalize body on INTERPRETER. (findSystemClass): Try to load class from compiled module. Include Runtime.h. * java/lang/natRuntime.cc (load): Use UTF-8 copy of filename. (loadLibrary): Likewise. (lt_preloaded_symbols): Define. (loadLibraryInternal): New method. * include/config.h.in: Rebuilt. * acconfig.h (USE_LTDL): Added. * Makefile.am (SUBDIRS): Added $(DIRLTDL). (INCLUDES): Added $(INCLTDL).b (libgcj_la_DEPENDENCIES): Added $(LIBLTDL). (libgcj_la_LIBADD): Likewise. * aclocal.m4, configure: Rebuilt. * configure.in: Added libltdl support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31472 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiontromey2000-01-1713-0/+7279
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31468 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (_Jv_PrimClass): Use `JV_STATE_NOTHING', not `0'.tromey2000-01-172-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31467 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-14 Andrew Haley <aph@cygnus.com>aph2000-01-1713-161/+731
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/natThrowable.cc: New file. * java/lang/Throwable.java (fillInStackTrace): Make native. (printStackTrace): Call native method to do this. (Throwable): Call fillInStackTrace. (stackTrace): New variable. * include/jvm.h: Add _Jv_ThisExecutable functions. * prims.cc: (_Jv_execName): New variable. (catch_segv): Call fillInStackTrace. (catch_fpe): Ditto. (_Jv_ThisExecutable): New functions. (JvRunMain): Set the name of this executable. * Makefile.am: Add java/lang/natThrowable.cc. Add name-finder.cc. * Makefile.in: Rebuilt. * acconfig.h: Add HAVE_PROC_SELF_EXE. * configure.in: Force link with __frame_state_for in FORCELIBGCCSPEC. Add new checks for backtrace. * include/config.h.in: Rebuilt. * name-finder.cc: New file. * include/name-finder.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31460 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-16 Anthony Green <green@cygnus.com>green2000-01-172-7/+9
| | | | | | | | * java/lang/StringBuffer.java (StringBuffer): Don't special case null argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31451 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-16 Jeff Sturm <jsturm@sigma6.com>tromey2000-01-162-15/+33
| | | | | | | * java/io/StreamTokenizer.java (nextToken): Avoid unread(TT_EOF). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31449 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***green2000-01-165-0/+69
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31448 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/pr83.out: New file.green2000-01-165-0/+74
| | | | | | | | | | * libjava.lang/pr83.java: New file. * libjava.lang/pr109.out: New file. * libjava.lang/pr109.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31446 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClassLoader.cc (_Jv_FindClass): Register `loader',tromey2000-01-132-8/+11
| | | | | | | not system loader, as initiating loader. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31395 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/klass.out: New file.tromey2000-01-113-0/+16
| | | | | | | * libjava.lang/klass.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31333 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (getpwuid_adaptor): New adaptor fortromey2000-01-112-1/+17
| | | | | | | HP/UX. From David Scott Urban. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31332 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-10 Jeff Sturm <jsturm@sigma6.com>tromey2000-01-104-14/+22
| | | | | | | | | | | | * java/lang/natMath.cc (pow): Cast args to `double', not `jdouble'. (atan2): Likewise. (IEEEremainder): Likewise. * java/lang/mprec.h: Don't wrap includes in `extern "C"'. * java/lang/fdlibm.h: Don't wrap includes in `extern "C"'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31305 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-09 Anthony Green <green@cygnus.com>green2000-01-095-169/+202
| | | | | | | | | | | | | | | | | * 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
* * mauve-libgcj: Don't disable ClassTest.tromey2000-01-072-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31278 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (getClasses): Wrote.tromey2000-01-072-2/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31276 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (_getConstructors): Correctly checktromey2000-01-062-3/+9
| | | | | | | | whether method name is the init name. (getMethod): Look at accflags on method in `klass', not `this'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31258 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (getMethod): Compute offset relative totromey2000-01-063-25/+38
| | | | | | | | | | | | | | | `klass's methods table, not `this's table. * java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA): In unwrapping/widening case, check whether `k' is null, not whether it is primitive. Initialize `num' from `argelts', not `paramelts'. Correct create and pass arguments to ffi_call. Don't let presence of `this' argument affect index used to look in argument arrays. (COPY): Set appropriate element in `values' vector. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31253 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc: Include <gcj/method.h>.tromey2000-01-052-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31249 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h (_getMethods): Correctly declare as private,tromey2000-01-052-2/+5
| | | | | | | not public. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31246 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h (_getMethods): Declare.tromey2000-01-054-8/+143
| | | | | | | | | | | | | | | | * java/lang/Class.java (_getMethods): Declare. * java/lang/natClass.cc (getDeclaringClass): Always return NULL. (getDeclaredClasses): Always return empty array. (_getMethods): New method. (getMethods): Wrote. (getDeclaredMethod): Return `rmethod'. (finit_name): New global. (getDeclaredMethods): Check for finit_name. (_getMethods): Likewise. (getMethod): Only return public methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31245 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/natMethod.cc (get_ffi_type): Test size oftromey2000-01-052-4/+24
| | | | | | | | | jboolean and select correct ffi type on that basis. (_Jv_CallNonvirtualMethodA): Handle `void' return type. Constructor call always has `void' return type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31242 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h (getSignature): Updated.tromey2000-01-054-10/+24
| | | | | | | | | | | | * java/lang/Class.java (getSignature): Updated. * java/lang/natClass.cc (getSignature): Added `is_constructor' argument. (getConstructor): Ensure constructor is public. (_getConstructors): Check for public-ness of constructor when `declared' is false, not when it is true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31241 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesarywarrenl2000-01-042-3/+8
| | | | | | | | comment. (receive): Set the sender's address in the DatagramPacket. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31218 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-01-04 Tom Tromey <tromey@cygnus.com>tromey2000-01-0418-227/+734
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/reflect/natConstructor.cc (newInstance): Pass declaring class as return_type argument to _Jv_CallNonvirtualMethodA. * java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA): In constructor case, create object and use it as `this' argument. * java/lang/Class.h (_getConstructors): Declare. (_getFields): Declare. * java/lang/Class.java (getConstructors): Wrote. (_getConstructors): New native method. (getDeclaredConstructors): Wrote. (_getFields): Declare new native method. * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Removed incorrect comment. (getMethod): Work correctly when class is primitive. (getDeclaredMethods): Likewise. Compute offset using `method', not `mptr'. (getDeclaredMethod): Likewise. (getConstructor): Wrote. (ConstructorClass): New define. (getDeclaredConstructor): Wrote. (_getConstructors): New method. (_getFields): New method. (getFields): Wrote. * Makefile.in: Rebuilt. * Makefile.am (AM_CXXFLAGS): Added -D_GNU_SOURCE. * prims.cc: Remove `#pragma implementation'. * gcj/array.h: Remove `#pragma interface'. * prims.cc (_Jv_equaln): New function. * java/lang/Class.java (getSignature): Declare. * resolve.cc (_Jv_LookupDeclaredMethod): Moved to natClass.cc. * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Moved from resolve.cc. (getSignature): New method. (getDeclaredMethod): Wrote. (getMethod): Wrote. Include StringBuffer.h. * java/lang/Class.h (Class): Added _Jv_FromReflectedConstructor as a friend. Unconditionally declare _Jv_LookupDeclaredMethod as a friend. (getSignature): Declare. * include/jvm.h (_Jv_GetTypesFromSignature): Declare. (_Jv_equaln): Declare. (_Jv_CallNonvirtualMethodA): Declare. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added natConstructor.cc. (java/lang/reflect/Constructor.h): New target. * java/lang/reflect/natConstructor.cc: New file. * java/lang/reflect/Constructor.java (newInstance): Now native. (declaringClass): Renamed from decl_class. (offset): Renamed from index. (getType): New native method. (getModifiers): Now native. (getParameterTypes): Call getType if required. (hashCode): Include hash code from declaring class. (modifiers): Removed. (toString): Call getType if required. * gcj/method.h (_Jv_FromReflectedConstructor): New function. * java/lang/reflect/natMethod.cc (hack_call): New method. Removed `#if 0' around FFI code. Include <gnu/gcj/RawData.h>. (invoke): Use _Jv_CallNonvirtualMethodA. Throw IllegalArgumentException when argument object and class disagree. (_Jv_GetTypesFromSignature): New function. (getType): Use it. (ObjectClass): New define. (_Jv_CallNonvirtualMethodA): New function. * java/lang/reflect/Method.java (hack_trampoline): New method. (hack_call): New native method. 1999-12-21 Per Bothner <per@bothner.com> * java/lang/natClass.cc (getDeclaredMethods): Correctly compute offset in new Method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31199 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (mauve_compute_uses): Let user selecttromey2000-01-032-1/+11
| | | | | | | specific tests to run. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31183 138bc75d-0d04-0410-961f-82ee72b054a4
* Commit forgotten Thread.java patch.bryce1999-12-271-4/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31094 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-12-22 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-12-244-64/+108
| | | | | | | | | | | | | | | | | | | | | | | | * java/lang/natObject.cc (notify): Throw message with IllegalMonitorStateException. (notifyAll): Ditto. (wait): Ditto. * java/lang/Thread.java (isInterrupted): Don't clear interrupt_flag. (isInterrupted_): New function, which does clear interrupt_flag. (interrupt): Use `isInterrupted_'. * java/lang/natThread.cc (interrupt): Add comment. (join): Set `Prev' in joiner loop. Change various calls to `isInterrupted' to use `isInterrupted_'. * posix-threads.cc (_Jv_CondWait): Allways use pthread_cond_timedwait on linux. Set result to 0 on an interrupt. Test interrupted status of java Thread object directly. FLAG_INTERRUPTED: removed. (_Jv_ThreadStart): Throw OutOfMemoryError if pthread_create fails. (_Jv_ThreadInterrupt): Don't set FLAG_INTERRUPTED. (_Jv_InitThreads): Don't block SIGINT. (_Jv_ThreadWait): Don't configure SIGINT handler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31082 138bc75d-0d04-0410-961f-82ee72b054a4
* * mauve-libgcj: Added java.lang.reflect.Modifier.toString12.tromey1999-12-212-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31061 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Modifier.java (STRICT): New constant.tromey1999-12-203-3/+16
| | | | | | | | (isStrict): New method. (toString): Added `strict'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31040 138bc75d-0d04-0410-961f-82ee72b054a4
* Alpha Linux changes.green1999-12-203-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31030 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-12-19 Anthony Green <green@cygnus.com>green1999-12-207-256/+427
| | | | | | | | | | | | | | | | | | * libgcjdata.c: New file. * libgcj.spec.in: Use @LIBDATASTARTSPEC@ in startfile. * configure: Rebuilt. * configure.in (LIBDATASTARTSPEC): Force data with a known name into the program. * Makefile.in: Rebuilt. * Makefile.am: Build libgcjdata.a. * libgcj.spec.in: Use @FORCELIBGCCSPEC@ in startfile. * configure: Rebuilt. * configure.in (FORCELIBGCCSPEC): Force important parts of libgcc into every program. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31027 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Method.java (toString): Call getType iftromey1999-12-182-0/+6
| | | | | | | required. Partial fix for PR libgcj/111. From Per Bothner. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31002 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natPosixProcess.cc (startProcess): Don't use sprintf.tromey1999-12-172-4/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30996 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-12-16 Bryce McKinlay <bryce@albatross.co.nz>bryce1999-12-174-61/+47
| | | | | | | | | | | | | | | | | | | | * java/lang/Boolean.java (Boolean(String)): Set Value' to false on a null String constructor parameter. * java/net/natPlainSocketImpl.cc: Remove unneccessary sprintf calls for exception messages. BooleanClass: declare. (setOption): Use BooleanClass instead of Class.forName() for instanceof test. (bind): Cast 4th parameter of setsockopt to char *' for compatibility with older Solaris headers. * java/net/natPlainDatagramSocketImpl.cc: Remove unneccessary sprintf calls for exception messages. BooleanClass, IntegerClass: declare. (setOption): Use BooleanClass and IntegerClass, not Class.forName() for instanceof test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30988 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): Don't set user.name ortromey1999-12-156-232/+603
| | | | | | | | | | | | | | 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