aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2007-01-24unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with _uleb128_t ↵Andreas Krebbel2-4/+9
and _Unwind_SWord with _sleb128_t. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. * unwind-dw2.c (extract_cie_info, execute_stack_op, execute_cfa_program, uw_frame_state_for, uw_update_context_1): Likewise. * unwind-c.c (parse_lsda_header, PERSONALITY_FUNCTION): Likewise. * unwind-pe.h (read_uleb128, read_sleb128, read_encoded_value_with_base): Likewise. * unwind-generic.h: Define _sleb128_t and _uleb128_t types. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec, get_ttype_entry, empty_exception_spec, PERSONALITY_FUNCTION): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. From-SVN: r121116
2007-01-23Arrays.java (binarySearch): Change comparison order.Marco Trudel4-3/+10
2007-01-23 Marco Trudel <mtrudel@gmx.ch> * java/util/Arrays.java (binarySearch): Change comparison order. From-SVN: r121091
2007-01-23re PR libgcj/30550 (Missing dependencies for ecjx target)H.J. Lu3-3/+14
2007-01-23 H.J. Lu <hongjiu.lu@intel.com> PR libgcj/30550 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed. * Makefile.in: Regenerated. From-SVN: r121086
2007-01-23* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz2-2/+13
(getClassMethod): Implement. From-SVN: r121078
2007-01-23Class.h (_Jv_GetClassStatus): Declare.Keith Seitz4-3/+49
* java/lang/Class.h (_Jv_GetClassStatus): Declare. * java/lang/natClass.cc (_Jv_GetClassStatus): New function. * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function. (_Jv_JVMTI_Interface): Define GetClassStatus. From-SVN: r121074
2007-01-23configure: Rebuilt.Tom Tromey3-2/+7
* configure: Rebuilt. * configure.ac (GCJ): Reverted patch of 2006-12-20. From-SVN: r121073
2007-01-22re PR java/29812 (env->klass value is not updated during the native calls)Tom Tromey15-54/+255
PR java/29812: * testsuite/libjava.jni/pr29812.java: New file. * testsuite/libjava.jni/pr29812_injar.java: New file. * testsuite/libjava.jni/pr29812_injar.jar: New file. * testsuite/libjava.jni/pr29812.out: New file. * testsuite/libjava.jni/pr29812_injar.c: New file. * testsuite/libjava.jni/pr29812_injar.h: New file. * testsuite/libjava.jni/pr29812.jar: New file. * testsuite/libjava.jni/pr29812.c: New file. * testsuite/libjava.jni/pr29812.h: New file. * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): New proc. (gcj_jni_invocation_test_one): Use it. (gcj_jni_pr29812): New proc. (gcj_jni_run): Use it. * java/lang/natRuntime.cc (_load): Push a new system frame before calling JNI_OnLoad. * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare. (_Jv_GetJNIEnvNewFrameWithLoader): Likewise. * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char. <allocated_p>: Now bool. <loader>: New field. (_Jv_JNI_EnsureLocalCapacity): Updated. (_Jv_JNI_NewLocalRef): Likewise. (_Jv_JNI_NewLocalRef): Likewise. (_Jv_JNI_PopLocalFrame): Likewise. (_Jv_JNI_FindClass): Likewise. (_Jv_GetJNIEnvNewFrame): Likewise. (_Jv_JNI_AttachCurrentThread): Likewise. (_Jv_GetJNIEnvNewFrameWithLoader): New function. (_Jv_GetJNIEnvNewFrame): Use it. * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'. From-SVN: r121064
2007-01-22* libtool-version: Bump current to 9.Tom Tromey2-1/+5
From-SVN: r121058
2007-01-22locks.h (write_barrier): New.Andrew Haley2-0/+12
2007-01-22 Andrew Haley <aph@redhat.com> * sysdep/alpha/locks.h (write_barrier): New. From-SVN: r121053
2007-01-21Makefile.am (install-exec-hook): Use transformed name.Matthias Klose3-4/+9
2007-01-21 Matthias Klose <doko@debian.org> * Makefile.am (install-exec-hook): Use transformed name. * Makefile.in: Regenerate. From-SVN: r121025
2007-01-20Makefile.am, [...]: Install into nativeexeclibdir instead of gcjversionedlibdir.Matthias Klose5-78/+70
2007-01-20 Matthias Klose <doko@debian.org> * native/jni/gtk-peer/Makefile.am, native/jawt/Makefile.am: Install into nativeexeclibdir instead of gcjversionedlibdir. * native/jni/gtk-peer/Makefile.in, native/jawt/Makefile.in: Regenerate. From-SVN: r121008
2007-01-19natVMFrame.cc: Mark unused parameters with MAYBE_UNUSED.Keith Seitz2-3/+8
* gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with MAYBE_UNUSED. From-SVN: r120972
2007-01-19natVMVirtualMachine.cc: Mark unused parameters in methods and reformat.Keith Seitz2-23/+34
* gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters in methods and reformat. From-SVN: r120971
2007-01-19From Macro Trudel <mtrudel@gmx.ch>:Keith Seitz2-2/+8
* gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB): Use JNICALL. From-SVN: r120946
2007-01-18jni.cc (_Jv_JNI_FindClass): Initialize class.Marco Trudel7-1/+64
2007-01-18 Marco Trudel <mtrudel@gmx.ch> * jni.cc (_Jv_JNI_FindClass): Initialize class. * testsuite/libjava.jni/findclass2.jar: New file. * testsuite/libjava.jni/findclass2.h: New file. * testsuite/libjava.jni/findclass2.java: New file * testsuite/libjava.jni/findclass2.c: New file. * testsuite/libjava.jni/findclass2.out: New file. From-SVN: r120930
2007-01-18configure: Rebuilt.Tom Tromey3-4/+9
* configure: Rebuilt. * configure.ac: Use multi_basedir instead of libgcj_basedir. From-SVN: r120901
2007-01-18natVMPipeEcos.cc: Renamed from gnu/java/nio/natPipeImplEcos.cc.Gary Benson14-64/+93
2007-01-18 Gary Benson <gbenson@redhat.com> * gnu/java/nio/natVMPipeEcos.cc: Renamed from gnu/java/nio/natPipeImplEcos.cc. * gnu/java/nio/natVMPipePosix.cc: Renamed from gnu/java/nio/natPipeImplPosix.cc. * gnu/java/nio/natVMPipeWin32.cc: Renamed from gnu/java/nio/natPipeImplWin32.cc. * gnu/java/nio/natVMSelectorEcos.cc: Renamed from gnu/java/nio/natSelectorImplEcos.cc. * gnu/java/nio/natVMSelectorPosix.cc: Renamed from gnu/java/nio/natSelectorImplPosix.cc. * gnu/java/nio/natVMSelectorWin32.cc: Renamed from gnu/java/nio/natSelectorImplWin32.cc. * java/io/natVMObjectInputStream.cc: Renamed from java/io/natObjectInputStream.cc. * java/lang/natVMDouble.cc: Renamed from java/lang/natDouble.cc. * java/lang/natVMFloat.cc: Renamed from java/lang/natFloat.cc. * Makefile.am, configure.ac: Reflect the above. * Makefile.in, configure: Rebuilt. From-SVN: r120895
2007-01-17* tools/gnu/classpath/tools/javah/PathOptionGroup.javaTom Tromey7-1/+11
(PathOptionGroup): Set default boot class path. From-SVN: r120882
2007-01-17Makefile.in: Rebuilt.Andrew Haley3-2/+7
2007-01-17 Andrew Haley <aph@redhat.com> * Makefile.in: Rebuilt. * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath. From-SVN: r120881
2007-01-17natThread.cc (finish_): Add JVMTI ThreadEnd notification.Keith Seitz2-0/+16
* java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification. (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification. From-SVN: r120877
2007-01-17ChangeLog rotationTom Tromey3-13264/+13264
From-SVN: r120875
2007-01-17aclocal.m4: Regenerate to use multi.m4.Jack Howarth50-208/+472
2007-01-17 Jack Howarth <howarth@bromo.med.uc.edu> boehm-gc/ * aclocal.m4: Regenerate to use multi.m4. * configure: Regenerate. * Makefile.in: Regenerate. zlib/ * Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libffi/ * Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libjava/ * configure.ac: Use multi.m4 from aclocal rather than custom code. Use multi_basedir instead libgcj_basedir. Test for /proc/self/exe when not cross-compiling. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libjava/classpath/ * configure.ac: Use multi.m4 from aclocal rather than custom code. Use multi_basedir instead libgcj_basedir. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libjava/libltdl/ * Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4. * configure.ac: Use multi.m4 from aclocal rather than custom code. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. From-SVN: r120870
2007-01-17natVMDirectByteBufferImpl.cc: Renamed from java/nio/natDirectByteBufferImpl.cc.Gary Benson4-8/+15
2007-01-17 Gary Benson <gbenson@redhat.com> * java/nio/natVMDirectByteBufferImpl.cc: Renamed from java/nio/natDirectByteBufferImpl.cc. * Makefile.am: Reflect the above. * Makefile.in: Rebuilt. From-SVN: r120859
2007-01-17MappedByteBuffer.java: Removed.Gary Benson1-1/+2
2007-01-15 Gary Benson <gbenson@redhat.com> * java/nio/MappedByteBuffer.java: Removed. * sources.am, Makefile.in: Rebuilt. From-SVN: r120858
2007-01-17jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.Marco Trudel2-7/+10
2007-01-17 Marco Trudel <mtrudel@gmx.ch> * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL. Fixed indentation. Removed unused variable. From-SVN: r120854
2007-01-17natThread.cc (finalize_native): Remove cast.Tom Tromey3-4/+11
* java/lang/natThread.cc (finalize_native): Remove cast. (_Jv_GetCurrentJNIEnv): Likewise. * include/jvm.h (struct natThread) <jni_env>: Declare as _Jv_JNIEnv*. From-SVN: r120844
2007-01-16natevents.cc (FieldModificationCB): Use %#llx instead of %d for new_value.Keith Seitz4-2/+9
* testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use %#llx instead of %d for new_value. * testsuite/libjava.jvmti/events.out: Update expected output. * testsuite/libjava.jvmti/events.jar: Regenerate. From-SVN: r120834
2007-01-16natVMVirtualMachine.cc (DEFINE_CALLBACK): New macro.Keith Seitz2-0/+33
* gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK): New macro. (ENABLE_EVENT): New macro. (initialize): Define and enable JVMTI VM_INIT callback. (jdwpVMInitCB): New function. From-SVN: r120833
2007-01-16jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.Kyle Galloway7-1/+250
2007-01-16 Kyle Galloway <kgallowa@redhat.com> * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function. * testsuite/libjava.jvmti/getallthreads.java: New test. * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto. * testsuite/libjava.jvmti/getallthreads.out: Ditto. * testsuite/libjava.jvmti/getallthreads.h: Ditto. * testsuite/libjava.jvmti/getallthreads.jar: Ditto. From-SVN: r120827
2007-01-15natVMVirtualMachine.cc (suspendThread): Use java.lang.StringBuilder instead ↵Keith Seitz2-10/+14
of java.lang.StringBuffer. * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use java.lang.StringBuilder instead of java.lang.StringBuffer. (resumeThread): Likewise. From-SVN: r120805
2007-01-15MappedByteBuffer.java: Removed.Gary Benson5-91/+7
2007-01-15 Gary Benson <gbenson@redhat.com> * java/nio/MappedByteBuffer.java: Removed. * sources.am, Makefile.in: Rebuilt. From-SVN: r120793
2007-01-15URLClassLoader.java: Removed.Gary Benson28-1459/+224
2007-01-15 Gary Benson <gbenson@redhat.com> * java/net/URLClassLoader.java: Removed. * gnu/java/net/loader/Load_gcjlib.java: New file. * gnu/gcj/runtime/BootClassLoader.java: Ensure core URL handler is present in static executables. * sources.am, Makefile.in: Rebuilt. From-SVN: r120791
2007-01-14ld-symbolic.m4: New.H.J. Lu9-17/+111
config/ 2007-01-14 H.J. Lu <hongjiu.lu@intel.com> * ld-symbolic.m4: New. libjava/ 2007-01-14 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (libgcj_la_LDFLAGS): Add $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS). (libgcj_tools_la_LDFLAGS): Likewise. (libgcj_bc_la_LDFLAGS): Likewise. * Makefile.in: Regenerated. * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set. Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS. * configure: Regenerated. * aclocal.m4: Likewise. * gcj/Makefile.in: Likewise. * include/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r120773
2007-01-12locks.h (read_barrier): New.Kaz Kojima2-1/+18
* sysdep/sh/locks.h (read_barrier): New. (write_barrier): Likewise. From-SVN: r120735
2007-01-12i386-signal.h: Rewrite to use rt_sigaction.Andrew Haley3-56/+72
2007-01-12 Andrew Haley <aph@redhat.com> * include/i386-signal.h: Rewrite to use rt_sigaction. From-SVN: r120721
2007-01-112007-01-11 Andrew Haley <aph@redhat.com>Andrew Haley3-9/+18
* prims.cc (jdwpOptions) Fix deprecated cast from char[] constant to char*. * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix aliasing violation. From-SVN: r120672
2007-01-11*.h: New files.Tom Tromey83-0/+2646
* gnu/gcj/xlib/*.h: New files. * gnu/awt/xlib/*.h: Likewise. * classpath/lib/gnu/gcj/xlib: New class files. * classpath/lib/gnu/awt/xlib: Likewise. From-SVN: r120655
2007-01-11Readd missing chunks from r116332:Matthias Klose39-28/+113
2007-01-10 Matthias Klose <doko@debian.org> Readd missing chunks from r116332: * m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro. * resource/Makefile.am (loggingdir): Define to toolexeclibdir. (securitydir): Likewise. * configure.ac: Call CLASSPATH_TOOLEXECLIBDIR. Set default nativeexeclibdir using toolexeclibdir. Readd missing chunks from r115839: * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Add -avoid-version. * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add -avoid-version. * configure, Makefile.in, doc/Makefile.in, doc/api/Makefile.in, examples/Makefile.in, external/Makefile.in, external/jsr166/Makefile.in, external/relaxngDatatype/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, include/Makefile.in, lib/Makefile.in, native/Makefile.in, native/fdlibm/Makefile.in, native/jawt/Makefile.in, native/jni/Makefile.in, native/jni/classpath/Makefile.in, native/jni/gconf-peer/Makefile.in, native/jni/gtk-peer/Makefile.in native/jni/java-io/Makefile.in, native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in, native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in, native/jni/midi-alsa/Makefile.in, native/jni/midi-dssi/Makefile.in, native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in, native/jni/xmlj/Makefile.in, native/plugin/Makefile.in, resource/Makefile.in, scripts/Makefile.in, tools/Makefile.in: Regenerate From-SVN: r120654
2007-01-10* HACKING: Various updates.Tom Tromey2-6/+35
From-SVN: r120653
2007-01-10natDouble.cc (toString): Added parens.Tom Tromey4-13/+23
* java/lang/natDouble.cc (toString): Added parens. * gnu/gcj/io/shs.h (PROTO): Define. * link.cc (resolve_pool_entry): Added missing braces. From-SVN: r120652
2007-01-10re PR libgcj/30424 (revision 120632 failed to build on ia64)H.J. Lu2-0/+18
2007-01-10 H.J. Lu <hongjiu.lu@intel.com> PR libgcj/30424 * sysdep/ia64/locks.h (read_barrier): New. (write_barrier): New. From-SVN: r120645
2007-01-10URL.java: Removed.Gary Benson7-976/+10
2007-01-10 Gary Benson <gbenson@redhat.com> * java/net/URL.java: Removed. * sources.am, Makefile.in: Rebuilt. From-SVN: r120644
2007-01-10regexp, [...]: Remove empty directories.Matthias Klose1-0/+12
2007-01-10 Matthias Klose <doko@debian.org> * resource/gnu/regexp, tools/gnu/classpath/tools/rmi/rmic, tools/gnu/classpath/tools/rmi/rmid, tools/gnu/classpath/tools/giop, doc/www.gnu.org, doc/unicode, testsuite, testsuite/java.sun.awt, testsuite/javax.swing.text.html.parser, testsuite/java.lang, testsuite/java.opstack, testsuite/java.sun.tools, testsuite/java.text, testsuite/scheme, testsuite/config, testsuite/java.net, testsuite/lib, testsuite/java.io, testsuite/java.util, native/target, native/testsuite, native/vmi, org/omg/CORBA/SendingContext, gnu/regexp, test, compat: Remove empty directories. From-SVN: r120643
2007-01-10Makefile.am (install-exec-hook): Support $(DESTDIR).Matthias Klose3-12/+17
2007-01-10 Matthias Klose <doko@debian.org> * Makefile.am (install-exec-hook): Support $(DESTDIR). * Makefile.in: Regenerated. From-SVN: r120639
2007-01-09Merged gcj-eclipse branch to trunk.Tom Tromey17457-71204/+607449
From-SVN: r120621
2006-12-21configure.ac: add $built_gcc_dir to $GCJH and $GCJ when crossbuilding.Adam Megacz3-4/+10
2006-12-20 Adam Megacz <megacz@cs.berkeley.edu> * configure.ac: add $built_gcc_dir to $GCJH and $GCJ when crossbuilding. * configure: Regenerate. From-SVN: r120115
2006-12-18Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS...Adam Megacz7-330/+138
2006-12-18 Adam Megacz <megacz@cs.berkeley.edu> * Makefile.am: remove @X_CFLAGS@ from AM_CXXFLAGS; it causes -I/usr/include to wind up in cross-builds * configure: Regenerate. From-SVN: r120006
2006-12-04tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking if static ↵Eric Botcazou2-2/+44
linking doesn't even work. config/ * tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking if static linking doesn't even work. libgomp/ * configure: Regenerate. libmudflap/ * configure: Regenerate. libjava/ * configure: Regenerate. libstdc++-v3/ * configure: Regenerate. From-SVN: r119487
2006-11-28locks.h: Enable use of either file on either target to support multilibs ↵Mike Stump3-18/+34
from one to the... * 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. From-SVN: r119276
2006-11-21Security.java: Merge with classpath.Gary Benson4-226/+303
2006-11-21 Gary Benson <gbenson@redhat.com> * java/security/Security.java: Merge with classpath. * java/lang/Package.java: Likewise. * java/lang/Class.java (getDeclaredAnnotations): New method. From-SVN: r119057