summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* 1999-05-20 Andrew Haley <aph@cygnus.com>aph1999-05-206-8/+211
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27056 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4, configure: Rebuilt.tromey1999-05-194-175/+183
| | | | | | | * acinclude.m4 (version): New variable; pass to AM_INIT_AUTOMAKE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27033 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/GZIPOutputStream.java (write(byte[])): Newtromey1999-05-192-0/+8
| | | | | | | method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27031 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/natInflater.cc (inflate): Cast `len' to unsigned.tromey1999-05-193-3/+13
| | | | | | | | | | Include <stdlib.h>. * java/util/zip/natDeflater.cc (deflate): Cast `len' to unsigned. Include <stdlib.h>. (update): Fail in default case. Always initialize `strat'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27028 138bc75d-0d04-0410-961f-82ee72b054a4
* * mauve-libgcj: Enable java.util.zip.tromey1999-05-192-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27025 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/Shazam.java: New file.green1999-05-193-0/+25
| | | | | | | libjava.lang/Shazam.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27022 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (ordinary_java_source_files): Added DatagramPacket.java,warrenl1999-05-1810-5/+848
| | | | | | | | | | | | | | | | | DatagramSocket.java, DatagramSocketImpl.java, MulticastSocket.java, PlainDatagramSocketImpl.java, and SocketOptions.java. (nat_source_files): Added natPlainDatagramSocketImpl.cc. * Makefile.in: Rebuilt. * java/net/DatagramPacket.java: New file. * java/net/DatagramSocket.java: New file. * java/net/DatagramSocketImpl.java: New file. * java/net/MulticastSocket.java: New file. * java/net/PlainDatagramSocketImpl.java: New file. * java/net/SocketOptions.java: New file. * java/net/natPlainDatagramSocketImpl.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26997 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipOutputStream.java (level): Initial value istromey1999-05-1819-72/+1547
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deflater.DEFAULT_COMPRESSION. (close): New method. (closeEntry): Likewise. (finish): Likewise. (put_version): Likewise. (write_entry): Likewise. (put2, put4): Now return `int'. (comment): Default to empty string. (bytes_written): New instance variable. (chain): Likewise. * java/util/zip/ZipEntry.java (setComment): Limit length of comment string. (setCrc): Check CRC validity. (setExtra): Check argument validity. (setMethod): Likewise. (setSize): Likewise. (ZipEntry): Likewise. * include/javaprims.h: Updated namespace declarations. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Mention new files. (nat_source_files): Likewise. * java/util/zip/ZipFile.java (readu2): Throw ZipException, not EOFException. (read4): Likewise. (getInputStream): Handle compressed entries. * java/util/zip/GZIPOutputStream.java: New file. * java/util/zip/GZIPInputStream.java: New file. * java/util/zip/DataFormatException.java: New file. * java/util/zip/CheckedInputStream.java: New file. * java/util/zip/CheckedOutputStream.java: New file. * java/util/zip/InflaterInputStream.java: Implemented. * java/util/zip/natInflater.cc: New file. * java/util/zip/Deflater.java: Implemented. * java/util/zip/natDeflater.cc: New file. * java/util/zip/DeflaterOutputStream.java: Implemented. * java/util/zip/ZipInputStream.java (closeZipEntry): Throw ZipException, not IOException. * java/util/zip/ZipFile.java (readDirectory): Throw ZipException, not IOException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26996 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): URL now points totromey1999-05-172-1/+6
| | | | | | | sourceware. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26974 138bc75d-0d04-0410-961f-82ee72b054a4
* xbothner1999-05-122-1/+2
| | | | | | | | * java/util/Calendar.java (set): First call computeFields if needed. * java/util/natGregorianCalendar.cc (computeTime): Cast 1000 to jlong. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26910 138bc75d-0d04-0410-961f-82ee72b054a4
* dbothner1999-05-121-0/+5
| | | | | | | | * java/util/Calendar.java (set): First call computeFields if needed. * java/util/natGregorianCalendar.cc (computeTime): Cast 1000 to jlong. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26909 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey1999-05-123-61/+220
| | | | | | | | * configure.in: Look for -ldl when using the Boehm collector. Look for sched_yield in -lposix4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26905 138bc75d-0d04-0410-961f-82ee72b054a4
* hbothner1999-05-121-4/+8
| | | | | | | * java/io/File.java (mkdirs): Handle a null parent directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26903 138bc75d-0d04-0410-961f-82ee72b054a4
* bothner1999-05-121-0/+4
| | | | | | | * java/io/File.java (mkdirs): Handle a null parent directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26902 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/javaprims.h: Updated namespace declarations.tromey1999-05-1212-125/+555
| | | | | | | | | | | | | | | | | | | | | | | * classes.pl (scan): Uniquify class list. * Makefile.in, configure: Rebuilt. * Makefile.am (nat_source_files): Added natConcreteProcess.cc. (built_java_source_files): New macro. (nat_headers): Added built_java_source_files. (javao_files): Likewise. (EXTRA_libgcj_la_SOURCES): Likewise. (libgcj.zip): Create built class files. ($(built_java_source_files:.java=.class)): New target. (jv_convert_LDADD): Added -L$(here)/.libs. * configure.in: Create links for ConcreteProcess.java and natConcreteProcess.cc. * java/lang/Runtime.java (exec): Create a ConcreteProcess. * java/lang/natEcosProcess.cc: New file. * java/lang/EcosProcess.java: New file. * java/lang/PosixProcess.java: New file. * java/lang/natPosixProcess.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26901 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-05-12 Andrew Haley <aph@cygnus.com>aph1999-05-123-0/+25
| | | | | | | * libjava.lang/Invoke_2.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26900 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/PlainSocketImpl.java: Corrected copyright & header comments.warrenl1999-05-124-4/+26
| | | | | | | | | * java/net/SocketImpl.java: Added marker for JDK 1.2 work. * java/net/natPlainSocketImpl.cc (bind): Throw BindException. (connect): Throw ConnectException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26896 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey1999-05-114-4/+11
| | | | | | | | | * Makefile.am (jv_convert_DEPENDENCIES): Include libgcj.spec. * libgcj.spec.in: Don't use `+'. Instead, put old lib spec after our libraries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26889 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey1999-05-113-4/+7
| | | | | | | | * Makefile.am (jv_convert_LDADD): Removed `-L.'; it is not needed and it causes problems with libtool. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26886 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in, configure: Rebuilt.tromey1999-05-117-176/+700
| | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (jv_convert_LDFLAGS): Removed -nodefaultlibs. (jv_convert_LDADD): Added ZLIBS. Removed -lm, -lc, -lgcc. (jv_convert_DEPENDENCIES): Added ZDEPS. * configure.in (GCSPEC): Added `-L' to point to boehm-gc build directory. (THREADSPEC): Added `-L' to point to qthreads build directory. (ZLIBS): New subst. (ZDEPS): New subst. * configure, Makefile.in: Rebuilt. * Makefile.am (toolexeclib_DATA): New macro. * configure.in: Create libgcj.spec. Look for -lsocket and -lnsl. Recognize --with-system-zlib. (GCSPEC): New subst. (THREADSPEC): New subst. (SYSTEMSPEC): New subst. (ZLIBSPEC): New subst. * libgcj.spec.in: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26885 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/InputStreamReader.java (read): If length is 0, returntromey1999-05-103-10/+31
| | | | | | | | | | | | | 0. Reset `wpos' and `wcount' when buffer has been filled and emptied. * java/util/Properties.java (save): Removed `FIXME' comment. (load): Invalid characters in \u now treated as terminators. Make sure to append character resulting from `\' handling. Cast to `char' when appending to key or value. (skip_ws): Inverted test for whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26862 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/RandomAccessFile.java (RandomAccessFile): Removedtromey1999-05-102-5/+8
| | | | | | | | | `FIXME' comment. (readLine): Likewise. (readFully): Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26859 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natObject.cc (sync_init): Use _Jv_AllocBytesChecked.tromey1999-05-102-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26858 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/natToolkit.cc: Added copyright header.tromey1999-05-105-3/+25
| | | | | | | | | | | | * java/util/zip/InflaterInputStream.java: Added copyright header. * java/io/FilterWriter.java (FilterWriter): Removed `FIXME' comment. * java/io/SequenceInputStream.java (SequenceInputStream): Removed `FIXME' comment. (getNextStream): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26857 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/ResourceBundle.java (partialGetBundle): Explicitly usetromey1999-05-102-6/+7
| | | | | | | | locale.toString(). (getBundle): Don't explicitly throw null pointer exception. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26856 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/RawData.java: Added copyright header.tromey1999-05-103-8/+16
| | | | | | | * include/jni.h (_Jv_va_list): Always define as va_list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26855 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/text/DateFormat.java (computeInstance): Separate timegreen1999-05-086-13/+148
| | | | | | | | | | | | | and date styles. (getDateTimeInstance): Ditto. (getDateTimeInstance(int,int)): New method. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Add new classes. * java/util/PropertyResourceBundle.java: New file. * gnu/gcj/util/EnumerationChain.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26842 138bc75d-0d04-0410-961f-82ee72b054a4
* * acconfig.h (GCJVERSION): New undef.tromey1999-05-079-234/+1017
| | | | | | | | | | | | * java/lang/natSystem.cc (init_properties): Define java.version, java.class.version, os.name, os.arch, os.version. Include <sys/utsname.h> if required. * configure: Rebuilt. * configure.in: Compute and define GCJVERSION. * java/lang/natSystem.cc (default_file_encoding): Now static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26830 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natCharacter.cc (isLowerCase): Use a binary search.tromey1999-05-072-3/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26829 138bc75d-0d04-0410-961f-82ee72b054a4
* * libtool-version: New file.tromey1999-05-074-4/+71
| | | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (libgcj_la_LDFLAGS): Use -version-info, not -release. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26828 138bc75d-0d04-0410-961f-82ee72b054a4
* * mauve-libgcj: Don't omit Utf8Encoding or StringTest.tromey1999-05-072-7/+10
| | | | | | | | Comment out FieldPosition, ParsePosition, and SimpleDateFormat again (oops). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26827 138bc75d-0d04-0410-961f-82ee72b054a4
* * mauve-libgcj: Test more from java.text. Don't mention 1.1 teststromey1999-05-072-6/+8
| | | | | | | (we pick those up already). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26826 138bc75d-0d04-0410-961f-82ee72b054a4
* Updatebothner1999-05-062-0/+69
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26798 138bc75d-0d04-0410-961f-82ee72b054a4
* bothner1999-05-061-1/+6
| | | | | | | | | * java/lang/natSystem.cc (DEFAULT_FILE_ENCODING): New macro. (default_file_encoding): New global, initial value is above macro. (init_properties): Default file.encoding to default_file_encoding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26797 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***bothner1999-05-061-0/+190
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26796 138bc75d-0d04-0410-961f-82ee72b054a4
* bothner1999-05-062-6/+152
| | | | | | | | | | | | * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26795 138bc75d-0d04-0410-961f-82ee72b054a4
* 8bothner1999-05-061-0/+32
| | | | | | | | | | | | * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26794 138bc75d-0d04-0410-961f-82ee72b054a4
* ebothner1999-05-061-1/+6
| | | | | | | | | | | | * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26793 138bc75d-0d04-0410-961f-82ee72b054a4
* ubothner1999-05-061-0/+12
| | | | | | | | | | | | * InflaterInputStream.java: New stub class. * ZipInputStream.java: New class. Partly works. * ZipConstants.java: Add two (internal) constants. * ZipEntry.java (timeFromDOS): New static (non-public) method. * ZipFile.java: Make it mostly work, except for compression. * ZipOutputStream.java: Start implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26792 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/cni.sgml: Document RawData.bothner1999-05-051-0/+92
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26791 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey1999-05-056-16/+94
| | | | | | | | | | | | | | | | * Makefile.am (CLEANFILES): Don't mention $(class_files). (clean-local): New target * java/lang/natRuntime.cc: Include <ltdl.h> if required. (load, loadLibrary): Now native. (init): New method. * java/lang/Runtime.java (load, loadLibrary): Now native. (init): New native method. (Runtime): Use init. * prims.cc: Include <ltdl.h> if required. (JvRunMain): Call LTDL_SET_PRELOADED_SYMBOLS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26785 138bc75d-0d04-0410-961f-82ee72b054a4
* New class.bothner1999-05-051-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26783 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (libjava_arguments): Don't use -nodefaultlibs.tromey1999-05-052-7/+12
| | | | | | | (libjava_find_lib): Add `-L' option to find the actual library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26782 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>tromey1999-05-053-77/+86
| | | | | | | | * configure.in: Switch from irix threads to posix threads * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26781 138bc75d-0d04-0410-961f-82ee72b054a4
* Add AWT stubs and incomplete classes.bothner1999-05-0540-0/+1321
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26778 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (test_mauve): Pass `link' totromey1999-05-033-23/+64
| | | | | | | | | | | | | | | | libjava_arguments when linking. (test_mauve_sim): Likewise. * lib/libjava.exp (libjava_arguments): Run `libtool' to link. Don't use `-static'. Added `mode' argument. Use -nodefaultlibs when linking. (test_libjava_from_source): Mention why target_compile failed. Pass `link' to libjava_arguments when linking. Only do `xfails' for tests we would actually have run. (test_libjava_from_javac): Likewise. (libjava_find_lib): Return name of `.la' file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26748 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey1999-04-303-2/+7
| | | | | | | * Makefile.am (jv_convert_LDADD): Added -lgcc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26709 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StringBuffer.java (ensureCapacity): Don't resizetromey1999-04-3011-113/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vector when shared. * java/util/Locale.java (Locale(String,String)): Implement in terms of 3-argument version; variant now defaults to empty string. (toString): Assume variant is not null. (equals): Assume all strings are not null. (Locale): Throw NullPointerException if any argument is null. * java/util/ResourceBundle.java (getBundle): Don't try the base name; now implicit in partialGetBundle call. (trySomeGetBundle): Search for parent bundles and call setParent as required. (partialGetBundle): Added `langStop' argument. Use `Locale.toString' to compute bundleName. (resource_cache): New static field. (partialGetBundle): Cache the returned resource bundle. Now synchronized. * gnu/gcj/text/LocaleData_en.java (contents): [collatorRule] Added missing `<'. * mauve-libgcj: Enable Collator and RuleBasedCollator. * java/text/natCollator.cc (decomposeCharacter): `base' now `const'. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added CollationElementIterator, CollationKey, Collator, RuleBasedCollator. (nat_source_files): Added natCollator.cc. * java/text/RuleBasedCollator.java (ceiNext): No longer static. (compare): Pass `this' to CollationElementIterator constructor. (getCollationElementIterator): Likewise. (ceiNext): Fix off-by-one error when finding initial substring. (next): Correctly mask off bits when computing return value. Fixed return values when one string is shorter than the other. * java/text/CollationElementIterator.java (collator): New field. (CollationElementIterator): Added collator argument. (next): Call ceiNext on collator object. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26707 138bc75d-0d04-0410-961f-82ee72b054a4
* * natCollator.cc: New file.tromey1999-04-262-0/+76
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26655 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/GregorianCalendar.java (setDefaultTime): New method.tromey1999-04-268-2/+698
| | | | | | | | | | | | | | (GregorianCalendar): Use it in all constructors. * java/util/Calendar.java (Calendar): Changed argument name to `zone' to match code. * gnu/gcj/text/LocaleData_en.java: Added collatorRule element. * java/text/CollationKey.java: New file. * java/text/CollationElementIterator.java: New file. * java/text/Collator.java: New file. * java/text/RuleBasedCollator.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26654 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud