aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2005-06-29re PR libgcj/22211 ([4.0 only] Thread.interrupt sometimes causes abort if ↵Tom Tromey4-4/+30
thread is already dead) PR libgcj/22211: * testsuite/libjava.lang/pr22211.java: New file. * java/lang/natThread.cc (finish_): Synchronize when updating alive_flag. (_Jv_AttachCurrentThread): Likewise. (interrupt): Only call _Jv_ThreadInterrupt if thread is alive. * java/lang/Thread.java (isAlive): Now synchronized. From-SVN: r101430
2005-06-29interpret.cc (run): Use _Jv_CheckCast.Tom Tromey2-5/+7
* interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use _Jv_CheckCast. From-SVN: r101427
2005-06-28re PR libgcj/22189 (Table Full in gcj-dbtool if -m option used with smallest ↵Robin Green2-3/+9
possible input) 2005-06-28 Robin Green <greenrd@greenrd.org> PR java/22189 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding error. From-SVN: r101382
2005-06-27PR java/21540, PR java/13788:Tom Tromey4-19/+30
gcc/java/: PR java/21540, PR java/13788: * parse.y (java_complete_lhs) <CASE_EXPR>: Use fold_constant_for_init. (patch_binop): Added 'folding' argument. Updated all callers. (patch_unaryop) <NOP_EXPR>: New case. (fold_constant_for_init) <NOP_EXPR>: Likewise. (fold_constant_for_init) <COND_EXPR>: Fix sense of test. libjava/: PR java/21540, PR java/13788: * testsuite/libjava.compile/pr21540.java: New file. * testsuite/libjava.compile/pr13788.java: New file. * testsuite/libjava.jacks/jacks.xfail: Updated. From-SVN: r101358
2005-06-27Okay, let's see if CVS can actually put these in the right place...Keith Seitz11-0/+697
* gnu/classpath/jdwp/exception/VmDeadException.java: New file. * gnu/classpath/jdwp/exception/NotImplementedException.java: New file. * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New file. * gnu/classpath/jdwp/exception/JdwpException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file. * gnu/classpath/jdwp/exception/InvalidStringException.java: New file * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file. * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New file. * gnu/classpath/jdwp/exception/InvalidCountException.java: New file. * gnu/classpath/jdwp/exception/InvalidClassException.java: New file. From-SVN: r101357
2005-06-26xfails: Updated to reflect current state of mauve and libjava.Andreas Tobler2-144/+5
2005-06-26 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.mauve/xfails: Updated to reflect current state of mauve and libjava. From-SVN: r101337
2005-06-24natClassLoader.cc (_Jv_UnregisterClass): Handle case where class' name is NULL.Tom Tromey5-22/+53
* java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case where class' name is NULL. (_Jv_FindClass): Don't wait for class state. * java/lang/natVMClassLoader.cc (defineClass): Only unregister if name found. * include/java-interp.h (_Jv_DefineClass): Updated. * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument. (struct _Jv_ClassReader): Likewise. (found_name): New field. (handleClassBegin): Set *found_name. (_Jv_VerifyMethodSignature): Handle case where ptr==NULL. (handleClassBegin): Throw error if super class not set. (read_methods): Correctly call check_tag and prepare_pool_entry. From-SVN: r101301
2005-06-24* boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.Tom Tromey2-2/+10
From-SVN: r101300
2005-06-24verify-impl.c (verify_instructions_0): Correctly handle situation where PC ↵Tom Tromey2-2/+8
falls off end. gcc/java/: * verify-impl.c (verify_instructions_0): Correctly handle situation where PC falls off end. libjava/: * verify.cc (verify_instructions_0): Correctly handle situation where PC falls off end. From-SVN: r101299
2005-06-24interpret.cc (compile): Handle case where table entry is outside of PC range.Tom Tromey2-1/+10
* interpret.cc (compile): Handle case where table entry is outside of PC range. From-SVN: r101298
2005-06-23re PR java/20697 (Invalid Can't find method error on call to super)Bryce McKinlay2-0/+33
PR java/20697 * parse.y (find_most_specific_methods_list): Remove special case for inner classes. From-SVN: r101270
2005-06-22Makefile.am (SUBDIRS): Use append for conditional.Kelley Cook3-148/+123
2005-06-22 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am (SUBDIRS): Use append for conditional. (toolexeclib_LTLIBRARIES): Likewise. (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with a conditional append. * Makefile.in: Regenerate. From-SVN: r101246
2005-06-17VmDeadException.java: New file.Keith Seitz1-0/+17
* gnu/classpath/jdwp/exception/VmDeadException.java: New file. * gnu/classpath/jdwp/exception/NotImplementedException.java: New file. * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New file. * gnu/classpath/jdwp/exception/JdwpException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file. * gnu/classpath/jdwp/exception/InvalidStringException.java: New file * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file. * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New file. * gnu/classpath/jdwp/exception/InvalidCountException.java: New file. * gnu/classpath/jdwp/exception/InvalidClassException.java: New file. From-SVN: r101131
2005-06-16Makefile.am (libgcj_la_SOURCES): Define without conditional sources.Kelley Cook3-92/+61
2005-06-16 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am (libgcj_la_SOURCES): Define without conditional sources. (if USING_BOEHMGC): Directly append libgcj_la_SOURCES. (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM, USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS, USING_WIN32_THREADS, USING_NO_THREADS): Likewise. * Makefile.in: Regenerate. From-SVN: r101083
2005-06-16configure.ac (USING_ECOS_PLATFORM): Remove and merge into...Kelley Cook11-53/+19
2005-06-15 Kelley Cook <kcook@gcc.gnu.org> * configure.ac (USING_ECOS_PLATFORM): Remove and merge into... (USING_POSIX_PLATFORM): ... here. * Makefile.am: Delete USING_ECOS_PLATFORM. * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in, external/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate. From-SVN: r101005
2005-06-15re PR libgcj/17536 (wrong ClassLoader for int[])Tom Tromey3-0/+12
PR libgcj/17536: * testsuite/libjava.lang/pr17536.java: New file. * testsuite/libjava.lang/pr17536.out: New file. From-SVN: r100999
2005-06-15re PR libgcj/21074 (Trivial bug in the method getHeaderFieldKey() in the ↵Goffredo Baroncelli2-1/+11
file java/net/protocol/http/HTTPURLConnection.java) 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it> PR libgcj/21074: * gnu/java/net/protocol/http/HTTPURLConnection.java (getHeaderFieldKey): Check index. From-SVN: r100994
2005-06-15re PR libgcj/21906 (hang when invoking abstract method)Tom Tromey4-5/+20
gcc/java/: PR libgcj/21906: * class.c (make_method_value): Use soft_abstractmethod_node for abstract method. * java-tree.h (soft_abstractmethod_node): New define. (JTI_SOFT_ABSTRACTMETHOD_NODE): New enum constant. * decl.c (java_init_decl_processing): Initialize soft_abstractmethod_node. libjava/: PR libgcj/21906: * defineclass.cc (handleMethodsEnd): Set ncode for abstract methods. * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare. * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer static. (append_partial_itable): Use it. (set_vtable_entries): Likewise. From-SVN: r100992
2005-06-15SystemClassLoader.java (init): Clear last_was_sep in loop.Tom Tromey2-0/+6
* gnu/gcj/runtime/SystemClassLoader.java (init): Clear last_was_sep in loop. From-SVN: r100991
2005-06-15JdwpIdFactory.java: New file.Keith Seitz3-4/+312
* gnu/classpath/jdwp/id/JdwpIdFactory.java: New file. * gnu/classpath/jdwp/processor/PacketProcessor.java: New file. From-SVN: r100970
2005-06-15ArrayId.java: New file.Keith Seitz1-0/+15
* gnu/classpath/jdwp/id/ArrayId.java: New file. * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/ClassLoaderId.java: New file. * gnu/classpath/jdwp/id/ClassObjectId.java: New file. * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/JdwpId.java: New file. * gnu/classpath/jdwp/id/ObjectId.java: New file. * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/StringId.java: New file. * gnu/classpath/jdwp/id/ThreadGroupId.java: New file. * gnu/classpath/jdwp/id/ThreadId.java: New file. From-SVN: r100969
2005-06-14* configure.host: Handle Solaris 10/x86.Rainer Orth2-0/+8
From-SVN: r100958
2005-06-14re PR libgcj/19877 (sometimes reconfiguring leads to incorrect config.h)Tom Tromey10-46/+26
config/: PR libgcj/19877: * no-executables.m4: Call real AC_FUNC_MMAP when cache variable is set but not 'no'. libstdc++-v3/: PR libgcj/19877: * configure, aclocal.m4: Rebuilt. * Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Likewise. libjava/: PR libgcj/19877: * configure, aclocal.m4, Makefile.in: Rebuilt. libgfortran/: PR libgcj/19877: * configure, aclocal.m4, Makefile.in: Rebuilt. zlib/: PR libgcj/19877: * configure, aclocal.m4, Makefile.in: Rebuilt. From-SVN: r100953
2005-06-14Class.java (getClasses): New method.Tom Tromey4-90/+97
* java/lang/Class.java (getClasses): New method. (internalGetClasses): Likewise. (getClassLoader): Updated documentation. (getDeclaredClasses): New overload; old overload no longer native. (_getConstructors): Removed. (resourcePath): Updated. * java/lang/natClass.cc (getClasses): Removed. * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors): Updated. (_getConstructors): Removed. From-SVN: r100948
2005-06-14ArrayId.java: New file.Keith Seitz12-0/+866
* gnu/classpath/jdwp/id/ArrayId.java: New file. * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/ClassLoaderId.java: New file. * gnu/classpath/jdwp/id/ClassObjectId.java: New file. * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/JdwpId.java: New file. * gnu/classpath/jdwp/id/ObjectId.java: New file. * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/StringId.java: New file. * gnu/classpath/jdwp/id/ThreadGroupId.java: New file. * gnu/classpath/jdwp/id/ThreadId.java: New file. From-SVN: r100913
2005-06-13re PR libgcj/22036 (libjava/jni.cc compilation fix in cvs 2005-06-12)Jim Huang2-12/+18
2005-06-13 Jim Huang <jserv@kaffe.org> PR libgcj/22036: * jni.cc (_Jv_JNI_NewObjectV): Use chars() method. (_Jv_JNI_NewObject): Likewise. From-SVN: r100897
2005-06-13re PR java/21844 (miscompilation of LinkedHashMap)Tom Tromey3-0/+40
PR java/21844: * testsuite/libjava.lang/pr21844.java: New file. * testsuite/libjava.lang/pr21844.out: New file. From-SVN: r100894
2005-06-09Add PR number to ChangeLog entry.Bryce McKinlay1-0/+1
From-SVN: r100786
2005-06-09RMIClassLoader.java (getClassLoader): Make public.Bryce McKinlay2-1/+6
* java/rmi/server/RMIClassLoader.java (getClassLoader): Make public. From Gary Benson. From-SVN: r100785
2005-06-08MessageFormat.java (parse): When parsing strings, check for an empty pattern ↵Ziga Mahkovec2-1/+10
trailer. 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si> * java/text/MessageFormat.java (parse): When parsing strings, check for an empty pattern trailer. From-SVN: r100761
2005-06-07* gnu/classpath/jdwp/transport/JdwpConnection.java: New file.Keith Seitz2-0/+266
From-SVN: r100688
2005-06-07* gnu/classpath/jdwp/util/Signature.java: New file.Keith Seitz2-0/+139
From-SVN: r100687
2005-06-06natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug.Anthony Green2-0/+6
2005-06-05 Anthony Green <green@redhat.com> * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug. From-SVN: r100650
2005-06-04Update copyright year.Anthony Green2-2/+2
From-SVN: r100585
2005-06-04URLClassLoader.java: import gnu.gcj.Core, and ↵Anthony Green4-1/+84
gnu.java.net.protocol.core.CoreInputStream. 2005-06-04 Anthony Green <green@redhat.com> * java/net/URLClassLoader.java: import gnu.gcj.Core, and gnu.java.net.protocol.core.CoreInputStream. (CureURLLoader): New class. (CoreResource): New class. (addURLImpl): Add special treatment for the "core" protocol. * gnu/gcj/natCore.cc (find): New method. * gnu/gcj/Core.java (find): New method. From-SVN: r100582
2005-06-03* gnu/classpath/jdwp/transport/TransportFactory.java: New file.Keith Seitz2-0/+116
From-SVN: r100556
2005-06-03ITransport.java: New file.Keith Seitz3-0/+260
* gnu/classpath/jdwp/transport/ITransport.java: New file. * gnu/classpath/jdwp/transport/SocketTransport.java: New file. From-SVN: r100553
2005-06-02jawt.c: Remove malloc.h, covered by stdlib.h.Andreas Tobler3-2/+9
2005-06-03 Andreas Tobler <a.tobler@schweiz.ch> * jawt.c: Remove malloc.h, covered by stdlib.h. * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence the build process. From-SVN: r100504
2005-06-02* gnu/classpath/jdwp/transport/TransportException.java: New file.Keith Seitz2-0/+79
From-SVN: r100496
2005-06-02mauve-libgcj: Remove implemented classes from the fail section.Andreas Tobler2-6/+7
2005-06-02 Andreas Tobler <a.tobler@schweiz.ch> * mauve-libgcj: Remove implemented classes from the fail section. Add two new not implemented to it. From-SVN: r100471
2005-06-01configure.ac (BACKTRACESPEC): Remove definition, but continue to AC_SUBST ↵Bryce McKinlay3-11/+14
definition from configure.host. * configure.ac (BACKTRACESPEC): Remove definition, but continue to AC_SUBST definition from configure.host. * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC to -fomit-frame-pointer on 32-bit x86 targets. From-SVN: r100469
2005-06-01* java/io/ObjectInputStream.java (currentLoader): Fixed typo.Tom Tromey2-2/+6
From-SVN: r100467
2005-06-01re PR libgcj/20435 (regex pattern compiling bug)Ziga Mahkovec5-16/+56
2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si> PR libgcj/20435: * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field. (static): Add possessive matching to JAVA_1_4 syntax. * gnu/regexp/RETokenRepeated.java (possessive): New field. (makePossessive, isPossessive): New methods. (match): Don't back off during possessive matching. * gnu/regexp/RE.java (initalize): Accept possessive quantifier. * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5 to JAVA_1_4. From-SVN: r100466
2005-06-01Fix typo in initial commit.Keith Seitz1-1/+1
From-SVN: r100464
2005-06-01JdwpPacket.java: New file.Keith Seitz4-0/+568
* gnu/classpath/jdwp/transport/JdwpPacket.java: New file. * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file. From-SVN: r100463
2005-06-01re PR libgcj/21785 (ClassNotFound during deserialization)Tom Tromey5-34/+46
PR libgcj/21785: * java/io/natObjectInputStream.cc (currentClassLoader): Removed. (currentLoader): New method. * java/io/ObjectInputStream.java (resolveProxyClass): Use currentLoader. (currentLoader): Now native. (currentClassLoader): Removed. * testsuite/libjava.lang/pr21785.java: New file. * testsuite/libjava.lang/pr21785.out: New file. From-SVN: r100462
2005-06-01re PR libgcj/21753 (String.substring sharing heuristic should be improved)Tom Tromey2-1/+9
PR libgcj/21753: * java/lang/natString.cc (substring): Changed sharing heuristic. From-SVN: r100454
2005-05-30re PR libgcj/21821 (MAXPATHLEN usage in libjava)Bryce McKinlay2-5/+12
2005-05-30 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/21821 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use MAXPATHLEN. Format exception message using a StringBuffer instead. From-SVN: r100364
2005-05-30re PR libgcj/20273 (LinkedHashMap breaks linked list when access() is called)Michael Koch2-1/+7
2005-05-29 Michael Koch <konqueror@gmx.de> PR libgcj/20273: * java/util/LinkedHashMap.java (access): Set 'root.pred'. From-SVN: r100347
2005-05-27ChangeLog: Fix typo.Ziga Mahkovec1-1/+5
2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si> * ChangeLog: Fix typo. From-SVN: r100275