summaryrefslogtreecommitdiff
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * include/java-interp.h (_Jv_JNI_conversion_call): Declare.tromey2000-02-025-13/+37
| | | | | | | | | | | * resolve.cc (ncode): Use _Jv_JNI_conversion_call when constructing the closure if the function is native. * jni.cc (_Jv_JNI_conversion_call): Now returns `void'. No longer a template function, #if'd out, or static. Include <java-interp.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31746 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jni.h (class _Jv_JNIEnv): Corrected calls using `...'.tromey2000-02-022-10/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31745 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/jni.h (class _Jv_JNIEnv): Added all C++ inline methods.tromey2000-02-012-5/+858
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31739 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (_Jv_JNI_PopLocalFrame): Leave loop when `n == NULL'.tromey2000-02-012-44/+43
| | | | | | | | | | | | | (_Jv_JNI_conversion_call): _Jv_JNI_PopLocalFrame will never leave `locals == NULL'. (wrap_value): New function. (_Jv_JNI_CallAnyMethodV): Use it. (_Jv_JNI_CallAnyMethodA): Likewise. (_Jv_JNI_GetField): Use wrap_value; removed specialized version. (_Jv_JNI_GetStaticField): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31736 138bc75d-0d04-0410-961f-82ee72b054a4
* * jni.cc (_Jv_JNI_GetField): Specialize for jobject.tromey2000-02-012-1/+21
| | | | | | | (_Jv_JNI_GetStaticField): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31735 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (_Jv_MallocUnchecked): New function.tromey2000-02-015-46/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (main_init): Call _Jv_JNI_Init. * include/jvm.h (_Jv_MallocUnchecked): Declare. (_Jv_JNI_Init): Declare. * jni.cc: Include Hashtable.h, OutOfMemoryError.h, Integer.h, <string.h>. (_Jv_JNI_NewGlobalRef): New function. (_Jv_JNI_DeleteGlobalRef): New function. (_Jv_JNI_DeleteLocalRef): New function. (_Jv_JNI_conversion_call): Initialize and clear local reference frame. (_Jv_JNI_NewLocalRef): New function. (struct _Jv_JNI_LocalFrame): New structure. (_Jv_JNI_PushLocalFrame): New function. (_Jv_JNI_EnsureLocalCapacity): New function. (FRAME_SIZE): New define. (_Jv_JNI_GetStringChars): Mark string, not characters. (_Jv_JNI_ReleaseStringChars): Unmark string, not characters. (_Jv_JNI_GetPrimitiveArrayElements): Mark array, not elements. (_Jv_JNI_ReleasePrimitiveArrayElements): Unmark array, not elements. (_Jv_JNI_DefineClass): Make return value a local ref. (_Jv_JNI_FindClass): Likewise. (_Jv_JNI_GetSuperclass): Likewise. (_Jv_JNI_ExceptionOccurred): Likewise. (_Jv_JNI_AllocObject): Likewise. (_Jv_JNI_GetObjectClass): Likewise. (_Jv_JNI_CallAnyMethodV): Likewise. (_Jv_JNI_NewString): Likewise. (_Jv_JNI_NewStringUTF): Likewise. (_Jv_JNI_NewObjectArray): Likewise. (_Jv_JNI_GetObjectArrayElement): Likewise. (_Jv_JNI_ToReflectedField): Likewise. (_Jv_JNI_ToReflectedMethod): Likewise. (_Jv_JNIFunctions): Updated table for new functions. (_Jv_JNI_Init): New function. (mark_for_gc): Wrote. (unmark_for_gc): Wrote. * include/jni.h (struct JNINativeInterface): Removed name from PopLocalFrame parameter. (class _Jv_JNIEnv): Added `locals' field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31730 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/convert/natIconv.cc (read): Minor fixes.green2000-01-312-5/+16
| | | | | | | (write): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31712 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/config.h.in: Rebuilt.tromey2000-01-3112-55/+295
| | | | | | | | | | | | | | | | | | | | * acconfig.h (HAVE_ICONV): Define. * configure: Rebuilt. * configure.in: Check for `iconv' function. * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try iconv if no specific encoder exists. * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try iconv if no specific encoder exists. * Makefile.in: Rebuilt. * Makefile.am (convert_source_files): Mention Input_iconv.java and Output_iconv.java. (nat_source_files): Added natIconv.cc. * gnu/gcj/convert/natIconv.cc: New file. * gnu/gcj/convert/Input_iconv.java: New file. * gnu/gcj/convert/Output_iconv.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31708 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/final_inner.java: New file.tromey2000-01-303-0/+26
| | | | | | | * libjava.lang/final_inner.out: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31704 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-01-283-2/+7
| | | | | | | * Makefile.am (LIBFFIINCS): Added MULTIBUILDTOP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31672 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcj/method.h (JvNumMethods): Moved from Class.h.tromey2000-01-267-92/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (JvGetFirstMethod): Likewise. * java/lang/Class.h (Object): Updated decl of _Jv_JNI_ToReflectedField. (Object): Added _Jv_JNI_ToReflectedMethod as a friend. * Makefile.in: Rebuilt. * Makefile.am (java/lang/reflect/Field.h): Added `jboolean' argument of _Jv_JNI_ToReflectedField. (java/lang/reflect/Constructor.h): Added _Jv_JNI_ToReflectedMethod as a friend. (java/lang/reflect/Method.h): Likewise. * include/jni.h (class _Jv_JNIEnv): Added `klass' member. Use __GCJ_JNI_IMPL__. (jweak): New typedef. (struct JNINativeInterface): Correctly declare remaining entries. * jni.cc: Include Class.h, ClassLoader.h. (_Jv_JNI_FindClass): New function. (_Jv_JNI_DefineClass): New function. (_Jv_JNI_conversion_call): New function. (_Jv_JNI_FindClass): Use current class loader to find class. (_Jv_JNI_ExceptionCheck): New function. (_Jv_JNI_FromReflectedField): Now static. (MethodClass): New define. (_Jv_JNI_FromReflectedMethod): New function. (_Jv_JNI_ToReflectedMethod): Likewise. Include Method.h. (_Jv_JNI_IsAssignableFrom): Renamed. (_Jv_JNI_GetStringRegion): New function. Include StringIndexOutOfBoundsException.h. (_Jv_JNI_GetStringUTFRegion): New function. (_Jv_JNIFunctions): Updated for new functions. (_Jv_JNI_GetPrimitiveArrayCritical): New function (_Jv_JNI_ReleasePrimitiveArrayCritical): Likewise. (_Jv_JNI_GetStringCritical): New function. (_Jv_JNI_ReleaseStringCritical): Likewise. (get_throwable): Removed. (GCJ_JV_JNIENV_FRIEND): Removed. (__GCJ_JNI_IMPL__): Define. Include method.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31638 138bc75d-0d04-0410-961f-82ee72b054a4
* * resolve.cc (get_ffi_type_from_signature): Handle case wheretromey2000-01-262-0/+15
| | | | | | | boolean is an int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31637 138bc75d-0d04-0410-961f-82ee72b054a4
* * interpret.cc (run): Don't call println.tromey2000-01-262-4/+15
| | | | | | | Don't include PrintStream.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31622 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcj/field.h (struct _Jv_Field): Use "jshort" as type fortromey2000-01-263-11/+13
| | | | | | | | | | | | | | nameIndex. Use "jint" as type for boffset. * java/lang/Class.h (struct _Jv_Method): Made accflags a _Jv_ushort. (Class): Likewise. Also changed type of method_count, vtable_method_count, size_in_bytes, field_count, static_field_count, interface_count. * gcj/array.h (__JArray): Made `length' a const jsize, not an int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31621 138bc75d-0d04-0410-961f-82ee72b054a4
* * 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