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