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