OSDN Git Service

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