OSDN Git Service

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