Commit Graph

5045 Commits

Author SHA1 Message Date
Tom Tromey c8910ef9e2 re PR libgcj/24170 (libjava natFilePosix.cc seems to have a security problem)
PR libgcj/24170:
	* java/io/natFilePosix.cc (File::performList): Don't use
	readdir_r.
	* configure, include/config.h.in: Rebuilt.
	* configure.ac: Don't check for readdir_r.

From-SVN: r132491
2008-02-20 19:09:09 +00:00
Matthias Klose 57a65098f6 Makefile.am ($(TOOLS_ZIP)): Revert part of previous change, Do copy resource files in JAVA_MAINTAINER_MODE only.
2008-02-20  Matthias Klose  <doko@ubuntu.com>

        * tools/Makefile.am ($(TOOLS_ZIP)): Revert part of previous change,
        Do copy resource files in JAVA_MAINTAINER_MODE only.
        * tools/Makefile.in: Regenerate.

From-SVN: r132474
2008-02-20 12:20:18 +00:00
Jakub Jelinek 0802ae58ae cp-tools.texinfo (@direntry): Prefix info name with cp-.
* doc/cp-tools.texinfo (@direntry): Prefix info name with cp-.
	* doc/cp-hacking.texinfo (@direntry): Likewise.
	* doc/cp-vmintegration.texinfo (@direntry): Likewise.

From-SVN: r132391
2008-02-18 20:54:01 +01:00
Ralf Wildenhues bb44c9d2df re PR libgcj/33085 (liblt_prog_compiler_pic_GCJ='-DDLL_EXPORT' is wrong)
PR libgcj/33085
* libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>:
Do not use -DDLL_EXPORT.  Backport from upstream.

libjava/
PR libgcj/33085
* configure: Regenerate.

From-SVN: r132362
2008-02-16 03:57:53 +00:00
Andreas Tobler 460110e015 re PR testsuite/35208 (Please apply the patch in comment #19 of PR35035)
2008-02-15  Andreas Tobler  <a.tobler@schweiz.org>

	PR testsuite/35208
	* testsuite/libjava.jvmti/interp/natgetstacktrace.cc
	(Java_getstacktrace_natRunner): Increase the usleep time to a value
	which prevents OS-X to get into a deadlock.

From-SVN: r132342
2008-02-15 15:08:59 +01:00
Andreas Tobler c64ccf4d24 re PR libgcj/30071 (make install fails for libjava)
2008-02-06  Andreas Tobler  <a.tobler@schweiz.org>

	PR libgcj/30071
	* Makefile.am (install-exec-hook): Add install-binPROGRAMS.
	* Makefile.in: Regenerate.

From-SVN: r132159
2008-02-06 21:45:21 +01:00
Matthias Klose fb208bed52 Makefile.am ($(TOOLS_ZIP)): Copy over rmic template files.
2008-02-06  Matthias Klose  <doko@ubuntu.com>

        * tools/Makefile.am ($(TOOLS_ZIP)): Copy over rmic template files.
        Copy resource files independent of JAVA_MAINTAINER_MODE.
        * tools/Makefile.in: Regenerate.

From-SVN: r132156
2008-02-06 19:22:53 +00:00
Bernhard Fischer a3a7c5df2e SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
2008-01-27  Bernhard Fischer  <rep.dot.nop@gmail.com>

	* java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment.
	* gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in
	exception message.

From-SVN: r131912
2008-01-28 17:08:39 +00:00
Tom Tromey d2ab4e1520 Native2ASCII$3.class: Added.
* tools/classes/gnu/classpath/tools/native2ascii/Native2ASCII$3.class:
	Added.

From-SVN: r131906
2008-01-28 16:23:41 +00:00
Ralf Wildenhues 997fc59aa7 * doc/README.jaxp: Fix typos.
From-SVN: r131893
2008-01-27 21:29:02 +00:00
Tom Tromey c496dbb3c1 * resource/gnu/classpath/tools/native2ascii/messages.properties
(Native2ASCII.ReversedHelpCompat): New.
	* tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
	(createParser): Add -reverse.  Update -reversed.

From-SVN: r131801
2008-01-24 18:31:50 +00:00
David Edelsohn ed44a2c764 shlibpath.m4: Add AIX 6 support.
* shlibpath.m4: Add AIX 6 support.
        * configure: Regenerate.

From-SVN: r131794
2008-01-24 11:35:10 -05:00
Luciano Chavez e0c604077e re PR libgcj/34369 (java.net.URI.relativize(URI) method returns incorrect results)
2008-01-21  Luciano Chavez  <lnx1138@us.ibm.com>

	PR libgcj/34369:
	* java/net/URI.java (relativize): Check initial segment for
	trailing "/".

From-SVN: r131701
2008-01-21 20:08:38 +00:00
Alexandre Oliva 70a0694b3a re PR c++/33887 (Reference to bitfield gets wrong value when optimizing)
PR c++/33887
* link.cc (_Jv_Linker::prepare_constant_time_tables):
has_interfaces is boolean, treat it as such.

From-SVN: r131632
2008-01-18 19:11:15 +00:00
Andrew Haley d5b7beb930 re PR libgcj/34444 (Class.getEnclosingClass() returns null on enclosed class)
2008-01-04  Andrew Haley  <aph@redhat.com>

	PR libgcj/34444
	* java/lang/natClass.cc (Class::getEnclosingClass): Call
	getDeclaringClass().

From-SVN: r131326
2008-01-04 17:18:56 +00:00
David Daney a507baad28 install.texi (disable-libgcj-bc): Document new option.
2007-12-22  David Daney  <ddaney@avtrex.com>

	* doc/install.texi (disable-libgcj-bc): Document new option.

2007-12-22  David Daney  <ddaney@avtrex.com>

	* scripts/makemake.tcl (emit_bc_rule): Use $(LIBGCJ_BC_FLAGS)
	instead of -findirect-dispatch -fno-indirect-classes.
	* configure.ac (libgcj-bc): New AC_ARG_ENABLE.
	(SUPPRESS_LIBGCJ_BC): New AM_CONDITIONAL.
	* Makefile.am (LIBGCJ_BC_FLAGS): New variable.
	* Makefile.in: Regenerate.
	* include/Makefile.in: Same.
	* testsuite/Makefile.in: Same.
	* configure: Same.
	* gcj/Makefile.in: Same.
	* sources.am: Same.

From-SVN: r131135
2007-12-22 15:48:46 +00:00
Jakub Jelinek d42a3bace3 Makefile.am (compile-tests): Build libjava.jvmti/interp/*.h with -jni rather than -cni.
* testsuite/Makefile.am (compile-tests): Build
	libjava.jvmti/interp/*.h with -jni rather than -cni.
	* testsuite/Makefile.in: Rebuilt.

From-SVN: r131010
2007-12-17 18:06:44 +01:00
Andreas Tobler 417e7bed13 configure.host: Add bits for i?86-*-darwin9 and x86_64-*-darwin9.
2007-12-08  Andreas Tobler  <a.tobler@schweiz.org>

	* configure.host: Add bits for i?86-*-darwin9 and x86_64-*-darwin9.
	* configure.ac: Add darwin-signal.h to x86_64-*-darwin9 and
	i?86-*darwin9.
	* configure.in: Regenerate.
	* darwin.cc: Add definitions for Darwin specific functions for 64-bit.
	(darwin_java_register_dyld_add_image_hook): Use this specific
	functions.
	* Makefile.am (gij_LDFLAGS): Add extra_gij_ldflags for Darwin9.
	* Makefile.in: Regenerate.
	* include/Makefile.in: Likewise.
	* gcj/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.
	* testsuite/lib/libjava.exp (libjava_arguments): Add allow_stack_execute
	for *-*-darwin9*.

From-SVN: r130709
2007-12-08 20:23:58 +01:00
David Daney 4c42b3d84f ffi.h.in (FFI_SIZEOF_JAVA_RAW): Define if not already defined.
2007-12-06  David Daney  <ddaney@avtrex.com>

	* include/ffi.h.in (FFI_SIZEOF_JAVA_RAW): Define if not	already
	defined.
	(ffi_java_raw): New typedef.
	(ffi_java_raw_call, ffi_java_ptrarray_to_raw,
	ffi_java_raw_to_ptrarray): Change parameter types from ffi_raw to
	ffi_java_raw.
	(ffi_java_raw_closure) : Same.
	(ffi_prep_java_raw_closure, ffi_prep_java_raw_closure_loc): Change
	parameter types.
	* src/java_raw_api.c (ffi_java_raw_size):  Replace FFI_SIZEOF_ARG with
	FFI_SIZEOF_JAVA_RAW.
	(ffi_java_raw_to_ptrarray): Change type of raw to ffi_java_raw.
	Replace FFI_SIZEOF_ARG with FFI_SIZEOF_JAVA_RAW. Use
	sizeof(ffi_java_raw) for alignment calculations.
	(ffi_java_ptrarray_to_raw): Same.
	(ffi_java_rvalue_to_raw): Add special handling for FFI_TYPE_POINTER
        if FFI_SIZEOF_JAVA_RAW == 4.
	(ffi_java_raw_to_rvalue): Same.
	(ffi_java_raw_call): Change type of raw to ffi_java_raw.
	(ffi_java_translate_args): Same.
	(ffi_prep_java_raw_closure_loc, ffi_prep_java_raw_closure): Change
	parameter types.
	* src/mips/ffitarget.h (FFI_SIZEOF_JAVA_RAW): Define for N32 ABI.

2007-12-06  David Daney  <ddaney@avtrex.com>

	* interpret.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE throughout.
	(ncode_closure, ffi_closure_fun): Define versions for
	non-FFI_NATIVE_RAW_API case.
	* include/java-interp.h (INTERP_FFI_RAW_TYPE): Define and use to
	replace	ffi_raw throughout.
	* jni.cc, interpret-run.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE
	throughout.

From-SVN: r130660
2007-12-06 22:02:22 +00:00
Andreas Tobler f390e54eae jni.exp (gcj_jni_get_cxxflags_invocation): Make the testsuite multilib aware for Darwin.
2007-12-06  Andreas Tobler  <a.tobler@schweiz.org>

	* testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Make
	the testsuite multilib aware for Darwin.

From-SVN: r130657
2007-12-06 20:23:05 +01:00
Thomas Fitzsimmons 3898fe8e7c 2007-12-05 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
	native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c
	(isWindowUnderMouse): New method.
	* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h:
	Regenerate.
	* gnu/java/awt/peer/gtk/GtkComponentPeer.java
	(getLocationOnScreen): Move WindowPeer section to...
	* gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen):
	New method.
	* gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java
	(isWindowUnderMouse): Implement.
	* java/awt/Component.java (getMousePosition): New method.
	(getMousePositionHelper): Likewise.
	(mouseOverComponent): Likewise.
	* java/awt/Container.java (getMousePosition): New method.
	(mouseOverComponent): Likewise.
	* classpath/lib/java/awt/Component.class,
	classpath/lib/java/awt/Component$BltBufferStrategy.class,
	classpath/lib/java/awt/Container$GfxPaintAllVisitor.class,
	classpath/lib/java/awt/Component$AccessibleAWTComponent
	$AccessibleAWTFocusHandler.class,
	classpath/lib/java/awt/Component$FlipBufferStrategy.class,
	classpath/lib/java/awt/Container$GfxVisitor.class,
	classpath/lib/java/awt/Component$AccessibleAWTComponent
	$AccessibleAWTComponentHandler.class,
	classpath/lib/java/awt/Container$AccessibleAWTContainer
	$AccessibleContainerHandler.class,
	classpath/lib/java/awt/Container.class,
	classpath/lib/java/awt/Container$AccessibleAWTContainer.class,
	classpath/lib/java/awt/Container$GfxPrintAllVisitor.class,
	classpath/lib/java/awt/Component$AccessibleAWTComponent.class,
	classpath/lib/java/awt/Container$GfxPaintVisitor.class,
	classpath/lib/java/awt/Container$GfxPrintVisitor.class,
	classpath/lib/java/awt/Component$HeavyweightInLightweightListener.class,
	classpath/lib/gnu/java/awt/peer/gtk/GtkComponentPeer.class,
	classpath/lib/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.class,
	classpath/lib/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.class,
	classpath/lib/gnu/java/awt/peer/gtk/GtkWindowPeer.class,
	classpath/lib/gnu/java/awt/peer/gtk/GtkComponentPeer
	$RepaintTimerTask.class:
	Regenerate.

2007-12-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h: Regenerate.
	* gnu/java/awt/peer/gtk/GtkWindowPeer.h: Likewise.
	* java/awt/Component.h: Likewise.
	* java/awt/Container.h: Likewise.

From-SVN: r130627
2007-12-05 18:04:44 +00:00
H.J. Lu 04e0cb885c configure.ac: Don't run config-ml.in directly.
2007-11-05  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.ac: Don't run config-ml.in directly.
	(multilib_arg): New.
	* configure: Regenerated.

From-SVN: r129902
2007-11-05 08:53:42 -08:00
David Daney 61c9bbb782 jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
* include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
	* boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.

From-SVN: r129560
2007-10-22 21:24:35 +00:00
David Daney e34537aa38 LocaleData.class: Regenerate
* classpath/lib/gnu/java/locale/LocaleData.class: Regenerate
	* classpath/lib/gnu/javax/sound/sampled/gstreamer: Add generated
	files.
	* gnu/javax/sound/sampled/gstreamer: Add generated files.

From-SVN: r129447
2007-10-18 16:47:15 +00:00
Maciej W. Rozycki 3afcaaf4e9 tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
config/:
2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>

	* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
	(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.

libgomp/:
2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>

	* configure: Regenerate following changes to ../config/tls.m4.

libjava/:
2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>

	* configure: Regenerate following changes to ../config/tls.m4.

libmudflap/:
2007-10-15  Maciej W. Rozycki  <macro@linux-mips.org>

	* configure: Regenerate following changes to ../config/tls.m4.

From-SVN: r129364
2007-10-15 18:09:32 +00:00
Alexandre Oliva 11cd03c125 check_jni_methods.sh: Don't depend on diff -b ignoring a single trailing whitespace.
* scripts/check_jni_methods.sh: Don't depend on diff -b ignoring
a single trailing whitespace.

From-SVN: r128910
2007-10-01 19:56:46 +00:00
Tom Tromey be661bcec2 defineclass.cc (MAJOR_1_6): New define.
* defineclass.cc (MAJOR_1_6): New define.
	(MINOR_1_6): Likewise.
	(_Jv_ClassReader::parse): Handle 1.6 bytecode.

From-SVN: r128551
2007-09-17 16:30:46 +00:00
David Daney 22083efc54 configure.host: Enable interpreter for mips64.
* configure.host: Enable interpreter for mips64.  Enable hash
	synchronization for all mips*-*-linux* targets.
	* sysdep/mips/locks.h (compare_and_swap, compare_and_swap_release) Use
	__sync_bool_compare_and_swap instead of in-line asm.
	(release_set, read_barrier, write_barrier): Use __sync_synchronize
	instead of in-line asm.

From-SVN: r128438
2007-09-12 15:16:23 +00:00
Andreas Tobler 278b0f63a1 re PR libgcj/33326 (libjava - testsuite fails on intel Macintosh)
2007-09-09  Andreas Tobler  <a.tobler@schweiz.org>

	PR libgcj/33326
	* testsuite/lib/libjava.exp (libjava_arguments): Append the test spec
	only for linux targets.

From-SVN: r128302
2007-09-09 20:40:36 +02:00
Andrew Haley f144591b54 interpret-run.cc (invokevirtual_resolved): Nullcheck object on TOS.
* interpret-run.cc (invokevirtual_resolved): Nullcheck object on
        TOS.

From-SVN: r128298
2007-09-09 14:55:45 +00:00
Tom Tromey 21dd2433ff StackTrace2.jar: Rebuilt.
* testsuite/libjava.lang/StackTrace2.jar: Rebuilt.
	* testsuite/libjava.lang/StackTrace2.java (checkLine): Print file
	name.

From-SVN: r128203
2007-09-06 18:58:20 +00:00
Roman Zippel dbc293c8e4 boehm.c: Don't use bitmap as gc_descr if pointer is misaligned.
gcc/java/

2007-09-06  Roman Zippel  <zippel@linux-m68k.org>

        * boehm.c: Don't use bitmap as gc_descr if pointer is misaligned.

libjava/

2007-09-06  Roman Zippel  <zippel@linux-m68k.org>

        * sysdep/m68k/locks.h: New file.
        * configure.host: Set sysdeps_dir and libgcj_interpreter for m68k.
        * configure.ac: Set SIGNAL_HANDLER for m68*-*-linux*.
        * configure: Regenerate.

From-SVN: r128191
2007-09-06 16:39:58 +00:00
Samuel Thibault e050d7958c configure.host (gnu*): Set use_libgcj_bc to yes.
2007-09-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * configure.host(gnu*): Set use_libgcj_bc to yes.

From-SVN: r128149
2007-09-05 20:01:54 +00:00
Matthias Klose 50e47dba16 configure.ac: Do not pass --with-native-libdir to classpath.
libjava/

 2007-09-04  Matthias Klose  <doko@ubuntu.com>
 
	* configure.ac: Do not pass --with-native-libdir to classpath.
	* configure: Regenerate.

libjava/classpath/

2007-09-04  Matthias Klose  <doko@ubuntu.com>

	* configure.ac: Append libgcj soversion to nativeexeclibdir.
	* configure: Regenerate.

From-SVN: r128121
2007-09-05 07:45:09 +00:00
Matthias Klose acd29efb0f re PR libgcj/33278 (libjava fails to compile if configure argument contains "version")
2007-09-05  Matthias Klose  <doko@ubuntu.com>

	PR libgcj/33278
	* configure.ac: Robustify extraction of gcj version.
	* configure: Regenerate.

From-SVN: r128104
2007-09-04 21:32:41 +00:00
Andrew Haley f202305d01 [multiple changes]
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.

From-SVN: r128098
2007-09-04 18:00:31 +00:00
Andrew Haley da6c9e4017 [multiple changes]
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.

From-SVN: r128097
2007-09-04 17:57:52 +00:00
Andrew Haley 6ba7344111 Delete.
From-SVN: r128095
2007-09-04 17:56:02 +00:00
Andrew Haley 0854f1891d re PR java/27908 (VMSecureRandom generateSeed infinite loop? (Regression))
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.

From-SVN: r128094
2007-09-04 17:54:56 +00:00
Matthias Klose 51d89a5cdc EnumSet*.class: Regenerate
2007-08-31  Matthias Klose  <doko@ubuntu.com>

        * classpath/lib/java/util/EnumSet*.class: Regenerate

From-SVN: r128002
2007-08-31 21:06:15 +00:00
Andrew John Hughes 54b0bc0008 EnumSet.java: Documented.
2007-08-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>

	* java/util/EnumSet.java:
	Documented.
	(complementOf(EnumSet)): Fixed to flip only
	the bits used by the enumset.

From-SVN: r127938
2007-08-30 19:57:30 +00:00
Andreas Tobler 67c0208339 gij.cc (version): Update Copyright year.
2007-08-30  Andreas Tobler  <a.tobler@schweiz.org>

	* gij.cc (version): Update Copyright year.

From-SVN: r127933
2007-08-30 20:27:12 +02:00
Samuel Thibault 8256d5ac81 configure.host (gnu*): Set use_libgcj_bc to yes.
2007-08-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * configure.host (gnu*): Set use_libgcj_bc to yes.

From-SVN: r127527
2007-08-15 22:49:49 +00:00
Tom Tromey b413c535af Class.java (internalGetFields): Use LinkedHashSet.
* java/lang/Class.java (internalGetFields): Use LinkedHashSet.
	* classpath/lib/java/lang/Class.class: Rebuilt.

From-SVN: r127518
2007-08-15 16:56:17 +00:00
Samuel Thibault 2a97f34e67 natPosixProcess.cc (sigchld_handler): Remove 'si' and 'third' parameters.
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.

From-SVN: r127507
2007-08-15 08:19:32 +00:00
Andrew Haley fbb85475da libjava.exp (libjava_invoke): Log the invocation.
* testsuite/lib/libjava.exp (libjava_invoke): Log the invocation.

From-SVN: r127314
2007-08-09 09:42:57 +00:00
Samuel Thibault ad10fdc2b7 natVMInetAddressPosix.cc (java::net::VMInetAddress::getLocalHostname): Allocate buffer dynamically.
2007-08-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>

        * java/net/natVMInetAddressPosix.cc
        (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]:
        Allocate buffer dynamically.

From-SVN: r127305
2007-08-08 22:24:40 +00:00
Dalibor Topic 473210a961 re PR classpath/32844 (EnumSet causes code to be miscompiled)
2007-07-31  Dalibor Topic  <robilad@kaffe.org>

        PR 32844
        * java/util/EnumSet.java:
        Made class abstract per API spec.
        (size, iterator, add, addAll, clear, contains,
        containsAll, remove, removeAll, retainAll) Moved 
        into an anonymous inner class in of(T).
        (allOf, noneOf, copyOf, of, range) Made more 
        implementation independent.
        (of(T)) return an instance of an anonymous class
        implementing EmptySet.

From-SVN: r127291
2007-08-08 08:00:32 +00:00
Alfred M. Szmidt fcfdb14511 natFilePosix.cc (init_native): Define to 0.
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.

From-SVN: r127216
2007-08-04 21:50:01 +00:00
Matthias Klose f06a83c0b2 Import GNU Classpath (libgcj-import-20070727).
libjava/

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.


libjava/classpath/

2007-08-04  Matthias Klose  <doko@ubuntu.com>

	* java/util/EnumMap.java (clone): Add cast.

From-SVN: r127204
2007-08-04 10:53:49 +00:00