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