OSDN Git Service

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