OSDN Git Service

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