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