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