Christian Thalinger [Wed, 23 Apr 2008 07:26:52 +0000 (09:26 +0200)]
* src/vmcore/system.h (system_scandir) [__LINUX__]: The signature is different
on various OSs.
Christian Thalinger [Tue, 22 Apr 2008 15:19:15 +0000 (17:19 +0200)]
* src/vm/jit/verify/typecheck.c (typecheck): Fixed compiler warning.
Christian Thalinger [Tue, 22 Apr 2008 14:35:48 +0000 (16:35 +0200)]
* src/native/vm/java_lang_Class.c: Removed.
* src/native/vm/java_lang_Class.h: Likewise.
* src/native/vm/Makefile.am (libnativevm_la_SOURCES): Removed
java_lang_Class.[ch].
* src/cacaoh/dummy.c (builtin_instanceof): New function.
(reflect_constructor_new, reflect_field_new, reflect_method_new):
Likewise.
* src/native/jni.c (_Jv_JNI_IsAssignableFrom): Use new class
functions.
(_Jv_JNI_IsInstanceOf): Likewise.
* src/native/vm/cldc1.1/java_lang_Class.c (forName): Implemented
directly.
(isInstance): Use new class functions.
(isAssignableFrom): Likewise.
(getName): Likewise.
* src/native/vm/gnu/java_lang_VMClass.c (isInstance): Likewise.
(isAssignableFrom): Likewise.
(getName): Likewise.
(getDeclaredClasses): Likewise.
(getDeclaredFields): Likewise.
(getDeclaredMethods): Likewise.
(getDeclaredConstructors): Likewise.
(forName): Implemented directly.
(getDeclaredAnnotations): Likewise.
(getEnclosingConstructor): Use new class functions.
(getEnclosingMethod): Likewise.
* src/native/vm/gnu/java_lang_VMThrowable.c (getStackTrace): Likewise.
* src/native/vm/reflect.h (_REFLECT_H): Added.
* src/native/vm/sun/jvm.c (JVM_GetStackTraceElement): Use new class
functions.
(JVM_GetClassName): Likewise.
(JVM_GetClassDeclaredFields): Likewise.
(JVM_GetClassDeclaredMethods): Likewise.
(JVM_GetClassDeclaredConstructors): Likewise.
(JVM_LoadLibrary): Use TRACEJVMCALLSENTER and TRACEJVMCALLSEXIT.
(JVM_FindLibraryEntry): Likewise.
* src/vmcore/class.c (class_is_assignable_from): New function.
(class_is_instance): Likewise.
(class_get_declaredconstructors): Likewise.
(class_get_declaredfields): Likewise.
(class_get_declaredmethods): Likewise.
(class_get_enclosingconstructor): Likewise.
(class_get_enclosingmethod): Renamed to class_get_enclosingmethod_raw.
class_get_enclosingmethod): Likewise.
* src/vmcore/class.h (class_get_classname): New function.
Christian Thalinger [Tue, 22 Apr 2008 13:52:57 +0000 (15:52 +0200)]
* src/vm/jit/code.h (codeinfo): Moved stackframesize outside of
ENABLE_REPLACEMENT.
Christian Thalinger [Tue, 22 Apr 2008 12:41:06 +0000 (14:41 +0200)]
* Merged twisti branch.
Christian Thalinger [Tue, 22 Apr 2008 12:40:41 +0000 (14:40 +0200)]
Dummy commit to remove twisti branch.
* NEWS: Useless.
--HG--
branch : twisti
Christian Thalinger [Tue, 22 Apr 2008 12:39:14 +0000 (14:39 +0200)]
Dummy commit to create twisti branch.
* NEWS: Useless.
--HG--
branch : twisti
Christian Thalinger [Tue, 22 Apr 2008 12:36:25 +0000 (14:36 +0200)]
* Merged with tip.
Christian Thalinger [Tue, 22 Apr 2008 12:35:03 +0000 (14:35 +0200)]
Reverted
40d6392fb38f.
* src/native/vm/sun/jvm.c (JVM_FindLibraryEntry): Using HPI function
crashes.
Christian Thalinger [Tue, 22 Apr 2008 11:53:13 +0000 (13:53 +0200)]
* Merged executionstate branch.
Christian Thalinger [Tue, 22 Apr 2008 11:50:26 +0000 (13:50 +0200)]
* src/vm/jit/i386/darwin/md-os.c (md_replace_executionstate_read):
Renamed to md_executionstate_read.
(md_replace_executionstate_write): Renamed to md_executionstate_write.
--HG--
branch : executionstate-branch
Christian Thalinger [Tue, 22 Apr 2008 09:44:21 +0000 (11:44 +0200)]
* src/native/vm/sun/jvm.c (JVM_FindLibraryEntry): Use HPI.
Christian Thalinger [Tue, 22 Apr 2008 09:37:59 +0000 (11:37 +0200)]
* src/vm/jit/powerpc/linux/md-os.c (md_executionstate_write): Fixed
comment typo.
--HG--
branch : executionstate-branch
Christian Thalinger [Tue, 22 Apr 2008 09:31:46 +0000 (11:31 +0200)]
* src/vm/jit/powerpc/linux/md-os.c (md_replace_executionstate_read):
Renamed to md_executionstate_read.
(md_replace_executionstate_write): Renamed to md_executionstate_write.
--HG--
branch : executionstate-branch
Christian Thalinger [Tue, 22 Apr 2008 09:13:27 +0000 (11:13 +0200)]
* Merged with tip.
Christian Thalinger [Mon, 21 Apr 2008 11:58:21 +0000 (13:58 +0200)]
* src/native/jni.h (_Jv_jni_invokeNative): Removed.
Christian Thalinger [Sun, 20 Apr 2008 19:39:13 +0000 (21:39 +0200)]
* src/native/jni.c (jni_GetPrimitiveArrayCritical): Implemented
correcly.
(jni_ReleasePrimitiveArrayCritical): Likewise.
Christian Thalinger [Thu, 17 Apr 2008 13:01:07 +0000 (15:01 +0200)]
* src/vm/jit/linenumbertable.c (linenumbertable_create): Changed the
direction of the list.
(linenumbertable_list_entry_add): Likewise.
(linenumbertable_list_entry_add_inline_start): Likewise.
(linenumbertable_list_entry_add_inline_end): Likewise.
Christian Thalinger [Thu, 17 Apr 2008 11:15:20 +0000 (13:15 +0200)]
* src/vm/jit/emit-common.c (emit_label_bccz): Code restructured.
(emit_label): Likewise.
Christian Thalinger [Thu, 17 Apr 2008 07:46:21 +0000 (09:46 +0200)]
* src/vm/jit/patcher-common.c (patcher_resolve): New function.
* src/vm/jit/patcher-common.h (patcher_resolve): Export.
* src/vm/jit/codegen-common.c (codegen_finish): Use patcher_resolve.
Christian Thalinger [Wed, 16 Apr 2008 12:10:00 +0000 (14:10 +0200)]
* src/vm/jit/verify/typeinfo.h (typeinfo): Renamed to typeinfo_t.
(typeinfo_mergedlist): Renamed to typeinfo_mergedlist_t.
(typedescriptor): Renamed to typedescriptor_t.
* src/vm/jit/reg.h,
src/vm/jit/verify/typecheck-builtins.inc,
src/vm/jit/verify/typecheck-common.h,
src/vm/jit/verify/typecheck-fields.inc,
src/vm/jit/verify/typecheck-invoke.inc,
src/vm/jit/verify/typecheck-stackbased.c,
src/vm/jit/verify/typecheck.c,
src/vm/jit/verify/typeinfo.c,
src/vm/resolve.c,
src/vm/resolve.h: Likewise.
Christian Thalinger [Wed, 16 Apr 2008 08:52:10 +0000 (10:52 +0200)]
* src/vmcore/references.h (parseddesc): Renamed to parseddesc_t.
* src/vmcore/descriptor.c: Likewise.
Christian Thalinger [Wed, 16 Apr 2008 08:16:59 +0000 (10:16 +0200)]
* src/vmcore/linker.h (_vftbl): Renamed class to clazz.
* src/native/jni.c,
src/native/llni.h,
src/vm/builtin.c,
src/vm/exceptions.c,
src/vm/jit/replace.c,
src/vm/jit/trace.c,
src/vm/jit/verify/typeinfo.c,
src/vmcore/class.c,
src/vmcore/linker.c: Likewise.
Christian Thalinger [Wed, 16 Apr 2008 07:58:50 +0000 (09:58 +0200)]
* src/vmcore/loader.h (classloader): Renamed to classloader_t.
* src/native/jni.c,
src/native/native.c,
src/native/native.h,
src/native/vm/gnu/gnu_classpath_VMStackWalker.c,
src/native/vm/gnu/java_lang_VMClass.c,
src/native/vm/gnu/java_lang_VMClassLoader.c,
src/native/vm/gnu/java_lang_VMRuntime.c,
src/native/vm/java_lang_Class.c,
src/native/vm/sun/jvm.c,
src/native/vm/sun_misc_Unsafe.c,
src/vm/jit/stacktrace.c,
src/vm/jit/stacktrace.h,
src/vmcore/class.c,
src/vmcore/class.h,
src/vmcore/classcache.c,
src/vmcore/classcache.h,
src/vmcore/loader.c: Likewise.
Christian Thalinger [Wed, 16 Apr 2008 07:24:55 +0000 (09:24 +0200)]
* src/vmcore/loader.h (classbuffer): Renamed class to clazz.
* src/vmcore/annotation.c,
src/vmcore/class.c,
src/vmcore/field.c,
src/vmcore/loader.c,
src/vmcore/method.c,
src/vmcore/stackmap.c,
src/vmcore/suck.c,
src/vmcore/zip.c: Likewise.
Christian Thalinger [Tue, 15 Apr 2008 15:35:49 +0000 (17:35 +0200)]
* src/vm/jit/s390/patcher.c (patcher_invokeinterface): Forgot to
rename class to clazz.
Christian Thalinger [Tue, 15 Apr 2008 15:22:58 +0000 (17:22 +0200)]
* src/vmcore/field.h (fieldinfo): Renamed class to clazz.
* src/native/vm/reflect.c,
src/vm/access.c,
src/vm/jit/alpha/codegen.c,
src/vm/jit/alpha/patcher.c,
src/vm/jit/arm/codegen.c,
src/vm/jit/arm/patcher.c,
src/vm/jit/i386/codegen.c,
src/vm/jit/i386/patcher.c,
src/vm/jit/intrp/codegen.c,
src/vm/jit/intrp/disass.c,
src/vm/jit/intrp/patcher.c,
src/vm/jit/m68k/codegen.c,
src/vm/jit/m68k/patcher.c,
src/vm/jit/mips/codegen.c,
src/vm/jit/mips/patcher.c,
src/vm/jit/powerpc/codegen.c,
src/vm/jit/powerpc/patcher.c,
src/vm/jit/powerpc64/codegen.c,
src/vm/jit/powerpc64/patcher.c,
src/vm/jit/python.c,
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/patcher.c,
src/vm/jit/sparc64/codegen.c,
src/vm/jit/sparc64/patcher.c,
src/vm/jit/verify/typecheck-fields.inc,
src/vm/jit/x86_64/codegen.c,
src/vm/jit/x86_64/patcher.c,
src/vm/resolve.c,
src/vmcore/annotation.c,
src/vmcore/field.c,
src/vmcore/references.h: Likewise.
Christian Thalinger [Tue, 15 Apr 2008 14:37:18 +0000 (16:37 +0200)]
* src/vmcore/method.h (methodinfo): Renamed class to clazz.
* src/cacaoh/headers.c,
src/native/native.c,
src/native/vm/gnu/java_lang_VMThrowable.c,
src/native/vm/reflect.c,
src/native/vm/sun/jvm.c,
src/toolbox/logging.c,
src/vm/access.c,
src/vm/exceptions.c,
src/vm/jit/alpha/codegen.c,
src/vm/jit/alpha/patcher.c,
src/vm/jit/arm/codegen.c,
src/vm/jit/arm/patcher.c,
src/vm/jit/codegen-common.c,
src/vm/jit/i386/codegen.c,
src/vm/jit/i386/patcher.c,
src/vm/jit/inline/inline.c,
src/vm/jit/intrp/asmpart.c,
src/vm/jit/intrp/codegen.c,
src/vm/jit/intrp/disass.c,
src/vm/jit/intrp/patcher.c,
src/vm/jit/jit.c,
src/vm/jit/m68k/codegen.c,
src/vm/jit/m68k/patcher.c,
src/vm/jit/mips/codegen.c,
src/vm/jit/mips/patcher.c,
src/vm/jit/optimizing/dominators.c,
src/vm/jit/optimizing/lifetimes.c,
src/vm/jit/optimizing/lsra.c,
src/vm/jit/optimizing/ssa.c,
src/vm/jit/optimizing/ssa3.c,
src/vm/jit/optimizing/ssa_rename.c,
src/vm/jit/parse.c,
src/vm/jit/powerpc/codegen.c,
src/vm/jit/powerpc/patcher.c,
src/vm/jit/powerpc64/codegen.c,
src/vm/jit/powerpc64/patcher.c,
src/vm/jit/python.c,
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/md.c,
src/vm/jit/s390/patcher.c,
src/vm/jit/show.c,
src/vm/jit/sparc64/codegen.c,
src/vm/jit/sparc64/patcher.c,
src/vm/jit/stacktrace.c,
src/vm/jit/trace.c,
src/vm/jit/verify/icmds.c,
src/vm/jit/verify/typecheck-common.c,
src/vm/jit/verify/typecheck-fields.inc,
src/vm/jit/verify/typecheck-invoke.inc,
src/vm/jit/verify/typecheck-stackbased-gen.inc,
src/vm/jit/verify/typecheck-stackbased.c,
src/vm/jit/verify/typecheck-typeinferer-gen.inc,
src/vm/jit/verify/typecheck-variablesbased-gen.inc,
src/vm/jit/x86_64/codegen.c,
src/vm/jit/x86_64/patcher.c,
src/vm/resolve.c,
src/vmcore/annotation.c,
src/vmcore/linker.c,
src/vmcore/loader.c,
src/vmcore/method.c,
src/vmcore/references.h: Likewise.
Stefan Ring [Mon, 14 Apr 2008 21:24:46 +0000 (23:24 +0200)]
Merging darwin compile fixes -> trunk.
Stefan Ring [Mon, 14 Apr 2008 21:20:17 +0000 (23:20 +0200)]
Merging fixes.
Stefan Ring [Mon, 14 Apr 2008 21:17:33 +0000 (23:17 +0200)]
* src/native/vm/gnu/java_lang_VMThread.c (Java_java_lang_VMThread_getState):
Renamed thread_get_state because of a name conflict with mach headers.
* src/threads/thread.c (thread_print_info, threads_thread_is_alive):
Likewise.
* src/threads/thread.h: Likewise.
Stefan Ring [Mon, 14 Apr 2008 20:59:38 +0000 (22:59 +0200)]
Merging fixes.
Stefan Ring [Mon, 14 Apr 2008 20:57:17 +0000 (22:57 +0200)]
* src/threads/posix/thread-posix.c (threads_startup_thread): Compile fix.
Stefan Ring [Mon, 14 Apr 2008 20:08:31 +0000 (22:08 +0200)]
* src/threads/posix/thread-posix.c (sem_*): Fixed compile errors.
Christian Thalinger [Mon, 14 Apr 2008 14:51:50 +0000 (16:51 +0200)]
* src/threads/thread.c (thread_set_state_runnable): Moved DEBUGTHREADS
into if, so the output is correct.
(thread_set_state_waiting): Likewise.
(thread_set_state_timed_waiting): Likewise.
Christian Thalinger [Mon, 14 Apr 2008 14:49:00 +0000 (16:49 +0200)]
* src/threads/thread.c (threads_thread_state_runnable): Renamed to
thread_set_state_runnable.
(threads_thread_state_waiting): Renamed to thread_set_state_waiting.
(threads_thread_state_timed_waiting): Renamed to
thread_set_state_timed_waiting.
(thread_set_state_terminated): Renamed to thread_set_state_terminated.
* src/threads/thread.h: Likewise.
* src/threads/posix/thread-posix.c: Use new function names.
* src/vm/signal.c: Likewise.
Christian Thalinger [Mon, 14 Apr 2008 13:31:13 +0000 (15:31 +0200)]
* src/threads/posix/thread-posix.c (threads_sleep): Clear interrupted
flag in exception case.
Christian Thalinger [Mon, 14 Apr 2008 13:30:29 +0000 (15:30 +0200)]
* src/threads/thread.h (thread_get_state): New function.
(threads_thread_get_state): Removed.
* src/threads/thread.c (thread_print_info): Use thread_get_state.
(threads_thread_is_alive): Likewise.
(threads_thread_get_state): Removed.
* src/native/vm/gnu/java_lang_VMThread.c (getState): Implemented
directly.
Christian Thalinger [Mon, 14 Apr 2008 11:52:08 +0000 (13:52 +0200)]
* src/threads/posix/thread-posix.c (threads_sleep): Throw correct
exceptions, use stdint.h types
* src/threads/posix/thread-posix.h (threads_sleep): Use stdint.h
types.
Christian Thalinger [Mon, 14 Apr 2008 10:25:37 +0000 (12:25 +0200)]
* src/threads/posix/thread-posix.c (threads_detach_thread): Reset
threadgroup when thread has terminated.
Christian Thalinger [Mon, 14 Apr 2008 10:12:49 +0000 (12:12 +0200)]
* src/native/vm/sun/jvm.c (JVM_IsInterrupted): Handle
clear_interrupted.
Christian Thalinger [Mon, 14 Apr 2008 10:01:16 +0000 (12:01 +0200)]
* src/threads/thread.c (threads_attach_current_thread)
[ENABLE_JAVASE]: Set group to NULL, as it might contain any value.
Christian Thalinger [Mon, 14 Apr 2008 09:52:42 +0000 (11:52 +0200)]
* src/threads/thread.c (threads_attach_current_thread): Set the thread
data-structure in the TSD.
Christian Thalinger [Mon, 14 Apr 2008 09:51:33 +0000 (11:51 +0200)]
* src/threads/posix/thread-posix.c (threads_startup_thread): Renamed
variable thread to t.
Christian Thalinger [Mon, 14 Apr 2008 08:41:41 +0000 (10:41 +0200)]
* src/native/jni.c (JNI_NEW_ARRAY): Fixed typo for short array.
Christian Thalinger [Sun, 13 Apr 2008 20:58:42 +0000 (22:58 +0200)]
* src/vm/access.c [ENABLE_JAVASE] (access_check_field): Added #ifdef.
[ENABLE_JAVASE] (access_check_method): Likewise.
* src/vm/access.h: Likewise.
Christian Thalinger [Sun, 13 Apr 2008 12:57:08 +0000 (14:57 +0200)]
* src/native/vm/sun/hpi.c (hpi_initialize): Fixed compiler warning.
(hpi_initialize_socket_library): Likewise.
Christian Thalinger [Sun, 13 Apr 2008 12:19:20 +0000 (14:19 +0200)]
* src/vm/jit/stacktrace.c (stacktrace_print_entry): Print newline for
builtins.
Christian Thalinger [Fri, 11 Apr 2008 15:10:25 +0000 (17:10 +0200)]
* Commited with tip.
Christian Thalinger [Fri, 11 Apr 2008 15:07:55 +0000 (17:07 +0200)]
* src/threads/posix/thread-posix.c (threads_sleep): Removed
threads_check_if_interrupted_and_reset usage and use new functions.
Christian Thalinger [Fri, 11 Apr 2008 14:44:01 +0000 (16:44 +0200)]
* src/native/vm/gnu/java_lang_reflect_VMField.c
(native/include/java_lang_reflect_Field.h): Added include.
Christian Thalinger [Fri, 11 Apr 2008 09:19:40 +0000 (11:19 +0200)]
* src/threads/thread.h (thread_set_interrupted): New function.
* src/threads/posix/thread-posix.c
(threads_check_if_interrupted_and_reset): Removed.
* src/threads/posix/thread-posix.h: Likewise.
* src/native/vm/gnu/java_lang_VMThread.c (interrupted): Use new
function.
Christian Thalinger [Fri, 11 Apr 2008 08:54:48 +0000 (10:54 +0200)]
* src/threads/thread.h (thread_is_interrupted): New function.
* src/threads/posix/thread-posix.c
(threads_thread_has_been_interrupted): Removed.
* src/threads/posix/thread-posix.h: Likewise.
* src/native/vm/gnu/java_lang_VMThread.c (isInterrupted): Use new
function.
* src/native/vm/sun/jvm.c (JVM_IsInterrupted): Likewise.
Christian Thalinger [Fri, 11 Apr 2008 08:43:18 +0000 (10:43 +0200)]
* src/threads/none/thread-none.h: Fixed define name.
* src/threads/posix/thread-posix.h: Likewise.
* src/threads/thread.h: Likewise.
Christian Thalinger [Thu, 10 Apr 2008 15:40:16 +0000 (17:40 +0200)]
* src/vm/jit/arm/asmpart.S (asm_cacheflush) [__ARM_EABI__]: Use
syscall number 0.
Christian Thalinger [Thu, 10 Apr 2008 14:47:00 +0000 (16:47 +0200)]
src/vm/jit/stacktrace.c (stacktrace_print_entry): New function.
(stacktrace_print_current): Likewise.
[ENABLE_THREADS] (stacktrace_print_of_thread): Likewise.
[!ENABLE_THREADS] (_no_threads_stackframeinfo): Removed.
* src/vm/jit/stacktrace.h: Likewise.
* src/Makefile.am [ENABLE_THREADS] (THREADS_DIR): Removed.
(SUBDIRS): Added threads.
* src/cacao/Makefile.am [ENABLE_THREADS] (THREAD_LIB): Removed.
(libjvm_la_LIBADD): Removed $(THREAD_LIB), added
$(top_builddir)/src/threads/libthreads.la.
* src/threads/Makefile.am [!ENABLE_THREADS]: Recurse into none/.
* src/threads/none/Makefile.am (EXTRA_DIST): Removed.
(AM_CPPFLAGS): Added.
(LIBS): Likewise.
(noinst_LTLIBRARIES): Likewise.
(libthreadsnone_la_SOURCES): Likewise.
* src/threads/none/thread-none.c: New file.
* src/threads/none/thread-none.h (_no_threads_stackframeinfo): Export.
* src/threads/posix/Makefile.am (noinst_LTLIBRARIES): Renamed library
from libposix to libthreadsposix.
(libposix_la_SOURCES): Renamed to libthreadsposix_la_SOURCES.
* src/threads/thread.c (threads_dump): Use stacktrace_print_of_thread.
(threads_thread_print_stacktrace): Removed.
(threads_print_stacktrace): Likewise.
* src/threads/thread.h (threads_thread_print_stacktrace): Likewise.
(threads_print_stacktrace): Likewise.
* src/vm/jit/methodtree.c (methodtree_find): Use
stacktrace_print_current.
* src/vm/jit/s390/md.c (md_dump_context): Likewise.
Christian Thalinger [Thu, 10 Apr 2008 14:37:54 +0000 (16:37 +0200)]
* src/vm/jit/arm/linux/md-os.c (md_signal_handler_sigill): Use
vm_abort instead of assert.
Christian Thalinger [Thu, 10 Apr 2008 14:35:49 +0000 (16:35 +0200)]
* src/vm/exceptions.c (exceptions_print_stacktrace) [!NDEBUG]:
#ifdef'ed class_print.
Christian Thalinger [Thu, 10 Apr 2008 14:20:07 +0000 (16:20 +0200)]
* src/threads/thread.h (thread_current_is_attached): Check if t is
NULL and return false in this case.
Christian Thalinger [Mon, 7 Apr 2008 21:03:28 +0000 (23:03 +0200)]
* src/classes/Makefile.am (VM_JAVA_FILES_GNU): Added new VM interface
files.
* src/native/include/Makefile.am (JAVASE_HEADER_FILES): Likewise.
* src/classes/gnu/gnu/java/lang/CPStringBuilder.java,
src/classes/gnu/gnu/java/lang/VMCPStringBuilder.java,
src/classes/gnu/java/lang/reflect/Modifier.java: New file.
* src/classes/gnu/java/lang/reflect/Constructor.java,
src/classes/gnu/java/lang/reflect/Field.java,
src/classes/gnu/java/lang/reflect/Method.java: Updated.
* src/classes/gnu/java/lang/reflect/VMConstructor.java,
src/classes/gnu/java/lang/reflect/VMField.java,
src/classes/gnu/java/lang/reflect/VMMethod.java: New file.
* src/native/jni.c (FromReflectedMethod): Adapted to new VM interface.
(FromReflectedField): Likewise.
* src/native/vm/gnu/Makefile.am (libnativevmcore_la_SOURCES): Removed
java_lang_reflect_Constructor.c, java_lang_reflect_Field.c,
java_lang_reflect_Method.c, added gnu_java_lang_VMCPStringBuilder.c,
java_lang_reflect_VMConstructor.c, java_lang_reflect_VMField.c,
java_lang_reflect_VMMethod.c.
* src/native/vm/gnu/java_lang_reflect_Constructor.c,
src/native/vm/gnu/java_lang_reflect_Field.c,
src/native/vm/gnu/java_lang_reflect_Method.c: Removed.
* src/native/vm/gnu/gnu_java_lang_VMCPStringBuilder.c,
src/native/vm/gnu/java_lang_reflect_VMConstructor.c,
src/native/vm/gnu/java_lang_reflect_VMField.c,
src/native/vm/gnu/java_lang_reflect_VMMethod.c: New file.
* src/native/vm/nativevm.c (nativevm_preinit): Added
_Jv_gnu_java_lang_VMCPStringBuilder_init.
* src/native/vm/nativevm.h: Likewise.
* src/native/vm/reflect.c (reflect_constructor_new): Adapted to new VM
interface.
(reflect_field_new): Likewise.
(reflect_method_new): Likewise.
* src/native/vm/sun_misc_Unsafe.c (objectFieldOffset): Likewise.
(staticFieldBase): Likewise.
* src/vmcore/class.c [WITH_CLASSPATH_GNU]
(class_java_lang_reflect_VMConstructor)
(class_java_lang_reflect_VMField, class_java_lang_reflect_VMMethod):
New global variable.
* src/vmcore/class.h: Likewise.
* src/vmcore/linker.c (linker_init): Added new classes.
* src/vmcore/loader.c (loader_init): Likewise.
* src/vmcore/utf8.c [WITH_CLASSPATH_GNU]
(utf_java_lang_reflect_VMConstructor, utf_java_lang_reflect_VMField)
(utf_java_lang_reflect_VMMethod): New global variable.
* src/vmcore/utf8.h: Likewise.
--HG--
rename : src/native/vm/gnu/java_lang_reflect_Constructor.c => src/native/vm/gnu/java_lang_reflect_VMConstructor.c
rename : src/native/vm/gnu/java_lang_reflect_Field.c => src/native/vm/gnu/java_lang_reflect_VMField.c
rename : src/native/vm/gnu/java_lang_reflect_Method.c => src/native/vm/gnu/java_lang_reflect_VMMethod.c
Christian Thalinger [Mon, 7 Apr 2008 11:41:46 +0000 (13:41 +0200)]
* src/native/vm/java_lang_reflect_Constructor.c: Removed.
* src/native/vm/java_lang_reflect_Constructor.h: Likewise.
* src/native/vm/java_lang_reflect_Method.c: Likewise.
* src/native/vm/java_lang_reflect_Method.h: Likewise.
* src/native/jni.c (_Jv_jni_invokeNative): Likewise.
* src/native/vm/Makefile.am (JAVA_LANG_REFLECT_CONSTRUCTOR_SOURCES):
Removed.
(JAVA_LANG_REFLECT_METHOD_SOURCES): Likewise.
(libnativevm_la_SOURCES): Removed
JAVA_LANG_REFLECT_CONSTRUCTOR_SOURCES and
JAVA_LANG_REFLECT_METHOD_SOURCES.
* src/native/vm/reflect.c (reflect_invoke): New function.
(reflect_constructor_newinstance): Likewise.
(reflect_method_invoke): Likewise.
* src/native/vm/reflect.h (reflect_constructor_newinstance): Export.
(reflect_method_invoke): Likewise.
* src/native/vm/gnu/java_lang_reflect_Constructor.c (constructNative):
Use reflect_constructor_newinstance.
* src/native/vm/gnu/java_lang_reflect_Method.c (invokeNative): Use
reflect_method_invoke.
* src/native/vm/sun/jvm.c (JVM_InvokeMethod): Use
reflect_method_invoke.
(JVM_NewInstanceFromConstructor): Use reflect_constructor_newinstance.
Christian Thalinger [Mon, 7 Apr 2008 09:30:43 +0000 (11:30 +0200)]
* src/native/vm/gnu/java_lang_reflect_Constructor.c (getSignature):
Implemented directly.
* src/native/vm/java_lang_reflect_Constructor.c (getSignature): Removed.
* src/native/vm/java_lang_reflect_Constructor.h: Likewise.
Christian Thalinger [Mon, 7 Apr 2008 09:14:20 +0000 (11:14 +0200)]
* src/native/vm/gnu/java_lang_reflect_Constructor.c
(getExceptionTypes): Implemented directly.
* src/native/vm/java_lang_reflect_Constructor.c (getExceptionTypes): Removed.
* src/native/vm/java_lang_reflect_Constructor.h: Likewise.
Christian Thalinger [Mon, 7 Apr 2008 09:04:38 +0000 (11:04 +0200)]
* src/native/vm/gnu/java_lang_reflect_Constructor.c
(getParameterTypes): Implemented directly.
* src/native/vm/java_lang_reflect_Constructor.c (getParameterTypes): Removed.
* src/native/vm/java_lang_reflect_Constructor.h: Likewise.
Christian Thalinger [Mon, 7 Apr 2008 08:55:15 +0000 (10:55 +0200)]
* src/native/vm/gnu/java_lang_reflect_Constructor.c
(getModifiersInternal): Implemented directly.
* src/native/vm/java_lang_reflect_Constructor.c (getModifiers): Removed.
* src/native/vm/java_lang_reflect_Constructor.h: Likewise.
Christian Thalinger [Thu, 3 Apr 2008 12:22:12 +0000 (14:22 +0200)]
* src/threads/posix/threadlist-posix.c: Removed.
* src/threads/posix/Makefile.am (libposix_la_SOURCES): Removed
threadlist-posix.c.
* src/threads/threadlist.c (threads/mutex.h): Added.
(threadlist_mutex): New global variable.
(threadlist_init): Initialize mutex.
(threadlist_lock, threadlist_unlock): New functions.
Christian Thalinger [Wed, 2 Apr 2008 13:34:17 +0000 (15:34 +0200)]
* src/vm/exceptions.c (exceptions_new_class_utf): Check for c == NULL
when VM is initializing.
Christian Thalinger [Wed, 2 Apr 2008 12:40:25 +0000 (14:40 +0200)]
* src/native/vm/sun/jvm.c (TRACEJVMCALLSENTER, TRACEJVMCALLSEXIT): New
macro.
(JVM_GetClassLoader): Trace return value.
Christian Thalinger [Wed, 2 Apr 2008 09:59:24 +0000 (11:59 +0200)]
* src/vm/jit/stacktrace.c (stacktrace_get): Correctly skip
Throwable.init() functions.
(stacktrace_stackframeinfo_fill): Changed debugging messge.
Christian Thalinger [Wed, 2 Apr 2008 08:59:16 +0000 (10:59 +0200)]
* src/threads/thread.c (threads_thread_print_info): Renamed to
thread_print_info, removed assert on THREAD_STATE_NEW but print as
much info as possible.
(threads_dump): Use new functio name.
* src/threads/thread.h: Likewise.
Christian Thalinger [Wed, 2 Apr 2008 08:24:24 +0000 (10:24 +0200)]
* Merged with tip.
Christian Thalinger [Wed, 2 Apr 2008 07:59:32 +0000 (09:59 +0200)]
* src/mm/Makefile.am: Changed copyright.
Christian Thalinger [Wed, 2 Apr 2008 07:34:11 +0000 (09:34 +0200)]
* src/vm/string.c (javastring_safe_new_from_utf8): Don't assert on
text is NULL, but return NULL. Checked with jconsole.
Michael Starzinger [Tue, 1 Apr 2008 23:43:27 +0000 (01:43 +0200)]
* src/threads/Makefile.am: Added mutex.h.
* src/threads/posix/Makefile.am: Added mutex-posix.h.
* src/threads/mutex.h: Added new file.
* src/threads/posix/mutex-posix.h: Likewise.
(mutex_init): Implemented inline wrapper function.
(mutex_lock): Likewise.
(mutex_unlock): Likewise.
(mutex_destroy): Likewise.
* src/cacao/cacao.c,
src/native/jvmti/cacaodbg.c,
src/native/jvmti/cacaodbg.h,
src/native/jvmti/jvmti.c,
src/threads/posix/generic-primitives.h,
src/threads/posix/lock.c,
src/threads/posix/lock.h,
src/threads/posix/thread-posix.c,
src/threads/posix/thread-posix.h,
src/threads/posix/threadlist-posix.c,
src/vm/vm.c: Included mutex.h and used wrapper functions
throughout the whole file.
Christian Thalinger [Tue, 1 Apr 2008 14:56:24 +0000 (16:56 +0200)]
* src/threads/none/threads.h: Renamed from here...
* src/threads/none/thread-none.h: ...to here.
* src/threads/thread.h: Fixed include.
--HG--
rename : src/threads/none/threads.h => src/threads/none/thread-none.h
Christian Thalinger [Tue, 1 Apr 2008 14:47:19 +0000 (16:47 +0200)]
* src/native/jni.c (_Jv_JNI_FindClass): Renamed to jni_FindClass, call
resolve_handle_pending_exception in exception case.
(_Jv_JNI_ExceptionDescribe): Renamed to jni_ExceptionDescribe, use
exceptions_print_stacktrace.
(_Jv_JNI_ExceptionClear): Renamed to jni_ExceptionClear.
* src/threads/thread.h (threads_thread_get_object): Renamed to
thread_get_object.
(threads_thread_set_object): Renamed to thread_set_object.
(threads_get_current_object): Renamed to thread_get_current_object.
(thread_is_attached): Use new function names.
(thread_fprint_name): Export.
* src/threads/none/threads.h (threads_get_current_object): Renamed to
thread_get_current_object.
* src/native/vm/cldc1.1/java_lang_Thread.c (currentThread): Use new
function names.
* src/native/vm/gnu/java_lang_VMThread.c (currentThread): Likewise.
* src/native/vm/sun/jvm.c (JVM_CurrentThread): Likewise.
* src/threads/posix/thread-posix.c (threads_startup_thread): Likewise.
(threads_detach_thread): Likewise.
* src/threads/thread.c (thread_create_object): Likewise.
(thread_free): Likewise.
(threads_thread_start): Likewise.
(thread_fprint_name): New function.
(threads_thread_print_info): Use thread_fprint_name.
* src/vm/exceptions.c (exceptions_print_stacktrace): Implemented
(mostly) as in HotSpot.
Christian Thalinger [Tue, 1 Apr 2008 14:30:22 +0000 (16:30 +0200)]
* src/vm/string.c (javastring_print): Renamed to javastring_fprint and
added a stream argument.
* src/vm/stringlocal.h: Likewise.
Christian Thalinger [Tue, 1 Apr 2008 14:08:23 +0000 (16:08 +0200)]
* src/vm/vm.c (vm_run) [ENABLE_THREADS]: #ifdef'ed threading stuff.
Christian Thalinger [Tue, 1 Apr 2008 13:31:55 +0000 (15:31 +0200)]
* configure.ac (AC_CHECK_HEADERS): Added stdio.h.
Christian Thalinger [Tue, 1 Apr 2008 11:49:45 +0000 (13:49 +0200)]
* src/threads/thread.c (thread_create_object): New function.
(thread_method_init): Made static.
(threadgroup_system, threadgroup_main): Changed type to java_handle_t.
(thread_create_initial_threadgroup): Chnaged type of
threadgroup_system and threadgroup_main.
(thread_create_initial_thread): Use thread_create_object.
(threads_thread_start_internal): Likewise.
(threads_attach_current_thread): Likewise.
(threads_thread_print_info): Use thread_is_daemon.
* src/threads/thread.h (thread_method_init): Removed.
(thread_is_daemon): New function.
* src/threads/threadlist.c (threadlist_get_non_daemons): Use
thread_is_daemon.
Christian Thalinger [Tue, 1 Apr 2008 09:10:03 +0000 (11:10 +0200)]
* src/threads/thread.c (threads_thread_new): Renamed to thread_new and
made static.
(threads_thread_free): Renamed to thread_free.
(threads_thread_start_internal): Use new function names.
(threads_thread_start): Likewise.
(threads_attach_current_thread): Likewise.
* src/threads/thread.h (threads_thread_new): Removed.
(threads_thread_free): Renamed to thread_free.
* src/threads/posix/thread-posix.c (threads_detach_thread): Use new
function names.
Christian Thalinger [Tue, 1 Apr 2008 08:24:53 +0000 (10:24 +0200)]
* src/threads/posix/threads.c: Renamed from here...
* src/threads/posix/threads.h,
src/threads/threads-common.c,
src/threads/threads-common.h: Likewise.
* src/threads/posix/thread-posix.c: ...to here.
* src/threads/posix/thread-posix.h,
src/threads/thread.c,
src/threads/thread.h: Likewise.
* src/mm/cacao-gc/gc.c,
src/mm/cacao-gc/gc.h,
src/mm/cacao-gc/rootset.c,
src/mm/cacao-gc/rootset.h,
src/mm/codememory.c,
src/mm/dumpmemory.c,
src/mm/memory.c,
src/native/jni.c,
src/native/jvmti/cacaodbg.c,
src/native/jvmti/cacaodbg.h,
src/native/jvmti/jvmti.c,
src/native/llni.c,
src/native/llni.h,
src/native/localref.c,
src/native/vm/cldc1.1/java_lang_Thread.c,
src/native/vm/gnu/java_lang_VMThread.c,
src/native/vm/sun/jvm.c,
src/threads/Makefile.am,
src/threads/posix/lock.c,
src/threads/posix/Makefile.am,
src/threads/threadlist.c,
src/threads/threadlist.h,
src/toolbox/logging.c,
src/vm/builtin.c,
src/vm/exceptions.c,
src/vm/finalizer.c,
src/vm/jit/alpha/linux/md-os.c,
src/vm/jit/arm/linux/md-os.c,
src/vm/jit/codegen-common.c,
src/vm/jit/i386/darwin/md-os.c,
src/vm/jit/i386/linux/md-os.c,
src/vm/jit/inline/inline.c,
src/vm/jit/intrp/asmpart.c,
src/vm/jit/intrp/engine.c,
src/vm/jit/jit.c,
src/vm/jit/methodtree.c,
src/vm/jit/optimizing/profile.c,
src/vm/jit/optimizing/recompile.c,
src/vm/jit/powerpc/codegen.c,
src/vm/jit/powerpc/darwin/md-os.c,
src/vm/jit/powerpc/linux/md-os.c,
src/vm/jit/powerpc64/linux/md-os.c,
src/vm/jit/replace.c,
src/vm/jit/s390/md.c,
src/vm/jit/show.c,
src/vm/jit/stacktrace.c,
src/vm/jit/trace.c,
src/vm/jit/x86_64/freebsd/md-os.c,
src/vm/jit/x86_64/linux/md-os.c,
src/vm/signal.c,
src/vm/vm.c: Changed filename occurrences.
--HG--
rename : src/threads/posix/threads.c => src/threads/posix/thread-posix.c
rename : src/threads/posix/threads.h => src/threads/posix/thread-posix.h
rename : src/threads/threads-common.c => src/threads/thread.c
rename : src/threads/threads-common.h => src/threads/thread.h
Christian Thalinger [Mon, 31 Mar 2008 15:31:53 +0000 (17:31 +0200)]
Fixes PR59.
* src/native/jni.c (_Jv_JNI_Get##name##Field): Added TRACEJNICALLS.
(_Jv_JNI_Set##name##Field): Likewise.
(_Jv_JNI_CallStaticObjectMethod): Likewise.
(_Jv_JNI_CallStaticObjectMethodV): Likewise.
(_Jv_JNI_CallStaticObjectMethodA): Likewise.
(_Jv_JNI_CallStaticVoidMethod): Likewise.
(_Jv_JNI_CallStaticVoidMethodV): Likewise.
(_Jv_JNI_CallStaticVoidMethodA): Likewise.
(_Jv_JNI_GetArrayLength): Likewise.
(_Jv_JNI_Get##name##ArrayElements): Likewise.
(_Jv_JNI_Get##name##ArrayRegion): Likewise.
(jni_attach_current_thread): Check correctly if current thread is
already attached.
(_Jv_JNI_DetachCurrentThread): Check if current thread is already
detached.
* src/threads/posix/threads.c (threads_detach_thread): Likewise.
* src/threads/threads-common.c (threads_init) [WITH_CLASSPATH_SUN]:
Resolve correct thread init method.
(thread_create_object): New function, but not yet implemented.
(thread_create_initial_thread): Lot of changes.
* src/threads/threads-common.h (thread_is_attached): New function.
(thread_current_is_attached): Likewise.
* src/vm/global.h (STR): New macro, stolen from OpenJDK.
* src/vm/vm.c (vm_run): Detach the main thread before calling
vm_destroy.
(vm_destroy): Attach the main thread again as DestroyJavaVM thread.
Christian Thalinger [Mon, 31 Mar 2008 14:54:27 +0000 (16:54 +0200)]
* src/threads/posix/threads.c (threads_set_current_threadobject):
Moved from here...
(threads_get_current_threadobject): Likewise.
* src/threads/posix/threads.h (thread_get_current): ...to here.
(thread_set_current): Likewise.
* src/threads/threads-common.h (threads_set_current_threadobject):
Removed.
* src/native/jni.c (jni_attach_current_thread): Use new function name.
(_Jv_JNI_DetachCurrentThread): Likewise.
(_Jv_JNI_GetEnv): Likewise.
* src/native/jvmti/cacaodbg.c (jvmti_get_current_thread): Likewise.
* src/threads/threads-common.c (threads_preinit): Likewise.
Christian Thalinger [Mon, 31 Mar 2008 10:16:10 +0000 (12:16 +0200)]
* configure.ac (AC_CHECK_WITH_HPI_MD_H): Added.
(AC_CHECK_WITH_HPI_H): Likewise.
* m4/classpath.m4 (AC_CHECK_WITH_CLASSPATH_CLASSES): Changed default
for OpenJDK.
(AC_CHECK_WITH_CLASSPATH_LIBDIR): Likewise.
(AC_CHECK_WITH_JNI_MD_H): Likewise.
(AC_CHECK_WITH_JNI_H): Likewise.
* m4/hpi.m4: New file.
* src/native/vm/nativevm.c (nativevm_preinit): Call hpi_initialize.
* src/native/vm/sun/Makefile.am (libnativevmcore_la_SOURCES): Added
hpi.[ch].
* src/native/vm/sun/hpi.c: New file.
* src/native/vm/sun/hpi.h: Likewise.
* src/native/vm/sun/jvm.c (JVM_GetLastErrorString): Use HPI function.
(JVM_NativePath): Likewise.
(JVM_Open): Likewise.
(JVM_Close): Likewise.
(JVM_Read): Likewise.
(JVM_Write): Likewise.
(JVM_Available): Likewise.
(JVM_Lseek): Likewise.
(JVM_SetLength): Likewise.
(JVM_Sync): Likewise.
(JVM_InitializeSocketLibrary): Call hpi_initialize_socket_library.
* src/vmcore/options.c (opt_TraceHPI): Added global variable.
(options_xx): Handle new option.
* src/vmcore/options.h: Likewise.
Christian Thalinger [Mon, 31 Mar 2008 07:24:41 +0000 (09:24 +0200)]
* src/native/vm/nativevm.c (nativevm_preinit) [WITH_CLASSPATH_SUN]:
Check for native_library_open error.
Edwin Steiner [Sat, 29 Mar 2008 15:38:42 +0000 (16:38 +0100)]
* src/vm/jit/stack.c (stack_analyse): Clean up: removed an obsolete
assignment to copy->varkind. (It is set in SET_TEMPVAR anyway.)
Edwin Steiner [Sat, 29 Mar 2008 15:34:00 +0000 (16:34 +0100)]
* src/vm/jit/stack.c (stack_analyse): Use the javaindex instead of the
CACAO varindex for checking conflicts with local variables. While there
is no real conflict between CACAO variables of different types, the
register allocator makes the implicit assumption that variables
corresponding to the same javaindex may be coalesced. As long as this
assumption is made, we must consider variables with the same javaindex
as conflicting (and also check against that in the verifier).
This fixes [Bug 49] VerifyError with obfuscated classes.
Edwin Steiner [Sat, 29 Mar 2008 15:25:23 +0000 (16:25 +0100)]
* src/vm/jit/stack.c (stack_analyse): Clean up the ICMD_IINC case so
it uses the javaindex variable. (No functional change.)
Edwin Steiner [Sat, 29 Mar 2008 15:15:22 +0000 (16:15 +0100)]
* src/vm/jit/jit.h (jitdata): Added reverselocalmap.
* src/vm/jit/parse.c (parse): Fill the reverselocalmap.
* src/vm/jit/verify/typecheck-common.h (verifier_state): Removed the
reverselocalmap.
* src/vm/jit/verify/typecheck.c (typecheck_invalidate_locals): Use
jd->reverselocalmap.
(typecheck): Likewise.
Edwin Steiner [Sat, 29 Mar 2008 15:09:30 +0000 (16:09 +0100)]
* tests/regression/jasmin/test_load_store_conflict_different_types.j:
New test exposing the bug in conflict checking for local variables
([Bug 49] VerifyError with obfuscated classes).
* tests/regression/jasmin/Makefile.am: Added new test.
Edwin Steiner [Sat, 29 Mar 2008 15:06:00 +0000 (16:06 +0100)]
* contrib/vmlog/vmlog_cacao.h: Removed #include of a header that does
not exist anymore.
Christian Thalinger [Thu, 27 Mar 2008 14:00:48 +0000 (15:00 +0100)]
* src/threads/posix/threads.c (threads_attach_current_thread):
Removed.
* src/threads/posix/threads.h: Likewise.
* src/threads/threads-common.c (threads_attach_current_thread): Added.
* src/threads/threads-common.h: Likewise.
Christian Thalinger [Thu, 27 Mar 2008 10:43:29 +0000 (11:43 +0100)]
* src/native/vm/nativevm.c (nativevm_preinit): Changed signature, use
system_* functions.
(nativevm_init): Changed signature.
* src/native/vm/nativevm.h: Likewise.
* src/native/vm/sun/jvm.c (JVM_InitProperties): Added
sun.nio.MaxDirectMemorySize handling.
* src/vm/global.h (PRINTF_FORMAT_INT64_T): Added define for int64_t
formater.
* src/vm/initialize.c (initialize_init): New function.
* src/vm/initialize.h: Likewise.
* src/vm/vm.c (vm_create): Added initialize_init.
* src/vmcore/options.c (opt_MaxDirectMemorySize): New global variable.
(options_xx): Use system_* functions.
* src/vmcore/options.h: Likewise.
Christian Thalinger [Thu, 27 Mar 2008 10:23:52 +0000 (11:23 +0100)]
* configure.ac (AC_CHECK_FUNCS): Added strcat, strcpy.
* src/vmcore/system.h (system_atoi): New function.
(system_strcat): Likewise.
(system_strcpy): Likewise.
Christian Thalinger [Wed, 26 Mar 2008 16:57:56 +0000 (17:57 +0100)]
* src/vmcore/loader.c (load_class_from_classbuffer_intern): Also call
resolve_handle_pending_exception for super interfaces.
* tests/regression/bugzilla/PR58.java (test): Renamed to
testSuperClass.
(testSuperInterface): New method.
Christian Thalinger [Wed, 26 Mar 2008 16:14:46 +0000 (17:14 +0100)]
* src/cacaoh/dummy.c (resolve_handle_pending_exception): New function.
* src/native/vm/sun/jvm.c (JVM_FindClassFromClassLoader): Added assert
on throwError.
(JVM_DoPrivileged): Throw PrivilegedActionException only if the
exception is an instance of java.lang.Exception but not of
java.lang.RuntimeException.
* src/vm/exceptions.c (exceptions_new_class_utf): New function.
(exceptions_throw_class_utf): Likewise.
(exceptions_throw_classnotfoundexception): Use
exceptions_throw_class_utf.
(exceptions_classnotfoundexception_to_noclassdeffounderror): Removed.
* src/vm/exceptions.h: Likewise.
* src/vm/resolve.c (resolve_handle_pending_exception): New function.
(resolve_class_from_name): Don't convert exception.
* src/vm/resolve.h (resolve_handle_pending_exception): Added.
* src/vmcore/class.c (class_java_lang_Exception): New global variable.
(class_java_lang_ClassNotFoundException): Likewise.
(class_java_lang_RuntimeException): Likewise.
* src/vmcore/class.h: Likewise.
* src/vmcore/linker.c (linker_init): Link new global classes.
* src/vmcore/loader.c (loader_init): Load new global classes.
* src/vmcore/utf8.c (utf_java_lang_RuntimeException): New global
variable.
(utf8_init): Initialize new global variable.
* src/vmcore/utf8.h (utf_java_lang_RuntimeException): Export.
* tests/regression/bugzilla/All.java: Added PR58.
* tests/regression/bugzilla/PR58.java: New file.
Christian Thalinger [Wed, 26 Mar 2008 15:44:57 +0000 (16:44 +0100)]
* tests/Makefile.am: Cleanup, removed checkall, added build target.
* tests/A2.java: Removed.
* tests/AA.java,
tests/AA1.java,
tests/AA2.java,
tests/BB.java,
tests/C.java,
tests/C2.java,
tests/C3.java,
tests/CC.java,
tests/D.java,
tests/DD.java,
tests/EE.java,
tests/GG.java,
tests/HI2.java,
tests/II.java,
tests/IIAA.java,
tests/IIBB.java,
tests/IICC.java,
tests/IIexample.java,
tests/n.java,
tests/scribble.java: Likewise.
Christian Thalinger [Wed, 26 Mar 2008 13:27:38 +0000 (14:27 +0100)]
* tests/regression/bugzilla/All.java: Added PR57.
* tests/regression/bugzilla/PR57.java: New file.
Christian Thalinger [Wed, 26 Mar 2008 12:17:54 +0000 (13:17 +0100)]
* tests/regression/bugzilla/Makefile.am (JAVA): Added LD_LIBRARY_PATH
so we can really overrite JAVA.
(build): Added $(srcdir) to find .java files.
(check): Removed LD_LIBRARY_PATH.