aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
1999-07-07i386-signal.h (MAKE_THROW_FRAME): Advance EIP by two bytes to make it point ↵Andrew Haley1-0/+7
after the instruction where the trap... 1999-07-07 Andrew Haley <aph@cygnus.com> * include/i386-signal.h (MAKE_THROW_FRAME): Advance EIP by two bytes to make it point after the instruction where the trap occurred. (HANDLE_DIVIDE_OVERFLOW): Ditto. From-SVN: r27994
1999-07-07mauve-libgcj: Explicitly enable formerly disabled java.text tests.Tom Tromey2-0/+6
* mauve-libgcj: Explicitly enable formerly disabled java.text tests. From-SVN: r27992
1999-07-07mauve-libgcj: Turn off ClassTest test.Tom Tromey2-6/+7
* mauve-libgcj: Turn off ClassTest test. Enable java.text tests again. From-SVN: r27990
1999-07-07i386-signal.h (MAKE_THROW_FRAME): Advance EIP by two bytes to make it point ↵Andrew Haley1-3/+16
after the instruction where the trap... 1999-07-07 Andrew Haley <aph@cygnus.com> * include/i386-signal.h (MAKE_THROW_FRAME): Advance EIP by two bytes to make it point after the instruction where the trap occurred. (HANDLE_DIVIDE_OVERFLOW): Ditto. From-SVN: r27989
1999-07-06* libjava.lang/Final.xfail: Output fails, not exec.Tom Tromey2-1/+3
From-SVN: r27965
1999-07-06Final.xfail: New file.Tom Tromey8-23/+120
* libjava.lang/Final.xfail: New file. * libjava.compile/Case.xfail: New file. * libjava.compile/Where.xfail: New file. * libjava.compile/test.exp: Look for `.xfail' files. * libjava.lang/test.exp: Don't look for `.arg' files. Do look for `.xfail' files. * lib/libjava.exp (test_libjava_from_source): Changed meaning of `exec_args' argument. Handle `xfail-*' arguments. (test_libjava_from_javac): Likewise. (test_libjava): Likewise. (libjava_read_xfail): New proc. From-SVN: r27957
1999-07-05Final.java: Added.Bryce McKinlay3-0/+26
1999-07-05 Bryce McKinlay <bryce@albatross.co.nz> * libjava.lang/Final.java: Added. * libjava.lang/Final.out: Added. From-SVN: r27949
1999-07-05URL.java (equals): Compare strings using String.equals.Anthony Green2-10/+27
* java/net/URL.java (equals): Compare strings using String.equals. * java/net/URL.java (sameFile): Ditto. From-SVN: r27947
1999-07-02configure: Rebuilt.Warren Levy5-198/+249
* configure: Rebuilt. * configure.in: Added inet_ntoa to AC_CHECK_FUNCS. * include/config.h.in: Rebuilt. * java/net/natPlainDatagramSocketImpl.cc: Added header checking. (mcastGrp): Updated FIXME comments. (setOption): Fixed typo. (getOption):Implemented IP_MULTICAST_IF. From-SVN: r27929
1999-07-02Finalize_1.out: Removed.Tom Tromey3-29/+3
* libjava.lang/Finalize_1.out: Removed. * libjava.lang/Finalize_1.java: Removed. From-SVN: r27927
1999-07-02Thread_1.out: Updated.Tom Tromey3-2/+8
* libjava.lang/Thread_1.out: Updated. * libjava.lang/Thread_1.java: Don't run exit test. From-SVN: r27925
1999-07-02PlainDatagramSocketImpl.java (ttl): Removed.Warren Levy3-12/+68
* java/net/PlainDatagramSocketImpl.java (ttl): Removed. * java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Implemented. (getTimeToLive): Implemented. (setOption): Implemented IP_MULTICAST_IF. From-SVN: r27922
1999-07-01String.java (toString): Check for this == null and throw NullPointerException.Bryce McKinlay2-0/+8
1999-07-01 Bryce McKinlay <bryce@albatross.co.nz> * java/lang/String.java (toString): Check for this == null and throw NullPointerException. From-SVN: r27895
1999-07-01[multiple changes]Warren Levy11-22/+47
1999-07-01 Warren Levy <warrenl@cygnus.com> * gnu/gcj/convert/BytesToUnicode.java (read): Changed outlength to count and revised comments to match. * gnu/gcj/convert/Input_EUCJIS.java (read): Same as Input_8859_1.java. * gnu/gcj/convert/Input_JavaSrc.java (read): ditto. * gnu/gcj/convert/Input_SJIS.java (read): ditto. * gnu/gcj/convert/Input_UTF8.java (read): ditto. * gnu/gcj/convert/natInput_EUCJIS.cc (read): ditto. * gnu/gcj/convert/natInput_SJIS.cc (read): ditto. 1999-07-01 John-Marc Chandonia <jmc@cmpharm.ucsf.edu> * gnu/gcj/convert/Input_8859_1.java (read): Use 3rd parameter properly as count rather than outlength. * java/io/BufferedOutputStream.java (write(byte[],int,int): Flush output on overflow rather than buffer fill. * java/io/BufferedReader.java (fill): Don't clear out the buffer if markPos is 0 and there is still room in the buffer. From-SVN: r27892
1999-07-01mauve.exp: Don't stop counting test results prematurely.Anthony Green2-7/+3
* libjava.mauve/mauve.exp: Don't stop counting test results prematurely. From-SVN: r27890
1999-07-01Missed changelog entryAnthony Green1-0/+5
From-SVN: r27883
1999-07-01mauve.exp: Don't stop counting test results just because the harness returns ↵Anthony Green1-4/+0
non 0 value. * libjava.mauve/mauve.exp: Don't stop counting test results just because the harness returns non 0 value. From-SVN: r27882
1999-07-01i386-signal.h: Replace sigaction () with __sigaction ().Andrew Haley2-2/+8
1999-07-01 Andrew Haley <aph@cygnus.com> * include/i386-signal.h: Replace sigaction () with __sigaction (). This is a workaround for a bug in glibc's pthreads package which doesn't deliver any sigcontext information to a signal handler. From-SVN: r27876
1999-06-25libjava.exp (test_libjava_from_javac): Fixed typo.Tom Tromey2-2/+6
* lib/libjava.exp (test_libjava_from_javac): Fixed typo. Always make class_files a list. From-SVN: r27772
1999-06-25libjava.exp (test_libjava_from_javac): Prepend `$objdir/' to class file names.Tom Tromey2-2/+10
* lib/libjava.exp (test_libjava_from_javac): Prepend `$objdir/' to class file names. From-SVN: r27771
1999-06-24[multiple changes]Tom Tromey3-16/+20
1999-06-24 Tom Tromey <tromey@cygnus.com> * java/lang/e_asin.c: Don't use __int32_t or __uint32_t. * java/lang/fdlibm.h (HUGE): Conditionally define. Fri May 28 22:20:03 1999 Anthony Green <green@cygnus.com> * java/lang/fdlibm.h: Don't use __uint32_t. Include mprec.h. * java/lang/e_log.c: Don't use __uint32_t. From-SVN: r27733
1999-06-24[multiple changes]Tom Tromey31-525/+613
Fri May 28 22:20:03 1999 Anthony Green <green@cygnus.com> * java/lang/fdlibm.h: Don't use __uint32_t. Include mprec.h. * java/lang/e_log.c: Don't use __uint32_t. 1999-05-27 Eric Christopher <echristo@cygnus.com> * configure: Rebuilt * configure.in: Fixed ISO C9X and namespace collision with __uint32_t * acconfig.h: Rebuilt * include/config.h.in: Rebuilt * java/lang/mprec.h, java/lang/e_acos.c, java/lang/e_asin.c, java/lang/e_atan2.c, java/lang/e_exp.c, java/lang/e_fmod.c, e_log.c, java/lang/e_pow.c, java/lang/e_rem_pio2.c, java/lang/e_remainder.c, java/lang/e_sqrt.c, java/lang/fdlibm.h, k_tan.c, java/lang/mprec.h, java/lang/s_atan.c, java/lang/s_ceil.c, java/lang/s_copysign.c, java/lang/s_fabs.c, s_floor.c, java/lang/s_rint.c, java/lang/sf_rint.c: Fixed ISO C9X and namespace collision with __uint32_t From-SVN: r27729
1999-06-24libjava.exp (libjava_arguments): If `libtool' not found in build tree, just ↵Tom Tromey2-0/+10
use $GCJ_UNDER_TEST as compiler. * lib/libjava.exp (libjava_arguments): If `libtool' not found in build tree, just use $GCJ_UNDER_TEST as compiler. From-SVN: r27728
1999-06-23* lib/libjava.exp (libjava_arguments): Handle -lzgcj.Tom Tromey2-0/+14
From-SVN: r27721
1999-06-23InflaterInputStream.java (read): Throw ZipException if inflater throws a ↵Tom Tromey2-1/+13
DataFormatException. * java/util/zip/InflaterInputStream.java (read): Throw ZipException if inflater throws a DataFormatException. From-SVN: r27719
1999-06-23DatagramSocketImpl.java (localPort): Fixed typo to match JDK.Warren Levy9-12/+26
* java/net/DatagramSocketImpl.java (localPort): Fixed typo to match JDK. * java/net/natPlainDatagramSocketImpl.cc (bind): ditto. * java/text/ChoiceFormat.java (nextDouble(double, boolean)): Method is not final per JDK. * java/util/PropertyResourceBundle.java (handleGetObject): Method is public per JDK. * java/util/zip/DataFormatException.java: Class extends Exception. * java/util/zip/Deflater.java (finalize): Method is protected per JDK. * java/util/zip/ZipEntry.java: Class implements ZipConstants. * java/util/zip/ZipInputStream.java: ditto. (closeEntry): Changed method name to match JDK spec. From-SVN: r27717
1999-06-21ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha.Tom Tromey2-0/+7
* java/lang/ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha. From Jeff Sturm. From-SVN: r27671
1999-06-21Makefile.in: Rebuilt.Tom Tromey5-36/+65
* Makefile.in: Rebuilt. * Makefile.am (toolexeclibdir): Define as libdir when appropriate. * configure: Rebuilt. * configure.in (USE_LIBDIR): New conditional. From-SVN: r27667
1999-06-18natInetAddress.cc (lookup): Preserve caller-supplied hostname in returned ↵Bryce McKinlay3-6/+18
InetAddress objects. * java/net/natInetAddress.cc (lookup): Preserve caller-supplied hostname in returned InetAddress objects. (getLocalHostname): Fix typo. * java/net/InetAddress.java (getByName): Set hostname on return object. (getLocalHost): Call lookup directly to ensure that a fully-qualified name is returned. From-SVN: r27587
1999-06-17natPlainSocketImpl.cc (bind): Bind to any/all network interfaces if host==NULL.Bryce McKinlay7-51/+92
* java/net/natPlainSocketImpl.cc (bind): Bind to any/all network interfaces if host==NULL. (accept): Throw message with InterruptedIOException. (getOption): Cache localAddress. * java/net/natPlainDatagramSocketImpl.cc (bind): Don't need 'address' for DatagramSocket. (setTimeToLive): Fix compiler warnings. (getOption): Cache localAddress. * java/net/Socket.java (getLocalAddress): Don't need local InetAddress object. Add FIXME comment about calling checkConnect(). * java/net/ServerSocket.java (ServerSocket(int)): Initialize connection queue to 50 as per JDK 1.2 docs. (ServerSocket(int,int)): Listen on all network interfaces by default, per JDK 1.2 docs. * java/net/PlainDatagramSocketImpl.java: Don't need 'address'. Add localAddress caching. From-SVN: r27559
1999-06-15FilterOutputStream.java (write(byte[])): Rewrite according to JDK 1.2 docs.Bryce McKinlay2-2/+9
* java/io/FilterOutputStream.java (write(byte[])): Rewrite according to JDK 1.2 docs. (write(byte[],int,int)): ditto. From-SVN: r27537
1999-06-14* posix-threads.cc (_Jv_CondWait): Fix currentTimeMillis() overflow.Bryce McKinlay2-7/+11
From-SVN: r27524
1999-06-11* mauve-libgcj: Activated java.net Mauve tests.Warren Levy2-1/+4
From-SVN: r27487
1999-06-11natInetAddress.cc (aton): Fix typos.Bryce McKinlay2-18/+31
* java/net/natInetAddress.cc (aton): Fix typos. (lookup): Use a bigger buffer size for gethostbyname_r on all versions of glibc. Updated FIXME comment explaining this. Modified while loops to not set herr = ERANGE to work around glibc problems. Use user specified hostname in InetAddress result when available (consistent with JDK). From-SVN: r27484
1999-06-10DecimalFormat.java: Throw IllegalArgumentException throughout rather than ↵Warren Levy2-28/+33
ParseException. * java/text/DecimalFormat.java: Throw IllegalArgumentException throughout rather than ParseException. From-SVN: r27481
1999-06-10FileDescriptor.java (FileDescriptor(String, int)): Throw ↵Warren Levy4-7/+17
FileNotFoundException instead of IOException. 1999-06-10 Warren Levy <warrenl@cygnus.com> * java/io/FileDescriptor.java (FileDescriptor(String, int)): Throw FileNotFoundException instead of IOException. (open): ditto. * java/io/FileInputStream.java (FileInputStream): Doesn't throw IOException. * java/text/Collator.java (CANONICAL_DECOMPOSITION): Fixed typo in static field name. From-SVN: r27473
1999-06-09Runtime.java (exec): Convert prog name and arguments to string array.Bryce McKinlay4-33/+87
* java/lang/Runtime.java (exec): Convert prog name and arguments to string array. * java/lang/natPosixProcess.cc (startProcess): Fix typo in environment array conversion. Preserve current environment if envp not passed. Preserve PATH unless explicitly specified. * java/io/DataInputStream.java (readLine): Fix case where '\r' is followed by EOF. Set a flag when a line is terminated by '\r' and ignore following '\n' if set. From-SVN: r27458
1999-06-03[multiple changes]Warren Levy3-31/+114
1999-06-02 Warren Levy <warrenl@cygnus.com> * java/net/URL.java (URL(URL,String)): Initialize port to -1. Ignore context if spec is an absolute URL. Fix braindead string comparison. (hashCode): Use JDK 1.2 style algorithm. * java/net/URLStreamHandler.java (parseURL): Reimplement to handle context URL properly. 1999-05-30 Anthony Green <green@cygnus.com> * java/net/URLStreamHandler.java (parseURL): Parse relative URLs correctly. Clean up "/../" and "/./" path fragments. From-SVN: r27334
1999-05-28DatagramSocket.java (laddr): Removed.Warren Levy9-54/+327
* java/net/DatagramSocket.java (laddr): Removed. (DatagramSocket): Removed attempts to get or set laddr if null. (getLocalAddress): Reimplemented per spec. * java/net/MulticastSocket.java (setTimeToLive): Throw exception when ttl is 0. (joinGroup): Throw NullPointerException if any argument is null. (leaveGroup): ditto. * java/net/PlainDatagramSocketImpl.java: Updated comments. * java/net/PlainSocketImpl.java (timeout): Added. (getInputStream): Added FIXME comment on how to support timeouts for TCP. * java/net/ServerSocket.java (ServerSocket): Added FIXME comment. * java/net/Socket.java: Added FIXME comments to identify conflicting specs between the JCL and JDK 1.2 documents. * java/net/natPlainDatagramSocketImpl.cc (bind): Use INADDR_ANY if host is null. Get localport value resolved by kernel if bind lport is 0. (receive): Implemented support for timeouts in UDP. (setOption): Implemented based on natPlainSocketImpl version. (getOption): ditto. * java/net/natPlainSocketImpl.cc (bind): Get localport value resolved by kernel if bind lport is 0. (connect): Get localport value resolved by kernel if bind wasn't done to set localport. (accept): Implemented support for timeouts for ServerSocket. (setOption): Save value for SO_TIMEOUT. (getOption): Return timeout for SO_TIMEOUT. From-SVN: r27230
1999-05-26[multiple changes]Warren Levy13-88/+608
1999-05-26 Bryce McKinlay <bryce@albatross.co.nz> * java/net/DatagramSocket.java (getSoTimeout): Verify class type. * java/net/DatagramSocketImpl.java (getOption): Made abstract. (setOption): Made abstract. * java/net/PlainDatagramSocketImpl.java: Mirror SocketOptions fields to avoid cpp conflicts in native code. * java/net/PlainSocketImpl.java: Mirror SocketOptions fields to avoid cpp conflicts in native code. * java/net/ServerSocket.java (toString): Prepended "ServerSocket". * java/net/Socket.java (getLocalAddress): Implemented. (setTcpNoDelay): Implemented. (getTcpNoDelay): Implemented. (setSoLinger): Implemented. (getSoLinger): Implemented. (getSoTimeout): Verify class type. (setSendBufferSize): Implemented. (getSendBufferSize): Implemented. (setReceiveBufferSize): Implemented. (getReceiveBufferSize): Implemented. (toString): Prepended "Socket". * java/net/SocketImpl.java (toString): Rewritten. (getOption): Made abstract. (setOption): Made abstract. * java/net/natPlainSocketImpl.cc (connect): Set localport properly. (setOption): Implemented. (getOption): Implemented. 1999-05-26 Warren Levy <warrenl@cygnus.com> * java/net/DatagramSocket.java (DatagramSocket): Get local host address when null. Set SO_REUSEADDR for multicasts. (getSoTimeout): Implemented. (setSoTimeout): Implemented. * java/net/DatagramSocketImpl.java: Implement SocketOptions interface. * java/net/MulticastSocket.java (getInterface): Implemented. (setInterface): Implemented. (setTimeToLive): Check for invalid ttl. (joinGroup): Verify multicast address and security. (leaveGroup): Verify multicast address and security. (send): Implemented. * java/net/PlainDatagramSocketImpl.java (timeout): Added. (iface): Added. (ttl): Added. (setOption): Added. (getOption): Added. (mcastGrp): Added. (getTTL): Implemented as non-native. (setTTL): ditto. (join): ditto. (leave): ditto. * java/net/ServerSocket.java (setSoTimeout): Implemented. (getSoTimeout): Implemented. (setSocketFactory): Made synchronized. * java/net/Socket.java (setSoTimeout): Implemented. (getSoTimeout): Implemented. (close): Made synchronized. (setSocketImplFactory): Made synchronized. * java/net/SocketImpl.java: Implement SocketOptions interface. * java/net/natInetAddress.cc: Corrected module name at top of file. * java/net/natPlainDatagramSocketImpl.cc (McastReq): Added union. (bind): Added FIXME. (peek): Implemented. (setTTL): Removed. (getTTL): Removed. (join): Removed. (leave): Removed. (mcastGrp): Added. (setOption): Implemented for SO_REUSEADDR. (getOption): Implemented for SO_REUSEADDR. From-SVN: r27184
1999-05-24ResourceBundle.java (getBundle): Throw NullPointerException if baseName is null.Tom Tromey2-1/+9
* java/util/ResourceBundle.java (getBundle): Throw NullPointerException if baseName is null. From-SVN: r27126
1999-05-22ZipInputStream.java (fill): New method.Tom Tromey6-18/+68
* java/util/zip/ZipInputStream.java (fill): New method. (compressed_len): New instance variable. (getNextStream): Set it. (read): Reset inflater on EOF. Only read via `super' if entry is deflated. (skip): Only skip via `super' if entry is deflated. * java/util/zip/Deflater.java (last_input_count): Removed. * java/util/zip/natDeflater.cc (deflate): Return 0 if input array is length 0. (needsInput): Don't use last_input_count. (setInput): Don't set last_input_count. * java/util/zip/natInflater.cc (getRemaining): Return correct result. (inflate): Return 0 if input array is length 0. (setInput): Don't set last_input_count. * java/util/zip/Inflater.java (last_input_count): Removed. From-SVN: r27105
1999-05-21Makefile.in: Rebuilt.Tom Tromey6-35/+54
* Makefile.in: Rebuilt. * Makefile.am (INCLUDES): Added $(ZINCS). * configure: Rebuilt. * configure.in (ZINCS): New subst. From-SVN: r27083
1999-05-21sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added to signal options to ↵Andrew Haley2-2/+8
allow the same exceptions to be rethrown... 1999-05-21 Andrew Haley <aph@cygnus.com> * include/sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added to signal options to allow the same exceptions to be rethrown later. From-SVN: r27079
1999-05-20prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added.Andrew Haley6-8/+211
1999-05-20 Andrew Haley <aph@cygnus.com> * libjava/prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added. * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): New macro. (INIT_FPE): Exception string made more informative. * include/sparc-signal.h (INIT_FPE): Exception string made more informative. * testsuite/libjava.lang/Divide_1.java: New file. * testsuite/libjava.lang/Divide_1.out: New file. From-SVN: r27056
1999-05-19aclocal.m4, configure: Rebuilt.Tom Tromey4-175/+183
* aclocal.m4, configure: Rebuilt. * acinclude.m4 (version): New variable; pass to AM_INIT_AUTOMAKE. From-SVN: r27033
1999-05-19GZIPOutputStream.java (write(byte[])): New method.Tom Tromey2-0/+8
* java/util/zip/GZIPOutputStream.java (write(byte[])): New method. From-SVN: r27031
1999-05-19natInflater.cc (inflate): Cast `len' to unsigned.Tom Tromey3-3/+13
* java/util/zip/natInflater.cc (inflate): Cast `len' to unsigned. Include <stdlib.h>. * java/util/zip/natDeflater.cc (deflate): Cast `len' to unsigned. Include <stdlib.h>. (update): Fail in default case. Always initialize `strat'. From-SVN: r27028
1999-05-19* mauve-libgcj: Enable java.util.zip.Tom Tromey2-1/+4
From-SVN: r27025
1999-05-19Shazam.java: New file.Anthony Green3-0/+25
* libjava.lang/Shazam.java: New file. libjava.lang/Shazam.out: New file. From-SVN: r27022