X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libjava%2FChangeLog;h=fd1d4ebb2e0d7a92d805a676be939ca6b2411c39;hp=110104150dc9fbde9f6f140de8ca3d5629826419;hb=0669a0edaa80e9de98cf20ef527169fa13f1e70f;hpb=2cd48372e30de18391912fb632e3699045ea4e56 diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 110104150dc..fd1d4ebb2e0 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,372 @@ +2006-11-27 Mike Stump + + * sysdep/x86-64/locks.h: Enable use of either file on either + target to support multilibs from one to the other. + * sysdep/i386/locks.h: Likewise. + +2006-11-21 Gary Benson + + * java/security/Security.java: Merge with classpath. + * java/lang/Package.java: Likewise. + * java/lang/Class.java (getDeclaredAnnotations): New method. + +2006-11-20 David Daney + + * include/mips-signal.h (sys/syscall.h): Do not include. + (sig_ucontext_t): Removed. + (MAKE_THROW_FRAME): Changed to be a nop. + (_INIT_SIG_HANDLER): New macro. + (INIT_SEGV): Rewrote to use _INIT_SIG_HANDLER. + (INIT_FPE): Same. + +2006-11-20 David Daney + + * testsuite/libjava.lang/Throw_3.java: New Test. + * testsuite/libjava.lang/Throw_3.out: Its expected output. + +2006-11-13 Daniel Jacobowitz + + * configure: Regenerated. + +2006-11-03 Gary Benson + + * java/net/InetAddress.java: Removed. + * java/net/natInetAddressNoNet.cc: Likewise. + * java/net/natInetAddressPosix.cc: Likewise. + * java/net/natInetAddressWin32.cc: Likewise. + * java/net/VMInetAddress.java (getLocalHostname, + lookupInaddrAny, getHostByAddr, getHostByName, + aton): Replace glue methods with native ones. + * java/net/natVMInetAddressNoNet.cc: New file. + * java/net/natVMInetAddressPosix.cc: Likewise. + * java/net/natVMInetAddressWin32.cc: Likewise. + * Makefile.am, configure.ac: Reflect the above. + * sources.am, Makefile.in, configure: Rebuilt. + + * java/net/natVMNetworkInterfaceWin32.cc + (winsock2GetRealNetworkInterfaces): Create InetAddress + objects using InetAddress.getByAddress. + * gnu/java/net/natPlainSocketImplWin32.cc + (accept, getOption): Likewise. + * gnu/java/net/natPlainDatagramSocketImplWin32.cc + (peekData, receive, getOption): Likewise. + +2006-11-02 Keith Seitz + + * gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement. + +2006-11-02 Keith Seitz + + * jvmti.cc (_Jv_JVMTI_GetLineNumberTable): New function. + (_Jv_JVMTI_Interface): Define GetLineNumberTable. + +2006-11-01 Keith Seitz + + * gnu/gcj/jvmti/Location.java: New file. + * gnu/gcj/jvmti/BreakpointManager.java: New file. + * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function. + (_Jv_JVMTI_ClearBreakpoint): New function. + (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint. + * sources.am: Regenerated. + * Makefile.in: Regenerated. + +2006-10-28 Keith Seitz + + * Makefile.am (nat_source_files): Add natBreakpoint.cc. + * sources.am: Regenerated. + * Makefile.in: Regenerated. + * gnu/gcj/jvmti/Breakpoint.java: New file. + * gnu/gcj/jvmti/natBreakpoint.java: New file. + +2006-10-27 Keith Seitz + + * include/java-stack.h (ncodeMap): Declare. + (_Jv_StackTrace): Make _Jv_GetMethodDeclaringClass friend. + * java/lang/Class.h (_Jv_GetMethodDeclaringClass): Declare. + * java/lang/natClass.cc (_Jv_GetMethodDeclaringClass): New + function. + * stacktrace.cc (ncodeMap): Redefine from file global to global + for class _Jv_StackTrace. + (_Jv_StackTrace::UpdateNCodeMap): Add interpreted classes, too, + so that _Jv_GetMethodDeclaringClass can find them all. + (_Jv_StackTrace::ClassForFrame): Exclude interpreted classes. + * jvmti.cc (_Jv_JVMTI_GetMethodDeclaringClass): New function. + (_Jv_JVMTI_Interface): Define GetMethodDeclaringClass function. + +2006-10-25 Andreas Tobler + + * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace + formatting modifiers %p with %#llx and cast the arguments. + +2006-10-20 Tom Tromey + + * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): + Correctly pass jvalues. + +2006-10-18 Tom Tromey + Bryce McKinlay + + * testsuite/libjava.jni/register2.java: New file. + * testsuite/libjava.jni/register2.out: New file. + * testsuite/libjava.jni/register2.c: New file. + * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function. + * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare. + * jni.cc (struct NativeMethodCacheEntry): New struct. + (nathash): Changed type. + (hash): Updated. + (nathash_find_slot): Likewise. + (nathash_find): Likewise. + (natrehash): Likewise. + (nathash_add): Likewise. + (_Jv_JNI_RegisterNatives): Likewise. + (_Jv_LookupJNIMethod): Likewise. + Idea from Juerg Lehni + +2006-10-16 Geoffrey Keating + + * testsuite/libjava.jvmti/natevents.cc (env): Delete. + (ExceptionCB): Fix types for printf arguments. + (ExceptionCatchCB): Likewise. + (SingleStepCB): Likewise. + (BreakpointCB): Likewise. + (FieldAccessCB): Likewise. + (FieldModificationCB): Likewise. + (CompiledMethodLoadCB): Likewise. + +2006-10-14 Keith Seitz + + * include/java-insns.h (enum java_code): Add op_breakpoint. + * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn. + [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot. + [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode. + (install_break): Declare. + * interpret.cc (breakpoint_insn): Define breakpoint insn. + (compile): Add op_breakpoint to "can't happen" cases. + [INTERPRETER] Initialize breakpoint insn if necessary. + (install_break): New method. + * interpret-run.cc: Add op_breakpoint to insn_targets. + Add insn_breakpoint label. + * verify.cc (branch_prepass): Add op_breakpoint to unrecognized + opcodes section of switch statement. + (verify_instructions_0): Likewise. + +2006-10-12 Keith Seitz + + * include/jvmti-int.h (JVMTI): Declare all members "extern". + * jvmti.cc (JVMTI): Define. + +2006-10-11 Tom Tromey + + * Makefile.in: Rebuilt. + * Makefile.am (install-data-local): Use mkinstalldirs. + +2006-10-10 Tom Tromey + + * gnu/classpath/natSystemProperties.cc (insertSystemProperties): + Removed obsolete comment. + +2006-10-10 Keith Seitz + + * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare. + (_Jv_InterpMethod::set_insn): Declare. + * interpret.cc (_Jv_InterpMethod::get_insn): New method. + (_Jv_InterpMethod::get_insn): New method. + +2006-10-10 Tom Tromey + + * prims.cc (_Jv_PrependVersionedLibdir): Use + _Jv_platform_path_separator. + +2006-10-10 Tom Tromey + + PR libgcj/29205: + * Makefile.in: Rebuilt. + * Makefile.am (install-data-local): Install the .pc file. + (pkgconfig_DATA): Removed. + +2006-10-03 Gary Benson + + * java/net/InetAddress.java + (): Reorder the static initializers. + +2006-10-02 Gary Benson + + * java/net/InetAddress.java + (checkConnect): Reinstated. + (loopbackAddress): Ensure initialized from non-null object. + +2006-09-30 Keith Seitz + + * include/java-interp.h (prepared): Change type to pc_t. + (insn_index): Define for both DIRECT_THREADED and bytecode interpreters. + * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo. + (insn_index): Implement for bytecode interpreter. + * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class + qualifier to resolve_pool_entry. + [!DIRECT_THREADED] (AVAL2U): Likewise. + [!DIRECT_THREADED] bytecode() cannot be called without an object. + Changed all typos. + [!DIRECT_THREADED] Likewise for defining_class. + +2006-09-26 Jack Howarth + + PR target/26792: + * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP + if HAVE_GETIPINFO not defined. + * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise. + (_Jv_StackTrace::getLineNumberForFrame): Likewise. + * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO. + * aclocal.m4, configure, include/config.h.in, Makefile.in: + Rebuilt. + +2006-09-27 Tom Tromey + + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712 + * java/util/Locale.java (hashcode): No longer transient. + (writeObject): Use ObjectOutputStream.PutField and + defaultWriteObject. + (readObject): Use defaultReadObject. + +2006-09-25 Keith Seitz + + * gnu/classpath/jdwp/VMVirtualMachine.java + (_jdwp_suspend_counts): New private variable. + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (initialize): Initialize _jdwp_suspend_counts. + (suspendThread): Implement. + (resumeThread): Implement. + (getSuspendCount): Implement. + +2006-09-22 Marco Trudel + + * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static. Marked JNICALL. + +2006-09-21 Keith Seitz + + * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled + events. + (check_enabled_event): New function. + (check_enabled_events): New function. + (post_event): New function. + (_Jv_JVMTI_SetEventNotificationMode): New function. + (_Jv_JVMTI_SetEventCallbacks): New function. + (_Jv_JVMTI_Interface): Define SetEventNotificationMode and + SetEventCallbacks members. + * include/jvmti-int.h: New file. + * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define. + (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define. + * testsuite/libjava.jvmti/events.java: New file. + * testsuite/libjava.jvmti/events.out: New file. + * testsuite/libjava.jvmti/natevents.cc: New file. + +2006-09-21 Sandro Tolaini + + * configure.ac: Don't use darwin-signal.h as signal handler for + Darwin/i386. + * configure.host: Enable Darwin/i386 as a supported host, with no + signal unwinding. + +2006-09-20 Keith Seitz + + * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked + and return JVMTI_ERROR_OUT_OF_MEMORY if necessary. + (_Jv_JVMTI_GetClassMethods): Likewise. + (_Jv_JVMTI_GetClassLoaderClasses): Likewise. + (_Jv_JVMTI_GetJNIFunctionTable): Likewise. + (_Jv_JVMTI_GetSystemProperty): Likewise. + +2006-09-20 Keith Seitz + + * jvmti.cc (_Jv_JVMTI_GetErrorName): New function. + (_Jv_JVMTI_Interface): Define GetErrorName member. + * testsuite/libjava.jvmti/geterrorname.java: New file. + * testsuite/libjava.jvmti/geterrorname.out: New file. + * testsuite/libjava.jvmti/natgeterrorname.cc: New file. + +2006-09-20 Gary Benson + + * java/net/InetAddress.java: Mostly merged with Classpath. + * java/net/VMInetAddress.java: New file. + * sources.am, Makefile.in: Rebuilt. + + * java/net/natVMNetworkInterfacePosix.cc + (getInterfaces): Create InetAddress objects using + InetAddress.getByAddress. + * gnu/java/net/natPlainSocketImplPosix.cc + (accept, getOption): Likewise. + * gnu/java/net/natPlainDatagramSocketImplPosix.cc + (peekData, receive, getLocalAddress): Likewise. + +2006-09-19 Keith Seitz + + * testsuite/libjava.jvmti/jvmti.exp: New file. + +2006-09-19 Keith Seitz + + * 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 + + Fixes bug #29137 + * java/util/logging/LogManager.java (addLogger): Always check for + existing children of a new Logger. + +2006-09-19 Tom Tromey + + * java/util/logging/LogManager.java: Re-merged with Classpath. + +2006-09-18 Tom Tromey + + * configure: Rebuilt. + +2006-09-18 Petr Salinger + + * configure.host: Handle kfreebsd. + +2006-09-18 Petr Salinger + + * configure: Rebuilt. + * shlibpath.m4: Handle GNU/kFreeBSD. + +2006-09-14 Tom Tromey + + PR boehm-gc/29068: + * boehm.cc (_Jv_GCAttachThread): Disable on Solaris. + (_Jv_GCDetachThread): Likewise. + +2006-09-14 Andreas Schwab + + * posix-threads.cc: Include "posix.h". + +2006-09-13 Geoffrey Keating + + * 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 + + PR java/29013: + * testsuite/libjava.lang/PR29013.out: Likewise. + * testsuite/libjava.lang/PR29013.java: New file. + +2006-09-12 Tom Tromey + + * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed. + 2006-09-07 Matthias Klose * Makefile.am (AM_CXXFLAGS): Remove duplicate define. @@ -188,20 +557,20 @@ 2006-08-15 Kyle Galloway - * 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 @@ -1490,9 +1859,9 @@ 2006-05-25 John David Anglin - * 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 . @@ -2450,25 +2819,25 @@ (_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 - - * NEWS: Add 4.1 updates. - + + * NEWS: Add 4.1 updates. + 2006-01-30 Keith Seitz * include/java-interp.h (insn_index): New declaration. @@ -3641,18 +4010,18 @@ 2005-07-14 Andrew Haley - * 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