1 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
3 * aclocal.m4: Regenerated.
5 2007-07-03 Andreas Tobler <a.tobler@schweiz.org>
7 * java/lang/Class.h: Remove redundant 'class java::*::* declarations.
9 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12 * configure.host (i[3-6]86-*): Undef sun.
14 2007-06-28 H.J. Lu <hongjiu.lu@intel.com>
16 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
19 2007-06-28 Jan Nijtmans <nijtmans@users.sourceforge.net>
22 * jni_md.h: Add the possibility to compile jni code with.
23 -fvisibility=hidden. This causes all symbols to be hidden
24 except the JNI functions which need to be exported.
26 2007-06-28 Andreas Tobler <a.tobler@schweiz.org>
28 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
29 the cxxldlibflags to exec_gij to have the right libstdc++ invoked.
31 2007-07-21 Keith Seitz <keiths@redhat.com>
33 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate.
35 2007-07-20 Keith Seitz <keiths@redhat.com>
37 * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
40 2007-07-20 Keith Seitz <keiths@redhat.com>
42 * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
43 Update from reference implementation.
44 * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
45 Update parameter list to match new VMVirtualMachine interface.
46 * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
48 * classpath/lib/gnu/classpath/jdwp/processor/
49 ObjectReferenceCommandSet.class: Regenerate.
50 * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
51 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
52 * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
54 2007-06-18 Keith Seitz <keiths@redhat.com>
56 * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
57 (method): Change from private to protected.
59 (Breakpoint): Change argument list to take only integer type.
60 Add default constructor.
61 (initialize_native): Renamed to ...
62 (_save_insn): ... this to make function more explicit.
63 (execute): New method.
64 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
65 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to...
66 (_save_insn): ... this.
67 (install): Save the original instruction.
68 * gnu/gcj/jvmti/NormalBreakpoint.java: New file.
69 * gnu/gcj/jvmti/NormalBreakpoint.h: New file.
70 * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file.
71 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
72 Instantiate a NormalBreakpoint instead of Breakpoint.
73 * interpret-run.cc (insn_breakpoint): Remove breakpoint actions
74 and call Breakpoint.execute to do them.
75 * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate.
76 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise.
77 * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file.
78 * sources.am: Regenerate.
79 * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc.
80 * Makefile.in: Regenerated.
82 2007-06-14 Keith Seitz <keiths@redhat.com>
84 * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
85 for bytecode_pc and direct-threaded pc.
86 Add field descriptions inline.
87 * defineclass.cc (read_one_code_attribute): Change from
88 bytecode_start_pc to bytecode_pc.
89 Remove unused variable "len".
90 * interpret.cc (compile): Remap the variable table, too.
91 (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
92 start location to map from pc_t to code index.
94 2007-06-09 Keith Seitz <keiths@redhat.com>
96 * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
97 Add missing return value.
99 2007-06-03 Matthias Klose <doko@ubuntu.com>
101 * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
102 _access: Handle EXEC query, stub only.
104 2007-06-03 Matthias Klose <doko@ubuntu.com>
106 Merged from classpath:
107 * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
108 * java/lang/System.java(inheritedChannel): New.
109 * java/lang/Character.java: Remove stray`;'.
110 * java/net/MulticastSocket.java: Merged.
111 * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
112 * java/text/Collator.java(getInstance): Merged.
113 * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
114 getDisplayName, getDisplayNames: New.
115 * java/util/logging/Logger.java: Merged.
116 * Regenerate .class and .h files.
118 2007-06-03 Matthias Klose <doko@ubuntu.com>
120 * java/io/File.java: Merge with classpath-0.95, new method
121 setFilePermissions, new attribute EXEC.
122 * java/io/natFilePosix.cc (setFilePermissions): New.
123 _access: Handle EXEC query.
124 * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
126 2007-06-03 Matthias Klose <doko@ubuntu.com>
128 Imported GNU Classpath 0.95.
130 * classpath/Makefile.in,
131 classpath/native/jni/midi-dssi/Makefile.in,
132 classpath/native/jni/classpath/Makefile.in,
133 classpath/native/jni/Makefile.in,
134 classpath/native/jni/gconf-peer/Makefile.in,
135 classpath/native/jni/java-io/Makefile.in,
136 classpath/native/jni/native-lib/Makefile.in,
137 classpath/native/jni/java-util/Makefile.in,
138 classpath/native/jni/midi-alsa/Makefile.in,
139 classpath/native/jni/java-lang/Makefile.in,
140 classpath/native/jni/java-nio/Makefile.in,
141 classpath/native/jni/java-net/Makefile.in,
142 classpath/native/jni/xmlj/Makefile.in,
143 classpath/native/jni/qt-peer/Makefile.in,
144 classpath/native/jni/gtk-peer/Makefile.in,
145 classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
146 classpath/native/fdlibm/Makefile.in,
147 classpath/native/plugin/Makefile.in,
148 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
149 classpath/tools/Makefile.in, classpath/doc/Makefile.in,
150 classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
151 classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
152 classpath/external/sax/Makefile.in,
153 classpath/external/w3c_dom/Makefile.in,
154 classpath/external/relaxngDatatype/Makefile.in,
155 classpath/include/Makefile.in,
156 classpath/examples/Makefile.in: Regenerate.
157 * classpath/config.guess, classpath/config.sub,
158 classpath/ltmain.sh : Update.
159 * classpath/configure, classpath/depcomp, classpath/missing,
160 classpath/aclocal.m4, classpath/install-sh: Regenerate.
162 * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
163 * sources.am: Regenerate.
164 * Makefile.in: Regenerate.
166 * Update the .class files and generated CNI header files, add new
167 .class and generated CNI header files.
168 * Remove generated files for removed java source files:
169 classpath/gnu/java/net/BASE64.java,
170 classpath/gnu/java/security/util/Base64.java,
171 classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
172 classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
173 classpath/gnu/java/awt/font/autofit/Scaler.java,
174 classpath/gnu/classpath/jdwp/util/Value.java,
175 classpath/gnu/javax/net/ssl/Base64.java.
176 * Remove empty directories.
178 * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
179 * java/lang/Class.java(setAccessible): Merge from classpath.
180 * java/util/Locale.java: Remove.
181 * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
182 gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
183 * gcj/javaprims.h: Update class declarations.
184 * scripts/classes.pl: Update usage.
185 * HACKING: Mention to build all peers.
187 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
189 * configure: Regenerate.
191 2007-05-31 Andrew Haley <aph@redhat.com>
193 * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
194 INTERPRETED access modifier.
196 2007-05-31 Paolo Bonzini <bonzini@gnu.org>
199 * configure: Regenerated.
200 * aclocal.m4: Regenerated.
202 2007-05-30 H.J. Lu <hongjiu.lu@intel.com>
205 * configure: Regenerated.
207 2007-05-29 H.J. Lu <hongjiu.lu@intel.com>
209 * configure.ac: Don't include ../config/confsubdir.m4.
210 * aclocal.m4: Regenerated.
211 * configure: Likewise.
213 2007-05-27 Paolo Bonzini <bonzini@gnu.org>
216 * configure.ac: Include confsubdir.m4.
217 * configure: Regenerate.
219 2007-05-24 Keith Seitz <keiths@redhat.com>
221 * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
222 one when pc_ptr is non-NULL.
224 * prims.cc (parse_init_args): Enable JVMTI with agentlib
225 and agentpath options.
227 * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
229 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
230 Pass '-agentlib:dummyagent' when executing gij.
231 (gij_jvmti_run): Build dummy JVMTI agent before running tests,
232 and remove it when finished.
233 * testsuite/libjava.jvmti/dummyagent.c: New file.
235 2007-05-23 Steve Ellcey <sje@cup.hp.com>
237 * Makefile.in: Regenerate.
238 * configure: Regenerate.
239 * aclocal.m4: Regenerate.
240 * gcj/Makefile.in: Regenerate.
241 * include/Makefile.in: Regenerate.
242 * testsuite/Makefile.in: Regenerate.
244 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
246 * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
247 (executeMethods): Remove cast to ClassReferenceTypeId.
248 * classpath/lib/gnu/classpath/jdwp/processor/
249 ReferenceTypeCommandSet.class: Rebuilt.
251 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
253 * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
254 classes and mark methods as native appropriately.
256 2007-05-17 Kyle Galloway <kgallowa@redhat.com>
258 * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
260 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
261 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
262 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
265 2007-05-16 David Daney <ddaney@avtrex.com>
267 * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
268 (_Jv_StackFrame): Remove commented out code.
269 (_Jv_UnwindState): Remove superfluous 'typedef'.
270 * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
272 * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
273 (getCollectionUsage): Don't declare unused parameter n.
274 (getMemoryManagerNames): Same.
275 * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
278 2007-05-16 Keith Seitz <keiths@redhat.com>
280 * include/java-interp.h (breakpoint_at): Declare.
281 * interpret.cc (breakpoint_at): New function.
282 * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
284 * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
285 Initialize _event_list.
286 (handle_single_step): If there is a breakpoint at the
287 location at which we are stopping, do not send the notification.
288 Instead add the event to a list of events that occur at this
290 (jdwpBreakpointCB): If the event list is not empty, send
291 whatever events are in it and the breakpoint event in a single
293 Mark parameter jni_env as MAYBE_UNUSED.
294 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
296 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
298 2007-05-15 David Daney <ddaney@avtrex.com>
300 * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
301 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
303 2007-05-15 Keith Seitz <keiths@redhat.com>
305 * interpret.cc (STOREA): Rewrite using temporary variable to
306 avoid double-macro expansion side-effects.
309 (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
310 (STORED)[SIZEOF_VOID_P == 8]: Likewise.
311 (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
312 (STORED)[SIZEOF_VOID_P != 8]: Likewise.
315 2007-05-12 David Daney <ddaney@avtrex.com>
318 * include/posix-threads.h (_Jv_BlockSigchld): Declare.
319 (_Jv_UnBlockSigchld): Same.
320 * posix-threads.cc: Include posix-threads.h.
321 (block_sigchld) Rename to...
322 (_Jv_BlockSigchld) ... this.
323 (_Jv_UnBlockSigchld): New function.
324 (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
325 (_Jv_ThreadStart): Same.
326 * java/lang/PosixProcess$ProcessManager.h: Regenerate.
327 * java/lang/PosixProcess.java: Clean up imports.
328 (ProcessManager): Make final.
329 (ProcessManager.queue): Genericise and make private.
330 (ProcessManager.pidToProcess): Remove.
331 (ProcessManager.liveProcesses): New field.
332 (ProcessManager.reaperPID): Remove.
333 (ProcessManager.nativeData): New field.
334 (ProcessManager.removeProcessFromMap): Remove.
335 (ProcessManager.addProcessToMap):Remove.
336 (ProcessManager.addToLiveProcesses): New method.
337 (ProcessManager.run): Rewritten.
338 (ProcessManager.reap): Change method signature,
339 (getErrorStream): Correct formatting.
340 (getInputStream): Same.
341 (spawn): Add process to liveProcesses list.
342 (pid): Make package private.
343 * java/lang/PosixProcess.h: Regenerate.
344 * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
345 Add useing namespace java::lang.
346 (ProcessManagerInternal): New struct.
347 (sigchld_handler): Rewritten.
349 (waitForSignal): Same.
351 (signalReaper): Same.
352 (nativeDestroy): Call kill as ::kill.
353 (nativeSpawn): Correct formatting.
354 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
355 * classpath/lib/java/lang/PosixProcess.class: Same.
356 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
358 2007-05-07 Ian Lance Taylor <iant@google.com>
361 * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
364 2007-05-07 Keith Seitz <keiths@redhat.com>
366 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
367 * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
368 * classpath/lib/gnu/classpath/jdwp/event/Event.class:
370 * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
372 * gnu/classpath/jdwp/Jdwp.h: Regenerate.
373 * gnu/classpath/jdwp/event/Event.h: Regenerate.
374 * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
376 2007-05-04 Kyle Galloway <kgallowa@redhat.com>
378 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
381 2007-05-03 Keith Seitz <keiths@redhat.com>
383 * interpret.cc: Don't include ExceptionEvent.h.
384 * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
385 * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
386 * Makefile.in: Regenerated.
388 2007-05-03 Keith Seitz <keiths@redhat.com>
390 * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
392 * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
393 (find_catch_location): New function.
394 (REPORT_EXCEPTION): New macro.
395 (throw_internal_error): Use REPORT_EXCEPTION.
396 (throw_incompatible_class_change_error): Likewise.
397 (throw_null_pointer_exception): Likewise.
398 (throw_class_format_error): Likewise.
399 * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
401 (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
402 (insn_new): Use INTERP_REPORT_EXCEPTION.
403 (insn_athrow): Likewise.
404 Remove previous JVMTI exception notifications.
405 Add JVMTI ExceptionCatch notificatin.
406 * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
408 * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
409 * gnu/gcj/jvmti/ExceptionEvent.h: Removed.
410 * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
411 * gnu/classpath/jdwp/natVMVirtualMachine.cc
412 (jdwpExceptionCB): New function.
413 (jdwpVMInitCB): Set Exception event handler and enable.
414 * sources.am: Regenerated.
415 * Makefile.in: Regenerated.
417 2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
419 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
420 * Makefile.in: Regenerate.
421 * scripts/makemake.tcl (scan_directory): Treat default.css as a
423 * classpath/javax/swing/text/html/default.css: Move to...
424 * classpath/resource/javax/swing/text/html/default.css: New file.
425 * classpath/javax/swing/text/html/HTMLEditorKit.java
426 (getStyleSheet): Throw RuntimeException when style loading fails.
427 * sources.am (property_files): Add
428 classpath/resource/javax/swing/text/html/default.css.
430 2007-05-02 Tom Tromey <tromey@redhat.com>
432 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
433 * java/lang/natCharacter.cc (Character::getType): Handle negative
435 (Character::toLowerCase): Likewise.
436 (Character::toUpperCase): Likewise.
437 (Character::digit): Likewise.
438 (Character::getNumericValue): Likewise.
439 (Character::getDirectionality): Likewise.
440 (Character::toTitleCase): Likewise.
442 2007-04-30 Keith Seitz <keiths@redhat.com>
444 * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
445 executing the instruction.
446 * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
447 one insn from the frame's PC. _Jv_InterpMethod::run et al
448 will advance the PC before executing the instruction.
450 2007-04-27 Keith Seitz <keiths@redhat.com>
452 * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
453 * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
455 * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
457 2007-04-27 Keith Seitz <keiths@redhat.com>
459 * classpath/lib/gnu/classpath/jdwp/event/filters/
460 LocationOnlyFilter.class: Regenerated;
461 * classpath/lib/gnu/classpath/jdwp/util/Location.class:
463 * gnu/classpath/jdwp/VMMethod.java
464 * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
466 * gnu/classpath/jdwp/VMMethod.h: Regenerated.
467 * gnu/classpath/jdwp/util/Location.h: Regenerated.
469 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
471 * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
472 * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
474 2007-04-25 Kyle Galloway <kgallowa@redhat.com>
476 * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
478 (get): Deal with ObjectId of 0.
480 2007-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
483 * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
485 2007-04-24 Kyle Galloway <kgallowa@redhat.com>
487 * gnu/classpath/jdwp/natVMVirtualMachine.java
488 (getThreadStatus): Implement.
490 2007-04-24 Keith Seitz <keiths@redhat.com>
492 * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
493 Add _Jv_RewriteBreakpointInsn friend declaration.
494 * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
495 [DIRECT_THREADED]: New function.
496 * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
497 * interpret-run.cc: Define new REWRITE_INSN macro.
498 Changed all occurrences of insn rewriting to call REWRITE_INSN.
500 2007-04-23 Keith Seitz <keiths@redhat.com>
502 * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
503 * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
504 * boehm.cc (_Jv_IsThreadSuspended): New function.
505 * nogc.cc (_Jv_IsThreadSuspended): Likewise.
506 * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
507 (_Jv_JVMTI_Interface): Define GetThreadState.
509 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
511 * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
513 (<init>): Add a pointer to the interpreter PC as a parameter with
515 (get_pc): New method.
516 * interpret-run.cc: If debugging, pass a pointer to the PC when
517 creating the stack frame.
518 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
521 2007-04-23 Kyle Galloway <kgallowa@redhat.com>
523 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
524 for null source file and throw an exception indicating this.
526 2007-04-20 Keith Seitz <keiths@redhat.com>
528 * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
529 Install the new breakpoint into the bytecode.
530 (deleteBreakpoint): Remove the breakpoint from the bytecode.
531 * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
533 * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
534 Don't install the breakpoint here.
536 2007-04-19 Keith Seitz <keiths@redhat.com>
538 * interpret-run.cc [insn_breakpoint]: Save the original
539 insn for the breakpoint before posting the JVMTI notification.
541 2007-04-19 Tom Tromey <tromey@redhat.com>
543 * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
545 2007-04-18 Tom Tromey <tromey@redhat.com>
547 * Regenerated headers with new gjavah.
549 2007-04-18 Andrew Haley <aph@redhat.com>
551 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
553 (generateProxyClass): Add field $Proxy0.m. Store methods array in
555 (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
556 * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
557 * java/lang/natClass.cc: Likewise.
558 * headers.txt: Likewise.
559 * java/lang/reflect/Method.h: Likewise.
561 2007-04-16 Andrew Haley <aph@redhat.com>
563 * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
565 (bootGetResource): Use getBootURLLoader() to load resources.
566 (bootGetResources): Likewise.
568 * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
569 check that the method's declaring class is accessible.
571 2007-04-10 Keith Seitz <keiths@redhat.com>
573 * sources.am: Regenerate.
574 * Makefile.in: Likewise.
576 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
578 * interpret-run.cc: If debugging, check if args is NULL before
579 getting the "this" pointer.
581 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
583 * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
584 * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
585 * gnu/classpath/jdwp/ArrayValue.h: New file.
586 * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
589 2007-04-09 David Daney <ddaney@avtrex.com>
592 * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
593 environment before the fork.
594 * testsuite/libjava.lang/Process_7.java: New test.
595 * testsuite/libjava.lang/Process_7.out: Its expected results.
596 * testsuite/libjava.lang/Process_7.jar: Generated file.
598 2007-04-09 H.J. Lu <hongjiu.lu@intel.com>
600 * prims.cc (load_jvmti_agent): Add the missing `,'.
602 2007-04-09 Kyle Galloway <kgallowa@redhat.com>
604 * gij.cc (main): Accept -agentlib and -agentpath options.
605 * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
606 (load_jvmti_agent): New function.
608 2007-04-04 Tania Bento <tbento@redhat.com>
610 * java/text/DecimalFormatSymbols.java: Added the year 2007 to
611 Copyright information and introduced new variable, currency.
612 (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
613 to "XXX", currencySymbol to "?" and localCurrency appropriately.
614 (getCurrency): Fixed documentation and return the value of currency.
615 (setCurrency): Fixed documentation and update the value of currency.
616 (setInternationalCurrencySymbol): Fixed documentation and update the
618 * java/util/Currency.java: Introduced two new variables, properties
619 and fractionDigits. In the static block, a properties object is
620 created and the currency resource is loaded.
621 (Currency(Locale)): fractionDigits is defined.
622 (Currency(String)): New method.
623 (getDefaultFractionDigits): Return the value of fractionDigits.
624 (getInstance(String)): Check if String is equal to "XXX".
626 2007-04-04 Kyle Galloway <kgallowa@redhat.com>
628 * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
629 to ints for argCnt and slots.
630 (write): Replace writeLong with writeInt for the above.
632 2007-04-03 Andrew Haley <aph@redhat.com>
634 * testsuite/libjava.lang/ProxyTest.java: New test.
636 2007-04-02 Tom Tromey <tromey@redhat.com>
638 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
639 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
640 file, when writing, if it is too short.
642 2007-04-02 Tom Tromey <tromey@redhat.com>
644 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
645 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
647 * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
648 where localport is -1.
649 (create): Now public.
650 * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
651 'create' on the socket.
653 2007-04-02 Andrew Haley <aph@redhat.com>
655 * java/lang/reflect/natVMProxy.cc (run_proxy): Use
656 _Jv_LookupProxyMethod to find the Method.
657 If parameter_types->length == 0, pass a null paramameter list,
658 not a zero-length parameter list.
659 * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
660 * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
662 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
664 * interpret-run.cc: Add code to properly set up variable slots
666 * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
667 (getObjectJVMTI): New function.
668 (setObjectJVMTI): New function.
669 (getIntJVMTI): New function.
670 (setIntJVMTI): New function.
671 (getLongJVMTI): New function.
672 (setLongJVMTI): New function.
673 (getFloatJVMTI): New function.
674 (setFloatJVMTI): New function.
675 (getDoubleJVMTI): New function.
676 (setDoubleJVMTI): New function.
677 (getFrameDepth): New function.
678 (getValue): Implement.
679 (setValue): Implement.
681 2007-04-02 Kyle Galloway <kgallowa@redhat.com>
683 * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
684 (executeResume): Call VMVirtualMachine.resumeThread.
686 2007-03-29 Tom Tromey <tromey@redhat.com>
689 * java/util/logging/LogManager.java (readConfiguration): Handle
690 comma-separated 'handlers'. Don't try to add a non-existing
693 2007-03-27 Tom Tromey <tromey@redhat.com>
695 * sources.am, Makefile.in: Rebuilt.
696 * scripts/mime.types: Removed.
697 * scripts/MakeDefaultMimeTypes.java: Removed.
698 * gnu/gcj/io/MimeTypes.java: Removed.
699 * gnu/gcj/io/MimeTypes.h: Removed.
700 * gnu/gcj/io/DefaultMimeTypes.java: Removed.
701 * gnu/gcj/io/DefaultMimeTypes.h: Removed.
703 2007-03-27 Keith Seitz <keiths@redhat.com>
705 * gnu/classpath/jdwp/VMFrame.java: Update from upstream
707 * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
708 * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
709 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
710 (initialize): Fix compiler type-punning warning.
711 (getAllLoadedClasses): Return empty list instead of NULL.
712 (getLoadRequests): Likewise.
713 * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
714 * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
715 * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
716 * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
717 * gnu/classpath/jdwp/value/CharValue.h: New file.
718 * gnu/classpath/jdwp/value/LongValue.h: New file.
719 * gnu/classpath/jdwp/value/ShortValue.h: New file.
720 * gnu/classpath/jdwp/value/Value.h: New file.
721 * gnu/classpath/jdwp/value/BooleanValue.h: New file.
722 * gnu/classpath/jdwp/value/VoidValue.h: New file.
723 * gnu/classpath/jdwp/value/ByteValue.h: New file.
724 * gnu/classpath/jdwp/value/FloatValue.h: New file.
725 * gnu/classpath/jdwp/value/ObjectValue.h: New file.
726 * gnu/classpath/jdwp/value/StringValue.h: New file.
727 * gnu/classpath/jdwp/value/ValueFactory.h: New file.
728 * gnu/classpath/jdwp/value/IntValue.h: New file.
729 * gnu/classpath/jdwp/value/DoubleValue.h: New file.
730 * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
731 * gnu/classpath/jdwp/id/NullObjectId.h: New file.
732 * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
733 * gnu/classpath/jdwp/util/NullObject.h: New file.
734 * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
735 * Makefile.in: Rebuilt.
736 * sources.am: Rebuilt.
738 2006-03-26 David Daney <ddaney@avtrex.com>
740 * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
741 fork, execvp, execinfo.h, pthread_mutexattr_settype,
742 pthread_mutexattr_setkind_np and sys/wait.h.
743 * Makefile.in: Regenerate.
744 * include/Makefile.in: Regenerate.
745 * include/config.h.in: Regenerate.
746 * testsuite/Makefile.in: Regenerate.
747 * configure: Regenerate.
748 * gcj/Makefile.in: Regenerate.
750 2007-03-23 Gary Benson <gbenson@redhat.com>
752 * link.cc (_Jv_Linker::resolve_method_entry):
753 Ensure that the argument types and the return type of the
754 found method match those expected by the calling method.
756 2007-03-22 David Daney <ddaney@avtrex.com>
759 * configure.ac: Add checks for getrlimit and sys/resource.h.
760 * include/posix.h (_Jv_platform_close_on_exec): Remove.
761 * include/config.h.in: Regenerate.
762 * configure: Regenerate.
763 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
764 _Jv_platform_close_on_exec;
765 * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
767 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
768 * java/lang/natPosixProcess.cc: Include sys/resource.h.
769 (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on
772 2007-03-20 Andrew Haley <aph@redhat.com>
774 * testsuite/libjava.lang/PR31264.java: New test.
776 2007-03-14 Jakub Jelinek <jakub@redhat.com>
778 * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
779 * Makefile.in: Rebuilt.
781 2007-03-13 Keith Seitz <keiths@redhat.com>
783 * include/java-interp.h (_Jv_InterpClass): Declare
784 friend function _Jv_GetInterpClassSourceFile.
785 * java/lang/Class.h (Class): Likewise.
786 * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
788 * gnu/classpath/jdwp/natVMVirtualMachine.cc
789 (getSourceFile): Implement.
791 2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
793 * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
794 * classpath/configure.ac: Add --with-ecj-jar configure option.
795 * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
797 * classpath/INSTALL: Document --with-ecj-jar configure option and
798 ecj jar requirement for com.sun.tools.javac support.
799 * classpath/tools/Makefile.am: Build decendents of com and sun
801 * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
802 * gnu/classpath/Configuration.java,
803 gnu/classpath/natConfiguration.cc (ecj): New method.
804 (ECJ_JAR): New field.
805 * scripts/makemake.tcl (scan_packages): Add com directory.
806 * sources.am (property_files): Add
807 classpath/resource/sun/rmi/rmic/messages.properties and
808 classpath/resource/com/sun/tools/javac/messages.properties.
809 * classpath/resource/com, classpath/resource/com/sun,
810 classpath/resource/com/sun/tools,
811 classpath/resource/com/sun/tools/javac, classpath/resource/sun,
812 classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
813 classpath/tools/classes/com, classpath/tools/classes/com/sun,
814 classpath/tools/classes/com/sun/javadoc,
815 classpath/tools/classes/com/sun/tools,
816 classpath/tools/classes/com/sun/tools/doclets,
817 classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
818 classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
819 classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
820 classpath/tools/com/sun/tools,
821 classpath/tools/com/sun/tools/doclets,
822 classpath/tools/com/sun/tools/javac, classpath/tools/sun,
823 classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
825 * classpath/resource/com/sun/tools/javac/messages.properties,
826 classpath/resource/sun/rmi/rmic/messages.properties,
827 classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
828 classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
829 classpath/tools/classes/com/sun/javadoc/Doc.class,
830 classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
831 classpath/tools/classes/com/sun/javadoc/Doclet.class,
832 classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
833 classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
834 classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
835 classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
836 classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
837 classpath/tools/classes/com/sun/javadoc/ParamTag.class,
838 classpath/tools/classes/com/sun/javadoc/Parameter.class,
839 classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
840 classpath/tools/classes/com/sun/javadoc/RootDoc.class,
841 classpath/tools/classes/com/sun/javadoc/SeeTag.class,
842 classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
843 classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
844 classpath/tools/classes/com/sun/javadoc/Tag.class,
845 classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
846 classpath/tools/classes/com/sun/javadoc/Type.class,
847 classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
848 classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
849 classpath/tools/classes/sun/rmi/rmic/Main.class,
850 classpath/tools/classes/sun/rmi/rmic/Messages.class,
851 classpath/tools/com/sun/javadoc/ClassDoc.java,
852 classpath/tools/com/sun/javadoc/ConstructorDoc.java,
853 classpath/tools/com/sun/javadoc/Doc.java,
854 classpath/tools/com/sun/javadoc/DocErrorReporter.java,
855 classpath/tools/com/sun/javadoc/Doclet.java,
856 classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
857 classpath/tools/com/sun/javadoc/FieldDoc.java,
858 classpath/tools/com/sun/javadoc/MemberDoc.java,
859 classpath/tools/com/sun/javadoc/MethodDoc.java,
860 classpath/tools/com/sun/javadoc/PackageDoc.java,
861 classpath/tools/com/sun/javadoc/ParamTag.java,
862 classpath/tools/com/sun/javadoc/Parameter.java,
863 classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
864 classpath/tools/com/sun/javadoc/RootDoc.java,
865 classpath/tools/com/sun/javadoc/SeeTag.java,
866 classpath/tools/com/sun/javadoc/SerialFieldTag.java,
867 classpath/tools/com/sun/javadoc/SourcePosition.java,
868 classpath/tools/com/sun/javadoc/Tag.java,
869 classpath/tools/com/sun/javadoc/ThrowsTag.java,
870 classpath/tools/com/sun/javadoc/Type.java,
871 classpath/tools/com/sun/javadoc/TypeVariable.java,
872 classpath/tools/com/sun/tools/doclets/Taglet.java,
873 classpath/tools/com/sun/tools/javac/Main.java,
874 classpath/tools/com/sun/tools/javac/Messages.java,
875 classpath/tools/sun/rmi/rmic/Main.java,
876 classpath/tools/sun/rmi/rmic/Messages.java: New files.
877 * Makefile.in, classpath/Makefile.in, classpath/configure,
878 classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
879 classpath/examples/Makefile.in, classpath/external/Makefile.in,
880 classpath/external/jsr166/Makefile.in,
881 classpath/external/relaxngDatatype/Makefile.in,
882 classpath/external/sax/Makefile.in,
883 classpath/external/w3c_dom/Makefile.in,
884 classpath/include/Makefile.in, classpath/include/config.h.in,
885 classpath/lib/Makefile.in,
886 classpath/lib/gnu/classpath/Configuration.class,
887 classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
888 classpath/native/jawt/Makefile.in,
889 classpath/native/jni/Makefile.in,
890 classpath/native/jni/classpath/Makefile.in,
891 classpath/native/jni/gconf-peer/Makefile.in,
892 classpath/native/jni/gtk-peer/Makefile.in,
893 classpath/native/jni/java-io/Makefile.in,
894 classpath/native/jni/java-lang/Makefile.in,
895 classpath/native/jni/java-net/Makefile.in,
896 classpath/native/jni/java-nio/Makefile.in,
897 classpath/native/jni/java-util/Makefile.in,
898 classpath/native/jni/midi-alsa/Makefile.in,
899 classpath/native/jni/midi-dssi/Makefile.in,
900 classpath/native/jni/native-lib/Makefile.in,
901 classpath/native/jni/qt-peer/Makefile.in,
902 classpath/native/jni/xmlj/Makefile.in,
903 classpath/native/plugin/Makefile.in,
904 classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
905 classpath/tools/Makefile.in, configure,
906 gnu/classpath/Configuration.h: Regenerate.
908 2007-03-12 Kyle Galloway <kgallowa@redhat.com>
910 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
913 2007-03-12 Marco Trudel <mtrudel@gmx.ch>
915 * java/lang/natString.cc (getBytes (jstring enc)):
916 Fixed the loop for multiple cycles, Code cleanup
918 2007-03-09 Tom Tromey <tromey@redhat.com>
920 * sources.am, Makefile.in: Rebuilt.
921 * scripts/makemake.tcl (scan_directory): Allow service files to be
923 Omit all XML-related service files.
925 2007-03-07 Tom Tromey <tromey@redhat.com>
927 * configure: Rebuilt.
928 * configure.ac: Clear vm-tools-packages.
930 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
932 * java/lang/Win32Process.java: Added nested class EOFInputStream.
933 * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
934 enum and implementation.
935 (startProcess): Use redirect flag.
936 * classpath/lib/java/lang/Win32Process.class: Regenerated.
937 * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
938 * gcj/javaprims.h: Regenerated.
939 * java/lang/Win32Process$EOFInputStream.h: New.
941 2007-03-07 Andrew Haley <aph@redhat.com>
943 * libgcj_bc.c (JvRunMainName): Declare.
945 2007-03-07 Gary Benson <gbenson@redhat.com>
947 * sources.am, Makefile.in: Rebuilt.
949 2007-03-07 Mohan Embar <gnustuff@thisiscool.com>
951 * gcj/javaprims.h: Regenerated.
953 2007-03-07 Alexandre Oliva <aoliva@redhat.com>
955 * include/jvm.h (_Jv_ClosureListFinalizer): New.
956 (_Jv_Linker::create_error_method): Adjust.
957 * boehm.cc (_Jv_ClosureListFinalizer): New.
958 * nogc.cc (_Jv_ClosureListFinalizer): New.
959 * java/lang/Class.h (class _Jv_ClosureList): New.
960 (class java::lang::Class): Declare it as friend.
961 * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
962 (_Jv_ClosureList::registerClousure): New.
963 * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
964 (_Jv_CompiledEngine::do_get_closure_list): New.
965 (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
966 (_Jv_IndirectCompiledClass): Add closures.
967 (_Jv_IndirectCompiledEngine::get_aux_info): New.
968 (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
970 (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
971 (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
972 (_Jv_InterpreterEngine::do_get_closure_list): Declare.
973 (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
974 * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
975 (node_closure): Add closure list.
976 (_Jv_InterpMethod::ncode): Add jclass argument. Use
977 ffi_closure_alloc and the separate code pointer. Register the
978 closure for finalization.
979 (_Jv_JNIMethod::ncode): Likewise.
980 (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
981 (_Jv_InterpreterEngine::do_get_closure_list): New.
982 * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
983 (_Jv_InterpClass): Add closures field.
984 (_Jv_JNIMethod::ncode): Adjust.
985 * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
986 (_Jv_ClassReader::handleMethodsEnd): Likewise.
987 * link.cc (struct method_closure): Add closure list.
988 (_Jv_Linker::create_error_method): Add jclass argument. Use
989 ffi_closure_alloc and the separate code pointer. Register the
990 closure for finalization.
991 (_Jv_Linker::link_symbol_table): Remove outdated comment about
992 sharing of otable and atable. Adjust.
993 * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
995 (ncode): Add jclass argument. Use ffi_closure_alloc and the
996 separate code pointer. Register the closure for finalization.
997 (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
998 * testsuite/libjava.jar/TestClosureGC.java: New.
999 * testsuite/libjava.jar/TestClosureGC.out: New.
1000 * testsuite/libjava.jar/TestClosureGC.xfail: New.
1001 * testsuite/libjava.jar/TestClosureGC.jar: New.
1003 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
1005 * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
1006 * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
1007 * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
1008 * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
1009 (VMMethod::getLineTable): Use new macro.
1010 (VMMethod::getVariableTable): Implement.
1011 * sources.am: Regenerated.
1012 * Makefile.in: Ditto.
1014 2007-03-06 Tom Tromey <tromey@redhat.com>
1016 * Makefile.in: Rebuilt.
1017 * Makefile.am (bin_PROGRAMS): Added gcjh.
1018 (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
1019 gcjh_DEPENDENCIES): New variables.
1021 2007-03-06 Kyle Galloway <kgallowa@redhat.com>
1023 * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
1024 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
1025 (do_getlocalvartable_tests): Add Deallocate calls to free strings.
1027 2007-03-05 Matthias Klose <doko@debian.org>
1029 * Makefile.am (gij_LDFLAGS): Use dbexecdir.
1030 * Makefile.in: Regnerate.
1032 2007-03-05 Mark Wielaard <mark@klomp.org>
1034 * java/lang/Character.java: Re-merged with Classpath.
1035 * java/lang/natString.cc (nativeCompareTo): Renamed from
1037 * java/lang/StringBuilder.java: Re-merged with Classpath.
1038 * java/lang/String.java: Re-merged with Classpath.
1039 (nativeCompareTo): Renamed from compareTo.
1040 * java/lang/StringBuffer.java: Re-merged with Classpath.
1041 * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
1043 2007-03-05 Andrew Haley <aph@redhat.com>
1045 * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
1046 (generateProxyClass): Don't pass method to ncode.
1047 (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
1048 * java/lang/reflect/Method.h: Rebuild.
1049 * java/lang/reflect/Method.java (internalGetParameterTypes,
1050 internalGetExceptionTypes): New methods.
1051 * headers.txt (class java/lang/reflect/Method): Declare
1052 _Jv_GetReflectedMethod. Be its friend.
1053 * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
1054 * java/lang/Class.h: Declare it. Be its friend.
1056 2007-03-05 Tom Tromey <tromey@redhat.com>
1058 * sources.am, Makefile.in: Rebuilt.
1059 * scripts/makemake.tcl (emit_package_rule): Don't omit
1061 * Makefile.am (nat_source_files): Added natVMProcess.cc.
1062 (inner_nat_headers): Added ImmediateEOFInputStream.h.
1063 * gcj/javaprims.h: Regenerated.
1064 * java/lang/System.java (EnvironmentMap): Now package-private.
1065 (EnvironmentMap(Map)): New constructor.
1066 (EnvironmentMap.put): New method.
1067 * java/lang/natWin32Process.cc (startProcess): Update.
1068 * java/lang/Win32Process.java (Win32Process): Added 'redirect'
1070 (startProcess): Likewise.
1071 * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
1073 * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
1074 * java/lang/PosixProcess.java (redirect): New field.
1075 (PosixProcess): Added 'redirect' argument.
1076 * java/lang/natRuntime.cc (execInternal): Added 'redirect'
1077 argument to Process creation.
1078 * java/lang/natVMProcess.cc: New file.
1079 * java/lang/ProcessBuilder.java: Removed.
1080 * java/lang/VMProcess.java: New file.
1082 2007-03-03 Andrew Haley <aph@redhat.com>
1084 * java/lang/natClass.cc (parseAnnotationElement): Correct long
1085 annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
1087 2007-03-02 Andrew Haley <aph@redhat.com>
1089 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1090 Generify in a few places.
1091 (equals): Rewrite to use invoke on local proxy.
1092 (deepToString): Remove most of it.
1093 (toString): Make nonstatic.
1094 (arrayClone): Delete.
1095 (coerce): New method.
1096 (invoke): Rewrite to handle gcj's structures correctly.
1097 * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
1099 * sources.am: Regenerate.
1100 * Makefile.am: Likewise.
1102 2007-03-02 Andrew Haley <aph@redhat.com>
1104 * sun/reflect/annotation/AnnotationInvocationHandler.java:
1105 Whitespace only changes.
1107 2007-03-02 Andrew Haley <aph@redhat.com>
1109 * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
1110 from Classpath to libgcj local.
1112 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1114 * Makefile.am: Add dummy install-pdf target.
1115 * Makefile.in: Regenerate
1116 * include/Makefile.in: Regenerate
1117 * testsuite/Makefile.in: Regenerate
1118 * gcj/Makefile.in: Regenerate
1120 2007-02-23 Gary Benson <gbenson@redhat.com>
1122 * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
1124 2007-02-23 Gary Benson <gbenson@redhat.com>
1126 * java/lang/VMCompiler.java
1127 (compileClass): Don't lose zeros from within the digest.
1129 2007-02-22 Jakub Jelinek <jakub@redhat.com>
1133 * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
1134 /etc/localtime, use ZoneInfo.readTZFile instead of
1135 VMTimeZone.readtzFile. Get better timezone name for /etc/localtime,
1136 either if it is a symlink or through /etc/sysconfig/clock.
1137 (readSysconfigClockFile): New static method.
1138 (readtzFile): Removed.
1139 * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
1140 * posix.cc (_Jv_platform_initProperties): Set
1141 gnu.java.util.zoneinfo.dir.
1142 * sources.am (gnu_java_util_source_files): Add
1143 classpath/gnu/java/util/ZoneInfo.java.
1144 * Makefile.in: Regenerated.
1145 * java/util/VMTimeZone.h: Regenerated.
1146 * java/util/TimeZone.h: Regenerated.
1147 * gnu/java/util/ZoneInfo.h: Generated.
1149 2007-02-22 Mohan Embar <gnustuff@thisiscool.com>
1151 * include/win32-threads.h: Added #undef OUT.
1153 2007-02-21 Kyle Galloway <kgallowa@redhat.com>
1155 * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
1156 * testsuite/libjava.jvmti/interp/getargssize.java: New test.
1157 * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
1158 * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
1159 * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
1160 * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
1162 2007-02-21 Gary Benson <gbenson@redhat.com>
1164 * java/util/GregorianCalendar.java: Removed.
1165 * sources.am, Makefile.in: Rebuilt.
1167 2007-02-20 Keith Seitz <keiths@redhat.com>
1169 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1170 (jdwpClassPrepareCB): Move class status stuff to ...
1171 (getClassStatus): ... here.
1173 2007-02-20 Gary Benson <gbenson@redhat.com>
1175 * gnu/awt/xlib/XEventLoop.h: Regenerated.
1176 * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
1177 * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
1179 * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
1180 * java/lang/SecurityManager.h: Likewise.
1181 * java/lang/Thread.h: Likewise.
1182 * java/security/VMSecureRandom$Spinner.h: Likewise.
1183 * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
1184 * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
1185 * java/util/concurrent/atomic/AtomicLong.h: Likewise.
1186 * java/util/concurrent/atomic/AtomicReference.h: Likewise.
1187 * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
1188 * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
1189 * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
1190 * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
1191 * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
1192 * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
1193 * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
1194 * java/util/concurrent/Exchanger.h: Likewise.
1195 * java/util/concurrent/Exchanger$Node.h: Likewise.
1196 * java/util/concurrent/FutureTask$Sync.h: Likewise.
1197 * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
1198 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
1200 * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h:
1202 * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
1203 * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
1205 * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1206 * java/util/concurrent/SynchronousQueue.h: Likewise.
1207 * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1208 * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1210 * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1211 * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1213 * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1214 * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1215 * java/util/logging/ErrorManager.h: Likewise.
1216 * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1217 * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1219 2007-02-16 Keith Seitz <keiths@redhat.com>
1221 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1222 (get_line_table): New function.
1223 (handle_single_step): New function.
1224 (jdwpSingleStepCB): New function.
1225 (jdwpVMInitCB): Define a JVMTI single step
1226 callback, but don't enable it until needed.
1228 2007-02-16 David Daney <ddaney@avtrex.com>
1230 * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1231 new parameter constructor.
1232 (Thread(ThreadGroup, Runnable, String, long)): Same.
1233 (Thread(String, boolean)): New constructor.
1234 (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1235 noInheritableThreadLocal, don't call
1236 InheritableThreadLocal.newChildThread if set.
1237 * java/lang/PosixProcess.java(ProcessManager()): Set
1238 noInheritableThreadLocal in super.
1239 * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1240 parameter to Thread constructor.
1241 (_Jv_AttachCurrentThreadAsDaemon): Same.
1242 * java/lang/Thread.h: Regenerate.
1243 * classpath/lib/java/lang/Thread.class: Same.
1244 * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1245 * classpath/lib/java/lang/PosixProcess.class: Same.
1246 * classpath/lib/java/lang/Thread$State.class: Same.
1247 * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1249 2007-02-16 Kyle Galloway <kgallowa@redhat.com>
1251 * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1252 variables to maintain type info.
1253 * interpret-run.cc: Add local variable info to frame in the debug
1255 * jvmti.cc (getLocalFrame): New method.
1256 (_Jv_JVMTI_GetLocalObject): New method.
1257 (_Jv_JVMTI_GetLocallInt): New method.
1258 (_Jv_JVMTI_GetLocalFloat): New method.
1259 (_Jv_JVMTI_GetLocalLong): New method.
1260 (_Jv_JVMTI_GetLocalDouble): New method.
1261 (_Jv_JVMTI_SetLocalObject): New method.
1262 (_Jv_JVMTI_SetLocalInt): New method.
1263 (_Jv_JVMTI_SetLocalFloat): New method.
1264 (_Jv_JVMTI_SetLocalLong): New method.
1265 (_Jv_JVMTI_SetLocalDouble): New method.
1267 2007-02-16 Gary Benson <gbenson@redhat.com>
1269 * gnu/gcj/tools/gcj_dbtool/Main.java
1270 (bytesToString): Don't lose zeros from within the digest.
1272 2007-02-15 Andrew Haley <aph@redhat.com>
1274 * Makefile.am (nat_source_files): Remove
1275 java/lang/management/natVMManagementFactory.cc.
1276 * java/lang/Thread.java (getStackTrace): Use reflection to call
1277 the ManagementFactory.
1278 * java/lang/management/VMManagementFactory.java: Remove native
1280 * java/lang/management/natVMManagementFactory.cc: Deleted.
1281 * sources.am: Regnerate.
1282 * scripts/makemake.tcl: Add new "bcheaders" type.
1283 Move java/lang/management and gnu/classpath/management to "bc".
1284 Move gnu/java/lang/management to "bcheaders".
1286 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1288 * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1289 * interpret-run.cc: Change the catch section to report exception
1290 events and to use the new check_handler method.
1291 * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1292 * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1293 * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1294 * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1295 * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1297 * sources.am: Added ExceptionEvent.java.
1298 * Makefile.am: Added natExceptionEvent.cc
1299 * Makefile.in: Regenerated.
1300 * include/Makefile.in: Regenerated.
1301 * gcj/Makefile.in: Regenerated.
1303 2007-02-15 Johannes Schmidt <jschmidt@avtrex.com>
1304 David Daney <ddaney@avtrex.com>
1306 * configure.ac: Create vm-tools-packages file. Add
1307 gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1308 Check for /proc/self/maps.
1309 * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1310 (gc_analyze_SOURCES): New.
1311 (gc_analyze_LDFLAGS): New.
1312 (gc_analyze_LINK): New.
1313 (gc_analyze_LDADD): New.
1314 (gc_analyze_DEPENDENCIES): New.
1315 (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1316 * Makefile.in: Regenerated.
1317 * configure: Regenerated.
1318 * include/config.h.in: Regenerated.
1319 * sources.am: Regenerated.
1320 * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1321 * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1322 * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1323 * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1324 * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1325 * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1326 * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1327 * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1328 * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1329 * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1330 * gnu/gcj/util/GCInfo.java: New.
1331 * gnu/gcj/util/GCInfo.h: New.
1332 * gnu/gcj/util/natGCInfo.cc: New.
1333 * gnu/gcj/util/UtilPermission.java: New.
1334 * gnu/gcj/util/UtilPermission.h: New.
1335 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1336 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1337 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1338 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1339 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1340 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1341 * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1342 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1343 * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1344 * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1345 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1346 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1347 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1348 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1349 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1350 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1351 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1352 * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1353 * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1354 * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1355 * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1356 * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1357 * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1359 2007-02-15 David Daney <ddaney@avtrex.com>
1361 * gnu/java/net/PlainSocketImpl.h: Regenerate.
1362 * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1363 * gnu/classpath/jdwp/VMFrame.h: Same.
1364 * java/net/Socket.h: Same.
1365 * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1367 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1369 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1370 Added LocalVariableTable attribute handling.
1371 (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1372 * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1373 * include/java-interp.h: Added local_var_table and
1374 local_var_table_len fields to _Jv_InterpMethod.
1375 (_Jv_InterpMethod::get_local_var_table): New method.
1376 * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1377 * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1378 * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1380 * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1381 * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1383 2007-02-15 Kyle Galloway <kgallowa@redhat.com>
1385 * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1387 2007-02-13 Keith Seitz <keiths@redhat.com>
1389 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1390 (jdwpBreakpointCB): New function.
1391 (jdwpVMInitCB): Define and enable the breakpoint
1394 2007-02-13 Andrew Haley <aph@redhat.com>
1396 * testsuite/libjava.lang/Divide_2.out
1397 * testsuite/libjava.lang/Divide_2.java: New test.
1399 2007-02-12 Keith Seitz <keiths@redhat.com>
1401 * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1402 from jthread to Thread *; it is no longer needed.
1403 (_Jv_JVMTI_GetFrameCount): Likewise.
1404 Fix small formatting typo.
1406 2007-02-12 Tom Tromey <tromey@redhat.com>
1408 * sources.am, Makefile.in: Rebuilt.
1409 * java/lang/Socket.java: Removed override.
1410 * java/lang/DatagramSocket.java: Removed override.
1411 * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1413 (getLocalAddress): New method.
1414 * gnu/java/net/PlainDatagramSocketImpl.java
1415 (PlainDatagramSocketImpl): Throws IOException.
1416 * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1420 2007-02-09 Jakub Jelinek <jakub@redhat.com>
1422 * java/util/VMTimeZone.java: Rewrite to handle both the old
1423 'TZif\0' format and the new one.
1425 2007-02-10 Andrew Haley <aph@redhat.com>
1428 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1429 (getCallingClass): Call GET_CALLING_CLASS.
1430 (getCallingClassLoader): Likewise.
1432 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1434 * configure: Rebuilt.
1435 * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1437 2007-02-10 Mohan Embar <gnustuff@thisiscool.com>
1439 * Makefile.in: Rebuilt.
1440 * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1441 the host's ecj1 executable.
1443 2007-02-09 Richard Henderson <rth@redhat.com>
1445 * sysdep/alpha/locks.h (read_barrier): New.
1447 2007-02-09 Keith Seitz <keiths@redhat.com>
1449 * gnu/classpath/jdwp/VMVirtualMachine.java
1450 (_stepping_threads): New member.
1451 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1453 * gnu/classpath/jdwp/VMVirtualMachine.h:
1455 * gnu/claspath/jdwp/natVMVirtualMachine.cc
1456 (get_request_step_filter): New function.
1457 (DISABLE_EVENT): New macro.
1458 (initialize): Initialize _stepping_threads.
1459 (registerEvent): Implement EVENT_SINGLE_STEP.
1460 (unregisterEvent): Likewise.
1462 2007-02-08 Keith Seitz <keiths@redhat.com>
1464 * sources.am: Regenerate.
1465 * Makefile.in: Regenerate.
1466 * testsuite/Makefile.in: Regenerate.
1467 * gcj/Makefile.in: Regenerate.
1468 * include/Makefile.in: Regenerate.
1470 * classpath/lib/javax/management/MBeanServerFactory.class:
1473 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1475 * classpath/gnu/classpath/jdwp/processor/
1476 StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1478 (executeSetValues): Ditto.
1479 (executeThisObject): Ditto.
1480 * classpath/gnu/classpath/jdwp/processor/
1481 StackFrameCommandSet.class: Rebuilt.
1482 * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1484 * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1485 * classpath/lib/gnu/classpath/jdwp/exception/
1486 InvalidFrameException.java: New file.
1487 * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1489 (Constructor): New method.
1490 * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1491 * gnu/classpath/jdwp/VMVirtualMachine.java
1492 (getFrame): Changed ByteBuffer to jlong.
1493 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1494 (getFrame): Implement.
1495 * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1497 2007-02-08 Kyle Galloway <kgallowa@redhat.com>
1499 * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1500 to hold "this" pointer for frame.
1501 (_Jv_InterpFrame::get_this_ptr): New method.
1502 * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1504 2007-02-07 Keith Seitz <keiths@redhat.com>
1506 * include/java-interp.h (_Jv_Frame::depth):
1508 * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1510 2007-02-07 Kyle Galloway <kgallowa@redhat.com>
1512 * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1513 (_Jv_JVMTI_GetMaxLocals): New method.
1514 * include/java-interp.h
1515 (_Jv_InterpMethod::get_max_locals): New method.
1517 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1519 * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1521 2007-02-07 Tom Tromey <tromey@redhat.com>
1523 * testsuite/libjava.jni/init.c: New file.
1524 * testsuite/libjava.jni/init.java: New file.
1525 * testsuite/libjava.jni/init.out: New file.
1526 * testsuite/libjava.jni/init.jar: New file.
1527 * testsuite/libjava.jni/init.h: New file.
1528 * testsuite/libjava.jni/init$NativeClass.h: New file.
1530 2007-02-07 Jakub Jelinek <jakub@redhat.com>
1533 * configure: Regenerate.
1535 2007-02-06 Andrew Haley <aph@redhat.com>
1537 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1538 * sources.am: Rebuild.
1540 2007-02-05 Keith Seitz <keiths@redhat.com>
1542 * jvmti.cc (_envListLock): Change type to
1543 ReentrantReadWriteLock.
1544 (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1546 (check_enabled_event): Likewise.
1547 (_Jv_GetJVMTIEnv): Likewise.
1548 (_Jv_JVMTI_Init): Likewise.
1549 (_Jv_JVMTI_PostEvent): Likewise.
1551 2007-02-05 Keith Seitz <keiths@redhat.com>
1553 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1554 (registerEvent): Implement EVENT_BREAKPOINT.
1555 (unregisterEvent): Likewise.
1556 (get_request_location): New function.
1558 2007-02-05 Matthias Klose <doko@debian.org>
1560 testsuite/Makefile.am (compile-tests): Fix typo.
1561 testsuite/Makefile.in: Regenerate.
1563 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
1565 * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1568 2007-02-02 Jakub Jelinek <jakub@redhat.com>
1570 * configure.ac (libjava_cv_anon_version_script): New test.
1571 (ANONVERSCRIPT): New AM_CONDITIONAL.
1572 * configure: Rebuilt.
1573 * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1575 * Makefile.in: Rebuilt.
1576 (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1577 * libgcj.ver: New file.
1579 2007-02-01 David Daney <ddaney@avtrex.com>
1581 * scripts/makemake.tcl: Replace gnu/xml build with build of all
1583 * sources.am: Regenerate.
1584 * Makefile.in: Regenerate.
1586 2007-02-01 Tom Tromey <tromey@redhat.com>
1588 * java/lang/ClassLoader.java (getResources): No longer final.
1590 2007-02-01 Tom Tromey <tromey@redhat.com>
1592 * java/util/logging/LogManager.java (loggers): Genericized.
1593 (addLogger): Merged.
1594 (findAncestor): Likewise.
1595 (getLogger): Likewise.
1596 (getLoggerNames): Genericized.
1598 (getLevelProperty): Likewise.
1599 * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1600 * java/lang/reflect/Constructor.java (getParameterTypes):
1602 (getExceptionTypes): Likewise.
1603 (newInstance): Likewise.
1604 * java/lang/reflect/Array.java (newInstance): Genericized.
1605 * java/lang/Object.java (getClass): Genericized.
1606 * java/nio/charset/spi/CharsetProvider.java (charsets):
1608 * java/text/Collator.java: Implement Comparable<Object>.
1610 2007-02-01 Tom Tromey <tromey@redhat.com>
1612 * java/util/Calendar.java: Implement Comparable<Calendar>. Update
1614 (clear): Call complete.
1615 (setTimeZone): Call computeTime, computeFields.
1616 (compareTo): New method.
1617 * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1618 (availableCharsets): Genericized.
1619 (aliases): Likewise.
1620 (compareTo): Changed argument type.
1621 * java/lang/ClassLoader.java (loadClass): Genericized.
1622 (findClass): Likewise.
1623 (defineClass): Likewise.
1624 (resolveClass): Likewise.
1625 (findSystemClass): Likewise.
1626 (setSigners): Likewise.
1627 (findLoadedClass): Likewise.
1628 (getResources): Likewise.
1629 (findResources): Likewise.
1630 (getSystemResources): Likewise.
1631 (checkInitialized): New method.
1632 * java/lang/Class.java (getCanonicalName): New method.
1634 2007-01-31 Keith Seitz <keiths@redhat.com>
1636 * include/jvmti-int.h (JVMTI): Declare member "enabled".
1637 * jvmti.cc (JVMTI): Add member "enabled".
1638 (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1639 * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1640 instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1641 (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1642 instead of run to compile the method.
1644 * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1647 2007-01-31 Andreas Tobler <a.tobler@schweiz.org>
1649 * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1650 -shared-libgcc to the cxxflaglist for Darwin.
1652 2007-01-31 Tom Tromey <tromey@redhat.com>
1654 * scripts.am, Makefile.in: Rebuilt.
1655 * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1657 (emit_ordinary_rule): New proc.
1659 2007-01-31 Keith Seitz <keiths@redhat.com>
1661 * testsuite/libjava.jvmti/getmethodname.h: New file.
1662 * testsuite/libjava.jvmti/getmethodname.jar: New file.
1664 2007-01-31 Andrew Haley <aph@redhat.com>
1666 * prims.cc (_Jv_Abort): fflush (stderr).
1667 * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1669 2007-01-31 Tom Tromey <tromey@redhat.com>
1671 * configure, Makefile.in: Rebuilt.
1672 * configure.ac (JAR): Check for -@ feature.
1673 * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1675 2007-01-31 Tom Tromey <tromey@redhat.com>
1678 * configure, include/config.h.in: Rebuilt.
1679 * configure.ac: Check for magic_t in magic.h.
1680 * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1682 2007-01-30 Tom Tromey <tromey@redhat.com>
1684 * Makefile.in: Rebuilt.
1685 * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1687 2007-01-30 Andreas Tobler <a.tobler@schweiz.org>
1689 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1690 cast to print it right.
1692 2007-01-29 Kaloian Doganov <kaloian@doganov.org>
1695 * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1698 2007-01-29 Kyle Galloway <kgallowa@redhat.com>
1700 * include/java-interp.h: Added _Jv_Frame class and its two
1701 subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved
1702 _Jv_FrameType from java-stack.h.
1703 * include/java-stack.h: Removed _Jv_FrameType.
1704 * java/lang/Thread.java: Added frame member to hold new
1705 composite frame stack.
1706 * java/lang/Thread.h: Regenerated.
1707 * java/lang/Thread.class: Rebuilt.
1708 * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1709 calling a JNI method.
1710 * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1711 (_Jv_JVMTI_GetFrameCount): New method.
1712 * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1714 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1715 * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1716 * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1717 * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1718 * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1721 2007-01-29 Tom Tromey <tromey@redhat.com>
1723 * interpret.cc (run_debug): Remove comment.
1730 (run_normal_debug): Likewise.
1731 (run_synch_object_debug): Likewise.
1732 (run_class_debug): Likewise.
1733 (run_synch_class_debug): Likewise.
1738 (NULLARRAYCHECK): Likewise.
1739 (ARRAYBOUNDSCHECK): Likewise.
1740 * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1742 2007-01-29 Tom Tromey <tromey@redhat.com>
1744 * configure, Makefile.in: Rebuilt.
1745 * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
1746 * configure.ac (BASH_JAR): Removed conditional.
1747 (JAR): Prefer the jar found by AC_CHECK_PROGS.
1749 2007-01-29 Tom Tromey <tromey@redhat.com>
1751 * Makefile.in: Rebuilt.
1752 * Makefile.am (interpret.lo): New target. Add -fwrap to
1755 2007-01-29 Keith Seitz <keiths@redhat.com>
1757 * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
1759 [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
1760 gcj. All jvmti object types now are defined to be their
1761 corresponding java classes.
1762 * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
1764 (_Jv_JVMTI_ResumeThread): Likewise.
1765 (_Jv_JVMTI_InterruptThread): Likewise.
1766 (_Jv_JVMTI_SetEventNotificationMode): Likewise.
1767 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1768 (jdwpClassPrepareCB): Likewise.
1769 (jdwpThreadEndCB): Likewise.
1770 (jdwpThreadStartCB): Likewise.
1771 (jdwpVMInitCB): Likewise.
1773 2007-01-28 Michele Sandri <gpointorama@gmail.com>
1775 * gnu/java/nio/channels/natFileChannelWin32.cc
1776 (lock): Implemented.
1777 (unlock): Implemented.
1779 2007-01-27 Andreas Tobler <a.tobler@schweiz.org>
1782 * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
1783 libgcj_flags to undefine 'sun' at compile time.
1784 * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
1786 (write_barrier): Likewise.
1788 2007-01-27 Keith Seitz <keiths@redhat.com>
1790 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1791 (getAllClassMethods): Move error handling to ...
1792 (throw_jvmti_error): ... here.
1793 (jdwpClassPrepareCB): New function.
1794 (jdwpThreadEndCB): New function.
1795 (jdwpThreadStartCB): New function.
1796 (jdwpVMDeathCB): New function.
1797 (jdwpVMInitCB): Define and enable callbacks for
1798 ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
1800 2007-01-27 Jakub Jelinek <jakub@redhat.com>
1802 * Makefile.am (generic_header_files): Add $(inner_nat_headers).
1803 * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
1804 (MYGCJH): New variable.
1805 (compile-tests): New goal.
1806 * Makefile.in: Rebuilt.
1807 * testsuite/Makefile.in: Rebuilt.
1809 2007-01-26 Andrew Haley <aph@redhat.com>
1811 * java/lang/natClass.cc (initializeClass): Re-throw
1813 * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
1814 * java/lang/ClassLoader.java: (loadClass): Likewise.
1816 2007-01-26 Tom Tromey <tromey@redhat.com>
1820 2007-01-25 Tom Tromey <tromey@redhat.com>
1823 * gnu/gcj/convert/Convert.java (main): Correctly handle missing
1824 input or output encodings. Removed unused local variables.
1826 2007-01-25 Keith Seitz <keiths@redhat.com>
1828 * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
1829 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1830 (_Jv_GetJDWP_JVMTIEnv): New function.
1831 * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
1832 (getSignature): Implement.
1833 (getModifiers): Implement.
1835 2007-01-25 Andrew Haley <aph@redhat.com>
1837 * configure, Makefile.in, include/config.h.in: Rebuilt.
1838 * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
1839 * configure.ac: Don't check for libmagic.
1840 * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
1841 p_magic_close, p_magic_buffer): New globals.
1842 (init): Look up 'magic' functions.
1843 (guessContentTypeFromBuffer): Updated.
1845 2007-01-25 Keith Seitz <keiths@redhat.com>
1847 * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
1848 (_Jv_JVMTI_Interface): Define GetMethodName.
1849 * testsuite/libjava.jvmti/getmethodname.java: New file.
1850 * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
1851 * testsuite/libjava.jvmti/getmethodname.out: New file.
1853 2007-01-24 Kyle Galloway <kgallowa@redhat.com>
1855 * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
1856 * libjava/testsuite/libjava.jvmti/interp: New folder.
1857 * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
1859 2007-01-24 Keith Seitz <keiths@redhat.com>
1861 * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
1862 CLASS_PREPARE notification.
1864 2007-01-24 Keith Seitz <keiths@redhat.com>
1866 * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
1867 gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
1868 * interpret-run.cc: Implement insn_breakpoint.
1870 2007-01-24 Keith Seitz <keiths@redhat.com>
1872 * prims.cc (_Jv_RunMain): Send JVMTI event notifications
1873 for VM_INIT and VM_DEATH instead of the JDWP notifications.
1875 2007-01-24 Keith Seitz <keiths@redhat.com>
1877 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1878 (getAllClassMethods): Implement.
1880 2007-01-24 Andrew Haley <aph@redhat.com>
1882 * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
1883 (getClassContext) Add a barrier to prevent GetStackWalkerStack()
1884 from being sibcalled.
1886 2007-01-24 Andrew Haley <aph@redhat.com>
1888 * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1889 * sources.am: Rebuild.
1891 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
1893 * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
1894 _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
1896 2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
1899 * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
1900 * Makefile.in: Regenerated.
1902 2007-01-22 Keith Seitz <keiths@redhat.com>
1904 * gnu/classpath/jdwp/natVMVirtualMachine.cc
1905 (getClassMethod): Implement.
1907 2007-01-22 Keith Seitz <keiths@redhat.com>
1909 * java/lang/Class.h (_Jv_GetClassStatus): Declare.
1910 * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
1911 * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
1912 (_Jv_JVMTI_Interface): Define GetClassStatus.
1914 2007-01-22 Tom Tromey <tromey@redhat.com>
1916 * configure: Rebuilt.
1917 * configure.ac (GCJ): Reverted patch of 2006-12-20.
1919 2007-01-22 Tom Tromey <tromey@redhat.com>
1922 * testsuite/libjava.jni/pr29812.java: New file.
1923 * testsuite/libjava.jni/pr29812_injar.java: New file.
1924 * testsuite/libjava.jni/pr29812_injar.jar: New file.
1925 * testsuite/libjava.jni/pr29812.out: New file.
1926 * testsuite/libjava.jni/pr29812_injar.c: New file.
1927 * testsuite/libjava.jni/pr29812_injar.h: New file.
1928 * testsuite/libjava.jni/pr29812.jar: New file.
1929 * testsuite/libjava.jni/pr29812.c: New file.
1930 * testsuite/libjava.jni/pr29812.h: New file.
1931 * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
1933 (gcj_jni_invocation_test_one): Use it.
1934 (gcj_jni_pr29812): New proc.
1935 (gcj_jni_run): Use it.
1936 * java/lang/natRuntime.cc (_load): Push a new system frame before
1938 * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
1939 (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
1940 * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
1941 <allocated_p>: Now bool.
1942 <loader>: New field.
1943 (_Jv_JNI_EnsureLocalCapacity): Updated.
1944 (_Jv_JNI_NewLocalRef): Likewise.
1945 (_Jv_JNI_NewLocalRef): Likewise.
1946 (_Jv_JNI_PopLocalFrame): Likewise.
1947 (_Jv_JNI_FindClass): Likewise.
1948 (_Jv_GetJNIEnvNewFrame): Likewise.
1949 (_Jv_JNI_AttachCurrentThread): Likewise.
1950 (_Jv_GetJNIEnvNewFrameWithLoader): New function.
1951 (_Jv_GetJNIEnvNewFrame): Use it.
1952 * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
1954 2007-01-22 Tom Tromey <tromey@redhat.com>
1956 * libtool-version: Bump current to 9.
1958 2007-01-22 Andrew Haley <aph@redhat.com>
1960 * sysdep/alpha/locks.h (write_barrier): New.
1962 2007-01-21 Matthias Klose <doko@debian.org>
1964 * Makefile.am (install-exec-hook): Use transformed name.
1965 * Makefile.in: Regenerate.
1967 2007-01-19 Keith Seitz <keiths@redhat.com>
1969 * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
1970 in methods and reformat.
1972 * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
1975 2007-01-18 Keith Seitz <keiths@redhat.com>
1977 From Macro Trudel <mtrudel@gmx.ch>:
1978 * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
1981 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
1983 * jni.cc (_Jv_JNI_FindClass): Initialize class.
1984 * testsuite/libjava.jni/findclass2.jar: New file.
1985 * testsuite/libjava.jni/findclass2.h: New file.
1986 * testsuite/libjava.jni/findclass2.java: New file
1987 * testsuite/libjava.jni/findclass2.c: New file.
1988 * testsuite/libjava.jni/findclass2.out: New file.
1990 2007-01-18 Tom Tromey <tromey@redhat.com>
1992 * configure: Rebuilt.
1993 * configure.ac: Use multi_basedir instead of libgcj_basedir.
1995 2007-01-18 Gary Benson <gbenson@redhat.com>
1997 * gnu/java/nio/natVMPipeEcos.cc:
1998 Renamed from gnu/java/nio/natPipeImplEcos.cc.
1999 * gnu/java/nio/natVMPipePosix.cc:
2000 Renamed from gnu/java/nio/natPipeImplPosix.cc.
2001 * gnu/java/nio/natVMPipeWin32.cc:
2002 Renamed from gnu/java/nio/natPipeImplWin32.cc.
2003 * gnu/java/nio/natVMSelectorEcos.cc:
2004 Renamed from gnu/java/nio/natSelectorImplEcos.cc.
2005 * gnu/java/nio/natVMSelectorPosix.cc:
2006 Renamed from gnu/java/nio/natSelectorImplPosix.cc.
2007 * gnu/java/nio/natVMSelectorWin32.cc:
2008 Renamed from gnu/java/nio/natSelectorImplWin32.cc.
2009 * java/io/natVMObjectInputStream.cc:
2010 Renamed from java/io/natObjectInputStream.cc.
2011 * java/lang/natVMDouble.cc:
2012 Renamed from java/lang/natDouble.cc.
2013 * java/lang/natVMFloat.cc:
2014 Renamed from java/lang/natFloat.cc.
2015 * Makefile.am, configure.ac: Reflect the above.
2016 * Makefile.in, configure: Rebuilt.
2018 2007-01-17 Andrew Haley <aph@redhat.com>
2020 * Makefile.in: Rebuilt.
2021 * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
2023 2007-01-17 Keith Seitz <keiths@redhat.com>
2025 * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
2026 (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
2028 2007-01-16 Jack Howarth <howarth@bromo.med.uc.edu>
2030 * configure.ac: Use multi.m4 from aclocal rather than custom
2031 code. Use multi_basedir instead libgcj_basedir. Test for
2032 /proc/self/exe when not cross-compiling.
2033 * aclocal.m4: Regenerate.
2034 * configure: Regenerate.
2035 * Makefile.in: Regenerate.
2037 2007-01-17 Gary Benson <gbenson@redhat.com>
2039 * java/nio/natVMDirectByteBufferImpl.cc:
2040 Renamed from java/nio/natDirectByteBufferImpl.cc.
2041 * Makefile.am: Reflect the above.
2042 * Makefile.in: Rebuilt.
2044 2007-01-17 Marco Trudel <mtrudel@gmx.ch>
2046 * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL.
2047 Fixed indentation. Removed unused variable.
2049 2007-01-16 Tom Tromey <tromey@redhat.com>
2051 * java/lang/natThread.cc (finalize_native): Remove cast.
2052 (_Jv_GetCurrentJNIEnv): Likewise.
2053 * include/jvm.h (struct natThread) <jni_env>: Declare as
2056 2007-01-16 Keith Seitz <keiths@redhat.com>
2058 * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
2059 %#llx instead of %d for new_value.
2060 * testsuite/libjava.jvmti/events.out: Update expected output.
2061 * testsuite/libjava.jvmti/events.jar: Regenerate.
2063 2007-01-16 Keith Seitz <keiths@redhat.com>
2065 * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
2067 (ENABLE_EVENT): New macro.
2068 (initialize): Define and enable JVMTI VM_INIT callback.
2069 (jdwpVMInitCB): New function.
2071 2007-01-16 Kyle Galloway <kgallowa@redhat.com>
2073 * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
2074 * testsuite/libjava.jvmti/getallthreads.java: New test.
2075 * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
2076 * testsuite/libjava.jvmti/getallthreads.out: Ditto.
2077 * testsuite/libjava.jvmti/getallthreads.h: Ditto.
2078 * testsuite/libjava.jvmti/getallthreads.jar: Ditto.
2080 2007-01-15 Keith Seitz <keiths@redhat.com>
2082 * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
2083 java.lang.StringBuilder instead of java.lang.StringBuffer.
2084 (resumeThread): Likewise.
2086 2007-01-15 Gary Benson <gbenson@redhat.com>
2088 * java/nio/MappedByteBuffer.java: Removed.
2089 * sources.am, Makefile.in: Rebuilt.
2091 2007-01-15 Gary Benson <gbenson@redhat.com>
2093 * java/net/URLClassLoader.java: Removed.
2094 * gnu/java/net/loader/Load_gcjlib.java: New file.
2095 * gnu/gcj/runtime/BootClassLoader.java: Ensure core
2096 URL handler is present in static executables.
2097 * sources.am, Makefile.in: Rebuilt.
2099 2007-01-14 H.J. Lu <hongjiu.lu@intel.com>
2101 * Makefile.am (libgcj_la_LDFLAGS): Add
2102 $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
2103 (libgcj_tools_la_LDFLAGS): Likewise.
2104 (libgcj_bc_la_LDFLAGS): Likewise.
2105 * Makefile.in: Regenerated.
2107 * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set
2108 LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set
2109 libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
2110 Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
2111 * configure: Regenerated.
2112 * aclocal.m4: Likewise.
2113 * gcj/Makefile.in: Likewise.
2114 * include/Makefile.in: Likewise.
2115 * testsuite/Makefile.in: Likewise.
2117 2007-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
2119 * sysdep/sh/locks.h (read_barrier): New.
2120 (write_barrier): Likewise.
2122 2007-01-12 Andrew Haley <aph@redhat.com>
2124 * include/i386-signal.h: Rewrite to use rt_sigaction.
2126 2007-01-11 Andrew Haley <aph@redhat.com>
2128 * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
2130 * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
2133 2007-01-10 Tom Tromey <tromey@redhat.com>
2135 * gnu/gcj/xlib/*.h: New files.
2136 * gnu/awt/xlib/*.h: Likewise.
2137 * classpath/lib/gnu/gcj/xlib: New class files.
2138 * classpath/lib/gnu/awt/xlib: Likewise.
2140 2007-01-10 Tom Tromey <tromey@redhat.com>
2142 * HACKING: Various updates.
2144 2007-01-10 Tom Tromey <tromey@redhat.com>
2146 * java/lang/natDouble.cc (toString): Added parens.
2147 * gnu/gcj/io/shs.h (PROTO): Define.
2148 * link.cc (resolve_pool_entry): Added missing braces.
2150 2007-01-10 H.J. Lu <hongjiu.lu@intel.com>
2153 * sysdep/ia64/locks.h (read_barrier): New.
2154 (write_barrier): New.
2156 2007-01-10 Gary Benson <gbenson@redhat.com>
2158 * java/net/URL.java: Removed.
2159 * sources.am, Makefile.in: Rebuilt.
2161 2007-01-10 Matthias Klose <doko@debian.org>
2163 * Makefile.am (install-exec-hook): Support $(DESTDIR).
2164 * Makefile.in: Regenerated.
2166 2007-01-05 Tom Tromey <tromey@redhat.com>
2168 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
2169 dummy.class in srcdir.
2171 2007-01-03 Tom Tromey <tromey@redhat.com>
2173 * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
2176 2007-01-03 Tom Tromey <tromey@redhat.com>
2178 * testsuite/*: Added many .jar and .h files.
2179 * testsuite/libjava.special/special.exp
2180 (gcj_special_try_compiler): New proc.
2181 * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
2182 bytecompile source. Search for .jar files.
2183 (gcj_loader_test_one): Don't look for MyLoader.java.
2184 * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
2185 bytecompile sources or build headers.
2186 (gcj_jvmti_run): Look for .jar files.
2187 * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
2189 (gcj_jni_test_one): Don't bytecompile sources or build headers.
2190 Set classpath when invoking gij.
2191 (gcj_jni_invocation_test_one): Likewise.
2192 * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
2193 headers or bytecompile sources.
2194 (gcj_cni_run): Use .jar files, not .java files.
2195 * testsuite/libjava.lang/lang.exp: Compile .jar files.
2197 2007-01-02 Tom Tromey <tromey@redhat.com>
2199 * configure: Rebuilt.
2200 * configure.ac: Check for gjar.
2202 2007-01-02 Tom Tromey <tromey@redhat.com>
2204 * testsuite/libjava.jacks/jacks.exp: Removed.
2205 * testsuite/libjava.jacks/jacks.xfail: Removed.