1 2007-07-12 Matthias Klose <doko@ubuntu.com>
3 * gnu/classpath/jdwp/util/MethodResult.h,
4 gnu/classpath/jdwp/value/ObjectValue.h: Regenerate.
6 2007-07-11 Keith Seitz <keiths@redhat.com>
8 * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the
10 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise
13 2007-07-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16 * configure.host (mips-sgi-irix6*): Set sysdeps_dir.
19 2007-07-05 Andreas Tobler <a.tobler@schweiz.org>
21 * java/lang/natPosixProcess.cc: Reorder includes to fix compilation
22 on hppa2.0w-hp-hpux11.11.
23 Remove include of <gcj/cni.h>.
25 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
27 * aclocal.m4: Regenerated.
29 2007-07-03 Andreas Tobler <a.tobler@schweiz.org>
31 * java/lang/Class.h: Remove redundant 'class java::*::* declarations.
33 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
36 * configure.host (i[3-6]86-*): Undef sun.
38 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
40 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
43 2007-06-28 Jan Nijtmans <nijtmans@users.sourceforge.net>
46 * jni_md.h: Add the possibility to compile jni code with.
47 -fvisibility=hidden. This causes all symbols to be hidden
48 except the JNI functions which need to be exported.
50 2007-06-28 Andreas Tobler <a.tobler@schweiz.org>
52 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
53 the cxxldlibflags to exec_gij to have the right libstdc++ invoked.
55 2007-07-21 Keith Seitz <keiths@redhat.com>
57 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate.
59 2007-07-20 Keith Seitz <keiths@redhat.com>
61 * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
64 2007-07-20 Keith Seitz <keiths@redhat.com>
66 * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
67 Update from reference implementation.
68 * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
69 Update parameter list to match new VMVirtualMachine interface.
70 * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
72 * classpath/lib/gnu/classpath/jdwp/processor/
73 ObjectReferenceCommandSet.class: Regenerate.
74 * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
75 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
76 * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
78 2007-06-18 Keith Seitz <keiths@redhat.com>
80 * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
81 (method): Change from private to protected.
83 (Breakpoint): Change argument list to take only integer type.
84 Add default constructor.
85 (initialize_native): Renamed to ...
86 (_save_insn): ... this to make function more explicit.
87 (execute): New method.
88 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
89 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to...
90 (_save_insn): ... this.
91 (install): Save the original instruction.
92 * gnu/gcj/jvmti/NormalBreakpoint.java: New file.
93 * gnu/gcj/jvmti/NormalBreakpoint.h: New file.
94 * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file.
95 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
96 Instantiate a NormalBreakpoint instead of Breakpoint.
97 * interpret-run.cc (insn_breakpoint): Remove breakpoint actions
98 and call Breakpoint.execute to do them.
99 * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate.
100 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise.
101 * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file.
102 * sources.am: Regenerate.
103 * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc.
104 * Makefile.in: Regenerated.
106 2007-06-14 Keith Seitz <keiths@redhat.com>
108 * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
109 for bytecode_pc and direct-threaded pc.
110 Add field descriptions inline.
111 * defineclass.cc (read_one_code_attribute): Change from
112 bytecode_start_pc to bytecode_pc.
113 Remove unused variable "len".
114 * interpret.cc (compile): Remap the variable table, too.
115 (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
116 start location to map from pc_t to code index.
118 2007-06-09 Keith Seitz <keiths@redhat.com>
120 * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
121 Add missing return value.
123 2007-06-03 Matthias Klose <doko@ubuntu.com>
125 * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
126 _access: Handle EXEC query, stub only.
128 2007-06-03 Matthias Klose <doko@ubuntu.com>
130 Merged from classpath:
131 * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
132 * java/lang/System.java(inheritedChannel): New.
133 * java/lang/Character.java: Remove stray`;'.
134 * java/net/MulticastSocket.java: Merged.
135 * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
136 * java/text/Collator.java(getInstance): Merged.
137 * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
138 getDisplayName, getDisplayNames: New.
139 * java/util/logging/Logger.java: Merged.
140 * Regenerate .class and .h files.
142 2007-06-03 Matthias Klose <doko@ubuntu.com>
144 * java/io/File.java: Merge with classpath-0.95, new method
145 setFilePermissions, new attribute EXEC.
146 * java/io/natFilePosix.cc (setFilePermissions): New.
147 _access: Handle EXEC query.
148 * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
150 2007-06-03 Matthias Klose <doko@ubuntu.com>
152 Imported GNU Classpath 0.95.
154 * classpath/Makefile.in,
155 classpath/native/jni/midi-dssi/Makefile.in,
156 classpath/native/jni/classpath/Makefile.in,
157 classpath/native/jni/Makefile.in,
158 classpath/native/jni/gconf-peer/Makefile.in,
159 classpath/native/jni/java-io/Makefile.in,
160 classpath/native/jni/native-lib/Makefile.in,
161 classpath/native/jni/java-util/Makefile.in,
162 classpath/native/jni/midi-alsa/Makefile.in,
163 classpath/native/jni/java-lang/Makefile.in,
164 classpath/native/jni/java-nio/Makefile.in,
165 classpath/native/jni/java-net/Makefile.in,
166 classpath/native/jni/xmlj/Makefile.in,
167 classpath/native/jni/qt-peer/Makefile.in,
168 classpath/native/jni/gtk-peer/Makefile.in,
169 classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
170 classpath/native/fdlibm/Makefile.in,
171 classpath/native/plugin/Makefile.in,
172 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
173 classpath/tools/Makefile.in, classpath/doc/Makefile.in,
174 classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
175 classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
176 classpath/external/sax/Makefile.in,
177 classpath/external/w3c_dom/Makefile.in,
178 classpath/external/relaxngDatatype/Makefile.in,
179 classpath/include/Makefile.in,
180 classpath/examples/Makefile.in: Regenerate.
181 * classpath/config.guess, classpath/config.sub,
182 classpath/ltmain.sh : Update.
183 * classpath/configure, classpath/depcomp, classpath/missing,
184 classpath/aclocal.m4, classpath/install-sh: Regenerate.
186 * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
187 * sources.am: Regenerate.
188 * Makefile.in: Regenerate.
190 * Update the .class files and generated CNI header files, add new
191 .class and generated CNI header files.
192 * Remove generated files for removed java source files:
193 classpath/gnu/java/net/BASE64.java,
194 classpath/gnu/java/security/util/Base64.java,
195 classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
196 classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
197 classpath/gnu/java/awt/font/autofit/Scaler.java,
198 classpath/gnu/classpath/jdwp/util/Value.java,
199 classpath/gnu/javax/net/ssl/Base64.java.
200 * Remove empty directories.
202 * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
203 * java/lang/Class.java(setAccessible): Merge from classpath.
204 * java/util/Locale.java: Remove.
205 * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
206 gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
207 * gcj/javaprims.h: Update class declarations.
208 * scripts/classes.pl: Update usage.
209 * HACKING: Mention to build all peers.
211 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
213 * configure: Regenerate.
215 2007-05-31 Andrew Haley <aph@redhat.com>
217 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
218 INTERPRETED access modifier.
220 2007-05-31 Paolo Bonzini <bonzini@gnu.org>
223 * configure: Regenerated.
224 * aclocal.m4: Regenerated.
226 2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
229 * configure: Regenerated.
231 2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
233 * configure.ac: Don't include ../config/confsubdir.m4.
234 * aclocal.m4: Regenerated.
235 * configure: Likewise.
237 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
240 * configure.ac: Include confsubdir.m4.
241 * configure: Regenerate.
243 2007-05-24 Keith Seitz <keiths@redhat.com>
245 * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
246 one when pc_ptr is non-NULL.
248 * prims.cc (parse_init_args): Enable JVMTI with agentlib
249 and agentpath options.
251 * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
253 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
254 Pass '-agentlib:dummyagent' when executing gij.
255 (gij_jvmti_run): Build dummy JVMTI agent before running tests,
256 and remove it when finished.
257 * testsuite/libjava.jvmti/dummyagent.c: New file.
259 2007-05-23 Steve Ellcey <sje@cup.hp.com>
261 * Makefile.in: Regenerate.
262 * configure: Regenerate.
263 * aclocal.m4: Regenerate.
264 * gcj/Makefile.in: Regenerate.
265 * include/Makefile.in: Regenerate.
266 * testsuite/Makefile.in: Regenerate.
268 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
270 * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
271 (executeMethods): Remove cast to ClassReferenceTypeId.
272 * classpath/lib/gnu/classpath/jdwp/processor/
273 ReferenceTypeCommandSet.class: Rebuilt.
275 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
277 * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
278 classes and mark methods as native appropriately.
280 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
282 * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
284 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
285 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
286 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
289 2007-05-16 David Daney <ddaney@avtrex.com>
291 * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
292 (_Jv_StackFrame): Remove commented out code.
293 (_Jv_UnwindState): Remove superfluous 'typedef'.
294 * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
296 * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
297 (getCollectionUsage): Don't declare unused parameter n.
298 (getMemoryManagerNames): Same.
299 * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
302 2007-05-16 Keith Seitz <keiths@redhat.com>
304 * include/java-interp.h (breakpoint_at): Declare.
305 * interpret.cc (breakpoint_at): New function.
306 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
308 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
309 Initialize _event_list.
310 (handle_single_step): If there is a breakpoint at the
311 location at which we are stopping, do not send the notification.
312 Instead add the event to a list of events that occur at this
314 (jdwpBreakpointCB): If the event list is not empty, send
315 whatever events are in it and the breakpoint event in a single
317 Mark parameter jni_env as MAYBE_UNUSED.
318 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
320 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
322 2007-05-15 David Daney <ddaney@avtrex.com>
324 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
325 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
327 2007-05-15 Keith Seitz <keiths@redhat.com>
329 * interpret.cc (STOREA): Rewrite using temporary variable to
330 avoid double-macro expansion side-effects.
333 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
334 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
335 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
336 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
339 2007-05-12 David Daney <ddaney@avtrex.com>
342 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
343 (_Jv_UnBlockSigchld): Same.
344 * posix-threads.cc: Include posix-threads.h.
345 (block_sigchld) Rename to...
346 (_Jv_BlockSigchld) ... this.
347 (_Jv_UnBlockSigchld): New function.
348 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
349 (_Jv_ThreadStart): Same.
350 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
351 * java/lang/PosixProcess.java: Clean up imports.
352 (ProcessManager): Make final.
353 (ProcessManager.queue): Genericise and make private.
354 (ProcessManager.pidToProcess): Remove.
355 (ProcessManager.liveProcesses): New field.
356 (ProcessManager.reaperPID): Remove.
357 (ProcessManager.nativeData): New field.
358 (ProcessManager.removeProcessFromMap): Remove.
359 (ProcessManager.addProcessToMap):Remove.
360 (ProcessManager.addToLiveProcesses): New method.
361 (ProcessManager.run): Rewritten.
362 (ProcessManager.reap): Change method signature,
363 (getErrorStream): Correct formatting.
364 (getInputStream): Same.
365 (spawn): Add process to liveProcesses list.
366 (pid): Make package private.
367 * java/lang/PosixProcess.h: Regenerate.
368 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
369 Add useing namespace java::lang.
370 (ProcessManagerInternal): New struct.
371 (sigchld_handler): Rewritten.
373 (waitForSignal): Same.
375 (signalReaper): Same.
376 (nativeDestroy): Call kill as ::kill.
377 (nativeSpawn): Correct formatting.
378 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
379 * classpath/lib/java/lang/PosixProcess.class: Same.
380 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
382 2007-05-07 Ian Lance Taylor <iant@google.com>
385 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
388 2007-05-07 Keith Seitz <keiths@redhat.com>
390 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
391 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
392 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
394 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
396 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
397 * gnu/classpath/jdwp/event/Event.h: Regenerate.
398 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
400 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
402 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
405 2007-05-03 Keith Seitz <keiths@redhat.com>
407 * interpret.cc: Don't include ExceptionEvent.h.
408 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
409 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
410 * Makefile.in: Regenerated.
412 2007-05-03 Keith Seitz <keiths@redhat.com>
414 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
416 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
417 (find_catch_location): New function.
418 (REPORT_EXCEPTION): New macro.
419 (throw_internal_error): Use REPORT_EXCEPTION.
420 (throw_incompatible_class_change_error): Likewise.
421 (throw_null_pointer_exception): Likewise.
422 (throw_class_format_error): Likewise.
423 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
425 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
426 (insn_new): Use INTERP_REPORT_EXCEPTION.
427 (insn_athrow): Likewise.
428 Remove previous JVMTI exception notifications.
429 Add JVMTI ExceptionCatch notificatin.
430 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
432 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
433 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
434 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
435 * gnu/classpath/jdwp/natVMVirtualMachine.cc
436 (jdwpExceptionCB): New function.
437 (jdwpVMInitCB): Set Exception event handler and enable.
438 * sources.am: Regenerated.
439 * Makefile.in: Regenerated.
441 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
443 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
444 * Makefile.in: Regenerate.
445 * scripts/makemake.tcl (scan_directory): Treat default.css as a
447 * classpath/javax/swing/text/html/default.css: Move to...
448 * classpath/resource/javax/swing/text/html/default.css: New file.
449 * classpath/javax/swing/text/html/HTMLEditorKit.java
450 (getStyleSheet): Throw RuntimeException when style loading fails.
451 * sources.am (property_files): Add
452 classpath/resource/javax/swing/text/html/default.css.
454 2007-05-02 Tom Tromey <tromey@redhat.com>
456 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
457 * java/lang/natCharacter.cc (Character::getType): Handle negative
459 (Character::toLowerCase): Likewise.
460 (Character::toUpperCase): Likewise.
461 (Character::digit): Likewise.
462 (Character::getNumericValue): Likewise.
463 (Character::getDirectionality): Likewise.
464 (Character::toTitleCase): Likewise.
466 2007-04-30 Keith Seitz <keiths@redhat.com>
468 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
469 executing the instruction.
470 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
471 one insn from the frame's PC. _Jv_InterpMethod::run et al
472 will advance the PC before executing the instruction.
474 2007-04-27 Keith Seitz <keiths@redhat.com>
476 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
477 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
479 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
481 2007-04-27 Keith Seitz <keiths@redhat.com>
483 * classpath/lib/gnu/classpath/jdwp/event/filters/
484 LocationOnlyFilter.class: Regenerated;
485 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
487 * gnu/classpath/jdwp/VMMethod.java
488 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
490 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
491 * gnu/classpath/jdwp/util/Location.h: Regenerated.
493 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
495 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
496 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
498 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
500 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
502 (get): Deal with ObjectId of 0.
504 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
507 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
509 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
511 * gnu/classpath/jdwp/natVMVirtualMachine.java
512 (getThreadStatus): Implement.
514 2007-04-24 Keith Seitz <keiths@redhat.com>
516 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
517 Add _Jv_RewriteBreakpointInsn friend declaration.
518 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
519 [DIRECT_THREADED]: New function.
520 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
521 * interpret-run.cc: Define new REWRITE_INSN macro.
522 Changed all occurrences of insn rewriting to call REWRITE_INSN.
524 2007-04-23 Keith Seitz <keiths@redhat.com>
526 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
527 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
528 * boehm.cc (_Jv_IsThreadSuspended): New function.
529 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
530 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
531 (_Jv_JVMTI_Interface): Define GetThreadState.
533 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
535 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
537 (<init>): Add a pointer to the interpreter PC as a parameter with
539 (get_pc): New method.
540 * interpret-run.cc: If debugging, pass a pointer to the PC when
541 creating the stack frame.
542 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
545 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
547 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
548 for null source file and throw an exception indicating this.
550 2007-04-20 Keith Seitz <keiths@redhat.com>
552 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
553 Install the new breakpoint into the bytecode.
554 (deleteBreakpoint): Remove the breakpoint from the bytecode.
555 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
557 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
558 Don't install the breakpoint here.
560 2007-04-19 Keith Seitz <keiths@redhat.com>
562 * interpret-run.cc [insn_breakpoint]: Save the original
563 insn for the breakpoint before posting the JVMTI notification.
565 2007-04-19 Tom Tromey <tromey@redhat.com>
567 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
569 2007-04-18 Tom Tromey <tromey@redhat.com>
571 * Regenerated headers with new gjavah.
573 2007-04-18 Andrew Haley <aph@redhat.com>
575 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
577 (generateProxyClass): Add field $Proxy0.m. Store methods array in
579 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
580 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
581 * java/lang/natClass.cc: Likewise.
582 * headers.txt: Likewise.
583 * java/lang/reflect/Method.h: Likewise.
585 2007-04-16 Andrew Haley <aph@redhat.com>
587 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
589 (bootGetResource): Use getBootURLLoader() to load resources.
590 (bootGetResources): Likewise.
592 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
593 check that the method's declaring class is accessible.
595 2007-04-10 Keith Seitz <keiths@redhat.com>
597 * sources.am: Regenerate.
598 * Makefile.in: Likewise.
600 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
602 * interpret-run.cc: If debugging, check if args is NULL before
603 getting the "this" pointer.
605 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
607 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
608 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
609 * gnu/classpath/jdwp/ArrayValue.h: New file.
610 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
613 2007-04-09 David Daney <ddaney@avtrex.com>
616 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
617 environment before the fork.
618 * testsuite/libjava.lang/Process_7.java: New test.
619 * testsuite/libjava.lang/Process_7.out: Its expected results.
620 * testsuite/libjava.lang/Process_7.jar: Generated file.
622 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
624 * prims.cc (load_jvmti_agent): Add the missing `,'.
626 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
628 * gij.cc (main): Accept -agentlib and -agentpath options.
629 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
630 (load_jvmti_agent): New function.
632 2007-04-04 Tania Bento <tbento@redhat.com>
634 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
635 Copyright information and introduced new variable, currency.
636 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
637 to "XXX", currencySymbol to "?" and localCurrency appropriately.
638 (getCurrency): Fixed documentation and return the value of currency.
639 (setCurrency): Fixed documentation and update the value of currency.
640 (setInternationalCurrencySymbol): Fixed documentation and update the
642 * java/util/Currency.java: Introduced two new variables, properties
643 and fractionDigits. In the static block, a properties object is
644 created and the currency resource is loaded.
645 (Currency(Locale)): fractionDigits is defined.
646 (Currency(String)): New method.
647 (getDefaultFractionDigits): Return the value of fractionDigits.
648 (getInstance(String)): Check if String is equal to "XXX".
650 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
652 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
653 to ints for argCnt and slots.
654 (write): Replace writeLong with writeInt for the above.
656 2007-04-03 Andrew Haley <aph@redhat.com>
658 * testsuite/libjava.lang/ProxyTest.java: New test.
660 2007-04-02 Tom Tromey <tromey@redhat.com>
662 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
663 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
664 file, when writing, if it is too short.
666 2007-04-02 Tom Tromey <tromey@redhat.com>
668 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
669 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
671 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
672 where localport is -1.
673 (create): Now public.
674 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
675 'create' on the socket.
677 2007-04-02 Andrew Haley <aph@redhat.com>
679 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
680 _Jv_LookupProxyMethod to find the Method.
681 If parameter_types->length == 0, pass a null paramameter list,
682 not a zero-length parameter list.
683 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
684 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
686 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
688 * interpret-run.cc: Add code to properly set up variable slots
690 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
691 (getObjectJVMTI): New function.
692 (setObjectJVMTI): New function.
693 (getIntJVMTI): New function.
694 (setIntJVMTI): New function.
695 (getLongJVMTI): New function.
696 (setLongJVMTI): New function.
697 (getFloatJVMTI): New function.
698 (setFloatJVMTI): New function.
699 (getDoubleJVMTI): New function.
700 (setDoubleJVMTI): New function.
701 (getFrameDepth): New function.
702 (getValue): Implement.
703 (setValue): Implement.
705 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
707 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
708 (executeResume): Call VMVirtualMachine.resumeThread.
710 2007-03-29 Tom Tromey <tromey@redhat.com>
713 * java/util/logging/LogManager.java (readConfiguration): Handle
714 comma-separated 'handlers'. Don't try to add a non-existing
717 2007-03-27 Tom Tromey <tromey@redhat.com>
719 * sources.am, Makefile.in: Rebuilt.
720 * scripts/mime.types: Removed.
721 * scripts/MakeDefaultMimeTypes.java: Removed.
722 * gnu/gcj/io/MimeTypes.java: Removed.
723 * gnu/gcj/io/MimeTypes.h: Removed.
724 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
725 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
727 2007-03-27 Keith Seitz <keiths@redhat.com>
729 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
731 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
732 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
733 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
734 (initialize): Fix compiler type-punning warning.
735 (getAllLoadedClasses): Return empty list instead of NULL.
736 (getLoadRequests): Likewise.
737 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
738 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
739 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
740 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
741 * gnu/classpath/jdwp/value/CharValue.h: New file.
742 * gnu/classpath/jdwp/value/LongValue.h: New file.
743 * gnu/classpath/jdwp/value/ShortValue.h: New file.
744 * gnu/classpath/jdwp/value/Value.h: New file.
745 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
746 * gnu/classpath/jdwp/value/VoidValue.h: New file.
747 * gnu/classpath/jdwp/value/ByteValue.h: New file.
748 * gnu/classpath/jdwp/value/FloatValue.h: New file.
749 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
750 * gnu/classpath/jdwp/value/StringValue.h: New file.
751 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
752 * gnu/classpath/jdwp/value/IntValue.h: New file.
753 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
754 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
755 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
756 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
757 * gnu/classpath/jdwp/util/NullObject.h: New file.
758 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
759 * Makefile.in: Rebuilt.
760 * sources.am: Rebuilt.
762 2006-03-26 David Daney <ddaney@avtrex.com>
764 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
765 fork, execvp, execinfo.h, pthread_mutexattr_settype,
766 pthread_mutexattr_setkind_np and sys/wait.h.
767 * Makefile.in: Regenerate.
768 * include/Makefile.in: Regenerate.
769 * include/config.h.in: Regenerate.
770 * testsuite/Makefile.in: Regenerate.
771 * configure: Regenerate.
772 * gcj/Makefile.in: Regenerate.
774 2007-03-23 Gary Benson <gbenson@redhat.com>
776 * link.cc (_Jv_Linker::resolve_method_entry):
777 Ensure that the argument types and the return type of the
778 found method match those expected by the calling method.
780 2007-03-22 David Daney <ddaney@avtrex.com>
783 * configure.ac: Add checks for getrlimit and sys/resource.h.
784 * include/posix.h (_Jv_platform_close_on_exec): Remove.
785 * include/config.h.in: Regenerate.
786 * configure: Regenerate.
787 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
788 _Jv_platform_close_on_exec;
789 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
791 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
792 * java/lang/natPosixProcess.cc: Include sys/resource.h.
793 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
796 2007-03-20 Andrew Haley <aph@redhat.com>
798 * testsuite/libjava.lang/PR31264.java: New test.
800 2007-03-14 Jakub Jelinek <jakub@redhat.com>
802 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
803 * Makefile.in: Rebuilt.
805 2007-03-13 Keith Seitz <keiths@redhat.com>
807 * include/java-interp.h (_Jv_InterpClass): Declare
808 friend function _Jv_GetInterpClassSourceFile.
809 * java/lang/Class.h (Class): Likewise.
810 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
812 * gnu/classpath/jdwp/natVMVirtualMachine.cc
813 (getSourceFile): Implement.
815 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
817 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
818 * classpath/configure.ac: Add --with-ecj-jar configure option.
819 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
821 * classpath/INSTALL: Document --with-ecj-jar configure option and
822 ecj jar requirement for com.sun.tools.javac support.
823 * classpath/tools/Makefile.am: Build decendents of com and sun
825 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
826 * gnu/classpath/Configuration.java,
827 gnu/classpath/natConfiguration.cc (ecj): New method.
828 (ECJ_JAR): New field.
829 * scripts/makemake.tcl (scan_packages): Add com directory.
830 * sources.am (property_files): Add
831 classpath/resource/sun/rmi/rmic/messages.properties and
832 classpath/resource/com/sun/tools/javac/messages.properties.
833 * classpath/resource/com, classpath/resource/com/sun,
834 classpath/resource/com/sun/tools,
835 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
836 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
837 classpath/tools/classes/com, classpath/tools/classes/com/sun,
838 classpath/tools/classes/com/sun/javadoc,
839 classpath/tools/classes/com/sun/tools,
840 classpath/tools/classes/com/sun/tools/doclets,
841 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
842 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
843 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
844 classpath/tools/com/sun/tools,
845 classpath/tools/com/sun/tools/doclets,
846 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
847 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
849 * classpath/resource/com/sun/tools/javac/messages.properties,
850 classpath/resource/sun/rmi/rmic/messages.properties,
851 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
852 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
853 classpath/tools/classes/com/sun/javadoc/Doc.class,
854 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
855 classpath/tools/classes/com/sun/javadoc/Doclet.class,
856 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
857 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
858 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
859 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
860 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
861 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
862 classpath/tools/classes/com/sun/javadoc/Parameter.class,
863 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
864 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
865 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
866 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
867 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
868 classpath/tools/classes/com/sun/javadoc/Tag.class,
869 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
870 classpath/tools/classes/com/sun/javadoc/Type.class,
871 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
872 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
873 classpath/tools/classes/sun/rmi/rmic/Main.class,
874 classpath/tools/classes/sun/rmi/rmic/Messages.class,
875 classpath/tools/com/sun/javadoc/ClassDoc.java,
876 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
877 classpath/tools/com/sun/javadoc/Doc.java,
878 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
879 classpath/tools/com/sun/javadoc/Doclet.java,
880 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
881 classpath/tools/com/sun/javadoc/FieldDoc.java,
882 classpath/tools/com/sun/javadoc/MemberDoc.java,
883 classpath/tools/com/sun/javadoc/MethodDoc.java,
884 classpath/tools/com/sun/javadoc/PackageDoc.java,
885 classpath/tools/com/sun/javadoc/ParamTag.java,
886 classpath/tools/com/sun/javadoc/Parameter.java,
887 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
888 classpath/tools/com/sun/javadoc/RootDoc.java,
889 classpath/tools/com/sun/javadoc/SeeTag.java,
890 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
891 classpath/tools/com/sun/javadoc/SourcePosition.java,
892 classpath/tools/com/sun/javadoc/Tag.java,
893 classpath/tools/com/sun/javadoc/ThrowsTag.java,
894 classpath/tools/com/sun/javadoc/Type.java,
895 classpath/tools/com/sun/javadoc/TypeVariable.java,
896 classpath/tools/com/sun/tools/doclets/Taglet.java,
897 classpath/tools/com/sun/tools/javac/Main.java,
898 classpath/tools/com/sun/tools/javac/Messages.java,
899 classpath/tools/sun/rmi/rmic/Main.java,
900 classpath/tools/sun/rmi/rmic/Messages.java: New files.
901 * Makefile.in, classpath/Makefile.in, classpath/configure,
902 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
903 classpath/examples/Makefile.in, classpath/external/Makefile.in,
904 classpath/external/jsr166/Makefile.in,
905 classpath/external/relaxngDatatype/Makefile.in,
906 classpath/external/sax/Makefile.in,
907 classpath/external/w3c_dom/Makefile.in,
908 classpath/include/Makefile.in, classpath/include/config.h.in,
909 classpath/lib/Makefile.in,
910 classpath/lib/gnu/classpath/Configuration.class,
911 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
912 classpath/native/jawt/Makefile.in,
913 classpath/native/jni/Makefile.in,
914 classpath/native/jni/classpath/Makefile.in,
915 classpath/native/jni/gconf-peer/Makefile.in,
916 classpath/native/jni/gtk-peer/Makefile.in,
917 classpath/native/jni/java-io/Makefile.in,
918 classpath/native/jni/java-lang/Makefile.in,
919 classpath/native/jni/java-net/Makefile.in,
920 classpath/native/jni/java-nio/Makefile.in,
921 classpath/native/jni/java-util/Makefile.in,
922 classpath/native/jni/midi-alsa/Makefile.in,
923 classpath/native/jni/midi-dssi/Makefile.in,
924 classpath/native/jni/native-lib/Makefile.in,
925 classpath/native/jni/qt-peer/Makefile.in,
926 classpath/native/jni/xmlj/Makefile.in,
927 classpath/native/plugin/Makefile.in,
928 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
929 classpath/tools/Makefile.in, configure,
930 gnu/classpath/Configuration.h: Regenerate.
932 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
934 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
937 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
939 * java/lang/natString.cc (getBytes (jstring enc)):
940 Fixed the loop for multiple cycles, Code cleanup
942 2007-03-09 Tom Tromey <tromey@redhat.com>
944 * sources.am, Makefile.in: Rebuilt.
945 * scripts/makemake.tcl (scan_directory): Allow service files to be
947 Omit all XML-related service files.
949 2007-03-07 Tom Tromey <tromey@redhat.com>
951 * configure: Rebuilt.
952 * configure.ac: Clear vm-tools-packages.
954 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
956 * java/lang/Win32Process.java: Added nested class EOFInputStream.
957 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
958 enum and implementation.
959 (startProcess): Use redirect flag.
960 * classpath/lib/java/lang/Win32Process.class: Regenerated.
961 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
962 * gcj/javaprims.h: Regenerated.
963 * java/lang/Win32Process$EOFInputStream.h: New.
965 2007-03-07 Andrew Haley <aph@redhat.com>
967 * libgcj_bc.c (JvRunMainName): Declare.
969 2007-03-07 Gary Benson <gbenson@redhat.com>
971 * sources.am, Makefile.in: Rebuilt.
973 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
975 * gcj/javaprims.h: Regenerated.
977 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
979 * include/jvm.h (_Jv_ClosureListFinalizer): New.
980 (_Jv_Linker::create_error_method): Adjust.
981 * boehm.cc (_Jv_ClosureListFinalizer): New.
982 * nogc.cc (_Jv_ClosureListFinalizer): New.
983 * java/lang/Class.h (class _Jv_ClosureList): New.
984 (class java::lang::Class): Declare it as friend.
985 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
986 (_Jv_ClosureList::registerClousure): New.
987 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
988 (_Jv_CompiledEngine::do_get_closure_list): New.
989 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
990 (_Jv_IndirectCompiledClass): Add closures.
991 (_Jv_IndirectCompiledEngine::get_aux_info): New.
992 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
994 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
995 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
996 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
997 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
998 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
999 (node_closure): Add closure list.
1000 (_Jv_InterpMethod::ncode): Add jclass argument. Use
1001 ffi_closure_alloc and the separate code pointer. Register the
1002 closure for finalization.
1003 (_Jv_JNIMethod::ncode): Likewise.
1004 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
1005 (_Jv_InterpreterEngine::do_get_closure_list): New.
1006 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
1007 (_Jv_InterpClass): Add closures field.
1008 (_Jv_JNIMethod::ncode): Adjust.
1009 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
1010 (_Jv_ClassReader::handleMethodsEnd): Likewise.
1011 * link.cc (struct method_closure): Add closure list.
1012 (_Jv_Linker::create_error_method): Add jclass argument. Use
1013 ffi_closure_alloc and the separate code pointer. Register the
1014 closure for finalization.
1015 (_Jv_Linker::link_symbol_table): Remove outdated comment about
1016 sharing of otable and atable. Adjust.
1017 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
1019 (ncode): Add jclass argument. Use ffi_closure_alloc and the
1020 separate code pointer. Register the closure for finalization.
1021 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
1022 * testsuite/libjava.jar/TestClosureGC.java: New.
1023 * testsuite/libjava.jar/TestClosureGC.out: New.
1024 * testsuite/libjava.jar/TestClosureGC.xfail: New.
1025 * testsuite/libjava.jar/TestClosureGC.jar: New.
1027 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
1029 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
1030 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
1031 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
1032 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
1033 (VMMethod::getLineTable): Use new macro.
1034 (VMMethod::getVariableTable): Implement.
1035 * sources.am: Regenerated.
1036 * Makefile.in: Ditto.
1038 2007-03-06 Tom Tromey <tromey@redhat.com>
1040 * Makefile.in: Rebuilt.
1041 * Makefile.am (bin_PROGRAMS): Added gcjh.
1042 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
1043 gcjh_DEPENDENCIES): New variables.
1045 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
1047 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
1048 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
1049 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
1051 2007-03-05 Matthias Klose <doko@debian.org>
1053 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
1054 * Makefile.in: Regnerate.
1056 2007-03-05 Mark Wielaard <mark@klomp.org>
1058 * java/lang/Character.java: Re-merged with Classpath.
1059 * java/lang/natString.cc (nativeCompareTo): Renamed from
1061 * java/lang/StringBuilder.java: Re-merged with Classpath.
1062 * java/lang/String.java: Re-merged with Classpath.
1063 (nativeCompareTo): Renamed from compareTo.
1064 * java/lang/StringBuffer.java: Re-merged with Classpath.
1065 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
1067 2007-03-05 Andrew Haley <aph@redhat.com>
1069 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
1070 (generateProxyClass): Don't pass method to ncode.
1071 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
1072 * java/lang/reflect/Method.h: Rebuild.
1073 * java/lang/reflect/Method.java (internalGetParameterTypes,
1074 internalGetExceptionTypes): New methods.
1075 * headers.txt (class java/lang/reflect/Method): Declare
1076 _Jv_GetReflectedMethod. Be its friend.
1077 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
1078 * java/lang/Class.h: Declare it. Be its friend.
1080 2007-03-05 Tom Tromey <tromey@redhat.com>
1082 * sources.am, Makefile.in: Rebuilt.
1083 * scripts/makemake.tcl (emit_package_rule): Don't omit
1085 * Makefile.am (nat_source_files): Added natVMProcess.cc.
1086 (inner_nat_headers): Added ImmediateEOFInputStream.h.
1087 * gcj/javaprims.h: Regenerated.
1088 * java/lang/System.java (EnvironmentMap): Now package-private.
1089 (EnvironmentMap(Map)): New constructor.
1090 (EnvironmentMap.put): New method.
1091 * java/lang/natWin32Process.cc (startProcess): Update.
1092 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
1094 (startProcess): Likewise.
1095 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
1097 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
1098 * java/lang/PosixProcess.java (redirect): New field.
1099 (PosixProcess): Added 'redirect' argument.
1100 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
1101 argument to Process creation.
1102 * java/lang/natVMProcess.cc: New file.
1103 * java/lang/ProcessBuilder.java: Removed.
1104 * java/lang/VMProcess.java: New file.
1106 2007-03-03 Andrew Haley <aph@redhat.com>
1108 * java/lang/natClass.cc (parseAnnotationElement): Correct long
1109 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
1111 2007-03-02 Andrew Haley <aph@redhat.com>
1113 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1114 Generify in a few places.
1115 (equals): Rewrite to use invoke on local proxy.
1116 (deepToString): Remove most of it.
1117 (toString): Make nonstatic.
1118 (arrayClone): Delete.
1119 (coerce): New method.
1120 (invoke): Rewrite to handle gcj's structures correctly.
1121 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
1123 * sources.am: Regenerate.
1124 * Makefile.am: Likewise.
1126 2007-03-02 Andrew Haley <aph@redhat.com>
1128 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1129 Whitespace only changes.
1131 2007-03-02 Andrew Haley <aph@redhat.com>
1133 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
1134 from Classpath to libgcj local.
1136 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1138 * Makefile.am: Add dummy install-pdf target.
1139 * Makefile.in: Regenerate
1140 * include/Makefile.in: Regenerate
1141 * testsuite/Makefile.in: Regenerate
1142 * gcj/Makefile.in: Regenerate
1144 2007-02-23 Gary Benson <gbenson@redhat.com>
1146 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
1148 2007-02-23 Gary Benson <gbenson@redhat.com>
1150 * java/lang/VMCompiler.java
1151 (compileClass): Don't lose zeros from within the digest.
1153 2007-02-22 Jakub Jelinek <jakub@redhat.com>
1157 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
1158 /etc/localtime, use ZoneInfo.readTZFile instead of
1159 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
1160 either if it is a symlink or through /etc/sysconfig/clock.
1161 (readSysconfigClockFile): New static method.
1162 (readtzFile): Removed.
1163 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
1164 * posix.cc (_Jv_platform_initProperties): Set
1165 gnu.java.util.zoneinfo.dir.
1166 * sources.am (gnu_java_util_source_files): Add
1167 classpath/gnu/java/util/ZoneInfo.java.
1168 * Makefile.in: Regenerated.
1169 * java/util/VMTimeZone.h: Regenerated.
1170 * java/util/TimeZone.h: Regenerated.
1171 * gnu/java/util/ZoneInfo.h: Generated.
1173 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
1175 * include/win32-threads.h: Added #undef OUT.
1177 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
1179 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
1180 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
1181 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
1182 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
1183 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
1184 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
1186 2007-02-21 Gary Benson <gbenson@redhat.com>
1188 * java/util/GregorianCalendar.java: Removed.
1189 * sources.am, Makefile.in: Rebuilt.
1191 2007-02-20 Keith Seitz <keiths@redhat.com>
1193 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1194 (jdwpClassPrepareCB): Move class status stuff to ...
1195 (getClassStatus): ... here.
1197 2007-02-20 Gary Benson <gbenson@redhat.com>
1199 * gnu/awt/xlib/XEventLoop.h: Regenerated.
1200 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
1201 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
1203 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
1204 * java/lang/SecurityManager.h: Likewise.
1205 * java/lang/Thread.h: Likewise.
1206 * java/security/VMSecureRandom$Spinner.h: Likewise.
1207 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
1208 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
1209 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
1210 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
1211 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
1212 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
1213 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
1214 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
1215 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
1216 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
1217 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
1218 * java/util/concurrent/Exchanger.h: Likewise.
1219 * java/util/concurrent/Exchanger$Node.h: Likewise.
1220 * java/util/concurrent/FutureTask$Sync.h: Likewise.
1221 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
1222 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
1224 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
1226 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
1227 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
1229 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1230 * java/util/concurrent/SynchronousQueue.h: Likewise.
1231 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1232 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1234 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1235 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1237 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1238 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1239 * java/util/logging/ErrorManager.h: Likewise.
1240 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1241 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1243 2007-02-16 Keith Seitz <keiths@redhat.com>
1245 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1246 (get_line_table): New function.
1247 (handle_single_step): New function.
1248 (jdwpSingleStepCB): New function.
1249 (jdwpVMInitCB): Define a JVMTI single step
1250 callback, but don't enable it until needed.
1252 2007-02-16 David Daney <ddaney@avtrex.com>
1254 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1255 new parameter constructor.
1256 (Thread(ThreadGroup, Runnable, String, long)): Same.
1257 (Thread(String, boolean)): New constructor.
1258 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1259 noInheritableThreadLocal, don't call
1260 InheritableThreadLocal.newChildThread if set.
1261 * java/lang/PosixProcess.java(ProcessManager()): Set
1262 noInheritableThreadLocal in super.
1263 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1264 parameter to Thread constructor.
1265 (_Jv_AttachCurrentThreadAsDaemon): Same.
1266 * java/lang/Thread.h: Regenerate.
1267 * classpath/lib/java/lang/Thread.class: Same.
1268 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1269 * classpath/lib/java/lang/PosixProcess.class: Same.
1270 * classpath/lib/java/lang/Thread$State.class: Same.
1271 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1273 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
1275 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1276 variables to maintain type info.
1277 * interpret-run.cc: Add local variable info to frame in the debug
1279 * jvmti.cc (getLocalFrame): New method.
1280 (_Jv_JVMTI_GetLocalObject): New method.
1281 (_Jv_JVMTI_GetLocallInt): New method.
1282 (_Jv_JVMTI_GetLocalFloat): New method.
1283 (_Jv_JVMTI_GetLocalLong): New method.
1284 (_Jv_JVMTI_GetLocalDouble): New method.
1285 (_Jv_JVMTI_SetLocalObject): New method.
1286 (_Jv_JVMTI_SetLocalInt): New method.
1287 (_Jv_JVMTI_SetLocalFloat): New method.
1288 (_Jv_JVMTI_SetLocalLong): New method.
1289 (_Jv_JVMTI_SetLocalDouble): New method.
1291 2007-02-16 Gary Benson <gbenson@redhat.com>
1293 * gnu/gcj/tools/gcj_dbtool/Main.java
1294 (bytesToString): Don't lose zeros from within the digest.
1296 2007-02-15 Andrew Haley <aph@redhat.com>
1298 * Makefile.am (nat_source_files): Remove
1299 java/lang/management/natVMManagementFactory.cc.
1300 * java/lang/Thread.java (getStackTrace): Use reflection to call
1301 the ManagementFactory.
1302 * java/lang/management/VMManagementFactory.java: Remove native
1304 * java/lang/management/natVMManagementFactory.cc: Deleted.
1305 * sources.am: Regnerate.
1306 * scripts/makemake.tcl: Add new "bcheaders" type.
1307 Move java/lang/management and gnu/classpath/management to "bc".
1308 Move gnu/java/lang/management to "bcheaders".
1310 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1312 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1313 * interpret-run.cc: Change the catch section to report exception
1314 events and to use the new check_handler method.
1315 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1316 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1317 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1318 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1319 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1321 * sources.am: Added ExceptionEvent.java.
1322 * Makefile.am: Added natExceptionEvent.cc
1323 * Makefile.in: Regenerated.
1324 * include/Makefile.in: Regenerated.
1325 * gcj/Makefile.in: Regenerated.
1327 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1328 David Daney <ddaney@avtrex.com>
1330 * configure.ac: Create vm-tools-packages file. Add
1331 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1332 Check for /proc/self/maps.
1333 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1334 (gc_analyze_SOURCES): New.
1335 (gc_analyze_LDFLAGS): New.
1336 (gc_analyze_LINK): New.
1337 (gc_analyze_LDADD): New.
1338 (gc_analyze_DEPENDENCIES): New.
1339 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1340 * Makefile.in: Regenerated.
1341 * configure: Regenerated.
1342 * include/config.h.in: Regenerated.
1343 * sources.am: Regenerated.
1344 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1345 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1346 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1347 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1348 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1349 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1350 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1351 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1352 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1353 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1354 * gnu/gcj/util/GCInfo.java: New.
1355 * gnu/gcj/util/GCInfo.h: New.
1356 * gnu/gcj/util/natGCInfo.cc: New.
1357 * gnu/gcj/util/UtilPermission.java: New.
1358 * gnu/gcj/util/UtilPermission.h: New.
1359 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1360 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1361 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1362 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1363 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1364 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1365 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1366 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1367 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1368 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1369 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1370 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1371 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1372 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1373 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1374 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1375 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1376 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1377 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1378 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1379 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1380 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1381 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1383 2007-02-15 David Daney <ddaney@avtrex.com>
1385 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1386 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1387 * gnu/classpath/jdwp/VMFrame.h: Same.
1388 * java/net/Socket.h: Same.
1389 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1391 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1393 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1394 Added LocalVariableTable attribute handling.
1395 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1396 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1397 * include/java-interp.h: Added local_var_table and
1398 local_var_table_len fields to _Jv_InterpMethod.
1399 (_Jv_InterpMethod::get_local_var_table): New method.
1400 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1401 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1402 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1404 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1405 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1407 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1409 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1411 2007-02-13 Keith Seitz <keiths@redhat.com>
1413 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1414 (jdwpBreakpointCB): New function.
1415 (jdwpVMInitCB): Define and enable the breakpoint
1418 2007-02-13 Andrew Haley <aph@redhat.com>
1420 * testsuite/libjava.lang/Divide_2.out
1421 * testsuite/libjava.lang/Divide_2.java: New test.
1423 2007-02-12 Keith Seitz <keiths@redhat.com>
1425 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1426 from jthread to Thread *; it is no longer needed.
1427 (_Jv_JVMTI_GetFrameCount): Likewise.
1428 Fix small formatting typo.
1430 2007-02-12 Tom Tromey <tromey@redhat.com>
1432 * sources.am, Makefile.in: Rebuilt.
1433 * java/lang/Socket.java: Removed override.
1434 * java/lang/DatagramSocket.java: Removed override.
1435 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1437 (getLocalAddress): New method.
1438 * gnu/java/net/PlainDatagramSocketImpl.java
1439 (PlainDatagramSocketImpl): Throws IOException.
1440 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1444 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1446 * java/util/VMTimeZone.java: Rewrite to handle both the old
1447 'TZif\0' format and the new one.
1449 2007-02-10 Andrew Haley <aph@redhat.com>
1452 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1453 (getCallingClass): Call GET_CALLING_CLASS.
1454 (getCallingClassLoader): Likewise.
1456 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1458 * configure: Rebuilt.
1459 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1461 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1463 * Makefile.in: Rebuilt.
1464 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1465 the host's ecj1 executable.
1467 2007-02-09 Richard Henderson <rth@redhat.com>
1469 * sysdep/alpha/locks.h (read_barrier): New.
1471 2007-02-09 Keith Seitz <keiths@redhat.com>
1473 * gnu/classpath/jdwp/VMVirtualMachine.java
1474 (_stepping_threads): New member.
1475 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1477 * gnu/classpath/jdwp/VMVirtualMachine.h:
1479 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1480 (get_request_step_filter): New function.
1481 (DISABLE_EVENT): New macro.
1482 (initialize): Initialize _stepping_threads.
1483 (registerEvent): Implement EVENT_SINGLE_STEP.
1484 (unregisterEvent): Likewise.
1486 2007-02-08 Keith Seitz <keiths@redhat.com>
1488 * sources.am: Regenerate.
1489 * Makefile.in: Regenerate.
1490 * testsuite/Makefile.in: Regenerate.
1491 * gcj/Makefile.in: Regenerate.
1492 * include/Makefile.in: Regenerate.
1494 * classpath/lib/javax/management/MBeanServerFactory.class:
1497 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1499 * classpath/gnu/classpath/jdwp/processor/
1500 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1502 (executeSetValues): Ditto.
1503 (executeThisObject): Ditto.
1504 * classpath/gnu/classpath/jdwp/processor/
1505 StackFrameCommandSet.class: Rebuilt.
1506 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1508 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1509 * classpath/lib/gnu/classpath/jdwp/exception/
1510 InvalidFrameException.java: New file.
1511 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1513 (Constructor): New method.
1514 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1515 * gnu/classpath/jdwp/VMVirtualMachine.java
1516 (getFrame): Changed ByteBuffer to jlong.
1517 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1518 (getFrame): Implement.
1519 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1521 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1523 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1524 to hold "this" pointer for frame.
1525 (_Jv_InterpFrame::get_this_ptr): New method.
1526 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1528 2007-02-07 Keith Seitz <keiths@redhat.com>
1530 * include/java-interp.h (_Jv_Frame::depth):
1532 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1534 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1536 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1537 (_Jv_JVMTI_GetMaxLocals): New method.
1538 * include/java-interp.h
1539 (_Jv_InterpMethod::get_max_locals): New method.
1541 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1543 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1545 2007-02-07 Tom Tromey <tromey@redhat.com>
1547 * testsuite/libjava.jni/init.c: New file.
1548 * testsuite/libjava.jni/init.java: New file.
1549 * testsuite/libjava.jni/init.out: New file.
1550 * testsuite/libjava.jni/init.jar: New file.
1551 * testsuite/libjava.jni/init.h: New file.
1552 * testsuite/libjava.jni/init$NativeClass.h: New file.
1554 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1557 * configure: Regenerate.
1559 2007-02-06 Andrew Haley <aph@redhat.com>
1561 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1562 * sources.am: Rebuild.
1564 2007-02-05 Keith Seitz <keiths@redhat.com>
1566 * jvmti.cc (_envListLock): Change type to
1567 ReentrantReadWriteLock.
1568 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1570 (check_enabled_event): Likewise.
1571 (_Jv_GetJVMTIEnv): Likewise.
1572 (_Jv_JVMTI_Init): Likewise.
1573 (_Jv_JVMTI_PostEvent): Likewise.
1575 2007-02-05 Keith Seitz <keiths@redhat.com>
1577 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1578 (registerEvent): Implement EVENT_BREAKPOINT.
1579 (unregisterEvent): Likewise.
1580 (get_request_location): New function.
1582 2007-02-05 Matthias Klose <doko@debian.org>
1584 testsuite/Makefile.am (compile-tests): Fix typo.
1585 testsuite/Makefile.in: Regenerate.
1587 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1589 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1592 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1594 * configure.ac (libjava_cv_anon_version_script): New test.
1595 (ANONVERSCRIPT): New AM_CONDITIONAL.
1596 * configure: Rebuilt.
1597 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1599 * Makefile.in: Rebuilt.
1600 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1601 * libgcj.ver: New file.
1603 2007-02-01 David Daney <ddaney@avtrex.com>
1605 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1607 * sources.am: Regenerate.
1608 * Makefile.in: Regenerate.
1610 2007-02-01 Tom Tromey <tromey@redhat.com>
1612 * java/lang/ClassLoader.java (getResources): No longer final.
1614 2007-02-01 Tom Tromey <tromey@redhat.com>
1616 * java/util/logging/LogManager.java (loggers): Genericized.
1617 (addLogger): Merged.
1618 (findAncestor): Likewise.
1619 (getLogger): Likewise.
1620 (getLoggerNames): Genericized.
1622 (getLevelProperty): Likewise.
1623 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1624 * java/lang/reflect/Constructor.java (getParameterTypes):
1626 (getExceptionTypes): Likewise.
1627 (newInstance): Likewise.
1628 * java/lang/reflect/Array.java (newInstance): Genericized.
1629 * java/lang/Object.java (getClass): Genericized.
1630 * java/nio/charset/spi/CharsetProvider.java (charsets):
1632 * java/text/Collator.java: Implement Comparable<Object>.
1634 2007-02-01 Tom Tromey <tromey@redhat.com>
1636 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1638 (clear): Call complete.
1639 (setTimeZone): Call computeTime, computeFields.
1640 (compareTo): New method.
1641 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1642 (availableCharsets): Genericized.
1643 (aliases): Likewise.
1644 (compareTo): Changed argument type.
1645 * java/lang/ClassLoader.java (loadClass): Genericized.
1646 (findClass): Likewise.
1647 (defineClass): Likewise.
1648 (resolveClass): Likewise.
1649 (findSystemClass): Likewise.
1650 (setSigners): Likewise.
1651 (findLoadedClass): Likewise.
1652 (getResources): Likewise.
1653 (findResources): Likewise.
1654 (getSystemResources): Likewise.
1655 (checkInitialized): New method.
1656 * java/lang/Class.java (getCanonicalName): New method.
1658 2007-01-31 Keith Seitz <keiths@redhat.com>
1660 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1661 * jvmti.cc (JVMTI): Add member "enabled".
1662 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1663 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1664 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1665 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1666 instead of run to compile the method.
1668 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1671 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1673 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1674 -shared-libgcc to the cxxflaglist for Darwin.
1676 2007-01-31 Tom Tromey <tromey@redhat.com>
1678 * scripts.am, Makefile.in: Rebuilt.
1679 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1681 (emit_ordinary_rule): New proc.
1683 2007-01-31 Keith Seitz <keiths@redhat.com>
1685 * testsuite/libjava.jvmti/getmethodname.h: New file.
1686 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1688 2007-01-31 Andrew Haley <aph@redhat.com>
1690 * prims.cc (_Jv_Abort): fflush (stderr).
1691 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1693 2007-01-31 Tom Tromey <tromey@redhat.com>
1695 * configure, Makefile.in: Rebuilt.
1696 * configure.ac (JAR): Check for -@ feature.
1697 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1699 2007-01-31 Tom Tromey <tromey@redhat.com>
1702 * configure, include/config.h.in: Rebuilt.
1703 * configure.ac: Check for magic_t in magic.h.
1704 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1706 2007-01-30 Tom Tromey <tromey@redhat.com>
1708 * Makefile.in: Rebuilt.
1709 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1711 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1713 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1714 cast to print it right.
1716 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1719 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1722 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1724 * include/java-interp.h: Added _Jv_Frame class and its two
1725 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1726 _Jv_FrameType from java-stack.h.
1727 * include/java-stack.h: Removed _Jv_FrameType.
1728 * java/lang/Thread.java: Added frame member to hold new
1729 composite frame stack.
1730 * java/lang/Thread.h: Regenerated.
1731 * java/lang/Thread.class: Rebuilt.
1732 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1733 calling a JNI method.
1734 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1735 (_Jv_JVMTI_GetFrameCount): New method.
1736 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1738 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1739 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1740 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1741 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1742 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1745 2007-01-29 Tom Tromey <tromey@redhat.com>
1747 * interpret.cc (run_debug): Remove comment.
1754 (run_normal_debug): Likewise.
1755 (run_synch_object_debug): Likewise.
1756 (run_class_debug): Likewise.
1757 (run_synch_class_debug): Likewise.
1762 (NULLARRAYCHECK): Likewise.
1763 (ARRAYBOUNDSCHECK): Likewise.
1764 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1766 2007-01-29 Tom Tromey <tromey@redhat.com>
1768 * configure, Makefile.in: Rebuilt.
1769 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1770 * configure.ac (BASH_JAR): Removed conditional.
1771 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1773 2007-01-29 Tom Tromey <tromey@redhat.com>
1775 * Makefile.in: Rebuilt.
1776 * Makefile.am (interpret.lo): New target. Add -fwrap to
1779 2007-01-29 Keith Seitz <keiths@redhat.com>
1781 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1783 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1784 gcj. All jvmti object types now are defined to be their
1785 corresponding java classes.
1786 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1788 (_Jv_JVMTI_ResumeThread): Likewise.
1789 (_Jv_JVMTI_InterruptThread): Likewise.
1790 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1791 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1792 (jdwpClassPrepareCB): Likewise.
1793 (jdwpThreadEndCB): Likewise.
1794 (jdwpThreadStartCB): Likewise.
1795 (jdwpVMInitCB): Likewise.
1797 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1799 * gnu/java/nio/channels/natFileChannelWin32.cc
1800 (lock): Implemented.
1801 (unlock): Implemented.
1803 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1806 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1807 libgcj_flags to undefine 'sun' at compile time.
1808 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1810 (write_barrier): Likewise.
1812 2007-01-27 Keith Seitz <keiths@redhat.com>
1814 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1815 (getAllClassMethods): Move error handling to ...
1816 (throw_jvmti_error): ... here.
1817 (jdwpClassPrepareCB): New function.
1818 (jdwpThreadEndCB): New function.
1819 (jdwpThreadStartCB): New function.
1820 (jdwpVMDeathCB): New function.
1821 (jdwpVMInitCB): Define and enable callbacks for
1822 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1824 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1826 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1827 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1828 (MYGCJH): New variable.
1829 (compile-tests): New goal.
1830 * Makefile.in: Rebuilt.
1831 * testsuite/Makefile.in: Rebuilt.
1833 2007-01-26 Andrew Haley <aph@redhat.com>
1835 * java/lang/natClass.cc (initializeClass): Re-throw
1837 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1838 * java/lang/ClassLoader.java: (loadClass): Likewise.
1840 2007-01-26 Tom Tromey <tromey@redhat.com>
1844 2007-01-25 Tom Tromey <tromey@redhat.com>
1847 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1848 input or output encodings. Removed unused local variables.
1850 2007-01-25 Keith Seitz <keiths@redhat.com>
1852 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1853 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1854 (_Jv_GetJDWP_JVMTIEnv): New function.
1855 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1856 (getSignature): Implement.
1857 (getModifiers): Implement.
1859 2007-01-25 Andrew Haley <aph@redhat.com>
1861 * configure, Makefile.in, include/config.h.in: Rebuilt.
1862 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1863 * configure.ac: Don't check for libmagic.
1864 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1865 p_magic_close, p_magic_buffer): New globals.
1866 (init): Look up 'magic' functions.
1867 (guessContentTypeFromBuffer): Updated.
1869 2007-01-25 Keith Seitz <keiths@redhat.com>
1871 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1872 (_Jv_JVMTI_Interface): Define GetMethodName.
1873 * testsuite/libjava.jvmti/getmethodname.java: New file.
1874 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1875 * testsuite/libjava.jvmti/getmethodname.out: New file.
1877 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1879 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1880 * libjava/testsuite/libjava.jvmti/interp: New folder.
1881 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1883 2007-01-24 Keith Seitz <keiths@redhat.com>
1885 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1886 CLASS_PREPARE notification.
1888 2007-01-24 Keith Seitz <keiths@redhat.com>
1890 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1891 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1892 * interpret-run.cc: Implement insn_breakpoint.
1894 2007-01-24 Keith Seitz <keiths@redhat.com>
1896 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1897 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1899 2007-01-24 Keith Seitz <keiths@redhat.com>
1901 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1902 (getAllClassMethods): Implement.
1904 2007-01-24 Andrew Haley <aph@redhat.com>
1906 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1907 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1908 from being sibcalled.
1910 2007-01-24 Andrew Haley <aph@redhat.com>
1912 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1913 * sources.am: Rebuild.
1915 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1917 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1918 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1920 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1923 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1924 * Makefile.in: Regenerated.
1926 2007-01-22 Keith Seitz <keiths@redhat.com>
1928 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1929 (getClassMethod): Implement.
1931 2007-01-22 Keith Seitz <keiths@redhat.com>
1933 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1934 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1935 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1936 (_Jv_JVMTI_Interface): Define GetClassStatus.
1938 2007-01-22 Tom Tromey <tromey@redhat.com>
1940 * configure: Rebuilt.
1941 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1943 2007-01-22 Tom Tromey <tromey@redhat.com>
1946 * testsuite/libjava.jni/pr29812.java: New file.
1947 * testsuite/libjava.jni/pr29812_injar.java: New file.
1948 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1949 * testsuite/libjava.jni/pr29812.out: New file.
1950 * testsuite/libjava.jni/pr29812_injar.c: New file.
1951 * testsuite/libjava.jni/pr29812_injar.h: New file.
1952 * testsuite/libjava.jni/pr29812.jar: New file.
1953 * testsuite/libjava.jni/pr29812.c: New file.
1954 * testsuite/libjava.jni/pr29812.h: New file.
1955 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1957 (gcj_jni_invocation_test_one): Use it.
1958 (gcj_jni_pr29812): New proc.
1959 (gcj_jni_run): Use it.
1960 * java/lang/natRuntime.cc (_load): Push a new system frame before
1962 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1963 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1964 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1965 <allocated_p>: Now bool.
1966 <loader>: New field.
1967 (_Jv_JNI_EnsureLocalCapacity): Updated.
1968 (_Jv_JNI_NewLocalRef): Likewise.
1969 (_Jv_JNI_NewLocalRef): Likewise.
1970 (_Jv_JNI_PopLocalFrame): Likewise.
1971 (_Jv_JNI_FindClass): Likewise.
1972 (_Jv_GetJNIEnvNewFrame): Likewise.
1973 (_Jv_JNI_AttachCurrentThread): Likewise.
1974 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1975 (_Jv_GetJNIEnvNewFrame): Use it.
1976 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1978 2007-01-22 Tom Tromey <tromey@redhat.com>
1980 * libtool-version: Bump current to 9.
1982 2007-01-22 Andrew Haley <aph@redhat.com>
1984 * sysdep/alpha/locks.h (write_barrier): New.
1986 2007-01-21 Matthias Klose <doko@debian.org>
1988 * Makefile.am (install-exec-hook): Use transformed name.
1989 * Makefile.in: Regenerate.
1991 2007-01-19 Keith Seitz <keiths@redhat.com>
1993 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1994 in methods and reformat.
1996 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1999 2007-01-18 Keith Seitz <keiths@redhat.com>
2001 From Macro Trudel <mtrudel@gmx.ch>:
2002 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
2005 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
2007 * jni.cc (_Jv_JNI_FindClass): Initialize class.
2008 * testsuite/libjava.jni/findclass2.jar: New file.
2009 * testsuite/libjava.jni/findclass2.h: New file.
2010 * testsuite/libjava.jni/findclass2.java: New file
2011 * testsuite/libjava.jni/findclass2.c: New file.
2012 * testsuite/libjava.jni/findclass2.out: New file.
2014 2007-01-18 Tom Tromey <tromey@redhat.com>
2016 * configure: Rebuilt.
2017 * configure.ac: Use multi_basedir instead of libgcj_basedir.
2019 2007-01-18 Gary Benson <gbenson@redhat.com>
2021 * gnu/java/nio/natVMPipeEcos.cc:
2022 Renamed from gnu/java/nio/natPipeImplEcos.cc.
2023 * gnu/java/nio/natVMPipePosix.cc:
2024 Renamed from gnu/java/nio/natPipeImplPosix.cc.
2025 * gnu/java/nio/natVMPipeWin32.cc:
2026 Renamed from gnu/java/nio/natPipeImplWin32.cc.
2027 * gnu/java/nio/natVMSelectorEcos.cc:
2028 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
2029 * gnu/java/nio/natVMSelectorPosix.cc:
2030 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
2031 * gnu/java/nio/natVMSelectorWin32.cc:
2032 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
2033 * java/io/natVMObjectInputStream.cc:
2034 Renamed from java/io/natObjectInputStream.cc.
2035 * java/lang/natVMDouble.cc:
2036 Renamed from java/lang/natDouble.cc.
2037 * java/lang/natVMFloat.cc:
2038 Renamed from java/lang/natFloat.cc.
2039 * Makefile.am, configure.ac: Reflect the above.
2040 * Makefile.in, configure: Rebuilt.
2042 2007-01-17 Andrew Haley <aph@redhat.com>
2044 * Makefile.in: Rebuilt.
2045 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
2047 2007-01-17 Keith Seitz <keiths@redhat.com>
2049 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
2050 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
2052 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
2054 * configure.ac: Use multi.m4 from aclocal rather than custom
2055 code. Use multi_basedir instead libgcj_basedir. Test for
2056 /proc/self/exe when not cross-compiling.
2057 * aclocal.m4: Regenerate.
2058 * configure: Regenerate.
2059 * Makefile.in: Regenerate.
2061 2007-01-17 Gary Benson <gbenson@redhat.com>
2063 * java/nio/natVMDirectByteBufferImpl.cc:
2064 Renamed from java/nio/natDirectByteBufferImpl.cc.
2065 * Makefile.am: Reflect the above.
2066 * Makefile.in: Rebuilt.
2068 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
2070 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
2071 Fixed indentation. Removed unused variable.
2073 2007-01-16 Tom Tromey <tromey@redhat.com>
2075 * java/lang/natThread.cc (finalize_native): Remove cast.
2076 (_Jv_GetCurrentJNIEnv): Likewise.
2077 * include/jvm.h (struct natThread) <jni_env>: Declare as
2080 2007-01-16 Keith Seitz <keiths@redhat.com>
2082 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
2083 %#llx instead of %d for new_value.
2084 * testsuite/libjava.jvmti/events.out: Update expected output.
2085 * testsuite/libjava.jvmti/events.jar: Regenerate.
2087 2007-01-16 Keith Seitz <keiths@redhat.com>
2089 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
2091 (ENABLE_EVENT): New macro.
2092 (initialize): Define and enable JVMTI VM_INIT callback.
2093 (jdwpVMInitCB): New function.
2095 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
2097 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
2098 * testsuite/libjava.jvmti/getallthreads.java: New test.
2099 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
2100 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
2101 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
2102 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
2104 2007-01-15 Keith Seitz <keiths@redhat.com>
2106 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
2107 java.lang.StringBuilder instead of java.lang.StringBuffer.
2108 (resumeThread): Likewise.
2110 2007-01-15 Gary Benson <gbenson@redhat.com>
2112 * java/nio/MappedByteBuffer.java: Removed.
2113 * sources.am, Makefile.in: Rebuilt.
2115 2007-01-15 Gary Benson <gbenson@redhat.com>
2117 * java/net/URLClassLoader.java: Removed.
2118 * gnu/java/net/loader/Load_gcjlib.java: New file.
2119 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
2120 URL handler is present in static executables.
2121 * sources.am, Makefile.in: Rebuilt.
2123 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
2125 * Makefile.am (libgcj_la_LDFLAGS): Add
2126 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
2127 (libgcj_tools_la_LDFLAGS): Likewise.
2128 (libgcj_bc_la_LDFLAGS): Likewise.
2129 * Makefile.in: Regenerated.
2131 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
2132 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
2133 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
2134 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
2135 * configure: Regenerated.
2136 * aclocal.m4: Likewise.
2137 * gcj/Makefile.in: Likewise.
2138 * include/Makefile.in: Likewise.
2139 * testsuite/Makefile.in: Likewise.
2141 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
2143 * sysdep/sh/locks.h (read_barrier): New.
2144 (write_barrier): Likewise.
2146 2007-01-12 Andrew Haley <aph@redhat.com>
2148 * include/i386-signal.h: Rewrite to use rt_sigaction.
2150 2007-01-11 Andrew Haley <aph@redhat.com>
2152 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
2154 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
2157 2007-01-10 Tom Tromey <tromey@redhat.com>
2159 * gnu/gcj/xlib/*.h: New files.
2160 * gnu/awt/xlib/*.h: Likewise.
2161 * classpath/lib/gnu/gcj/xlib: New class files.
2162 * classpath/lib/gnu/awt/xlib: Likewise.
2164 2007-01-10 Tom Tromey <tromey@redhat.com>
2166 * HACKING: Various updates.
2168 2007-01-10 Tom Tromey <tromey@redhat.com>
2170 * java/lang/natDouble.cc (toString): Added parens.
2171 * gnu/gcj/io/shs.h (PROTO): Define.
2172 * link.cc (resolve_pool_entry): Added missing braces.
2174 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
2177 * sysdep/ia64/locks.h (read_barrier): New.
2178 (write_barrier): New.
2180 2007-01-10 Gary Benson <gbenson@redhat.com>
2182 * java/net/URL.java: Removed.
2183 * sources.am, Makefile.in: Rebuilt.
2185 2007-01-10 Matthias Klose <doko@debian.org>
2187 * Makefile.am (install-exec-hook): Support $(DESTDIR).
2188 * Makefile.in: Regenerated.
2190 2007-01-05 Tom Tromey <tromey@redhat.com>
2192 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
2193 dummy.class in srcdir.
2195 2007-01-03 Tom Tromey <tromey@redhat.com>
2197 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
2200 2007-01-03 Tom Tromey <tromey@redhat.com>
2202 * testsuite/*: Added many .jar and .h files.
2203 * testsuite/libjava.special/special.exp
2204 (gcj_special_try_compiler): New proc.
2205 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
2206 bytecompile source. Search for .jar files.
2207 (gcj_loader_test_one): Don't look for MyLoader.java.
2208 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
2209 bytecompile sources or build headers.
2210 (gcj_jvmti_run): Look for .jar files.
2211 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
2213 (gcj_jni_test_one): Don't bytecompile sources or build headers.
2214 Set classpath when invoking gij.
2215 (gcj_jni_invocation_test_one): Likewise.
2216 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
2217 headers or bytecompile sources.
2218 (gcj_cni_run): Use .jar files, not .java files.
2219 * testsuite/libjava.lang/lang.exp: Compile .jar files.
2221 2007-01-02 Tom Tromey <tromey@redhat.com>
2223 * configure: Rebuilt.
2224 * configure.ac: Check for gjar.
2226 2007-01-02 Tom Tromey <tromey@redhat.com>
2228 * testsuite/libjava.jacks/jacks.exp: Removed.
2229 * testsuite/libjava.jacks/jacks.xfail: Removed.