OSDN Git Service

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