OSDN Git Service

2007-05-31 Andrew Haley <aph@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 67c1389..b0c7127 100644 (file)
@@ -1,3 +1,281 @@
+2007-05-31  Andrew Haley  <aph@redhat.com>
+
+       * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
+       INTERPRETED access modifier.
+
+2007-05-31  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR libjava/32098
+       * configure: Regenerated.
+       * aclocal.m4: Regenerated.
+
+2007-05-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR libjava/32098
+       * configure: Regenerated.
+
+2007-05-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Don't include ../config/confsubdir.m4.
+       * aclocal.m4: Regenerated.
+       * configure: Likewise.
+
+2007-05-27  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR bootstrap/32078
+       * configure.ac: Include confsubdir.m4.
+       * configure: Regenerate.
+
+2007-05-24  Keith Seitz  <keiths@redhat.com>
+
+       * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
+       one when pc_ptr is non-NULL.
+
+       * prims.cc (parse_init_args): Enable JVMTI with agentlib
+       and agentpath options.
+
+       * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
+       parameter.
+       * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
+       Pass '-agentlib:dummyagent' when executing gij.
+       (gij_jvmti_run): Build dummy JVMTI agent before running tests,
+       and remove it when finished.
+       * testsuite/libjava.jvmti/dummyagent.c: New file.
+
+2007-05-23  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * gcj/Makefile.in: Regenerate.
+       * include/Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Regenerate.
+
+2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
+
+       * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
+       (executeMethods): Remove cast to ClassReferenceTypeId.
+       * classpath/lib/gnu/classpath/jdwp/processor/
+       ReferenceTypeCommandSet.class: Rebuilt.
+
+2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
+
+       * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
+       classes and mark methods as native appropriately.
+
+2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
+
+       * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
+       pointer.
+       * gnu/classpath/jdwp/VMFrame.h: Regenerated.
+       * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
+       * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
+       VMFrame constructor.
+
+2007-05-16  David Daney  <ddaney@avtrex.com>
+
+       * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
+       (_Jv_StackFrame): Remove commented out code.
+       (_Jv_UnwindState): Remove superfluous 'typedef'.
+       * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
+       compiler warnings.
+       * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
+       (getCollectionUsage): Don't declare unused parameter n.
+       (getMemoryManagerNames): Same.
+       * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
+       'typedef'.
+
+2007-05-16  Keith Seitz  <keiths@redhat.com>
+
+       * include/java-interp.h (breakpoint_at): Declare.
+       * interpret.cc (breakpoint_at): New function.
+       * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
+       New member.
+       * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
+       Initialize _event_list.
+       (handle_single_step): If there is a breakpoint at the
+       location at which we are stopping, do not send the notification.
+       Instead add the event to a list of events that occur at this
+       location.
+       (jdwpBreakpointCB): If the event list is not empty, send
+       whatever events are in it and the breakpoint event in a single
+       notification.
+       Mark parameter jni_env as MAYBE_UNUSED.
+       * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
+       Regenerated.
+       * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
+
+2007-05-15  David Daney  <ddaney@avtrex.com>
+
+       * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
+       * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
+
+2007-05-15  Keith Seitz  <keiths@redhat.com>
+
+       * interpret.cc (STOREA): Rewrite using temporary variable to
+       avoid double-macro expansion side-effects.
+       (STOREI): Likewise.
+       (STOREF): Likewise.
+       (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
+       (STORED)[SIZEOF_VOID_P == 8]: Likewise.
+       (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
+       (STORED)[SIZEOF_VOID_P != 8]: Likewise.
+       (POKEI): Likewise.
+
+2007-05-12  David Daney  <ddaney@avtrex.com>
+
+       PR libgcj/29324
+       * include/posix-threads.h (_Jv_BlockSigchld): Declare.
+       (_Jv_UnBlockSigchld): Same.
+       * posix-threads.cc: Include posix-threads.h.
+       (block_sigchld) Rename to...
+       (_Jv_BlockSigchld) ... this.
+       (_Jv_UnBlockSigchld): New function.
+       (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
+       (_Jv_ThreadStart): Same.
+       * java/lang/PosixProcess$ProcessManager.h: Regenerate.
+       * java/lang/PosixProcess.java: Clean up imports.
+       (ProcessManager): Make final.
+       (ProcessManager.queue): Genericise and make private.
+       (ProcessManager.pidToProcess): Remove.
+       (ProcessManager.liveProcesses): New field.
+       (ProcessManager.reaperPID): Remove.
+       (ProcessManager.nativeData): New field.
+       (ProcessManager.removeProcessFromMap): Remove.
+       (ProcessManager.addProcessToMap):Remove.
+       (ProcessManager.addToLiveProcesses): New method.
+       (ProcessManager.run): Rewritten.
+       (ProcessManager.reap): Change method signature,
+       (getErrorStream): Correct formatting.
+       (getInputStream): Same.
+       (spawn): Add process to liveProcesses list.
+       (pid): Make package private.
+       * java/lang/PosixProcess.h: Regenerate.
+       * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
+       Add useing namespace java::lang.
+       (ProcessManagerInternal): New struct.
+       (sigchld_handler): Rewritten.
+       (init): Rewritten.
+       (waitForSignal): Same.
+       (reap): Same.
+       (signalReaper): Same.
+       (nativeDestroy): Call kill as ::kill.
+       (nativeSpawn): Correct formatting.
+       * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
+       * classpath/lib/java/lang/PosixProcess.class: Same.
+       * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
+
+2007-05-07  Ian Lance Taylor  <iant@google.com>
+
+       PR java/31842
+       * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
+       overflow.
+
+2007-05-07  Keith Seitz  <keiths@redhat.com>
+
+       * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
+       * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
+       * classpath/lib/gnu/classpath/jdwp/event/Event.class:
+       Regenerate.
+       * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
+       Regenerate.
+       * gnu/classpath/jdwp/Jdwp.h: Regenerate.
+       * gnu/classpath/jdwp/event/Event.h: Regenerate.
+       * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
+
+2007-05-04  Kyle Galloway  <kgallowa@redhat.com>
+
+       * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
+       to use JVMTI.
+
+2007-05-03  Keith Seitz  <keiths@redhat.com>
+
+       * interpret.cc: Don't include ExceptionEvent.h.
+       * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
+       * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
+       * Makefile.in: Regenerated.
+
+2007-05-03  Keith Seitz  <keiths@redhat.com>
+
+       * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
+       Declare.
+       * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
+       (find_catch_location): New function.
+       (REPORT_EXCEPTION): New macro.
+       (throw_internal_error): Use REPORT_EXCEPTION.
+       (throw_incompatible_class_change_error): Likewise.
+       (throw_null_pointer_exception): Likewise.
+       (throw_class_format_error): Likewise.
+       * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
+       to REPORT_EXCEPTION.
+       (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
+       (insn_new): Use INTERP_REPORT_EXCEPTION.
+       (insn_athrow): Likewise.
+       Remove previous JVMTI exception notifications.
+       Add JVMTI ExceptionCatch notificatin.
+       * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
+       exception throw.
+       * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
+       * gnu/gcj/jvmti/ExceptionEvent.h: Removed. 
+       * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
+       * gnu/classpath/jdwp/natVMVirtualMachine.cc
+       (jdwpExceptionCB): New function.
+       (jdwpVMInitCB): Set Exception event handler and enable.
+       * sources.am: Regenerated.
+       * Makefile.in: Regenerated.
+
+2007-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
+       * Makefile.in: Regenerate.
+       * scripts/makemake.tcl (scan_directory): Treat default.css as a
+       property file.
+       * classpath/javax/swing/text/html/default.css: Move to...
+       * classpath/resource/javax/swing/text/html/default.css: New file.
+       * classpath/javax/swing/text/html/HTMLEditorKit.java
+       (getStyleSheet): Throw RuntimeException when style loading fails.
+       * sources.am (property_files): Add
+       classpath/resource/javax/swing/text/html/default.css.
+
+2007-05-02  Tom Tromey  <tromey@redhat.com>
+
+       https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
+       * java/lang/natCharacter.cc (Character::getType): Handle negative
+       code points.
+       (Character::toLowerCase): Likewise.
+       (Character::toUpperCase): Likewise.
+       (Character::digit): Likewise.
+       (Character::getNumericValue): Likewise.
+       (Character::getDirectionality): Likewise.
+       (Character::toTitleCase): Likewise.
+
+2007-04-30  Keith Seitz  <keiths@redhat.com>
+
+       * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
+       executing the instruction.
+       * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
+       one insn from the frame's PC. _Jv_InterpMethod::run et al
+       will advance the PC before executing the instruction.
+
+2007-04-27  Keith Seitz  <keiths@redhat.com>
+
+       * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
+       * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
+       Regenerated.
+       * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
+
+2007-04-27  Keith Seitz  <keiths@redhat.com>
+
+       * classpath/lib/gnu/classpath/jdwp/event/filters/
+       LocationOnlyFilter.class: Regenerated;
+       * classpath/lib/gnu/classpath/jdwp/util/Location.class:
+       Regenerated.
+       * gnu/classpath/jdwp/VMMethod.java
+       * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
+       Regenerated.
+       * gnu/classpath/jdwp/VMMethod.h: Regenerated.
+       * gnu/classpath/jdwp/util/Location.h: Regenerated.
+
 2007-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
        * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.