aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)Author
2003-12-16Import of clean libtool-1.5.0/libltdl sources.mkoch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/FSF@74673 138bc75d-0d04-0410-961f-82ee72b054a4
2003-12-16This commit was manufactured by cvs2svn to create branch 'FSF'.(no author)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/FSF@74672 138bc75d-0d04-0410-961f-82ee72b054a4
2000-09-10Update to libtool multi-language branchaoliva
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/FSF@36292 138bc75d-0d04-0410-961f-82ee72b054a4
2000-09-10This commit was manufactured by cvs2svn to create branch 'FSF'.(no author)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/FSF@36291 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-17This commit was manufactured by cvs2svn to create branch 'FSF'.LIBTOOL_1_3_4(no author)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/FSF@31469 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-17Initial revisiontromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31468 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-17 * prims.cc (_Jv_PrimClass): Use `JV_STATE_NOTHING', not `0'.tromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31467 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-172000-01-14 Andrew Haley <aph@cygnus.com>aph
* 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-172000-01-16 Anthony Green <green@cygnus.com>green
* 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-162000-01-16 Jeff Sturm <jsturm@sigma6.com>tromey
* 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
2000-01-16*** empty log message ***green
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31448 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-16 * libjava.lang/pr83.out: New file.green
* 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
2000-01-13 * java/lang/natClassLoader.cc (_Jv_FindClass): Register `loader',tromey
not system loader, as initiating loader. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31395 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-11 * libjava.lang/klass.out: New file.tromey
* libjava.lang/klass.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31333 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-11 * java/lang/natSystem.cc (getpwuid_adaptor): New adaptor fortromey
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-102000-01-10 Jeff Sturm <jsturm@sigma6.com>tromey
* 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-092000-01-09 Anthony Green <green@cygnus.com>green
* 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
2000-01-07 * mauve-libgcj: Don't disable ClassTest.tromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31278 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-07 * java/lang/natClass.cc (getClasses): Wrote.tromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31276 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-06 * java/lang/natClass.cc (_getConstructors): Correctly checktromey
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
2000-01-06 * java/lang/natClass.cc (getMethod): Compute offset relative totromey
`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
2000-01-05 * java/lang/natClass.cc: Include <gcj/method.h>.tromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31249 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-05 * java/lang/Class.h (_getMethods): Correctly declare as private,tromey
not public. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31246 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-05 * java/lang/Class.h (_getMethods): Declare.tromey
* 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
2000-01-05 * java/lang/reflect/natMethod.cc (get_ffi_type): Test size oftromey
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
2000-01-05 * java/lang/Class.h (getSignature): Updated.tromey
* 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
2000-01-04 * java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesarywarrenl
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-042000-01-04 Tom Tromey <tromey@cygnus.com>tromey
* 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
2000-01-03 * libjava.mauve/mauve.exp (mauve_compute_uses): Let user selecttromey
specific tests to run. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31183 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-27Commit forgotten Thread.java patch.bryce
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31094 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-241999-12-22 Bryce McKinlay <bryce@albatross.co.nz>bryce
* 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
1999-12-21 * mauve-libgcj: Added java.lang.reflect.Modifier.toString12.tromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31061 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-20 * java/lang/reflect/Modifier.java (STRICT): New constant.tromey
(isStrict): New method. (toString): Added `strict'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31040 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-20Alpha Linux changes.green
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31030 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-201999-12-19 Anthony Green <green@cygnus.com>green
* 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
1999-12-18 * java/lang/reflect/Method.java (toString): Call getType iftromey
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
1999-12-17 * java/lang/natPosixProcess.cc (startProcess): Don't use sprintf.tromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30996 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-171999-12-16 Bryce McKinlay <bryce@albatross.co.nz>bryce
* 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
1999-12-15 * java/lang/natSystem.cc (init_properties): Don't set user.name ortromey
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
1999-12-09 * include/posix-threads.h (_Jv_PthreadCheckMonitor): Handle casetromey
where no recursive mutexes exist. Fixes PR libgcj/117. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30847 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-06 * include/jvm.h: Declare many functions withgreen
__attribute__((__malloc__)). * gcj/javaprims.h: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30794 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-03Updated the thanks list.green
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30764 138bc75d-0d04-0410-961f-82ee72b054a4
1999-12-02 * java/lang/natString.cc (equalsIgnoreCase): return false ifbryce
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
1999-12-021999-12-02 Bryce McKinlay <bryce@albatross.co.nz>bryce
* libjava/java/net/ServerSocket.java (ServerSocket): Bind to any interface if bindAddr is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30755 138bc75d-0d04-0410-961f-82ee72b054a4
1999-11-30 * posix-threads.cc (_Jv_MutexInit): Use _Jv_PthreadGetMutex to gettromey
mutex to initialize. Initialize `count' if required. Fixes PR libgcj/98. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30725 138bc75d-0d04-0410-961f-82ee72b054a4
1999-11-291999-11-27 Per Bothner <per@bothner.com>tromey
* exception.cc: Remove prototype declarations for malloc and free. These clash with recent versions of glibc, which specifies `throws ()' when __cplusplus is defined. Instead, #include <stdlib.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30709 138bc75d-0d04-0410-961f-82ee72b054a4
1999-11-25 * prims.cc (_Jv_NewObjectArray): Usetromey
_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
1999-11-231999-11-23 Bryce McKinlay <bryce@albatross.co.nz>bryce
* java/net/natPlainSocketImpl.cc: Fix potential buffer overruns in Exception messages. PR java.net/57. (bind): set SO_REUSEADDR before bind. * java/net/natPlainDatagramSocketImpl.cc: Fix potential buffer overruns. PR java.net/57. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30637 138bc75d-0d04-0410-961f-82ee72b054a4
1999-11-19sjlj jumbo patchtromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30591 138bc75d-0d04-0410-961f-82ee72b054a4
1999-11-18 * no-threads.cc (_Jv_ThreadStart): Use JvFail and not JvAssert.tromey
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30569 138bc75d-0d04-0410-961f-82ee72b054a4