aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
1999-11-07ZipFile.java: Compute the offset of the ZipEntry data correctly.Anthony Green2-4/+12
* java/util/zip/ZipFile.java: Compute the offset of the ZipEntry data correctly. From-SVN: r30439
1999-11-05* java/lang/natThread.cc (destroy): Removed incorrect comment.Tom Tromey2-2/+4
From-SVN: r30423
1999-11-05boehm.cc (_Jv_GCSetInitialHeapSize): Swapped size & current.Jeff Sturm3-5/+11
1999-11-05 Jeff Sturm <jsturm@sigma6.com> * boehm.cc (_Jv_GCSetInitialHeapSize): Swapped size & current. * prims.cc (parse_heap_size): Use end, not spec. Use 1024 multipler for `k'. From-SVN: r30418
1999-11-05natThread.cc (stop): Removed argument name.Tom Tromey5-16/+11
* java/lang/natThread.cc (stop): Removed argument name. * java/lang/ThreadGroup.java (ThreadGroup(int)): No longer `private'; now has default access. * Makefile.in: Rebuilt. * Makefile.am (java/lang/ThreadGroup.h): Removed. From-SVN: r30417
1999-11-04natClass.cc (method_cache_count): Removed.Tom Tromey4-317/+137
* java/lang/natClass.cc (method_cache_count): Removed. (_Jv_FindMethodInCache): Don't loop looking for the hash entry. (_Jv_AddMethodToCache): Don't loop. From-SVN: r30397
1999-11-04configure.in: Removed `qt' threads case.Tom Tromey5-428/+214
* configure.in: Removed `qt' threads case. * include/quick-threads.h: Removed. * quick-threads.cc: Removed. From-SVN: r30393
1999-11-04quick-threads.h (_Jv_ThreadCancel): Removed.Tom Tromey7-68/+21
* include/quick-threads.h (_Jv_ThreadCancel): Removed. (_Jv_ThreadDestroy): Likewise. * include/no-threads.h (_Jv_ThreadCancel): Removed. (_Jv_ThreadDestroy): Likewise. * include/posix-threads.h (struct _Jv_Thread_t): Removed `exception' field. (_Jv_ThreadCancel): Removed decl. (_Jv_ThreadDestroy): Removed. * posix-threads.cc (_Jv_ThreadCancel): Removed. (throw_cleanup): Removed. (really_start): Don't push or pop cleanup. (_Jv_ThreadInitData): Don't initialize `exception' field. * java/lang/Thread.java (stop): Officially unimplemented. * java/lang/natThread.cc (stop): Officially unimplemented. From-SVN: r30392
1999-11-03Actually removed files which were supposedlyTom Tromey6-614/+0
removed a long time ago. From-SVN: r30379
1999-11-03posix-threads.cc: Don't include boehm-config.h.Bryce McKinlay2-1/+3
1999-11-02 Bryce McKinlay <bryce@albatross.co.nz> * posix-threads.cc: Don't include boehm-config.h. Include gcconfig.h instead. From-SVN: r30365
1999-11-03posix-threads.cc: Don't include boehm-config.h.Bryce McKinlay2-1/+4
1999-11-02 Bryce McKinlay <bryce@albatross.co.nz> * posix-threads.cc: Don't include boehm-config.h. From-SVN: r30361
1999-11-03* boehm.cc: Don't include boehm-config.h.Tom Tromey2-4/+4
From-SVN: r30359
1999-11-02boehm.cc (_Jv_InitGC): Set GC_java_finalization.Tom Tromey2-19/+9
* boehm.cc (_Jv_InitGC): Set GC_java_finalization. (sum_blocks): Removed. (_Jv_GCFreeMemory): Use GC_get_free_bytes. From-SVN: r30335
1999-11-01PrintStream (PrintStream): Fix illegal usage of "this" before "super".Bryce McKinlay4-10/+28
1999-11-01 Bryce McKinlay <bryce@albatross.co.nz> * java/io/PrintStream (PrintStream): Fix illegal usage of "this" before "super". * java/io/OutputStreamWriter (OutputStreamWriter): ditto. * java/io/InputStreamReader (InputStreamReader): ditto. From-SVN: r30300
1999-10-22Makefile.in: Rebuilt.Tom Tromey11-26/+229
* Makefile.in: Rebuilt. * Makefile.am (java/lang/ClassLoader.h): New target. * java/lang/natClassLoader.cc (_Jv_FindClass): Removed reference to `redirect'. * include/java-props.h (_Jv_Compiler_Properties): Changed declaration. * gcj/array.h (JvRunMain, _Jv_RunMain): Don't declare. * include/jvm.h (_Jv_GCSetInitialHeapSize, _Jv_GCSetMaximumHeapSize): Declare. (JvRunMain, _Jv_RunMain): Declare. (_Jv_SetMaximumHeapSize, _Jv_SetInitialHeapSize): Declare. * nogc.cc (_Jv_GCSetInitialHeapSize): New function. (_Jv_GCSetMaximumHeapSize): Likewise. * boehm.cc (_Jv_GCSetInitialHeapSize): New function. (_Jv_GCSetMaximumHeapSize): Likewise. * prims.cc (parse_heap_size): New function. (_Jv_SetInitialHeapSize): Likewise. (_Jv_SetMaximumHeapSize): Likewise. (_Jv_Compiler_Properties): New global. * gij.cc (help): New function. (version): Likewise. (heap_size): Likewise. (heap_max_size): Likewise. (main): Parse arguments. Set _Jv_Compiler_Properties. Include <config.h>, <java-props.h>. (_Jv_Compiler_Properties): Removed. From-SVN: r30133
1999-10-20Test code for GNATS gcj/71 and GNATS gcj/72.Bryce McKinlay4-0/+35
1999-10-19 Bryce McKinlay <bryce@albatross.co.nz> * libjava.compile/invokeinterface: New directory. * libjava.compile/invokeinterface/Test.java: New file. Test code for PR gcj/71 and PR gcj/72. * libjava.compile/invokeinterface/A.java: New file. * libjava.compile/invokeinterface/B.java: New file. From-SVN: r30094
1999-10-18VMClassLoader.java (getVMClassLoader): New method.Tom Tromey4-14/+30
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): New method. (redirect): New static field. * java/lang/ClassLoader.java (getSystemClassLoader): Now native (getVMClassLoader0): Removed. * java/lang/natClassLoader.cc (getVMClassLoader0): Removed. (redirect): Removed. (getSystemClassLoader): Implemented. From-SVN: r30075
1999-10-17ClassLoader.java (getSystemResource): Use getSystemClassLoader instead of ↵Anthony Green4-12/+40
ClassLoader.system. * java/lang/ClassLoader.java (getSystemResource): Use getSystemClassLoader instead of ClassLoader.system. (getSystemResourceAsStream): Ditto. * java/lang/natClassLoader.cc (redirect): Make static and remove #ifdef INTERPRETER so it is always defined. (getVMClassLoader0): Remove #ifdef INTERPRETER so it always returns a VMClassLoader. * java/util/ResourceBundle.java (trySomeGetBundle): Create a PropertyResourceBundle if a properties file is found before a ResourceBundle class. From-SVN: r30048
1999-10-15gij.cc (main): Formatting fixes.Tom Tromey4-6/+39
* gij.cc (main): Formatting fixes. (_Jv_Compiler_Properties): Define. * java/lang/natSystem.cc (_Jv_Environment_Properties): Don't declare. (init_properties): Set properites from _Jv_Compiler_Properties. * include/java-props.h (_Jv_Compiler_Properties, _Jv_Environment_Properties): Declare. From-SVN: r30020
1999-10-15* include/java-props.h: Added copyright.Tom Tromey2-0/+12
From-SVN: r30018
1999-10-15libtool-version: Catch up by incrementing current.Anthony Green10-213/+494
* libtool-version: Catch up by incrementing current. * configure.host: Disable use of GCJ_PROPERTIES for mips-tx39. * configure, include/config.h.in: Rebuilt. * acconfig.h (DISABLE_GETENV_PROPERTIES): Undefine. * configure.in: Added --disable-getenv-properties and new define `DISABLE_GETENV_PROPERTIES'. * prims.cc (PROCESS_GCJ_PROPERTIES): Define. (next_property_key): New function. (next_property_value): New function. (process_gcj_properties): New function. (JvRunMain): Call process_gcj_properties. (_JvRunMain): Ditto. * java/lang/natSystem.cc (init_properties): Set properties defined in GCJ_PROPERTIES. Also add 1.2 style versioning properties. * include/java-props.h: New file. * java/lang/natSystem.cc (init_properties): Add new properties to conform with Java Product Versioning Specification. From-SVN: r30007
1999-10-13configure: Rebuilt.Tom Tromey4-226/+220
* configure: Rebuilt. * configure.in: Fixed test for --disable-java-net. From-SVN: r29931
1999-10-06configure.in (GCJ): Define as "target-gcj", not "target/gcj" when building ↵Tom Tromey4-137/+147
Canadian cross. * configure.in (GCJ): Define as "target-gcj", not "target/gcj" when building Canadian cross. (NATIVE): Don't define when cross-compiling. From-SVN: r29848
1999-10-04natPlainSocketImpl.cc: Don't include headers if java.net is disabled.Tom Tromey2-0/+5
* java/net/natPlainSocketImpl.cc: Don't include headers if java.net is disabled. From-SVN: r29812
1999-10-04Makefile.in: Rebuilt.Tom Tromey3-3/+8
* Makefile.in: Rebuilt. * Makefile.am (ZINCS): Removed. This is defined in configure.in when needed, and must be left empty when not needed. From-SVN: r29809
1999-10-04Fix changelog entryAnthony Green1-3/+0
From-SVN: r29791
1999-10-04A little clean up.Anthony Green4-1/+13
From-SVN: r29790
1999-10-02Refreshed from htdocsAnthony Green2-19/+57
From-SVN: r29768
1999-10-02Missing file from last commitSteve Chamberlain1-0/+10
From-SVN: r29766
1999-10-02The following patches include a couple of fixes for cross toolchains,Steve Chamberlain3-1/+10
and endian bits for the picojava port. I am committing this (and the rebuilt Makefile.in/configure files). From-SVN: r29765
1999-10-02re GNATS gcj/56 (gcj segfaults in jc1 on OK java file)Tom Tromey3-0/+13
* libjava.lang/PR56.out: New file. * libjava.lang/PR56.java: New file. From-SVN: r29760
1999-10-02configure: Rebuilt.Tom Tromey9-210/+414
* configure: Rebuilt. * configure.in: Set classpath when invoking gcj. Use changequote around sed invocation. * java/net/natPlainSocketImpl.cc: Stub native functions if DISABLE_JAVA_NET is defined. * java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Fixed typo in exception string. (getTimeToLive): Likewise. Stub native functions if DISABLE_JAVA_NET is defined. * java/net/natInetAddress.cc: Stub native functions if DISABLE_JAVA_NET is defined. * configure.host: Disable java.net for mips-tx39. * configure, include/config.h.in: Rebuilt. * acconfig.h (DISABLE_JAVA_NET): Undefine. * configure.in: Added --disable-java-net and new define `DISABLE_JAVA_NET'. From-SVN: r29759
1999-09-30* java/net/natPlainDatagramSocketImpl.cc: Indentation fix.Tom Tromey2-3/+7
From-SVN: r29737
1999-09-30README: New file.Bryce McKinlay2-0/+51
1999-09-29 Bryce McKinlay <bryce@albatross.co.nz> * README: New file. From-SVN: r29717
1999-09-29re GNATS gcj/55 (jc1 dies on implicit String conversion)Tom Tromey3-0/+15
* libjava.lang/PR55.out: New file. * libjava.lang/PR55.java: New file. From-SVN: r29714
1999-09-28configure: Rebuilt.Tom Tromey4-2/+9
* configure: Rebuilt. * configure.in (PROCESS): In POSIX case, only set if not already set. * configure.host (PROCESS): Set in mips-tx39 case. From-SVN: r29700
1999-09-28aclocal.m4, configure: Rebuilt.Tom Tromey4-409/+203
* aclocal.m4, configure: Rebuilt. * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide From-SVN: r29698
1999-09-27sparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'.Tom Tromey2-1/+6
* include/sparc-signal.h (SIGNAL_HANDLER): Third argument now a `void *'. (MAKE_THROW_FRAME): Cast third argument back to `ucontext_t *'. From-SVN: r29682
1999-09-24re GNATS java.util/47 (Date.toString() returns embedded newline)Tom Tromey10-372/+343
Fix for PR java.util/47: * configure, include/config.h: Rebuilt. * configure.in: Don't look for ctime or ctime_r. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Don't mention natDate.cc. * java/util/natDate.cc: Removed. * java/util/TimeZone.java (tzIDs, rawOffsets, timeZones): New static fields. (getAvailableIDs): Rewrote. (getTimeZone): Rewrote. * java/util/Date.java (toGMTString): New method. (toLocaleString): New method. (toString): Rewrote. From-SVN: r29656
1999-09-23configure: Rebuilt.Tom Tromey3-48/+57
* configure: Rebuilt. * configure.in: Print message when checking to see if gcj can handle -fuse-divide-subroutine. From-SVN: r29628
1999-09-23natFirstThread.cc (run): Renamed from `run0'.Tom Tromey3-20/+7
* java/lang/natFirstThread.cc (run): Renamed from `run0'. Removed dead code. * java/lang/FirstThread.java (run0): Renamed to `run'. (run): Removed. From-SVN: r29626
1999-09-23re GNATS gcj/51 (Writing on OutputStream of bad Socket kills app with ↵Tom Tromey2-15/+25
"Broken pipe") * prims.cc (main_init): New function. (JvRunMain): Call it. (_Jv_RunMain): Likewise. Include <signal.h>. (main_init): Ignore SIGPIPE. Fixes PR 51. From-SVN: r29625
1999-09-22* libgcj.spec.in: Use `jc1' spec, not `cc1' spec.Tom Tromey2-2/+6
From-SVN: r29602
1999-09-22MessageFormat.java (MessageFormat(String)): Set the default locale.Bryce McKinlay3-1/+12
1999-09-16 Bryce McKinlay <bryce@albatross.co.nz> * java/text/MessageFormat.java (MessageFormat(String)): Set the default locale. * java/text/NumberFormat.java: Check that object is a Number. If not, throw IllegialArgumentException. From-SVN: r29574
1999-09-21Output_UTF8.java (write): Don't exit loop unless both `inlength' and ↵Tom Tromey2-14/+9
`bytes_todo' are 0. * gnu/gcj/convert/Output_UTF8.java (write): Don't exit loop unless both `inlength' and `bytes_todo' are 0. Simplified 2-byte case. From-SVN: r29570
1999-09-21posix-threads.h (_Jv_MutexDestroy): Use _Jv_PthreadGetMutex.Tom Tromey2-3/+8
* include/posix-threads.h (_Jv_MutexDestroy): Use _Jv_PthreadGetMutex. (_Jv_MutexLock): Likewise. (_Jv_MutexUnlock): Likewise. From-SVN: r29569
1999-09-21OutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it ↵Tom Tromey3-10/+10
too was incorrect. * java/io/OutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it too was incorrect. * java/io/PrintStream.java (PrintStream): Likewise. From-SVN: r29566
1999-09-21OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before ↵Tom Tromey3-6/+17
calling superclass constructor. * java/io/OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor. * java/io/PrintStream.java (PrintStream): Don't refer to `this' before calling superclass constructor. From-SVN: r29560
1999-09-20configure: Rebuilt.Tom Tromey3-50/+58
* configure: Rebuilt. * configure.in: Send output of `-fuse-divide-subroutine' test compilation to /dev/null. From-SVN: r29529
1999-09-14java-insns.h: Turned constants into an enum.Tom Tromey2-228/+236
* include/java-insns.h: Turned constants into an enum. Added multiple-inclusion protection. From-SVN: r29406
1999-09-10configure: Rebuilt.Tom Tromey65-155/+739
* configure: Rebuilt. * configure.in: Build include/Makefile. * Makefile.in: Rebuilt. * Makefile.am (SUBDIRS): Added gcj and include. (install-data-local): New target. (extra_headers): New macro. * include/Makefile.in: New file. * include/Makefile.am: New file. * interpret.cc: Don't include gcj/field.h or gcj/cni.h. * java/lang/reflect/natField.cc: Don't include gcj/field.h or gcj/cni.h. * boehm.cc: Don't include java-threads.h or gcj/field.h. * resolve.cc: Include config.h. * defineclass.cc: Include config.h. * include/java-interp.h: Don't include config.h. * include/jvm.h: Include java-threads.h, Object.h, java-gc.h, cni.h. * gcj/javaprims.h: Regenerated namespace decls. * classes.pl (scan): Don't put `;' after closing brace. * Makefile.in: Rebuilt. * Makefile.am (INCLUDES): Added -I for top_srcdir. * configure.in: Create gcj/Makefile. * gcj/Makefile.in: New file. * gcj/Makefile.am: New file. * java/lang/Object.h: Don't include any other headers. * gcj/array.h: Renamed from include/java-array.h. * gcj/field.h: Renamed from include/java-field.h. * gcj/method.h: Renamed from include/java-method.h. * gcj/cni.h, gcj/javaprims.h: Moved from include/. Updated all files to reflect new include structure. From-SVN: r29278