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