Tom Tromey
e9024f7f38
* libjava.compile/PR6865.java: New file. For PR java/6865.
...
From-SVN: r54505
2002-06-11 14:46:11 +00:00
Tom Tromey
1632a23685
* libjava.lang/PR6520.java: Fixed typo.
...
From-SVN: r54503
2002-06-11 14:38:44 +00:00
Tom Tromey
d8f19ccfab
* libjava.lang/PR6520.java: New file. For PR java/6520.
...
From-SVN: r54482
2002-06-11 03:50:30 +00:00
Bryce McKinlay
5f555088ad
configure.host: Disable hash synchronization and slow_pthread_self for cygwin.
...
* configure.host: Disable hash synchronization and slow_pthread_self
for cygwin.
From-SVN: r54428
2002-06-10 04:50:41 +01:00
Adam Megacz
28038fe12f
natFileDescriptorWin32.cc (open): Disable Win32 file locking, just like the Sun JVM does.
...
2002-06-06 Adam Megacz <adam@xwt.org>
* java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
locking, just like the Sun JVM does.
From-SVN: r54322
2002-06-06 20:39:37 +00:00
H.J. Lu
5d3dfc3ac1
Makefile.am (libgcj_convenience.la): Revert the last change.
...
2002-06-05 H.J. Lu (hjl@gnu.org )
* Makefile.am (libgcj_convenience.la): Revert the last change.
(libgcj.la): Likewise.
* Makefile.in: Regenerated.
From-SVN: r54295
2002-06-05 15:15:05 -07:00
H.J. Lu
77d2dd29ad
Use ## for comment.
...
From-SVN: r54271
2002-06-04 17:19:30 -07:00
H.J. Lu
622dc71b65
Makefile.am (libgcj_convenience.la): New target.
...
2002-06-04 H.J. Lu (hjl@gnu.org )
* Makefile.am (libgcj_convenience.la): New target.
(libgcj.la): Depend on libgcj_convenience.la.
* Makefile.in: Regenerated.
From-SVN: r54268
2002-06-04 15:52:52 -07:00
H.J. Lu
9e7823ccbe
configure.in (--with-newlib): New option: Check ${with_newlib} instead of ${with_cross_host} for newlib.
...
2002-06-04 H.J. Lu (hjl@gnu.org )
* configure.in (--with-newlib): New option:
Check ${with_newlib} instead of ${with_cross_host} for newlib.
(HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
Linux.
* configure: Regenerated.
From-SVN: r54262
2002-06-04 14:01:44 -07:00
Tom Tromey
d6ee617dd7
re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException)
...
* libjava.compile/T20020604.java: New file.
For PR libgcj/6389:
* libjava.mauve/xfails: Now passes System.getProperty test.
For PR java/1343 and PR java/6336:
* libjava.compile/PR1343.java: New file.
For PR java/5913:
* libjava.compile/PR5913.xfail: Removed.
From-SVN: r54259
2002-06-04 19:39:02 +00:00
Tom Tromey
4e176a9bbd
* java/util/natTimeZone.cc: Include <stdio.h>.
...
From-SVN: r54258
2002-06-04 19:30:20 +00:00
Bryce McKinlay
5549d65dfb
* libjava.compile/T20020529.java: New file.
...
From-SVN: r54039
2002-05-30 03:53:13 +01:00
Ulrich Weigand
e793a7140e
configure.host [...]: Set can_unwind_signal=yes.
...
* configure.host [s390*-linux*]: Set can_unwind_signal=yes.
* configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
Set SIGNAL_HANDLER=include/s390-linux.h.
* configure: Regenerate.
* include/s390-linux.h: New file.
From-SVN: r54012
2002-05-29 18:36:50 +00:00
Bryce McKinlay
1457a0b52a
re PR java/6820 (miscompilation of (a,++a) as arguments to final method)
...
* libjava.lang/PR6820.java: New file.
* libjava.lang/PR6820.out: New file.
From-SVN: r53908
2002-05-27 06:47:40 +01:00
Bryce McKinlay
f5fa9bc199
natThrowable.cc (fillInStackTrace): Use "stackTraceBytes", not "stackTrace".
...
* java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
not "stackTrace".
From-SVN: r53857
2002-05-24 23:31:23 +01:00
Bryce McKinlay
d2f108e266
Merge JDK 1.4 java.security changes from classpath.
...
* java/security/AccessControlException.java: Merge from Classpath.
* java/security/AccessController.java: Likewise.
* java/security/AllPermission.java: Likewise.
* java/security/BasicPermission.java: Likewise.
* java/security/Certificate.java: Likewise.
* java/security/CodeSource.java: Likewise.
* java/security/DigestException.java: Likewise.
* java/security/DigestOutputStream.java: Likewise.
* java/security/DomainCombiner.java: Likewise.
* java/security/GeneralSecurityException.java: Likewise.
* java/security/Guard.java: Likewise.
* java/security/GuardedObject.java: Likewise.
* java/security/InvalidAlgorithmParameterException.java: Likewise.
* java/security/InvalidKeyException.java: Likewise.
* java/security/InvalidParameterException.java: Likewise.
* java/security/Key.java: Likewise.
* java/security/KeyException.java: Likewise.
* java/security/KeyManagementException.java: Likewise.
* java/security/KeyStoreException.java: Likewise.
* java/security/MessageDigest.java: Likewise.
* java/security/NoSuchAlgorithmException.java: Likewise.
* java/security/NoSuchProviderException.java: Likewise.
* java/security/Permission.java: Likewise.
* java/security/PermissionCollection.java: Likewise.
* java/security/Permissions.java: Likewise.
* java/security/Policy.java: Likewise.
* java/security/Principal.java: Likewise.
* java/security/PrivateKey.java: Likewise.
* java/security/PrivilegedAction.java: Likewise.
* java/security/PrivilegedActionException.java: Likewise.
* java/security/PrivilegedExceptionAction.java: Likewise.
* java/security/ProtectionDomain.java: Likewise.
* java/security/ProviderException.java: Likewise.
* java/security/PublicKey.java: Likewise.
* java/security/SecureClassLoader.java: Likewise.
* java/security/SecurityPermission.java: Likewise.
* java/security/SignatureException.java: Likewise.
* java/security/UnrecoverableKeyException.java: Likewise.
* java/security/UnresolvedPermission.java: Likewise.
* java/security/acl/AclNotFoundException.java: Likewise.
* java/security/acl/LastOwnerException.java: Likewise.
* java/security/acl/NotOwnerException.java: Likewise.
* java/security/cert/CRLException.java: Likewise.
* java/security/cert/CertificateEncodingException.java: Likewise.
* java/security/cert/CertificateException.java: Likewise.
* java/security/cert/CertificateExpiredException.java: Likewise.
* java/security/cert/CertificateFactory.java: Likewise.
* java/security/cert/CertificateNotYetValidException.java: Likewise.
* java/security/cert/CertificateParsingException.java: Likewise.
* java/security/spec/InvalidKeySpecException.java: Likewise.
* java/security/spec/InvalidParameterSpecException.java: Likewise.
* java/security/cert/CertPath.java: New file.
* java/security/cert/CertPathBuilderException.java: New file.
* java/security/cert/CertPathValidatorException.java: New file.
* java/security/cert/CertStoreException.java: New file.
* Makefile.am: Add new CertPath classes.
* Makefile.in: Rebuilt.
* gnu/java/util/EmptyEnumeration: New file from classpath.
From-SVN: r53837
2002-05-24 12:57:40 +01:00
Bryce McKinlay
4fbecd2944
Merge JDK 1.4 exception chaining support from classpath.
...
* java/lang/Throwable.java: Merge 1.4 support from classpath.
(stackTraceBytes): Rename from stackTrace.
* java/lang/Exception.java: Merge from classpath.
* java/lang/StackTraceElement: New file from classpath.
* gcj/javaprims.h: Rebuild CNI namespace declarations.
* Makefile.am: Add StackTraceElement.
* Makefile.in: Rebuilt.
From-SVN: r53836
2002-05-24 11:40:47 +01:00
Bryce McKinlay
a70b54fd56
Makefile.am (all-recursive): Depend on $all_java_class_files so that they build first.
...
* Makefile.am (all-recursive): Depend on $all_java_class_files so that
they build first.
* Makefile.in: Rebuilt.
From-SVN: r53760
2002-05-23 05:18:35 +01:00
Bryce McKinlay
30def3f537
re PR java/6729 (Compiler error causing break of java.lang.Character.isWhitespace)
...
* libjava.lang/PR6729.java: New file.
* libjava.lang/PR6729.out: New file.
From-SVN: r53759
2002-05-23 04:32:05 +01:00
Bryce McKinlay
851ac95734
Test case for PR 6729.
...
From-SVN: r53758
2002-05-23 04:30:13 +01:00
Rainer Orth
1e6347d8b9
Makefile.in: Allow for PWDCMD to override hardcoded pwd.
...
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* config-ml.in: Likewise.
* configure: Likewise.
* configure.in: Likewise.
boehm-gc:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
* aclocal.m4: Regenerate.
* configure: Regenerate.
config:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
contrib:
* test_installed: Allow for PWDCMD to override hardcoded pwd.
* test_summary: Likewise.
gcc:
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* configure.in: Likewise.
* fixinc/check.tpl: Likewise.
* fixinc/fixinc.dgux: Likewise.
* fixinc/fixinc.svr4: Likewise.
* fixinc/fixinc.winnt: Likewise.
* fixinc/fixincl.sh: Likewise.
* fixproto: Likewise.
* configure: Regenerate.
gcc/ada:
* Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
* Makefile.in: Likewise.
gcc/f:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
gcc/java:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
gcc/po:
* exgettext: Allow for PWDCMD to override hardcoded pwd.
gcc/treelang:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
libf2c:
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* aclocal.m4: Likewise.
* configure: Regenerate.
libjava:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
* configure.in: Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
libobjc:
* aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
* configure: Regenerate.
libstdc++-v3:
* Makefile.am: Allow for PWDCMD to override hardcoded pwd.
* acinclude.m4: Likewise.
* docs/html/Makefile: Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
zlib:
* configure.in: Allow for PWDCMD to override hardcoded pwd.
* configure: Regenerate.
* ChangeLog: Move entries to ChangeLog.gcj.
From-SVN: r53523
2002-05-16 17:43:21 +00:00
Tom Tromey
e86c533b01
natRuntime.cc: Don't include sys/time.h and time.h.
...
* java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
* java/util/natTimeZone.cc: Include sys/time.h and time.h here.
Include platform.h.
From-SVN: r53443
2002-05-14 05:29:30 +00:00
Tom Tromey
8639786815
re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException)
...
Fixes PR libgcj/6389:
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natTimeZone.cc.
* java/util/natTimeZone.cc: New file.
* java/util/TimeZone.java (getDefaultTimeZoneId): New method.
* java/lang/System.java: Merged with Classpath.
* java/lang/Runtime.java: Merged with Classpath.
* java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
security check.
(setIn0): Renamed from setIn; don't run security check.
(setOut0): Renamed from setOut; don't run security check.
(file_encoding, getpwuid_adaptor, getSystemTimeZone,
init_properties): Moved to natRuntime.cc.
Moved many includes to natRuntime.cc.
(isWordsBigEndian): New method.
* java/lang/natRuntime.cc: Include Long.h, also other includes
previously in natSystem.cc.
(maxMemory): New function.
(exitInternal): Renamed from `_exit'.
(exit): Removed.
(init): Don't set finalize_on_exit.
(exitInternal): Use `finalizeOnExit'.
(file_encoding, getpwuid_adaptor): New functions from
natSystem.cc.
(insertSystemProperties): New method, renamed from
System::init_properties. Don't set user.timezone.
(_load): Don't call checkLink.
(execInternal): New method.
(availableProcessors): Likewise.
(nativeGetLibname): Likewise.
From-SVN: r53429
2002-05-13 20:10:37 +00:00
Mark Wielaard
c1acbb7a35
SentenceBreakIterator.java (next): Skip all java white space characters.
...
* gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
space characters.
(previous_internal): Likewise.
From-SVN: r53389
2002-05-12 01:11:18 +00:00
Tom Tromey
370b2564b7
* jni.cc (_Jv_JNIFunctions): Fixed typo.
...
From-SVN: r53353
2002-05-10 01:47:55 +00:00
Tom Tromey
9525891785
ResourceBundle.java: New version from Classpath.
...
* java/util/ResourceBundle.java: New version from Classpath.
* java/util/Locale.java: Likewise.
From-SVN: r53351
2002-05-09 23:41:42 +00:00
Jakub Jelinek
2937267b6a
re PR target/6429 (libgcc_s problem on dual 32/64-bit arches)
...
PR target/6429
* Makefile.in (libgcc.mk): Pass SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
* mklibgcc.in: If SHLIB_SLIBDIR_SUFFIXES is defined, put libgcc_s
shared libraries into multilib dirs, with SONAME libgcc_s.so.1 for
base multilibs.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Adjust for the above.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
* config/i386/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/sparc/t-linux64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* config/sparc/t-sol2-64 (SHLIB_SLIBDIR_SUFFIXES): Define.
* lib/g77.exp (g77_link_flags): Append all multilib dirs containing
libgcc_s*.so.1 below gcc object dir to LD_LIBRARY_PATH.
* lib/g++.exp (g++_link_flags): Likewise.
* lib/objc.exp (objc_target_compile): Likewise.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
multilib dirs containing libgcc_s*.so.1 below gcc object dir to
LD_LIBRARY_PATH.
* testsuite/lib/libjava.exp (libjava_arguments): Append all
multilib dirs containing libgcc_s*.so.1 below gcc object dir to
LD_LIBRARY_PATH.
From-SVN: r53345
2002-05-09 23:01:55 +02:00
Mark Mitchell
281524f4cb
jcf-write.c (write_classfile): Write the file to a temporary file and then rename it.
...
* java/jcf-write.c (write_classfile): Write the file to a
temporary file and then rename it.
* libjava/Makefile.am (all_java_source_files): New variable.
(all_java_class_files): Likewise.
.java.class: New rule.
(CLEANFILES): Remove tmp-list.
* libjava/Makefile.in: Regenerated.
From-SVN: r53298
2002-05-08 19:24:42 +00:00
David Billinghurst
61b8fbecf7
libjava.exp (test_libjava_from_javac): Append .exe to executable names.
...
2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (test_libjava_from_javac):
Append .exe to executable names. Fix for cygwin.
From-SVN: r53291
2002-05-08 12:38:55 +00:00
Alexandre Oliva
6706f1167e
configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
...
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
From-SVN: r53278
2002-05-08 04:38:00 +00:00
Tom Tromey
5d243e08b8
* java/lang/natString.cc (unintern): Fixed typo.
...
From-SVN: r53265
2002-05-07 19:07:07 +00:00
David Billinghurst
736a57deec
libjava.exp (libjava_arguments): Don't link with -no-install on *-*-cygwin*.
...
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (libjava_arguments): Don't link
with -no-install on *-*-cygwin*.
From-SVN: r53210
2002-05-06 11:37:34 +00:00
David Billinghurst
49f8e94b6b
libjava.exp (test_libjava_from_source): Add comment explaining last patch.
...
2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (test_libjava_from_source):
Add comment explaining last patch.
From-SVN: r53201
2002-05-05 23:19:06 +00:00
Mark Wielaard
de6ba6e546
For PR java/6519:
...
* libjava.lang/emptystring.java: New.
* libjava.lang/emptystring.out: New.
From-SVN: r53157
2002-05-04 13:24:40 +00:00
David Billinghurst
1c177c1816
libjava.exp (test_libjava_from_source): Append .exe to executable names.
...
2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/libjava.exp (test_libjava_from_source):
Append .exe to executable names. If no suffix is present,
then ".exe" is added by default on win32. Harmless
elsewhere so always do it.
From-SVN: r53143
2002-05-04 03:38:14 +00:00
David Billinghurst
0659e0e3df
natSystem.cc (getSystemTimeZone): Use HAVE_UNDERSCORE_TIMEZONE.
...
2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
Tom Tromey <tromey@redhat.com>
* java/lang/natSystem.cc (getSystemTimeZone): Use
HAVE_UNDERSCORE_TIMEZONE.
* include/config.h.in: Rebuilt.
* acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Run AC_EXEEXT.
* configure.in: Adjust test for `timezone' so it fails on Cygwin.
Add test for `_timezone'.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r53117
2002-05-03 20:17:48 +00:00
Alexandre Oliva
eb9c4fdf66
Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
...
Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
(gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
* Makefile.in: Rebuilt.
From-SVN: r53108
2002-05-03 18:23:36 +00:00
Hans Boehm
ce4b2ca6bc
dwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.
...
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
use sigaction instead of __libc_sigaction.
From-SVN: r53074
2002-05-03 00:21:48 +00:00
Rainer Orth
b651af860e
libjava.exp (libjava_find_spec): New function.
...
* testsuite/lib/libjava.exp (libjava_find_spec): New function.
(libjava_init): Use it to find libgcj.spec.
(libjava_arguments): Likewise.
From-SVN: r53057
2002-05-02 19:12:37 +00:00
David S. Miller
fd84ba84a7
re PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)
...
2002-05-02 David S. Miller <davem@redhat.com>
PR bootstrap/6525
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
__libc_sigaction on Sparc.
From-SVN: r53055
2002-05-02 10:54:24 -07:00
Jerome Marc
16034e4ba3
natPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present.
...
2002-05-02 Jerome Marc <marcjero@yahoo.com>
* java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
sys/filio.h, if present.
From-SVN: r53050
2002-05-02 17:33:59 +00:00
Tom Tromey
479060323b
re PR libgcj/6301 (gij -jar does not work)
...
* java/io/BufferedReader.java (fill): Handle case where markPos
point to ignored \n. Fixes PR libgcj/6301.
From-SVN: r52982
2002-04-30 23:55:57 +00:00
Gerhard Tonn
f736fd67c0
ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
...
2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
* java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
From-SVN: r52874
2002-04-29 05:15:57 +01:00
Adam King
f81c23cdf5
natFileDescriptorWin32.cc (open): Move file pointer to end of file in APPEND mode.
...
2002-04-29 Adam King <aking@dreammechanics.com>
* java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
of file in APPEND mode.
From-SVN: r52869
2002-04-29 04:54:50 +01:00
Mark Mitchell
14dbfa7008
* .cvsignore: Remove files that are present in CVS.
...
From-SVN: r52845
2002-04-28 18:41:51 +00:00
David S. Miller
6ea531707a
re PR target/6422 (libjava failures on sparc-linux)
...
2002-04-25 David S. Miller <davem@redhat.com>
PR target/6422
* include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
program counter to next program counter minus 8. Update
comments in this macro to explain why.
From-SVN: r52820
2002-04-26 17:04:14 -07:00
Tom Tromey
b446a5f169
verify.cc (construct_primitive_array_type): New case.
...
* verify.cc (construct_primitive_array_type) [void_type]: New
case.
(branch_prepass): Added dummy entries for unused instruction
values.
(verify_instructions_0): Likewise.
* interpret.cc (continue1): Comment fix.
* include/java-insns.h (op_xxxunusedxxx1): Removed.
* Makefile.in: Rebuilt.
* Makefile.am: Added -Wswitch-enum.
From-SVN: r52814
2002-04-26 22:39:29 +00:00
Tom Tromey
0df9cfc799
natCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encoded name.
...
* gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
correct length of UTF-8 encoded name. Strip leading `/'.
(_Jv_RegisterResource): Use _Jv_Malloc.
From-SVN: r52744
2002-04-24 23:05:17 +00:00
Adam Megacz
c2a6704f60
win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it.
...
2002-04-23 Adam Megacz <adam@xwt.org>
* win32.cc, include/win32.cc (backtrace): Added this function
because Win32 does not supply it.
From-SVN: r52701
2002-04-24 01:33:19 +00:00
David S. Miller
4bf0144590
dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence.
...
2002-04-21 David S. Miller <davem@redhat.com>
* include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
magic instruction reading sequence.
From-SVN: r52609
2002-04-22 01:13:32 -07:00