OSDN Git Service

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