summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* * prims.cc (DECLARE_PRIM_TYPE): Define a vtable as well.tromey2000-05-315-7/+45
| | | | | | | | | | | | | (_Jv_PrimClass): Set `methods' by calling _Jv_FindArrayClass. * include/jvm.h (struct _Jv_ArrayVTable): Declare. (NUM_OBJECT_METHODS): New define. * java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added `array_vtable' parameter. Added assertion. * java/lang/Class.h (_Jv_FindArrayClass): Added `array_vtable' parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34312 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-31 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-315-0/+13
| | | | | | | | | | * gcj/cni.h: Include <string.h>. * defineclass.cc: Include <alloca.h>. * interpret.cc: Ditto. * gij.cc: Include <stdlib.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34311 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/name-finder.h: Include <sys/wait.h>.tromey2000-05-304-7/+26
| | | | | | | | | | (_Jv_name_finder::pid): Now of type `pid_t'. (_Jv_name_finder::~_Jv_name_finder): Call waitpid(). * java/lang/Throwable.java (CPlusPlusDemangler.close): Call `proc.waitFor()'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34279 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-29 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-293-0/+43
| | | | | | | * libjava.lang/PR242.java: New file. PR gcj/242. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34245 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/ObjectOutputStream.java (writeObject): Use component typewarrenl2000-05-242-3/+9
| | | | | | | | when writing arrays. Fixed typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34142 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/PR238.java: New file. For PR gcj/238.tromey2000-05-232-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34116 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/stringconst.out: New file.tromey2000-05-233-0/+28
| | | | | | | * libjava.lang/stringconst.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34115 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-22 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-222-0/+19
| | | | | | | * libjava.compile/PR232B.java: Additional PR gcj/232 test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34092 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/PR235.java: New file. For PR gcj/235.tromey2000-05-222-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34086 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/PR234.java: New file. For PR gcj/234.tromey2000-05-222-0/+28
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34072 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-22 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-222-0/+21
| | | | | | | | Test for PR gcj/232: * libjava.compile/PR232.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34070 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-20 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-204-4/+21
| | | | | | | | | | | | | | | | Fix for PR libgcj/226: * java/lang/Class.h (_Jv_InitClass): Don't call __builtin_expect, since this is an installed header. Fix for PR libgcj/228: * java/util/zip/ZipFile (getInputStream): Create inflater with nowrapper option. * java/util/zip/natInflater.cc (inflate): Throw zlib's error message with DataFormatException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34064 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-05-206-316/+252
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (hack1): Removed. (awto_files): Likewise. (libgcjawt_la_SOURCES): Likewise. (EXTRA_libgcjawt_la_SOURCES): Likewise. (libgcjawt_la_DEPENDENCIES): Likewise. (libgcjawt_la_LIBADD): Likewise. (libgcjawt_la_LDFLAGS): Likewise. (libgcjawt_la_LINK): Likewise. ($(awt_java_source_files:.java=.class)): Likewise. (libgcj.zip): Don't depend on AWT files. (MOSTLYCLEANFILES): Don't include AWT files. ($(awto_files)): Removed. (nat_headers): Removed AWT files. (cond_awt_java_source_files): Removed. (ordinary_java_source_files): Added awt_java_source_files. * libgcj.spec.in (*lib): Removed -lgcjawt. * configure: Rebuilt. * configure.in: Removed --enable-java-awt option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34058 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-20 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-202-1/+28
| | | | | | | | | | | * java/util/zip/ZipEntry.java: Implement Cloneable, per JDK1.2 docs. (ZipEntry): Copy the Name' field. (clone): Implement JDK1.2 method. (setCompressedSize): ditto. (hashCode): ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34043 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed duplicate ChangeLog entrytromey2000-05-201-15/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34042 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/BufferedWriter.java: Merged with Classpath.tromey2000-05-193-77/+320
| | | | | | | * java/io/BufferedOutputStream.java: Merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34041 138bc75d-0d04-0410-961f-82ee72b054a4
* Jumbo patch:tromey2000-05-19125-560/+18458
| | | | | | | | | * Imported beans and serialization * Updated IA-64 port * Miscellaneous bug fixes git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34028 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops, typo in last change.bryce2000-05-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34008 138bc75d-0d04-0410-961f-82ee72b054a4
* From Gregory R. Warnes <warnes@biostat.washington.edu>:bryce2000-05-182-1/+5
| | | | | | | | * gnu/gcj/protocol/jar/Connection.java (getJarFile): Test for null `jarFile', not `jarFileURL'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34005 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/libjava.exp (bytecompile_file): Use exec, not system.tromey2000-05-182-2/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33989 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-18 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-184-7/+12
| | | | | | | | | | * java/lang/Thread.java: Declare `data' as Object, not RawData. * java/lang/natThread.java (initialize_native): Cast `data' to jobject. * gnu/gcj/RawData.java: Clarify documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33981 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.mauve/mauve.exp (test_mauve): Call `prune_warnings'.tromey2000-05-174-61/+84
| | | | | | | | | | | | | | | | | | (test_mauve_sim): Likewise. (test_mauve): Redirect stderr in system call. (test_mauve_sim): Likewise. * lib/libjava.exp (test_libjava_from_source): Call `prune_warnings'. (test_libjava_from_javac): Likewise. (bytecompile_file): Redirect stderr in system call. * lib/libjava.exp (libjava_find_program): New proc. (find_jvscan): Use it. (find_gcjh): New proc. * libjava.compile/compile.exp: Use "", not $options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33959 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/instance.out: New file.tromey2000-05-163-0/+74
| | | | | | | * libjava.lang/instance.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33941 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-15 Andrew Haley <aph@cygnus.com>aph2000-05-162-0/+119
| | | | | | | * include/ppc-signal.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33932 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipInputStream.java (getNextEntry): When readingtromey2000-05-112-2/+13
| | | | | | | file headers, don't include `size' in the skip call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33850 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-10 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-102-1/+3
| | | | | | | | * java/lang/StringBuffer.java (replace): Calculate length for arraycopy() correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33822 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-10 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-102-9/+35
| | | | | | | | | | | | * java/lang/StringBuffer.java (delete): Call arrayCopy() correctly. Avoid arrayCopy() call where possible. Update `count' _after_ calling arrayCopy(). (replace): Reimplemented. Fix javadoc. (reverse): Call ensureCapacity_unsynchronized(). (StringBuffer (String)): Use DEFAULT_CAPACITY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33819 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-10 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-103-0/+148
| | | | | | | | * libjava.lang/StringBuffer_1.java: New file. * libjava.lang/StringBuffer_1.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33818 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StringBuffer.java (toString): Don't mark buffer astromey2000-05-093-227/+618
| | | | | | | | | | | | | | | shared. (insert(int,char[],int,int): New method. (delete): New method from Classpath. (deleteCharAt): Likewise. (substring): Likewise. (shared): No longer private. Added JavaDoc comments from Classpath. * java/lang/String.java (String(StringBuffer)): Ensure `buffer' is shared. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33809 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-08 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-083-0/+23
| | | | | | | | | Test for PR gcj/224: * libjava.compile/PR224.java: New file. * libjava.compile/PR224.xfail: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33762 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-05-073-4/+14
| | | | | | | | | * Makefile.am (LIBLINK): New macro. (libgcj_la_LINK): Use it. (libgcjawt_la_LINK): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33760 138bc75d-0d04-0410-961f-82ee72b054a4
* Forgot this file when checking in my last change.bryce2000-05-061-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33745 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-05-063-2/+7
| | | | | | | * Makefile.am (libgcj.zip): Don't pass -L to javac. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33728 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/220:tromey2000-05-053-33/+78
| | | | | | | | | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (gij_LDFLAGS): Don't use libstdc++. (jv_convert_LDFLAGS): Likewise. (libgcj_la_LDFLAGS): Likewise. (GCJLINK): New macro. (jv_convert_LINK): Use it. (gij_LINK): Likewise. (libgcj_la_LINK): New macro. (libgcjawt_la_LINK): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33706 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcj/field.h (JvFieldIsRef): Return false for gnu.gcj.RawDatatromey2000-05-053-10/+13
| | | | | | | | | | field. * boehm.cc (_Jv_MarkObj): Removed dead code. Use `STATIC', not `0x0008'. Include Modifier.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33702 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-05-05 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-05-055-32/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/natClass.cc (isInstance): Use __builtin_expect. (_Jv_IsAssignableFrom): Ditto. (_Jv_IsInstanceOf): Ditto. (_Jv_CheckCast): Ditto. (_Jv_CheckArrayStore): Ditto. * java/lang/Class.h (_Jv_InitClass): Ditto. * java/lang/natObject.cc (_Jv_MonitorEnter): __builtin_expect `false', not `0'. (notify): Ditto. (notifyAll): Ditto. (wait): Ditto. (_Jv_MonitorExit): Ditto. * boehm.cc (_Jv_MarkObj): Ditto. (_Jv_MarkObj): Ditto. (_Jv_MarkArray): Ditto. * prims.cc (_Jv_AllocObject): Ditto. (_Jv_NewObjectArray): Ditto. (_Jv_NewPrimArray): Ditto. (_Jv_Malloc): Ditto. (_Jv_Realloc): Ditto. (_Jv_MallocUnchecked): Ditto. (_Jv_divI): Ditto. (_Jv_remI): Ditto. (_Jv_divJ): Ditto. (_Jv_remJ): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33698 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed erroneous ChangeLog entrytromey2000-05-041-11/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33672 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/Locale.java (Locale): Don't explicitly check fortromey2000-05-0410-57/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | null. * java/util/Hashtable.java (containsKey): Don't explicitly check for null. (get): Likewise. * java/util/BitSet.java (and, or, xor): Don't explicitly check for null. * java/util/zip/ZipEntry.java (ZipEntry): Don't explicitly check for null. * java/text/StringCharacterIterator.java (StringCharacterIterator): Don't check for null. * java/text/ChoiceFormat.java (setChoices): Don't explicitly check for null pointer. * java/net/MulticastSocket.java (joinGroup): Don't explicitly check for null pointer. (leaveGroup): Likewise. * java/net/DatagramPacket.java (DatagramPacket): Removed erroneous comment. (setData): Likewise. * java/lang/ThreadGroup.java (ThreadGroup): Don't explicitly check for `p==null'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33671 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-04-28 Jakub Jelinek <jakub@redhat.com>tromey2000-05-013-20/+29
| | | | | | | | | | | | * Makefile.am (GCJCOMPILE, JCFLAGS, JF1CLAGS, jv_convert_LINK, gij_LINK, libgcj.zip, .java=.class): Move -L option out of FLAGS. (libgcj_la_LDFLAGS): Add -L../libstdc++ for in-gcc builds. (jv_convert_LDFLAGS, gij_LDFLAGS): Add `pwd`/../libstdc++ to -rpath for in-gcc builds. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33587 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed mistakenly-committed ChangeLog entrytromey2000-04-281-11/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33512 138bc75d-0d04-0410-961f-82ee72b054a4
* * libgcj.spec.in (*jc1): Added -fasynchronous-exceptions.tromey2000-04-282-1/+17
| | | | | | | Fix for PR gcj/218. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33511 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-04-28 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-04-282-3/+4
| | | | | | | * libjava/java/lang/String.java (toString): Remove `final' hack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33508 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-04-28 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-04-283-0/+35
| | | | | | | | | Test for PR gcj/218: * libjava.lang/PR218.java: New file. * libjava.lang/PR218.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33506 138bc75d-0d04-0410-961f-82ee72b054a4
* Runtime support for PR gcj/2:tromey2000-04-273-0/+13
| | | | | | | | * prims.cc (_Jv_ThrowNullPointerException): New function. * include/jvm.h (_Jv_ThrowNullPointerException): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33492 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-04-27 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-04-272-1/+5
| | | | | | | * prims.cc (_Jv_NewObjectArray): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33479 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2000-04-263-51/+27
| | | | | | | * Makefile.am (AM_CXXFLAGS): Added -fasynchronous-exceptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33447 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-04-25 Alexandre Petit-Bianco <apbianco@cygnus.com>tromey2000-04-253-0/+46
| | | | | | | | * libjava.compile/MethodFailure4.java: New file. * libjava.compile/MethodFailure4.out: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33415 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/runtime/natFirstThread.cc (run): Initialize class beforetromey2000-04-242-4/+8
| | | | | | | calling main. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33377 138bc75d-0d04-0410-961f-82ee72b054a4
* + 2000-04-22 Anthony Green <green@cygnus.com>green2000-04-227-34/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * include/jvm.h (__builtin_expect): Define as unused for now. + * java/lang/natObject.cc (_Jv_MonitorEnter): Add __builtin_expect. + (notify): Ditto. + (notifyAll): Ditto. + (wait): Ditto. + (_Jv_MonitorExit): Ditto. + * boehm.cc (_Jv_MarkObj): Ditto. + (_Jv_MarkObj): Ditto. + (_Jv_MarkArray): Ditto. + (_Jv_AllocBytes): Ditto. + * prims.cc (_Jv_AllocObject): Ditto. + (_Jv_NewObjectArray): Ditto. + (_Jv_NewPrimArray): Ditto. + (_Jv_Malloc): Ditto. + (_Jv_Realloc): Ditto. + (_Jv_MallocUnchecked): Ditto. + (_Jv_divI): Ditto. + (_Jv_remI): Ditto. + (_Jv_divJ): Ditto. + (_Jv_remJ): Ditto. + + * include/Makefile.in: Rebuilt. + * include/Makefile.am (include_HEADERS): Add jvmpi.h. + git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33339 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/PipedInputStream.java, java/io/PipedOutputStream.java:tromey2000-04-213-27/+16
| | | | | | | Yet another new version from Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33328 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud