OSDN Git Service

2005-03-17 Andrew Haley <aph@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 76c7a43..44447d4 100644 (file)
@@ -1,3 +1,121 @@
+2005-03-17  Andrew Haley  <aph@redhat.com>
+
+       * java/lang/natVMSecurityManager.cc (getClassContext): Add new
+       arg: klass.
+       Pass klass to _Jv_StackTrace::GetClassContext().
+       * java/lang/ClassLoader.java (getParent): Pass class to
+       VMSecurityManager.getClassContext()
+       (getSystemClassLoader): Likewise.
+       * java/lang/Package.java (getPackage): Likewise.
+       (getPackages): Likewise.
+       * java/lang/SecurityManager.java (getClassContext): Likewise.
+       (currentClassLoader): Likewise.
+       * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
+       (currentClassLoader) Add new arg: caller.
+       Pass caller to VMSecurityManager.getClassContext.
+
+       * stacktrace.cc (GetClassContext): Correct calculation of
+       jframe_count.
+
+       * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
+       im->source_file_name.
+
+2005-03-16  Andrew Haley  <aph@redhat.com>
+
+       * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
+
+2005-03-16  Tom Tromey  <tromey@redhat.com>
+
+       * link.cc (ensure_class_linked): Removed #ifdef.
+       (print_class_loaded): Likewise.
+       (wait_for_state): Likewise.
+       * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
+       * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
+       * include/java-interp.h: ... here.
+
+2005-03-16  Tom Tromey  <tromey@redhat.com>
+
+       * gnu/java/lang/MainThread.java (run): Load main class using
+       system class loader.
+
+2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
+       lgcc_s to the libraries to link for Darwin.
+
+2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
+       interpreter-specific code with #ifdef INTERPRETER.
+       (_Jv_StackTrace::getLineNumberForFrame): Likewise.
+       (_Jv_StackTrace::FillInFrameInfo): Likewise.
+       (_Jv_StackTrace::non_system_trace_fn): Likewise.
+       * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
+       #ifdef INTERPRETER. Also protect declarations that use it.
+       * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
+       #ifdef INTERPRETER block.
+
+2005-03-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libgcj/20251
+       * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
+       * Makefile.in: Rebuilt.
+
+2005-03-15  David Daney  <ddaney@avtrex.com>
+
+       * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
+       count == 0 case.
+
+2005-03-15  David Daney  <ddaney@avtrex.com>
+
+       * java/io/BufferedInputStream.java (available): Use 'in' instead
+       of 'super' for underlying stream access.
+       (close): Ditto.
+       (read(byte[], int, int)): Ditto.
+       (refill): Ditto.
+       (skip): Call skip on underlying stream when possible. 
+
+2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * stacktrace.cc (GetCallerInfo): Return nothing in case of
+       SJLJ_EXCEPTIONS is defined.
+
+2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
+
+       * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
+       tests.
+
+2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * testsuite/lib/libjava.exp (libjava_init): Use the same target
+       check for Darwin.
+       (libjava_arguments): Likewise.
+
+       * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
+       (gcj_jni_test_one): Likewise.
+       (gcj_jni_invocation_compile_c_to_binary): Likewise.
+       Add flags to keep the Darwin linker quiet.
+       (gcj_jni_invocation_test_one): Use the same target check for Darwin.
+       Add -liconv for Darwin.
+
+2005-03-11  Tom Tromey  <tromey@redhat.com>
+
+       * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
+       (_Jv_CheckABIVersion): Use it.
+
+2005-03-11  Tom Tromey  <tromey@redhat.com>
+
+       * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
+       (usage): Document '-p'.
+       * Makefile.in: Rebuilt.
+       * Makefile.am (dbexecdir): New variable.
+       (db_name): Likewise.
+       (dbexec_DATA): Likewise.
+       ($(db_name)): New target.
+       (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
+       * java/lang/natRuntime.cc (insertSystemProperties): Set default
+       system database.
+
 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
 
        * exception.cc: Remove stray MethodRef.h include.