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