OSDN Git Service

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