David Edelsohn
74284b0b75
shlibpath.m4: Add AIX 6 support.
...
2008-01-24 David Edelsohn <edelsohn@gnu.org >
* shlibpath.m4: Add AIX 6 support.
* configure: Regenerate.
From-SVN: r133185
2008-03-13 15:08:16 -04:00
Joseph Myers
f4ff3642a1
Mark ChangeLog
...
From-SVN: r132039
2008-02-01 16:54:11 +00:00
Joseph Myers
5f23212fa6
Mark ChangeLog
...
From-SVN: r132038
2008-02-01 16:54:05 +00:00
Joseph Myers
c04c22df94
Mark ChangeLog
...
From-SVN: r132037
2008-02-01 16:53:59 +00:00
Roger Sayle
8b801aeea8
backport: natPosixProcess.cc: Include <sys/time.h> before <sys/resource.h> to restore bootstrap on...
...
Backport from mainline.
* java/lang/natPosixProcess.cc: Include <sys/time.h> before
<sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
From-SVN: r129214
2007-10-10 17:51:17 +00:00
Mark Mitchell
567b2d738b
Mark ChangeLog
...
From-SVN: r129107
2007-10-07 21:20:40 +00:00
Mark Mitchell
f86ecd5a12
Mark ChangeLog
...
From-SVN: r129106
2007-10-07 21:20:38 +00:00
Mark Mitchell
e16edf0064
Mark ChangeLog
...
From-SVN: r129105
2007-10-07 21:20:35 +00:00
Rainer Orth
6da0e74138
configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
...
* configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
* configure: Regenerate.
From-SVN: r126848
2007-07-23 12:54:02 +00:00
Mark Mitchell
bd87f76c6e
Mark ChangeLog
...
From-SVN: r126779
2007-07-19 14:30:40 +00:00
Mark Mitchell
180157c827
Mark ChangeLog
...
From-SVN: r126778
2007-07-19 14:30:32 +00:00
Mark Mitchell
5baa6e64ff
Mark ChangeLog
...
From-SVN: r126777
2007-07-19 14:30:28 +00:00
Rainer Orth
2951f1ca78
re PR libgcj/32651 (libjava fails to build on IRIX 6.5)
...
PR libgcj/32651
* configure.host (mips-sgi-irix6*): Set sysdeps_dir.
Disable interpreter.
From-SVN: r126516
2007-07-10 17:02:57 +00:00
Andrew Haley
7e55d48701
natClassLoader.cc (_Jv_NewClassFromInitializer): Clear INTERPRETED access modifier.
...
2007-05-31 Andrew Haley <aph@redhat.com >
* java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
INTERPRETED access modifier.
From-SVN: r125221
2007-05-31 09:43:55 +00:00
Mark Mitchell
47bdbd1788
Mark ChangeLog
...
From-SVN: r124691
2007-05-14 03:14:03 +00:00
Mark Mitchell
55dc79a9f7
Mark ChangeLog
...
From-SVN: r124690
2007-05-14 03:13:57 +00:00
Mark Mitchell
8f3cce2bbb
Mark ChangeLog
...
From-SVN: r124689
2007-05-14 03:13:50 +00:00
Ian Lance Taylor
e974785db0
re PR java/31842 (r124338 causes java Divide_1 and pr6388 to fail)
...
PR java/31842
* java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
overflow.
From-SVN: r124531
2007-05-08 00:30:27 +00:00
David Daney
52a55497c8
re PR libgcj/31228 (Race condition between setting close-on-exec and Runtime.exec())
...
PR libgcj/31228
* configure.ac: Add checks for getrlimit and sys/resource.h.
* include/posix.h (_Jv_platform_close_on_exec): Remove.
* include/config.h.in: Regenerate.
* configure: Regenerate.
* gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
_Jv_platform_close_on_exec;
* gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
(accept): Likewise.
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
* java/lang/natPosixProcess.cc: Include sys/resource.h.
(nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
pipes.
From-SVN: r123208
2007-03-26 06:07:13 +00:00
Jakub Jelinek
054b551f8b
re PR classpath/23566 (Need to regenerate TimeZone data against tzdata2006a)
...
2007-02-09 Jakub Jelinek <jakub@redhat.com >
PR 23566
* java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
From-SVN: r121850
2007-02-12 17:01:14 +00:00
Kaloian Doganov
e5647dd580
re PR libgcj/30600 (gnu.gcj.convert.BytesToCharsetAdaptor calculates bad argument for java.nio.Buffer.limit(int))
...
2007-01-29 Kaloian Doganov <kaloian@doganov.org >
PR libgcj/30600:
* gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
'limit'.
From-SVN: r121331
2007-01-30 03:08:19 +00:00
Michele Sandri
9c5a8333f4
2007-01-28 Michele Sandri <gpointorama@gmail.com>
...
* gnu/java/nio/channels/natFileChannelWin32.cc
(lock): Implemented.
(unlock): Implemented.
From-SVN: r121258
2007-01-28 15:14:56 +00:00
Marco Trudel
f6bb2dcbde
2007-01-24 Marco Trudel <mtrudel@gmx.ch>
...
* java/security/Security.java
Imported the version from GNU classpath 0.92 (kept GCJ differences).
* classpath/gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an
unnecessary test.
* classpath/javax/crypto/CipherOutputStream.java: Re-implemented.
* classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java
(engineUpdate(byte[], int, int)): Always keep data for unpadding
in padded decryption mode and check if it is a complete block.
(engineUpdate(byte[], int, int, byte[], int)): Likewise.
(engineDoFinal(byte[], int, int)): In padded decryption mode, take
partially processed data into account.
From-SVN: r121154
2007-01-25 00:25:05 +00:00
Marco Trudel
34d72d2817
Arrays.java (binarySearch): Change comparison order.
...
2007-01-23 Marco Trudel <mtrudel@gmx.ch >
* java/util/Arrays.java (binarySearch): Change comparison order.
From-SVN: r121090
2007-01-23 23:07:51 +00:00
Tom Tromey
29eebc12f4
re PR java/29812 (env->klass value is not updated during the native calls)
...
PR java/29812:
* 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: r121066
2007-01-22 23:33:24 +00:00
Jack Howarth
b8ac154a88
aclocal.m4: Regenerate to use multi.m4.
...
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: r120862
2007-01-17 18:10:26 +00:00
Mike Stump
3092270f0b
locks.h: Enable use of either file on either target to support multilibs 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: r119680
2006-12-09 00:45:39 +00:00
Ben Konrath
13f3596e55
re PR libgcj/30110 (classpath external missing from src.zip)
...
2006-12-08 Ben Konrath <bkonrath@redhat.com >
PR libgcj/30110:
* Makefile.am: Add contents of classpath/external to src.zip.
* Makefile.in: Regenerate.
From-SVN: r119664
2006-12-08 20:30:14 +00:00
Eric Botcazou
2af62912c4
tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking if static 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: r119488
2006-12-04 11:13:07 +00:00
Mohan Embar
be5f186090
re PR libgcj/29151 ([win32] Runtime.exec(String[] cmdarray, String[] envp) -> envp doesn't work)
...
PR libgcj/29151:
* java/lang/natWin32Process.cc (startProcess): Unconditionally
create a UNICODE environment for CreateProcess call.
From-SVN: r119230
2006-11-26 19:53:11 +00:00
Andreas Tobler
1d057562e2
natevents.cc (do_callback_arg_tests): Replace formatting modifiers %p with %#llx and cast the arguments.
...
2006-10-25 Andreas Tobler <a.tobler@schweiz.org >
* testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace
formatting modifiers %p with %#llx and cast the arguments.
From-SVN: r118041
2006-10-25 22:26:01 +02:00
Tom Tromey
23f1d24742
natevents.cc (do_callback_arg_tests): Correctly pass jvalues.
...
* testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests):
Correctly pass jvalues.
From-SVN: r117913
2006-10-20 21:43:36 +00:00
Tom Tromey
e7f7d23387
register2.java: New file.
...
* 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 <juerg@scratchdisk.com >
Co-Authored-By: Bryce McKinlay <mckinlay@redhat.com >
From-SVN: r117867
2006-10-18 23:17:04 +00:00
Geoffrey Keating
8829ef30e4
natevents.cc (env): Delete.
...
* 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.
From-SVN: r117817
2006-10-17 04:12:59 +00:00
Keith Seitz
0f546316f4
java-insns.h (enum java_code): Add op_breakpoint.
...
* 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.
From-SVN: r117734
2006-10-14 20:11:12 +00:00
Keith Seitz
dc0aeb6069
jvmti-int.h (JVMTI): Declare all members "extern".
...
* include/jvmti-int.h (JVMTI): Declare all members "extern".
* jvmti.cc (JVMTI): Define.
From-SVN: r117670
2006-10-12 18:18:52 +00:00
Tom Tromey
d233eb7a05
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Use mkinstalldirs.
From-SVN: r117634
2006-10-11 14:42:39 +00:00
Tom Tromey
13869d712f
natSystemProperties.cc (insertSystemProperties): Removed obsolete comment.
...
* gnu/classpath/natSystemProperties.cc (insertSystemProperties):
Removed obsolete comment.
From-SVN: r117626
2006-10-11 03:05:32 +00:00
Keith Seitz
05ee9ca08f
java-interp.h (_Jv_InterpMethod::get_insn): Declare.
...
* 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.
From-SVN: r117614
2006-10-10 20:15:51 +00:00
Tom Tromey
4e34ede292
re PR xml/29362 (NullPointerException in gnu.xml.transform.TransformerImpl.strip(libgcj.so.7rh))
...
PR classpath/29362:
* gnu/xml/transform/TransformerImpl.java (transform): Only strip if
there is a stylesheet.
From-SVN: r117612
2006-10-10 19:31:56 +00:00
Tom Tromey
ab6b9a13d0
prims.cc (_Jv_PrependVersionedLibdir): Use _Jv_platform_path_separator.
...
* prims.cc (_Jv_PrependVersionedLibdir): Use
_Jv_platform_path_separator.
From-SVN: r117611
2006-10-10 18:46:41 +00:00
Tom Tromey
51d0a5cc30
re PR libgcj/29205 (lib/pkgconfig/libgcj.pc needs to become version dependent)
...
PR libgcj/29205:
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Install the .pc file.
(pkgconfig_DATA): Removed.
From-SVN: r117610
2006-10-10 18:44:06 +00:00
Gary Benson
afd4a54a00
2006-10-05 Gary Benson <gbenson@redhat.com>
...
* java/net/SocketPermission.java
(processHostport): Cope with IPv6 addresses with a
one-digit first component.
From-SVN: r117454
2006-10-05 09:32:57 +00:00
Gary Benson
704312e738
2006-10-03 Gary Benson <gbenson@redhat.com>
...
* java/net/InetAddress.java
(<clinit>): Reorder the static initializers.
From-SVN: r117394
2006-10-03 10:27:28 +00:00
Gary Benson
93a8f49bfa
2006-10-02 Gary Benson <gbenson@redhat.com>
...
* java/net/InetAddress.java
(checkConnect): Reinstated.
(loopbackAddress): Ensure initialized from non-null object.
From-SVN: r117370
2006-10-02 10:54:43 +00:00
Keith Seitz
19add4f7e4
java-interp.h (prepared): Change type to pc_t.
...
* 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.
From-SVN: r117333
2006-09-30 19:20:16 +00:00
Jack Howarth
d4708d9dd4
re PR target/26792 (need to use autoconf when using newly-added libgcc functions)
...
2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu >
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.
From-SVN: r117259
2006-09-27 21:24:23 +00:00
Tom Tromey
d79d57fa02
Locale.java (hashcode): No longer transient.
...
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.
From-SVN: r117248
2006-09-27 07:58:11 +00:00
Tom Tromey
3e212b0fb7
Makefile.in: Rebuilt.
...
* native/jni/gconf-peer/Makefile.in: Rebuilt.
* native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
variable.
From-SVN: r117210
2006-09-25 21:06:04 +00:00
Tom Tromey
a7bf80389a
re PR libgcj/29178 (CharsetEncoder.canEncode() gives different results than Sun version)
...
PR libgcj/29178:
* gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
(Encoder.canEncode): Likewise.
(Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
* gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
method.
(Encoder.canEncode): Likewise.
* gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
method.
(Encoder.canEncode): Likewise.
From-SVN: r117209
2006-09-25 21:04:01 +00:00