OSDN Git Service

* jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 9705ebe..8cc483d 100644 (file)
@@ -1,3 +1,172 @@
+2006-08-04  Tom Tromey  <tromey@redhat.com>
+
+       * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
+       (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
+       result to _Jv_uintptr_t.
+
+2006-08-01  Keith Seitz  <keiths@redhat.com>
+
+       * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
+       * gnu/classpath/jdwp/VMIdManager.java: Likewise.
+       * gnu/classpath/jdwp/VMMethod.java: Likewise.
+       * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
+       * gnu/classpath/jdwp/natVMFrame.java: New file.
+       * gnu/classpath/jdwp/natVMMethod.java: New file.
+       * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
+       * Makefile.am (nat_source_files): Add new filles.
+       * Makefile.in: Regenerated.
+
+2006-08-03  Tom Tromey  <tromey@redhat.com>
+
+       * jvmti.cc (REQUIRE_PHASE): New macro.
+       (_Jv_JVMTI_InterruptThread): New function.
+       (_Jv_JVMTI_CreateRawMonitor): Likewise.
+       (_Jv_JVMTI_DestroyRawMonitor): Likewise.
+       (_Jv_JVMTI_RawMonitorEnter): Likewise.
+       (_Jv_JVMTI_RawMonitorExit): Likewise.
+       (_Jv_JVMTI_RawMonitorWait): Likewise.
+       (_Jv_JVMTI_RawMonitorNotify): Likewise.
+       (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
+       (_Jv_JVMTI_Allocate): Likewise.
+       (_Jv_JVMTI_Deallocate): Likewise.
+       (_Jv_JVMTI_GetClassModifiers): Likewise.
+       (_Jv_JVMTI_GetClassMethods): Likewise.
+       (_Jv_JVMTI_IsInterface): Likewise.
+       (_Jv_JVMTI_IsArrayClass): Likewise.
+       (_Jv_JVMTI_GetClassLoader): Likewise.
+       (_Jv_JVMTI_GetObjectHashCode): Likewise.
+       (_Jv_JVMTI_GetFieldModifiers): Likewise.
+       (_Jv_JVMTI_IsFieldSynthetic): Likewise.
+       (_Jv_JVMTI_GetMethodModifiers): Likewise.
+       (_Jv_JVMTI_IsMethodNative): Likewise.
+       (_Jv_JVMTI_IsMethodSynthetic): Likewise.
+       (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
+       (_Jv_JVMTI_ForceGarbageCollection): Likewise.
+       (_Jv_JVMTI_GetSystemProperty): Likewise.
+       (_Jv_JVMTI_SetSystemProperty): Likewise.
+       (_Jv_JVMTI_GetTime): Likewise.
+       (_Jv_JVMTI_GetAvailableProcessors): Likewise.
+       (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
+       (_Jv_JVMTI_SetVerboseFlag): Likewise.
+       (_Jv_JVMTI_GetObjectSize): Likewise.
+       (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
+       (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
+       (_Jv_JVMTI_Interface): Updated.
+       (NULL_CHECK): New macro.
+
+2006-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       PR libgcj/28546
+       * include/no-threads.h: Declare _Jv_Thread_t as empty class.
+
+2006-08-01  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * gnu/classpath/natSystemProperties.cc: Add additional check for
+       getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
+       (SystemProperties::insertSystemProperties): Likewise.
+       * java/io/natFilePosix.cc (File::performList): Add
+       additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
+       * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
+       additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
+
+2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       PR libgcj/28312
+       * classpath/native/jni/midi-alsa/Makefile.am
+       (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
+       * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
+       * classpath/native/jni/midi-dssi/Makefile.am
+       (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
+       * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
+       * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
+       sections.
+       (libqtpeer_la_LDFLAGS): Add -avoid-version.
+       * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
+       * classpath/native/jni/gtk-peer/Makefile.am
+       (libgtkpeer_la_LDFLAGS): Add -avoid-version.
+       * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
+       * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
+       -avoid-version.
+       * classpath/native/jawt/Makefile.in: Regenerate.
+       * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
+       * Makefile.in: Regenerate.
+
+2006-07-28  Andrew Haley  <aph@redhat.com>
+
+       * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
+       curLoader to VMClassLoader::bootLoader.
+
+2006-07-28  Gary Benson  <gbenson@redhat.com>
+           Casey Marshall <csm@gnu.org>
+
+       PR libgcj/13604:
+       * include/java-stack.h (GetClassMethodStack): Declare.
+       * stacktrace.cc (GetClassMethodStack): New method.
+       * java/security/AccessController.java: Removed.
+       * java/security/VMAccessController.java: New file.
+       * java/security/natVMAccessController.cc: Likewise.
+       * Makefile.am (nat_source_files): Added the above.
+       * sources.am, Makefile.in: Rebuilt.
+
+2006-07-28  Gary Benson  <gbenson@redhat.com>
+
+       * java/lang/SecurityManager.java (currentClassLoader,
+       currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
+       checkWrite, checkTopLevelWindow, checkPrintJobAccess,
+       checkSystemClipboardAccess, checkAwtEventQueueAccess,
+       checkPackageList): Remerged javadoc.
+
+2006-07-28  Gary Benson  <gbenson@redhat.com>
+
+       * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
+       from the start to the end of the function.  Remove references
+       to VMThrowable.trace_enabled.
+       * java/lang/natVMThrowable.cc (fillInStackTrace): Use
+       runtimeInitialized rather than trace_enabled to decide
+       whether to inhibit stack trace generation.
+       * java/lang/VMThrowable.java (trace_enabled): Removed.
+
+2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
+
+       * include/win32-threads.h (_Jv_Thread_t): Explicitly
+       name the struct.
+
+2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
+
+       * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
+       attribute.
+       (_Jv_JVMTI_ResumeThread): Likewise.
+       (_Jv_JVMTI_DisposeEnvironment): Likewise.
+
+2006-07-21  Mohan Embar  <gnustuff@thisiscool.com>
+
+       * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
+       SockAddr before using - needed for OS X/PPC.
+
+2006-07-21  Keith Seitz  <keiths@redhat.com>
+
+       * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
+       just the contents.
+       (_Jv_ResumeThread): Likewise.
+       * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
+       _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
+       to JVMTI instead.
+       * include/posix-threads.h: Likewise.
+       * win32-threads.cc: Likewise.
+       * include/win32-threads.h: Likewise.
+       * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
+       (_Jv_JVMTI_ResumeThread): New function.
+       (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
+
+2006-07-21  David Daney  <ddaney@avtrex.com>
+
+       PR libgcj/28426
+       * configure: Regenerated.
+
+2006-07-21  Mark Wielaard  <mark@klomp.org>
+
+       * java/io/OutputStreamWriter.java (flush): Create work if null.
+
 2006-07-21  Keith Seitz  <keiths@redhat.com>
 
        * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
 
 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
 
-        * configure: Regenerate.
+       * configure: Regenerate.
 
 2006-07-18  Gary Benson  <gbenson@redhat.com>