OSDN Git Service

2007-02-07 Bruno Haible <bruno@clisp.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
2
3         PR libgomp/28468
4         * configure: Regenerate.
5
6 2007-02-06  Andrew Haley  <aph@redhat.com>
7
8         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
9         * sources.am: Rebuild.
10
11 2007-02-05  Keith Seitz  <keiths@redhat.com>
12
13         * jvmti.cc (_envListLock): Change type to
14         ReentrantReadWriteLock.
15         (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
16         lock.
17         (check_enabled_event): Likewise.
18         (_Jv_GetJVMTIEnv): Likewise.
19         (_Jv_JVMTI_Init): Likewise.
20         (_Jv_JVMTI_PostEvent): Likewise. 
21
22 2007-02-05  Keith Seitz  <keiths@redhat.com>
23
24         * gnu/classpath/jdwp/natVMVirtualMachine.cc
25         (registerEvent): Implement EVENT_BREAKPOINT.
26         (unregisterEvent): Likewise.
27         (get_request_location): New function.
28
29 2007-02-05  Matthias Klose  <doko@debian.org>
30
31         testsuite/Makefile.am (compile-tests): Fix typo.
32         testsuite/Makefile.in: Regenerate.
33
34 2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
35
36         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
37         Implment.
38
39 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
40
41         * configure.ac (libjava_cv_anon_version_script): New test.
42         (ANONVERSCRIPT): New AM_CONDITIONAL.
43         * configure: Rebuilt.
44         * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
45         if ANONVERSCRIPT.
46         * Makefile.in: Rebuilt.
47         (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
48         * libgcj.ver: New file.
49
50 2007-02-01  David Daney  <ddaney@avtrex.com>
51
52         * scripts/makemake.tcl: Replace gnu/xml build with build of all
53         its subpackages.
54         * sources.am: Regenerate.
55         * Makefile.in: Regenerate.
56
57 2007-02-01  Tom Tromey  <tromey@redhat.com>
58
59         * java/lang/ClassLoader.java (getResources): No longer final.
60
61 2007-02-01  Tom Tromey  <tromey@redhat.com>
62
63         * java/util/logging/LogManager.java (loggers): Genericized.
64         (addLogger): Merged.
65         (findAncestor): Likewise.
66         (getLogger): Likewise.
67         (getLoggerNames): Genericized.
68         (reset): Merged.
69         (getLevelProperty): Likewise.
70         * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
71         * java/lang/reflect/Constructor.java (getParameterTypes):
72         Genericized.
73         (getExceptionTypes): Likewise.
74         (newInstance): Likewise.
75         * java/lang/reflect/Array.java (newInstance): Genericized.
76         * java/lang/Object.java (getClass): Genericized.
77         * java/nio/charset/spi/CharsetProvider.java (charsets):
78         Genericized.
79         * java/text/Collator.java: Implement Comparable<Object>.
80
81 2007-02-01  Tom Tromey  <tromey@redhat.com>
82
83         * java/util/Calendar.java: Implement Comparable<Calendar>.  Update
84         comments.
85         (clear): Call complete.
86         (setTimeZone): Call computeTime, computeFields.
87         (compareTo): New method.
88         * java/nio/charset/Charset.java: Implement Comparable<Charset>.
89         (availableCharsets): Genericized.
90         (aliases): Likewise.
91         (compareTo): Changed argument type.
92         * java/lang/ClassLoader.java (loadClass): Genericized.
93         (findClass): Likewise.
94         (defineClass): Likewise.
95         (resolveClass): Likewise.
96         (findSystemClass): Likewise.
97         (setSigners): Likewise.
98         (findLoadedClass): Likewise.
99         (getResources): Likewise.
100         (findResources): Likewise.
101         (getSystemResources): Likewise.
102         (checkInitialized): New method.
103         * java/lang/Class.java (getCanonicalName): New method.
104
105 2007-01-31  Keith Seitz  <keiths@redhat.com>
106
107         * include/jvmti-int.h (JVMTI): Declare member "enabled".
108         * jvmti.cc (JVMTI): Add member "enabled".
109         (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
110         * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
111         instead of gnu::classpath::jdwp::Jdwp::isDebugging.
112         (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
113         instead of run to compile the method.
114
115         * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
116         notification.
117
118 2007-01-31  Andreas Tobler  <a.tobler@schweiz.org>
119
120         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
121         -shared-libgcc to the cxxflaglist for Darwin.
122
123 2007-01-31  Tom Tromey  <tromey@redhat.com>
124
125         * scripts.am, Makefile.in: Rebuilt.
126         * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
127         as 'ordinary'.
128         (emit_ordinary_rule): New proc.
129
130 2007-01-31  Keith Seitz  <keiths@redhat.com>
131
132         * testsuite/libjava.jvmti/getmethodname.h: New file.
133         * testsuite/libjava.jvmti/getmethodname.jar: New file.
134
135 2007-01-31  Andrew Haley  <aph@redhat.com>
136
137         * prims.cc (_Jv_Abort): fflush (stderr).
138         * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
139
140 2007-01-31  Tom Tromey  <tromey@redhat.com>
141
142         * configure, Makefile.in: Rebuilt.
143         * configure.ac (JAR): Check for -@ feature.
144         * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
145
146 2007-01-31  Tom Tromey  <tromey@redhat.com>
147
148         PR libgcj/30606:
149         * configure, include/config.h.in: Rebuilt.
150         * configure.ac: Check for magic_t in magic.h.
151         * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
152
153 2007-01-30  Tom Tromey  <tromey@redhat.com>
154
155         * Makefile.in: Rebuilt.
156         * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
157
158 2007-01-30  Andreas Tobler  <a.tobler@schweiz.org>
159
160         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
161         cast to print it right.
162
163 2007-01-29  Kaloian Doganov  <kaloian@doganov.org>
164
165         PR libgcj/30600:
166         * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
167         'limit'.
168
169 2007-01-29  Kyle Galloway  <kgallowa@redhat.com>
170
171         * include/java-interp.h:  Added _Jv_Frame class and its two
172         subclasses _Jv_InterpFrame and _Jv_NativeFrame.  Also moved
173         _Jv_FrameType from java-stack.h.
174         * include/java-stack.h: Removed _Jv_FrameType.
175         * java/lang/Thread.java: Added frame member to hold new
176         composite frame stack.
177         * java/lang/Thread.h: Regenerated.
178         * java/lang/Thread.class: Rebuilt.
179         * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
180         calling a JNI method.
181         * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
182         (_Jv_JVMTI_GetFrameCount): New method.
183         * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
184         classes.
185         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
186         * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
187         * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
188         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
189         * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
190         for test. 
191
192 2007-01-29  Tom Tromey  <tromey@redhat.com>
193
194         * interpret.cc (run_debug): Remove comment.
195         (STOREA): Reformat.
196         (STOREI): Likewise.
197         (STOREF): Likewise.
198         (STOREL): Likewise.
199         (STORED): Likewise.
200         (POKEI): Likewise.
201         (run_normal_debug): Likewise.
202         (run_synch_object_debug): Likewise.
203         (run_class_debug): Likewise.
204         (run_synch_class_debug): Likewise.
205         (get1s): Likewise.
206         (get1u): Likewise.
207         (get2u): Likewise.
208         (get4): Likewise.
209         (NULLARRAYCHECK): Likewise.
210         (ARRAYBOUNDSCHECK): Likewise.
211         * interpret-run.cc (insn_target) <breakpoint>: Tidy.
212
213 2007-01-29  Tom Tromey  <tromey@redhat.com>
214
215         * configure, Makefile.in: Rebuilt.
216         * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
217         * configure.ac (BASH_JAR): Removed conditional.
218         (JAR): Prefer the jar found by AC_CHECK_PROGS.
219
220 2007-01-29  Tom Tromey  <tromey@redhat.com>
221
222         * Makefile.in: Rebuilt.
223         * Makefile.am (interpret.lo): New target.  Add -fwrap to
224         AM_CXXFLAGS.
225
226 2007-01-29  Keith Seitz  <keiths@redhat.com>
227
228         * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
229         Define.
230         [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
231         gcj. All jvmti object types now are defined to be their
232         corresponding java classes.
233         * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
234         jthread to Thread*.
235         (_Jv_JVMTI_ResumeThread): Likewise.
236         (_Jv_JVMTI_InterruptThread): Likewise.
237         (_Jv_JVMTI_SetEventNotificationMode): Likewise.
238         * gnu/classpath/jdwp/natVMVirtualMachine.cc
239         (jdwpClassPrepareCB): Likewise.
240         (jdwpThreadEndCB): Likewise.
241         (jdwpThreadStartCB): Likewise.
242         (jdwpVMInitCB): Likewise.
243  
244 2007-01-28  Michele Sandri  <gpointorama@gmail.com>
245
246         * gnu/java/nio/channels/natFileChannelWin32.cc
247         (lock): Implemented.
248         (unlock): Implemented.
249
250 2007-01-27  Andreas Tobler  <a.tobler@schweiz.org>
251
252         PR libgcj/30513
253         * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
254         libgcj_flags to undefine 'sun' at compile time.
255         * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
256         Sparc.
257         (write_barrier): Likewise.
258
259 2007-01-27  Keith Seitz  <keiths@redhat.com>
260
261         * gnu/classpath/jdwp/natVMVirtualMachine.cc
262         (getAllClassMethods): Move error handling to ...
263         (throw_jvmti_error): ... here.
264         (jdwpClassPrepareCB): New function.
265         (jdwpThreadEndCB): New function.
266         (jdwpThreadStartCB): New function.
267         (jdwpVMDeathCB): New function.
268         (jdwpVMInitCB): Define and enable callbacks for
269         ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
270
271 2007-01-27  Jakub Jelinek  <jakub@redhat.com>
272
273         * Makefile.am (generic_header_files): Add $(inner_nat_headers).
274         * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
275         (MYGCJH): New variable.
276         (compile-tests): New goal.
277         * Makefile.in: Rebuilt.
278         * testsuite/Makefile.in: Rebuilt.
279
280 2007-01-26  Andrew Haley  <aph@redhat.com>
281
282         * java/lang/natClass.cc (initializeClass): Re-throw
283         SecurityExceptions.
284         * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
285         * java/lang/ClassLoader.java: (loadClass): Likewise.
286
287 2007-01-26  Tom Tromey  <tromey@redhat.com>
288
289         * Updated headers.
290
291 2007-01-25  Tom Tromey  <tromey@redhat.com>
292
293         PR libgcj/29594:
294         * gnu/gcj/convert/Convert.java (main): Correctly handle missing
295         input or output encodings.  Removed unused local variables.
296
297 2007-01-25  Keith Seitz  <keiths@redhat.com>
298
299         * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
300         * gnu/classpath/jdwp/natVMVirtualMachine.cc
301         (_Jv_GetJDWP_JVMTIEnv): New function.
302         * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
303         (getSignature): Implement.
304         (getModifiers): Implement.
305
306 2007-01-25  Andrew Haley  <aph@redhat.com>
307
308         * configure, Makefile.in, include/config.h.in: Rebuilt.
309         * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
310         * configure.ac: Don't check for libmagic.
311         * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
312         p_magic_close, p_magic_buffer): New globals.
313         (init): Look up 'magic' functions.
314         (guessContentTypeFromBuffer): Updated.
315
316 2007-01-25  Keith Seitz  <keiths@redhat.com>
317
318         * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
319         (_Jv_JVMTI_Interface): Define GetMethodName.
320         * testsuite/libjava.jvmti/getmethodname.java: New file.
321         * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
322         * testsuite/libjava.jvmti/getmethodname.out: New file. 
323
324 2007-01-24  Kyle Galloway  <kgallowa@redhat.com>
325
326     * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
327     * libjava/testsuite/libjava.jvmti/interp: New folder.
328     * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
329
330 2007-01-24  Keith Seitz  <keiths@redhat.com>
331
332         * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
333         CLASS_PREPARE notification.
334
335 2007-01-24  Keith Seitz  <keiths@redhat.com>
336
337         * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
338         gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
339         * interpret-run.cc: Implement insn_breakpoint.
340
341 2007-01-24  Keith Seitz  <keiths@redhat.com>
342
343         * prims.cc (_Jv_RunMain): Send JVMTI event notifications
344         for VM_INIT and VM_DEATH instead of the JDWP notifications.
345
346 2007-01-24  Keith Seitz  <keiths@redhat.com>
347
348         * gnu/classpath/jdwp/natVMVirtualMachine.cc
349         (getAllClassMethods): Implement.
350
351 2007-01-24  Andrew Haley  <aph@redhat.com>
352
353         * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
354         (getClassContext) Add a barrier to prevent GetStackWalkerStack()
355         from being sibcalled.
356
357 2007-01-24  Andrew Haley  <aph@redhat.com>
358
359         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
360         * sources.am: Rebuild.
361
362 2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
363
364         * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
365         _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
366
367 2007-01-23  H.J. Lu  <hongjiu.lu@intel.com>
368
369         PR libgcj/30550
370         * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
371         * Makefile.in: Regenerated.
372
373 2007-01-22  Keith Seitz  <keiths@redhat.com>
374
375         * gnu/classpath/jdwp/natVMVirtualMachine.cc
376         (getClassMethod): Implement.
377
378 2007-01-22  Keith  Seitz  <keiths@redhat.com>
379
380         * java/lang/Class.h (_Jv_GetClassStatus): Declare.
381         * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
382         * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
383         (_Jv_JVMTI_Interface): Define GetClassStatus.
384
385 2007-01-22  Tom Tromey  <tromey@redhat.com>
386
387         * configure: Rebuilt.
388         * configure.ac (GCJ): Reverted patch of 2006-12-20.
389
390 2007-01-22  Tom Tromey  <tromey@redhat.com>
391
392         PR java/29812:
393         * testsuite/libjava.jni/pr29812.java: New file.
394         * testsuite/libjava.jni/pr29812_injar.java: New file.
395         * testsuite/libjava.jni/pr29812_injar.jar: New file.
396         * testsuite/libjava.jni/pr29812.out: New file.
397         * testsuite/libjava.jni/pr29812_injar.c: New file.
398         * testsuite/libjava.jni/pr29812_injar.h: New file.
399         * testsuite/libjava.jni/pr29812.jar: New file.
400         * testsuite/libjava.jni/pr29812.c: New file.
401         * testsuite/libjava.jni/pr29812.h: New file.
402         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
403         New proc.
404         (gcj_jni_invocation_test_one): Use it.
405         (gcj_jni_pr29812): New proc.
406         (gcj_jni_run): Use it.
407         * java/lang/natRuntime.cc (_load): Push a new system frame before
408         calling JNI_OnLoad.
409         * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
410         (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
411         * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
412         <allocated_p>: Now bool.
413         <loader>: New field.
414         (_Jv_JNI_EnsureLocalCapacity): Updated.
415         (_Jv_JNI_NewLocalRef): Likewise.
416         (_Jv_JNI_NewLocalRef): Likewise.
417         (_Jv_JNI_PopLocalFrame): Likewise.
418         (_Jv_JNI_FindClass): Likewise.
419         (_Jv_GetJNIEnvNewFrame): Likewise.
420         (_Jv_JNI_AttachCurrentThread): Likewise.
421         (_Jv_GetJNIEnvNewFrameWithLoader): New function.
422         (_Jv_GetJNIEnvNewFrame): Use it.
423         * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
424
425 2007-01-22  Tom Tromey  <tromey@redhat.com>
426
427         * libtool-version: Bump current to 9.
428
429 2007-01-22  Andrew Haley  <aph@redhat.com>
430
431         * sysdep/alpha/locks.h (write_barrier): New.
432
433 2007-01-21  Matthias Klose  <doko@debian.org>
434
435         * Makefile.am (install-exec-hook): Use transformed name.
436         * Makefile.in: Regenerate.
437
438 2007-01-19  Keith Seitz  <keiths@redhat.com>
439
440         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
441         in methods and reformat.
442
443         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
444         MAYBE_UNUSED.
445
446 2007-01-18  Keith Seitz  <keiths@redhat.com>
447
448         From Macro Trudel <mtrudel@gmx.ch>:
449         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
450         Use JNICALL.
451
452 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
453
454         * jni.cc (_Jv_JNI_FindClass): Initialize class.
455         * testsuite/libjava.jni/findclass2.jar: New file.
456         * testsuite/libjava.jni/findclass2.h: New file.
457         * testsuite/libjava.jni/findclass2.java: New file
458         * testsuite/libjava.jni/findclass2.c: New file.
459         * testsuite/libjava.jni/findclass2.out: New file.
460
461 2007-01-18  Tom Tromey  <tromey@redhat.com>
462
463         * configure: Rebuilt.
464         * configure.ac: Use multi_basedir instead of libgcj_basedir.
465
466 2007-01-18  Gary Benson  <gbenson@redhat.com>
467
468         * gnu/java/nio/natVMPipeEcos.cc:
469         Renamed from gnu/java/nio/natPipeImplEcos.cc.
470         * gnu/java/nio/natVMPipePosix.cc:
471         Renamed from gnu/java/nio/natPipeImplPosix.cc.
472         * gnu/java/nio/natVMPipeWin32.cc:
473         Renamed from gnu/java/nio/natPipeImplWin32.cc.
474         * gnu/java/nio/natVMSelectorEcos.cc:
475         Renamed from gnu/java/nio/natSelectorImplEcos.cc.
476         * gnu/java/nio/natVMSelectorPosix.cc:
477         Renamed from gnu/java/nio/natSelectorImplPosix.cc.
478         * gnu/java/nio/natVMSelectorWin32.cc:
479         Renamed from gnu/java/nio/natSelectorImplWin32.cc.
480         * java/io/natVMObjectInputStream.cc:
481         Renamed from java/io/natObjectInputStream.cc.
482         * java/lang/natVMDouble.cc:
483         Renamed from java/lang/natDouble.cc.
484         * java/lang/natVMFloat.cc:
485         Renamed from java/lang/natFloat.cc.     
486         * Makefile.am, configure.ac: Reflect the above.
487         * Makefile.in, configure: Rebuilt.
488
489 2007-01-17  Andrew Haley  <aph@redhat.com>
490
491         * Makefile.in: Rebuilt.
492         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
493
494 2007-01-17  Keith Seitz  <keiths@redhat.com>
495
496         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
497         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
498
499 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
500
501         * configure.ac: Use multi.m4 from aclocal rather than custom
502         code.  Use multi_basedir instead libgcj_basedir.  Test for
503         /proc/self/exe when not cross-compiling.
504         * aclocal.m4: Regenerate.
505         * configure: Regenerate.
506         * Makefile.in: Regenerate.
507
508 2007-01-17  Gary Benson  <gbenson@redhat.com>
509
510         * java/nio/natVMDirectByteBufferImpl.cc:
511         Renamed from java/nio/natDirectByteBufferImpl.cc.
512         * Makefile.am: Reflect the above.
513         * Makefile.in: Rebuilt.
514         
515 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
516
517         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
518         Fixed indentation.  Removed unused variable.
519
520 2007-01-16  Tom Tromey  <tromey@redhat.com>
521
522         * java/lang/natThread.cc (finalize_native): Remove cast.
523         (_Jv_GetCurrentJNIEnv): Likewise.
524         * include/jvm.h (struct natThread) <jni_env>: Declare as
525         _Jv_JNIEnv*.
526
527 2007-01-16  Keith Seitz  <keiths@redhat.com>
528
529         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
530         %#llx instead of %d for new_value.
531         * testsuite/libjava.jvmti/events.out: Update expected output.
532         * testsuite/libjava.jvmti/events.jar: Regenerate.
533
534 2007-01-16  Keith Seitz  <keiths@redhat.com>
535
536         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
537         New macro.
538         (ENABLE_EVENT): New macro.
539         (initialize): Define and enable JVMTI VM_INIT callback.
540         (jdwpVMInitCB): New function.
541
542 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
543
544         * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
545         * testsuite/libjava.jvmti/getallthreads.java: New test.
546         * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
547         * testsuite/libjava.jvmti/getallthreads.out: Ditto.
548         * testsuite/libjava.jvmti/getallthreads.h: Ditto.
549         * testsuite/libjava.jvmti/getallthreads.jar: Ditto. 
550
551 2007-01-15  Keith Seitz  <keiths@redhat.com>
552
553         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
554         java.lang.StringBuilder instead of java.lang.StringBuffer.
555         (resumeThread): Likewise.
556
557 2007-01-15  Gary Benson  <gbenson@redhat.com>
558
559         * java/nio/MappedByteBuffer.java: Removed.
560         * sources.am, Makefile.in: Rebuilt.
561
562 2007-01-15  Gary Benson  <gbenson@redhat.com>
563
564         * java/net/URLClassLoader.java: Removed.
565         * gnu/java/net/loader/Load_gcjlib.java: New file.
566         * gnu/gcj/runtime/BootClassLoader.java: Ensure core
567         URL handler is present in static executables.
568         * sources.am, Makefile.in: Rebuilt.
569
570 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
571
572         * Makefile.am (libgcj_la_LDFLAGS): Add
573         $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
574         (libgcj_tools_la_LDFLAGS): Likewise.
575         (libgcj_bc_la_LDFLAGS): Likewise.
576         * Makefile.in: Regenerated.
577
578         * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC.  Set
579         LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS.  Set
580         libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
581         Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
582         * configure: Regenerated.
583         * aclocal.m4: Likewise.
584         * gcj/Makefile.in: Likewise.
585         * include/Makefile.in: Likewise.
586         * testsuite/Makefile.in: Likewise.
587
588 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
589
590         * sysdep/sh/locks.h (read_barrier): New.
591         (write_barrier): Likewise.
592
593 2007-01-12  Andrew Haley  <aph@redhat.com>
594
595         * include/i386-signal.h: Rewrite to use rt_sigaction.
596
597 2007-01-11  Andrew Haley  <aph@redhat.com>
598
599         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
600         to char*.
601         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
602         aliasing violation.
603
604 2007-01-10  Tom Tromey  <tromey@redhat.com>
605
606         * gnu/gcj/xlib/*.h: New files.
607         * gnu/awt/xlib/*.h: Likewise.
608         * classpath/lib/gnu/gcj/xlib: New class files.
609         * classpath/lib/gnu/awt/xlib: Likewise.
610
611 2007-01-10  Tom Tromey  <tromey@redhat.com>
612
613         * HACKING: Various updates.
614
615 2007-01-10  Tom Tromey  <tromey@redhat.com>
616
617         * java/lang/natDouble.cc (toString): Added parens.
618         * gnu/gcj/io/shs.h (PROTO): Define.
619         * link.cc (resolve_pool_entry): Added missing braces.
620
621 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
622
623         PR libgcj/30424
624         * sysdep/ia64/locks.h (read_barrier): New.
625         (write_barrier): New.
626
627 2007-01-10  Gary Benson  <gbenson@redhat.com>
628
629         * java/net/URL.java: Removed.
630         * sources.am, Makefile.in: Rebuilt.
631
632 2007-01-10  Matthias Klose  <doko@debian.org>
633
634         * Makefile.am (install-exec-hook): Support $(DESTDIR).
635         * Makefile.in: Regenerated.
636
637 2007-01-05  Tom Tromey  <tromey@redhat.com>
638
639         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
640         dummy.class in srcdir.
641
642 2007-01-03  Tom Tromey  <tromey@redhat.com>
643
644         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
645         for srcdir.
646
647 2007-01-03  Tom Tromey  <tromey@redhat.com>
648
649         * testsuite/*: Added many .jar and .h files.
650         * testsuite/libjava.special/special.exp
651         (gcj_special_try_compiler): New proc.
652         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
653         bytecompile source.  Search for .jar files.
654         (gcj_loader_test_one): Don't look for MyLoader.java.
655         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
656         bytecompile sources or build headers.
657         (gcj_jvmti_run): Look for .jar files.
658         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
659         files.
660         (gcj_jni_test_one): Don't bytecompile sources or build headers.
661         Set classpath when invoking gij.
662         (gcj_jni_invocation_test_one): Likewise.
663         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
664         headers or bytecompile sources.
665         (gcj_cni_run): Use .jar files, not .java files.
666         * testsuite/libjava.lang/lang.exp: Compile .jar files.
667
668 2007-01-02  Tom Tromey  <tromey@redhat.com>
669
670         * configure: Rebuilt.
671         * configure.ac: Check for gjar.
672
673 2007-01-02  Tom Tromey  <tromey@redhat.com>
674
675         * testsuite/libjava.jacks/jacks.exp: Removed.
676         * testsuite/libjava.jacks/jacks.xfail: Removed.
677