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