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