OSDN Git Service

2007-09-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 1f76f67..580b350 100644 (file)
@@ -1,3 +1,316 @@
+2007-09-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * configure.host(gnu*): Set use_libgcj_bc to yes.
+
+2007-09-04  Matthias Klose  <doko@ubuntu.com>
+
+       * configure.ac: Do not pass --with-native-libdir to classpath.
+       * configure: Regenerate.
+
+2007-09-04  Matthias Klose  <doko@ubuntu.com>
+
+       PR libgcj/33278
+       * configure.ac: Robustify extraction of gcj version.
+       * configure: Regenerate.
+
+2007-09-04  Andrew Haley  <aph@redhat.com>
+
+       PR java/27908
+       * testsuite/libjava.lang/PR27908.java
+       ({run1,run2,run3}.isRunning): New Method.
+       (main): Fix race condition.
+
+2007-08-29  Andrew Haley  <aph@redhat.com>
+
+       * gnu/classpath/natVMStackWalker.cc (VMStackWalker::getCallingClass):
+       Make sure we're not sibcalled.
+       (GET_CALLING_CLASS): Define for ARM EABI.
+
+2007-08-22  Andrew Haley  <aph@redhat.com>
+
+       * configure.host (BACKTRACESPEC): Add arm*-linux*.
+
+2007-08-22  Andrew Haley  <aph@redhat.com>
+
+       * configure.ac (LIBSTDCXXSPEC): New.
+       * configure.host: Add arm*-linux* to pthread test.
+       * configure.ac (LIBGCJTESTSPEC): Add path to libstdc++ for ARM
+       EABI.
+       * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
+       -fexceptions for ARM EABI.
+       * testsuite/lib/libjava.exp (libjava_arguments): Add libgcj-test.spec.
+       (libjava_invoke): Log the invocation.
+
+2007-08-15  Andrew Haley  <aph@redhat.com>
+
+       * configure.ac (extra_ldflags): Define.
+       * Makefile.am: Use extra_ldflags for all executables.
+
+2007-08-14  Andrew Haley  <aph@redhat.com>
+
+       * sysdep/arm/backtrace.h: Remove stubs for _Unwind_GetIPInfo,
+       _Unwind_GetRegionStart, and _Unwind_Backtrace.
+
+2007-07-27  Andrew Haley  <aph@redhat.com>
+
+       * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): Stub for
+       ARM EABI.
+       * exception.cc (get_exception_header_from_ue): New.
+       (get_ttype_entry): ARM EABI version.
+       (PERSONALITY_FUNCTION): Add ARM EABI code.
+       * sysdep/arm/backtrace.h: New file.
+       * stacktrace.cc (_URC_NORMAL_STOP): New.
+       * configure.ac (extra_ldflags_libjava): Add libsupc++.la for ARM
+       EABI.
+       * configure.host (BACKTRACESPEC): Add arm/backtrace.h.
+
+2007-08-31  Matthias Klose  <doko@ubuntu.com>
+
+       * classpath/lib/java/util/EnumSet*.class: Regenerate
+
+2007-08-30  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * gij.cc (version): Update Copyright year.
+
+2007-08-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * configure.host (gnu*): Set use_libgcj_bc to yes.
+
+2007-08-15  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/Class.java (internalGetFields): Use LinkedHashSet.
+       * classpath/lib/java/lang/Class.class: Rebuilt.
+
+2007-08-15  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * java/lang/natPosixProcess.cc (sigchld_handler) [!SA_SIGINFO]: Remove
+       'si' and 'third' parameters.  Disable calling
+       pmi->old_sigaction.sa_sigaction.
+       (java::lang::PosixProcess*ProcessManager::init) [!SA_SIGINFO]: Set
+       sa.sa_handler instead of sa.sa_sigaction, don't set SA_SIGINFO flag.
+
+2007-08-09  Andrew Haley  <aph@redhat.com>
+
+       * testsuite/lib/libjava.exp (libjava_invoke): Log the invocation.
+
+2007-08-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * java/net/natVMInetAddressPosix.cc
+       (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]:
+       Allocate buffer dynamically.
+
+2007-08-04  Alfred M. Szmidt  <ams@gnu.org>
+
+       * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0.
+       * java/io/File.java (createTempFile): Don't truncate if the system
+       doesn't have a limit on the length of a file name.
+       * classpath/lib/java/io/File.class: Regenerate.
+
+2007-08-04  Matthias Klose  <doko@ubuntu.com>
+
+       Import GNU Classpath (libgcj-import-20070727).
+
+       * Regenerate class and header files.
+       * Regenerate auto* files.
+
+       * include/jvm.h:
+       * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
+       * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
+       * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
+       _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
+       _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
+       _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
+       jvalue parameter.
+       * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
+
+       * java/lang/VMFloat.java (toString, parseFloat): New.
+
+       * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
+       isModalExclusionTypeSupported): New (stub only).
+       * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
+       * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
+       updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
+       setAlwaysOnTop): Likewise.
+       * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.
+
+       * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
+       ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.
+
+       * HACKING: Mention --enable-gstreamer-peer, removal of generated files.
+
+2007-07-31  David Daney  <ddaney@avtrex.com>
+
+       * HACKING: Document regenerating configure and aclocal.m4.
+
+2007-07-31  David Daney  <ddaney@avtrex.com>
+
+       * configure.ac (INTERPRETER): New AM_CONDITIONAL.
+       * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
+       as being for interpreter only.  Place interpreter related files in
+       'if INTERPRETER' block.
+       (interpreter_package_files): New list.
+       (interpreter_header_vars): Ditto.
+       (emit_package_rule_to_list): Renamed from emit_package_rule with
+       new target list parameter.
+       (emit_package_rule): Rewritten to call emit_package_rule_to_list.
+       (emit_interpreter_rule): New function.
+       (emit_source_var): Place interpreter related files in
+       interpreter_header_vars.
+       * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl.
+       (libgcj_interpret_source_files): New variable.
+       (libgcj_la_SOURCES): Move jvmti.cc and  interpret.cc to
+       libgcj_interpret_source_files and include
+       libgcj_interpret_source_files.
+       (nat_jdwp_source_files): New variable.
+       (nat_jvmti_source_files): Ditto.
+       (nat_source_files): Move jdwp and jvmti related files to
+       nat_jdwp_source_files and nat_jvmti_source_files and include
+       nat_jdwp_source_files and nat_jvmti_source_files.
+       * Makefile.in: Regenerate.
+       * include/Makefile.in: Ditto.
+       * testsuite/Makefile.in: Ditto.
+       * gcj/Makefile.in: Ditto.
+       * sources.am: Ditto.
+       * configure: Ditto.
+       * include/config.h.in: Ditto.
+       * interpret.cc: Remove #ifdef INTERPRETER block.
+       * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if
+       interpreter disabled.
+       * include/java-interp.h (_Jv_FrameType): Move outside of
+       #ifdef INTERPRETER block.
+       * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list,
+       _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in
+       #ifdef INTERPRETER block.
+       * jni.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
+       defined.
+       (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing
+       if INTERPRETER is defined.
+       * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h):  Only
+       include if INTERPRETER is defined.
+       (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func,
+       jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload,
+       jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is
+       defined.
+       (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined.
+       (parse_init_args): Only process jvmti related options if
+       INTERPRETER is defined.
+       (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is
+       defined.
+       (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is
+       defined.
+       * link.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
+       defined.
+       (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method):
+       Define if if INTERPRETER is not defined.
+       (_Jv_Linker::wait_for_state): Only do jvmti proccessing if
+       INTERPRETER is defined.
+       * boehm.cc (closure_list_pointer, finalize_closure_list,
+       _Jv_ClosureListFinalizer): Only define if INTERPRETER is
+       defined.
+       * java/lang/natThread.cc (jvmti.h, jvmti-int.h):  Only include if
+       INTERPRETER is defined.
+       (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if
+       INTERPRETER is defined.
+       * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration
+       and friend declaration inside #ifdef INTERPRETER block.
+       * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures,
+       _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile):
+       Only define if INTERPRETER is defined.
+       * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h):
+       Include.
+       (generateProxyClass): Throw UnsupportedOperationException unless
+       INTERPRETER is defined.
+
+2007-07-29  Matthias Klose  <doko@ubuntu.com>
+
+       * HACKING: Document regenerating configure.
+
+2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR libgcj/32929
+       * aclocal.m4: Regenerated.
+       * configure: Likewise.
+
+2007-07-28  Matthias Klose  <doko@ubuntu.com>
+
+       * configure.ac: Encode the libgcj soversion in dbexecdir,
+       pass --with-native-libdir to classpath configure.
+       * configure: Regenerate.
+
+2007-07-28  Matthias Klose  <doko@ubuntu.com>
+
+       * classpath/jvmti.h: Remove.
+
+2007-07-27  Tom Tromey  <tromey@redhat.com>
+
+       * Rebuild .class files with new ecj.
+
+2007-07-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
+       * configure: Regenerate.
+
+2007-07-16  Rask Ingemann Lambertsen  <rask@sygehus.dk>
+
+       PR target/32340
+       * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the
+       new sysdeps/arm directory.
+
+2007-07-15  Tom Tromey  <tromey@redhat.com>
+
+       * java/io/File.java: Implement Comparable<File>.
+       (compareTo): Removed.
+       * java/io/File.h: Rebuilt.
+       * classpath/lib/java/io/File.class: Rebuilt.
+
+2007-07-14  Tom Tromey  <tromey@redhat.com>
+
+       * Rebuilt .class files.
+
+2007-07-15  Andrew Haley  <aph@redhat.com>
+
+       * configure.host: 
+       arm*-linux-gnu -> arm*-linux*.
+
+2007-07-14  Krister Walfridsson  <cato@df.lth.se>
+
+       * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
+       * configure.ac: Remove check for strerror, add check for strerror_r.
+       * configure: Regenerate.
+       * include/config.h.in: Regenerate.
+
+2007-07-13  Andrew Haley  <aph@redhat.com>
+
+       * libgcj.ver: Add __gcj_personality_sj0.
+
+       * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise.
+       * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers.
+       * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers.
+       * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise.
+
+       * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check
+       klass is non-null.
+       * java/lang/reflect/natField.cc (getAddr): Call
+       _Jv_StackTrace::GetCallingClass only if CALLER is non-null.
+       * java/lang/reflect/natVMProxy.cc (run_proxy): Use
+       _Jv_getFieldInternal to get field proxyClass.m.
+       (_Jv_getFieldInternal): New function.
+
+2007-07-11  Andrew Haley  <aph@redhat.com>
+
+       * configure.host (arm*-linux-gnu): New.
+       * sysdep/arm/locks.h: New.
+
+2007-07-13  Roger Sayle  <roger@eyesopen.com>
+
+       * java/lang/natPosixProcess.cc: Include <sys/time.h> before
+       <sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
+
+2007-07-12  Matthias Klose  <doko@ubuntu.com>
+
+       * gnu/classpath/jdwp/util/MethodResult.h,
+       gnu/classpath/jdwp/value/ObjectValue.h: Regenerate.
+
 2007-07-11  Keith Seitz  <keiths@redhat.com>
 
        * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the