OSDN Git Service

* testsuite/libjava.jvmti/jvmti.exp: New file.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index b880c56..222fc79 100644 (file)
@@ -1,3 +1,99 @@
+2006-09-19  Keith Seitz  <keiths@redhat.com>
+
+       * testsuite/libjava.jvmti/jvmti.exp: New file.
+
+2006-09-19  Keith Seitz  <keiths@redhat.com>
+
+       * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
+       (THREAD_CHECK_VALID): Likewise.
+       (THREAD_CHECK_ALIVE): Likewise.
+       (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
+       jthread.
+       (_Jv_JVMTI_ResumeThread): Likewise.
+       (_Jv_JVMTI_InterruptThread): Likewise.
+
+       (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
+       that was just freed.
+
+2006-09-19  Mark Wielaard  <mark@klomp.org>
+
+       Fixes bug #29137
+       * java/util/logging/LogManager.java (addLogger): Always check for
+       existing children of a new Logger.
+
+2006-09-19  Tom Tromey  <tromey@redhat.com>
+
+       * java/util/logging/LogManager.java: Re-merged with Classpath.
+
+2006-09-18  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuilt.
+
+2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
+
+       * configure.host: Handle kfreebsd.
+
+2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
+
+       * configure: Rebuilt.
+       * shlibpath.m4: Handle GNU/kFreeBSD.
+
+2006-09-14  Tom Tromey  <tromey@redhat.com>
+
+       PR boehm-gc/29068:
+       * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
+       (_Jv_GCDetachThread): Likewise.
+
+2006-09-14  Andreas Schwab  <schwab@suse.de>
+
+       * posix-threads.cc: Include "posix.h".
+
+2006-09-13  Geoffrey Keating  <geoffk@apple.com>
+
+       * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
+       microseconds; use gettimeofday when available.
+       * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
+       timeout calculation.
+       * testsuite/libjava.lang/Thread_Sleep_2.java: New.
+       * testsuite/libjava.lang/Thread_Sleep_2.out: New.
+       * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
+
+2006-09-12  Tom Tromey  <tromey@redhat.com>
+
+       PR java/29013:
+       * testsuite/libjava.lang/PR29013.out: Likewise.
+       * testsuite/libjava.lang/PR29013.java: New file.
+
+2006-09-12  Tom Tromey  <tromey@redhat.com>
+
+       * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
+
+2006-09-07  Matthias Klose  <doko@debian.org>
+
+       * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
+       * Makefile.in: Regenerate.
+
+2006-09-06  Keith Seitz  <keiths@redhat.com>
+
+       * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
+       to _Jv_MethodBase instead of _Jv_InterpMethod.
+       * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
+       Do not check access flags.
+       Fix some minor style anomalies.
+       
+2006-09-01  Geoffrey Keating  <geoffk@apple.com>
+
+       * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
+       Pass -lgcj to linker for C++ files on Darwin.
+
+2006-09-01  Keith Seitz  <keiths@redhat.com>
+
+       * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
+       (THREAD_CHECK_VALID): Likewise.
+       (THREAD_CHECK_IS_ALIVE): Likewise.
+       (NULL_CHECK): Likewise.
+       (ILLEGAL_ARGUMENT): Likewise.
+
 2006-09-01  Keith Seitz  <keiths@redhat.com>
 
        * include/jvm.h (_Jv_JVMTI_Init): Declare.
 
 2006-08-15  Kyle Galloway  <kgallowa@redhat.com>
 
-       * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
-       * interpret.cc: Added placeholder for debug variable type info to STORE*
-       macros.
-       (_Jv_InterpMethod::run_debug): New method.
-       (_Jv_InterpMethod::run_sync_object_debug): New method.
-       (_Jv_InterpMethod::run_sync_class_debug): New method.
-       (_Jv_InterpMethod::run_normal_debug): New method.
-       (_Jv_InterpMethod::run_class_debug): New method.
-       (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
-       versions of these functions.
-       * interpret-run.cc: New file, holds contents of old     
+       * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
+       * interpret.cc: Added placeholder for debug variable type info to STORE*
+       macros.
+       (_Jv_InterpMethod::run_debug): New method.
+       (_Jv_InterpMethod::run_sync_object_debug): New method.
+       (_Jv_InterpMethod::run_sync_class_debug): New method.
+       (_Jv_InterpMethod::run_normal_debug): New method.
+       (_Jv_InterpMethod::run_class_debug): New method.
+       (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
+       versions of these functions.
+       * interpret-run.cc: New file, holds contents of old     
        _Jv_InterpMethod::run method.
-       * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
-       appropriate function for debug or normal mode.
+       * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
+       appropriate function for debug or normal mode.
 
 2006-08-14  Mark Wielaard  <mark@klomp.org>
 
 
 2006-05-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
-        * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
-        * configure: Rebuilt.
-        * include/config.h.in: Likewise.
+       * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
+       * configure: Rebuilt.
+       * include/config.h.in: Likewise.
        * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
        <sys/rw_lock.h>.
 
        (_Jv_FindClassFromSignatureNoException): New method declaration.
        * prims.cc:
        (_Jv_FindClassFromSignatureNoException): New method.
-        * gcj/javaprims.h:
-        (_Jv_equalsUtf8Classname): New method declaration.
-        (_Jv_isPrimitiveOrDerived): Dito.
-        * prims.cc:
+       * gcj/javaprims.h:
+       (_Jv_equalsUtf8Classname): New method declaration.
+       (_Jv_isPrimitiveOrDerived): Dito.
+       * prims.cc:
        (_Jv_equalsUtf8Classnames): New method.
-        (_Jv_isPrimitiveOrDerived): New method.
-        * verify.cc:
-        (ref_intersection::equals): Use new classname comparison method.
-        (type::compatible): Use new classname comparison method. Added
-        check whether LHS' type is java.lang.Object .
-        (type::resolve): Added new optional debug message and simplified
-        if-expression.
-        (type::to_array): Added codepath that generates an array type
-        without resolving the element type.
+       (_Jv_isPrimitiveOrDerived): New method.
+       * verify.cc:
+       (ref_intersection::equals): Use new classname comparison method.
+       (type::compatible): Use new classname comparison method. Added
+       check whether LHS' type is java.lang.Object .
+       (type::resolve): Added new optional debug message and simplified
+       if-expression.
+       (type::to_array): Added codepath that generates an array type
+       without resolving the element type.
 
 2006-01-31  Mark Wielaard  <mark@klomp.org>
-       * NEWS: Add 4.1 updates.
+
+       * NEWS: Add 4.1 updates.
+
 2006-01-30  Keith Seitz  <keiths@redhat.com>
 
        * include/java-interp.h (insn_index): New declaration.
 
 2005-07-14  Andrew Haley  <aph@redhat.com>
 
-        * gnu/java/net/protocol/file/Connection.java (unquote): New
-        method.
-        (connect): Unquote filename.
-        gnu/java/net/protocol/jar/Connection.java (getInputStream):
-        Likewise.  
-        (getJarFile): Likewise.
+       * gnu/java/net/protocol/file/Connection.java (unquote): New
+       method.
+       (connect): Unquote filename.
+       gnu/java/net/protocol/jar/Connection.java (getInputStream):
+       Likewise.  
+       (getJarFile): Likewise.
 
-        * java/net/URLConnection.java (getContentHandler): Guard cast with
-        instaceof.
+       * java/net/URLConnection.java (getContentHandler): Guard cast with
+       instaceof.
 
-        * java/net/URL.java (URL): If the file part of a spec is absolute,
-        ignore the file part of its context.
+       * java/net/URL.java (URL): If the file part of a spec is absolute,
+       ignore the file part of its context.
 
 2005-07-14  Aaron Luchko  <aluchko@redhat.com>