OSDN Git Service

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