OSDN Git Service

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