Skip to content
Snippets Groups Projects
  1. Oct 24, 2003
    • Andrew Haley's avatar
      lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. · 90471585
      Andrew Haley authored
      2003-10-22  Andrew Haley  <aph@redhat.com>
      
              * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New.
              (java_get_callee_fndecl): New.
      
              * jcf-parse.c (java_parse_file): Call emit_catch_table().
      
              * java-tree.h (ctable_decl): New.
              (catch_classes):  New.
              (java_tree_index): Add JTI_CTABLE_DECL, JTI_CATCH_CLASSES.
      
              * decl.c (java_init_decl_processing): Add catch_class_type.
              Add ctable_decl.
              Add catch_classes field.
      
              * class.c (build_indirect_class_ref): Break out from
              build_class_ref.
              (make_field_value): Check flag_indirect_dispatch.
              (make_class_data): Ditto.
              Tidy uses of PUSH_FIELD_VALUE.
              Add field catch_classes.
              (make_catch_class_record): New.
      
              * java-tree.h (PUSH_FIELD_VALUE): Tidy.
      
      2003-10-22  Andrew Haley  <aph@redhat.com>
      
              * java/lang/natClass.cc (initializeClass): Call
              _Jv_linkExceptionClassTable.
              (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
              _Jv_Defer_Resolution on a method whose ncode is NULL.
              (_Jv_linkExceptionClassTable): New function.
              (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
              entry, look it up.
              * java/lang/Class.h (struct _Jv_CatchClass): New.
              (_Jv_linkExceptionClassTable): New friend.
              (_Jv_Defer_Resolution): New friend.
              (class Class.catch_classes): New field.
              * include/java-interp.h (Jv_Defer_Resolution): New method.
              (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
              (_Jv_MethodBase.deferred): New field.
              (_Jv_Defer_Resolution): New function.
              * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
              * exception.cc (get_ttype_entry): Change return type to void**.
              (PERSONALITY_FUNCTION): Remove all code related to using a
              Utf8Const* for a match type.  Change match type to be a pointer to
              a pointer, rather than a pointer to a Class.
              * defineclass.cc (handleCodeAttribute): Initialize
              method->deferred.
              (handleMethodsEnd): Likewise.
      
      From-SVN: r72886
      90471585
  2. Aug 20, 2003
    • Andrew Haley's avatar
      [multiple changes] · f2f3f409
      Andrew Haley authored
      2003-01-31  Andrew Haley  <aph@redhat.com>
      
      	* except.c (prepare_eh_table_type): Use new encoding for exception
      	handlers when using -fno-assume-compiled.
      
      2003-08-20  Andrew Haley  <aph@redhat.com>
      
      	* gnu/gcj/runtime/StackTrace.java (getClass): New method.
      	* gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
      	(classAt): Break out class lookup function into getClass().
      	* exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
      	handlers when using -fno-assume-compiled.
      
      From-SVN: r70605
      f2f3f409
  3. Dec 23, 2002
    • Jeff Sturm's avatar
      exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit of catch_type. · 4017ae6e
      Jeff Sturm authored
      * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
      of catch_type.
      * java/lang/natClass.cc (initializeClass): Link vtable, otable,
      idt tables after initializing superclass.
      * java/lang/natClassLoader.cc (uaddr): New typedef.
      (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
      if they are constant pool indicies.  Don't link vtable, otable yet.
      
      From-SVN: r60450
      4017ae6e
  4. Apr 06, 2002
  5. Feb 13, 2002
  6. Feb 11, 2002
  7. Sep 10, 2001
    • Bryce McKinlay's avatar
      jvm.h (_Jv_AllocRawObj): New prototype. · 7866a458
      Bryce McKinlay authored
      	* include/jvm.h (_Jv_AllocRawObj): New prototype.
      	* boehm.cc (_Jv_AllocRawObj): Implement.
      	* nogc.cc (_Jv_AllocRawObj): Likewise.
      	* exception.cc (_Jv_Throw): Use _Jv_AllocRawObj, not GC_malloc.
      
      From-SVN: r45497
      7866a458
  8. Aug 31, 2001
  9. Jun 10, 2001
  10. May 21, 2001
    • Bryce McKinlay's avatar
      configure.in: Update boehm-gc include dir for new GC version. · 1f4eb17d
      Bryce McKinlay authored
      	* configure.in: Update boehm-gc include dir for new GC version.
      	* configure: Rebuilt.
      	* exception.cc: Only include <gc.h>. Remove TRUE/FALSE hacks and
      	extern "C" wrapper.
      	* boehm.cc: Update includes for new GC version. MAKE_PROC is now
      	GC_MAKE_PROC. mark_proc is now GC_mark_proc.
      	* posix-threads.cc: Only include <gc.h>. Don't need to wrap with
      	extern "C".
      
      From-SVN: r42380
      1f4eb17d
  11. May 12, 2001
  12. Apr 02, 2001
  13. Mar 28, 2001
  14. Mar 26, 2001
    • Richard Henderson's avatar
      exception.cc (java_eh_info): Make value type jthrowable. · b3208f56
      Richard Henderson authored
      	* exception.cc (java_eh_info): Make value type jthrowable.
      	(_Jv_type_matcher): Remove now unneeded cast.
      	(_Jv_Throw): Make argument type jthrowable.  Munge name
      	for SJLJ_EXCEPTIONS here ...
      	* gcj/cni.h: ... not here.
      	(JvThrow): Remove.
      	* gcj/javaprims.h (_Jv_Throw, _Jv_Sjlj_Throw): Update declarations.
      
      	* defineclass.cc, interpret.cc, jni.cc, posix-threads.cc,
      	prims.cc, resolve.cc, gnu/gcj/runtime/natFirstThread.cc,
      	gnu/gcj/xlib/natDrawable.cc, gnu/gcj/xlib/natFont.cc,
      	gnu/gcj/xlib/natWMSizeHints.cc, gnu/gcj/xlib/natWindowAttributes.cc,
      	gnu/gcj/xlib/natXImage.cc, java/io/natFile.cc,
      	java/io/natFileDescriptorEcos.cc, java/io/natFileDescriptorPosix.cc,
      	java/io/natFileDescriptorWin32.cc, java/io/natFileWin32.cc,
      	java/lang/natClass.cc, java/lang/natClassLoader.cc,
      	java/lang/natDouble.cc, java/lang/natObject.cc,
      	java/lang/natPosixProcess.cc, java/lang/natRuntime.cc,
      	java/lang/natString.cc, java/lang/natSystem.cc,
      	java/lang/natThread.cc, java/lang/reflect/natArray.cc,
      	java/lang/reflect/natConstructor.cc, java/lang/reflect/natField.cc,
      	java/lang/reflect/natMethod.cc, java/util/zip/natDeflater.cc,
      	java/util/zip/natInflater.cc:
      	Use throw, not JvThrow or _Jv_Throw.
      
      From-SVN: r40838
      b3208f56
  15. Oct 13, 2000
    • Bryce McKinlay's avatar
      exception.cc: Don't #include "exception". · c26f7a31
      Bryce McKinlay authored
      2000-10-13  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* exception.cc: Don't #include "exception".
      	(_Jv_eh_alloc): Call abort (), not terminate (), if malloc fails.
      
      	* Makefile.am (libgcj_la_LDFLAGS): Link in libsupc++.
      	* Makefile.in: Updated.
      
      From-SVN: r36855
      c26f7a31
  16. Mar 15, 2000
    • Tom Tromey's avatar
      [multiple changes] · 878885b4
      Tom Tromey authored
      2000-03-15  Tom Tromey  <tromey@cygnus.com>
      
      	* java/io/natFileDescriptorWin32.cc (winerr): Now static.
      
      	* prims.cc (win32_exception_handler): Reformatted.
      
      	* include/win32-threads.h (_Jv_HaveCondDestroy): New define.
      	(_Jv_HaveMutexDestroy): Likewise.
      
      2000-03-15 Jon Beniston <jb7216@bristol.ac.uk>
      
      	* java/io/natFileDescriptorWin32.cc: New file.
      	* java/io/natFileWin32.cc: New file.
      	* java/net/natInetAddress.cc: Added conditional inclusion of
      	Windows / Winsock headers.
      	* java/net/natPlainDatagramSocketImpl.cc: Added conditional
      	inclusion of Windows / Winsock headers.
      	* java/net/natPlainSocketImpl.cc: Added conditional inclusion of
      	Windows / Winsock headers.
      	* include/win32-signal.h: New file.
      	* include/win32-threads.h: New file.
      	* win32-threads.cc: New file.
      	* exception.cc (win32_get_restart_frame): New function.
      	* prims.cc (win32_exception_handler): New function.
      	(main_init) Performs Winsock initialisation.
      	(main_init) Installs exeception handler.
      
      From-SVN: r32567
      878885b4
  17. Mar 07, 2000
  18. Jan 19, 2000
  19. Nov 29, 1999
  20. Nov 19, 1999
  21. Sep 10, 1999
    • Tom Tromey's avatar
      configure: Rebuilt. · 27e934d8
      Tom Tromey authored
      	* 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
      27e934d8
  22. Aug 03, 1999
    • Bryce McKinlay's avatar
      ServerSocket.java: Define ANY_IF. · 25fef12b
      Bryce McKinlay authored
              * java/net/ServerSocket.java: Define ANY_IF.
              (ServerSocket (int,int)): Use ANY_IF instead of null to bind to
              all network interfaces.
              * java/net/DatagramSocket.java (DatagramSocket): ditto.
              * java/net/natPlainSocketImpl.cc (bind): Expect 0.0.0' instead of
              null.
              * java/net/natPlainDatagramSocketImpl (bind): Expect 0.0.0'
              instead of null.
      
      From-SVN: r28429
      25fef12b
    • Bryce McKinlay's avatar
      boehm.cc (_Jv_RegisterFinalizer): Cast eth' to GC_PTR. · a0e4da0d
      Bryce McKinlay authored
      eth'
      
              * boehm.cc (_Jv_RegisterFinalizer): Cast eth' to GC_PTR.
              * exception.cc (_Jv_Throw): Cast _Jv_type_matcher' to __eh_matcher.
      
      From-SVN: r28428
      a0e4da0d
  23. Apr 07, 1999
Loading