OSDN Git Service

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