aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
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
2005-05-27Testsuite adjustments for PR java/19870.Ranjit Mathew4-0/+64
* testsuite/libjava.lang/PR19870.java: New testcase. * testsuite/libjava.lang/PR19870.out: Expected output for the testcase. * testsuite/libjava.jacks/jacks.xfail: Add 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2 From-SVN: r100245
2005-05-26decl.c (GCJ_BINARYCOMPAT_ADDITION, [...]): Removed.Bryce McKinlay2-14/+44
2005-05-26 Bryce McKinlay <mckinlay@redhat.com> * decl.c (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed. (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER, MINOR_BINARYCOMPAT_ABI_VERSION): New. (GCJ_CURRENT_BC_ABI_VERSION): Use new method to calculate version ID. (parse_version): Calculate version ID using new method. Use bit-flags for flag_indirect_dispatch and flag_bootstrap_classes. 2005-05-26 Bryce McKinlay <mckinlay@redhat.com> * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New. (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed. (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI classes. (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION. (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method. (_Jv_CheckABIVersion): Check for both old and new style version IDs. (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. From-SVN: r100222
2005-05-25re PR libgcj/21692 (unexpected java.lang.NoClassDefFoundError)Richard Henderson8-4/+52
PR libgcj/21692 * sysdep/descriptor-n.h: New file. * sysdep/descriptor-y.h: New file. * sysdep/powerpc/descriptor.h: New file. * configure.host: Set $descriptor_h appropriate for the host. * configure.ac: Link it. * configure: Regenerate. * stacktrace.cc: Include sysdep/descriptor.h. (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR. From-SVN: r100173
2005-05-25SAXEventSink.java: Ignore XML entities in start/ end entity callbacks.Chris Burdess2-0/+22
2005-05-25 Chris Burdess <dog@gnu.org> * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/ end entity callbacks. From-SVN: r100163
2005-05-25re PR libgcj/21736 (MessageFormat("{0,time,medium}") fails)Gary Benson2-1/+10
2005-05-24 Gary Benson <gbenson@redhat.com> PR libgcj/21736: * java/text/MessageFormat.java (MessageFormatElement.setLocale): Handle DateFormat.DEFAULT case correctly. From-SVN: r100154
2005-05-25re PR libgcj/21703 (hang when rapidly calling String.intern())Tom Tromey3-6/+22
PR libgcj/21703: * java/lang/ref/natReference.cc (find_slot): Handle case where table has no NULL entries. * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where table has no NULL entries. From-SVN: r100153
2005-05-22mprec.c (mult, [...]): Add parenthesis to avoid warnings.Andreas Jaeger2-21/+25
* java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to avoid warnings. From-SVN: r100057
2005-05-21* testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.Ranjit Mathew2-1/+4
From-SVN: r100044
2005-05-19* exception.cc: Revert 05-17 gcc_unreachable change.Richard Henderson2-3/+15
From-SVN: r100004
2005-05-19natClassLoader.cc (_Jv_NewClass): Use _Jv_RegisterInitiatingLoader to ↵Bryce McKinlay2-1/+17
register array classes, not _Jv_RegisterClass. * java/lang/natClassLoader.cc (_Jv_NewClass): Use _Jv_RegisterInitiatingLoader to register array classes, not _Jv_RegisterClass. (_Jv_RegisterInitiatingLoader): Give up if called very early during bootstrapping. Add a FIXME to handle this case better. From-SVN: r99993
2005-05-19Makefile.am (libgcj0_convenience_la): Removed.Bryce McKinlay3-102/+68
* Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj convenience library. (libgcj_la_SOURCES): New. Move sources here. (libgcj.la): Remove rule. From-SVN: r99988
2005-05-18re PR libgcj/19729 (libgcj DSASignature.java null pointer exception)Thomas Fitzsimmons2-111/+105
2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/19729 * gnu/java/security/provider/DSASignature.java: Import updates from GNU Crypto. From-SVN: r99904
2005-05-18gtk_jawt.c (classpath_jawt_object_lock, [...]): New functions.Anthony Green5-3/+62
2005-05-18 Anthony Green <green@redhat.com> * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock, classpath_jawt_object_unlock, classpath_jawt_create_lock, classpath_jawt_destroy_lock): New functions. * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock, classpath_jawt_object_unlock, classpath_jawt_create_lock, classpath_jawt_destroy_lock): New functions. * include/jawt.h (struct _JAWT_DrawingSurface): Add lock field. * jawt.c: #include malloc.h. (_Jv_Lock): Use lock. (_Jv_Unlock): Ditto. (_Jv_GetDrawingSurface): Initialize lock. (_Jv_FreeDrawingSurface): Destroy lock. (_Jv_FreeDrawingSurfaceInfo): Free platformInfo. From-SVN: r99903
2005-05-18Makefile.am (Makefile.deps): Do not use \0, it is unportable.Paolo Bonzini3-2/+7
2005-05-18 Paolo Bonzini <bonzini@gnu.org> * Makefile.am (Makefile.deps): Do not use \0, it is unportable. * Makefile.in: Regenerate. From-SVN: r99884
2005-05-18configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.Kelley Cook12-100/+458
2005-05-17 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. * aclocal.m4, configure, config.h.in, include/config.h.in, 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: r99880
2005-05-18re PR libgcj/18220 (Test case libjava.lang/Process_3 does not end if "sed" ↵David Daney2-0/+6
not available) 2005-05-17 David Daney <ddaney@avtrex.com> PR libgcj/18220 * testsuite/libjava.lang/Process_3.java (run): Exit on error. From-SVN: r99877
2005-05-17unwind-dw2-fde-glibc.c (base_from_cb_data, [...]): Use gcc_assert and ↵Nathan Sidwell2-11/+8
gcc_unreachable as appropriate. * unwind-dw2-fde-glibc.c (base_from_cb_data, _Unwind_IteratePhdrCallback): Use gcc_assert and gcc_unreachable as appropriate. * unwind-dw2-fde.c (__deregister_frame_info_bases, base_from_object, fde_split, end_fde_sort): Likewise. * unwind-dw2.c (_Unwind_GetGR, _Unwind_SetGR, execute_stack_op, execute_cfa_program, _Unwind_SetSpColumn, uw_update_context_1, uw_init_context_1): Likewise. * unwind.inc (_Unwind_RaiseException_Phase2, _Unwind_Resume, _Unwind_Resume_or_Rethrow): Likewise. * unwind-pe.h (__gxx_abort): Do not define. (size_of_encoded_value, base_of_encoded_value, read_encoded_value_with_base): Use gcc_unreachable. * unwind.h (_Unwind_GetTextRelBase): Likewise. From-SVN: r99835
2005-05-17Makefile.am (Makefile.deps): Do not create native.list and bytecodes.list.Paolo Bonzini3-30/+55
2005-05-17 Paolo Bonzini <bonzini@gnu.org> * Makefile.am (Makefile.deps): Do not create native.list and bytecodes.list. (all_native_compiled_dirs, all_java_dirs): Compute dir list here. From-SVN: r99827
2005-05-17configure.ac (--enable-libgcj-multifile): Remove.Paolo Bonzini11-17990/+257
2005-05-11 Paolo Bonzini <bonzini@gnu.org> * configure.ac (--enable-libgcj-multifile): Remove. * Makefile.am (all_native_compiled_source_files, (all_native_compiled_dirs, all_java_dirs, all_java_lo_files, all_libgcj_lo_files, all_xlib_lo_files, all_java_deps_files, all_java_stamp_files, all_java_filelist_files): New variables. (EXTRA_DIST): New Automake variable. (CLEANFILES): Add .stamp, .list and .lo files. (%.list, %.lo, %.stamp, Makefile.deps): New rules. (classes.stamp): Depend on $(all_java_stamp_files). (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without going through write_entries_to_file. (all_java_source_files, all_property_files): Move earlier. (libgcj_la_OBJECTS, javao_files, xlib_javao_files, all_java_class_files): Remove. (gtk_awt_peer_sources): Rename to... (gtk_awt_peer_source_files): ... this. Adjust throughout. (ONESTEP): Remove. (libgcj0_convenience_la_SOURCES): Remove Java source files. (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files). (libgcj0_convenience_la_DEPENDENCIES): Likewise. (libgcj_la_SOURCES): Remove. (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files. (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files). (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise. * configure: Regenerate. * Makefile.in: Regenerate. * external/Makefile.in: Regenerate. * external/sax/Makefile.in: Regenerate. * external/w3c_dom/Makefile.in: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * libltdl/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. From-SVN: r99823
2005-05-17Charset.java (encode, decode): Synchronize on 'this', not the class.Tom Tromey2-32/+31
* java/nio/charset/Charset.java (encode, decode): Synchronize on 'this', not the class. From-SVN: r99810
2005-05-16Headers.java (parse): Include final character of line.Tom Tromey2-2/+13
* gnu/java/net/protocol/http/Headers.java (parse): Include final character of line. From-SVN: r99794
2005-05-16re PR libgcj/21606 (java.net.URI fails to decode lowercase hex codes)Tom Tromey2-3/+7
PR libgcj/21606: * java/net/URI.java (unquote): Handle lower-case letters as well. From-SVN: r99792