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