| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(_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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
(_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
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
when writing arrays.
Fixed typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34142 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34116 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* libjava.lang/stringconst.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34115 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34086 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34072 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34042 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* java/io/BufferedOutputStream.java: Merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34041 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34008 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33989 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33941 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* include/ppc-signal.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33932 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33745 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33672 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33512 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
Fix for PR gcj/218.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33511 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* prims.cc (_Jv_NewObjectArray): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33479 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
| |
* Makefile.am (AM_CXXFLAGS): Added -fasynchronous-exceptions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33447 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
calling main.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33377 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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
|
|
|
|
|
|
|
| |
Yet another new version from Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33328 138bc75d-0d04-0410-961f-82ee72b054a4
|