OSDN Git Service

* java/lang/Class.java (internalGetFields): Use LinkedHashSet.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2007-08-15  Tom Tromey  <tromey@redhat.com>
2
3         * java/lang/Class.java (internalGetFields): Use LinkedHashSet.
4         * classpath/lib/java/lang/Class.class: Rebuilt.
5
6 2007-08-15  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7
8         * java/lang/natPosixProcess.cc (sigchld_handler) [!SA_SIGINFO]: Remove
9         'si' and 'third' parameters.  Disable calling
10         pmi->old_sigaction.sa_sigaction.
11         (java::lang::PosixProcess*ProcessManager::init) [!SA_SIGINFO]: Set
12         sa.sa_handler instead of sa.sa_sigaction, don't set SA_SIGINFO flag.
13
14 2007-08-09  Andrew Haley  <aph@redhat.com>
15
16         * testsuite/lib/libjava.exp (libjava_invoke): Log the invocation.
17
18 2007-08-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19
20         * java/net/natVMInetAddressPosix.cc
21         (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]:
22         Allocate buffer dynamically.
23
24 2007-08-04  Alfred M. Szmidt  <ams@gnu.org>
25
26         * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0.
27         * java/io/File.java (createTempFile): Don't truncate if the system
28         doesn't have a limit on the length of a file name.
29         * classpath/lib/java/io/File.class: Regenerate.
30
31 2007-08-04  Matthias Klose  <doko@ubuntu.com>
32
33         Import GNU Classpath (libgcj-import-20070727).
34
35         * Regenerate class and header files.
36         * Regenerate auto* files.
37
38         * include/jvm.h:
39         * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type.
40         * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise.
41         * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA,
42         _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA,
43         _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA,
44         _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify
45         jvalue parameter.
46         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
47
48         * java/lang/VMFloat.java (toString, parseFloat): New.
49
50         * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported,
51         isModalExclusionTypeSupported): New (stub only).
52         * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise.
53         * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages,
54         updateFocusableWindowState, setModalBlocked, getBoundsPrivate,
55         setAlwaysOnTop): Likewise.
56         * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature.
57
58         * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer,
59         ignore javax.sound.sampled.spi.MixerProvider, ignore .in files.
60
61         * HACKING: Mention --enable-gstreamer-peer, removal of generated files.
62
63 2007-07-31  David Daney  <ddaney@avtrex.com>
64
65         * HACKING: Document regenerating configure and aclocal.m4.
66
67 2007-07-31  David Daney  <ddaney@avtrex.com>
68
69         * configure.ac (INTERPRETER): New AM_CONDITIONAL.
70         * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
71         as being for interpreter only.  Place interpreter related files in
72         'if INTERPRETER' block.
73         (interpreter_package_files): New list.
74         (interpreter_header_vars): Ditto.
75         (emit_package_rule_to_list): Renamed from emit_package_rule with
76         new target list parameter.
77         (emit_package_rule): Rewritten to call emit_package_rule_to_list.
78         (emit_interpreter_rule): New function.
79         (emit_source_var): Place interpreter related files in
80         interpreter_header_vars.
81         * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl.
82         (libgcj_interpret_source_files): New variable.
83         (libgcj_la_SOURCES): Move jvmti.cc and  interpret.cc to
84         libgcj_interpret_source_files and include
85         libgcj_interpret_source_files.
86         (nat_jdwp_source_files): New variable.
87         (nat_jvmti_source_files): Ditto.
88         (nat_source_files): Move jdwp and jvmti related files to
89         nat_jdwp_source_files and nat_jvmti_source_files and include
90         nat_jdwp_source_files and nat_jvmti_source_files.
91         * Makefile.in: Regenerate.
92         * include/Makefile.in: Ditto.
93         * testsuite/Makefile.in: Ditto.
94         * gcj/Makefile.in: Ditto.
95         * sources.am: Ditto.
96         * configure: Ditto.
97         * include/config.h.in: Ditto.
98         * interpret.cc: Remove #ifdef INTERPRETER block.
99         * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if
100         interpreter disabled.
101         * include/java-interp.h (_Jv_FrameType): Move outside of
102         #ifdef INTERPRETER block.
103         * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list,
104         _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in
105         #ifdef INTERPRETER block.
106         * jni.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
107         defined.
108         (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing
109         if INTERPRETER is defined.
110         * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h):  Only
111         include if INTERPRETER is defined.
112         (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func,
113         jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload,
114         jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is
115         defined.
116         (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined.
117         (parse_init_args): Only process jvmti related options if
118         INTERPRETER is defined.
119         (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is
120         defined.
121         (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is
122         defined.
123         * link.cc (jvmti.h, jvmti-int.h):  Only include if INTERPRETER is
124         defined.
125         (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method):
126         Define if if INTERPRETER is not defined.
127         (_Jv_Linker::wait_for_state): Only do jvmti proccessing if
128         INTERPRETER is defined.
129         * boehm.cc (closure_list_pointer, finalize_closure_list,
130         _Jv_ClosureListFinalizer): Only define if INTERPRETER is
131         defined.
132         * java/lang/natThread.cc (jvmti.h, jvmti-int.h):  Only include if
133         INTERPRETER is defined.
134         (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if
135         INTERPRETER is defined.
136         * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration
137         and friend declaration inside #ifdef INTERPRETER block.
138         * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures,
139         _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile):
140         Only define if INTERPRETER is defined.
141         * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h):
142         Include.
143         (generateProxyClass): Throw UnsupportedOperationException unless
144         INTERPRETER is defined.
145
146 2007-07-29  Matthias Klose  <doko@ubuntu.com>
147
148         * HACKING: Document regenerating configure.
149
150 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
151
152         PR libgcj/32929
153         * aclocal.m4: Regenerated.
154         * configure: Likewise.
155
156 2007-07-28  Matthias Klose  <doko@ubuntu.com>
157
158         * configure.ac: Encode the libgcj soversion in dbexecdir,
159         pass --with-native-libdir to classpath configure.
160         * configure: Regenerate.
161
162 2007-07-28  Matthias Klose  <doko@ubuntu.com>
163
164         * classpath/jvmti.h: Remove.
165
166 2007-07-27  Tom Tromey  <tromey@redhat.com>
167
168         * Rebuild .class files with new ecj.
169
170 2007-07-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
171
172         * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC.
173         * configure: Regenerate.
174
175 2007-07-16  Rask Ingemann Lambertsen  <rask@sygehus.dk>
176
177         PR target/32340
178         * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the
179         new sysdeps/arm directory.
180
181 2007-07-15  Tom Tromey  <tromey@redhat.com>
182
183         * java/io/File.java: Implement Comparable<File>.
184         (compareTo): Removed.
185         * java/io/File.h: Rebuilt.
186         * classpath/lib/java/io/File.class: Rebuilt.
187
188 2007-07-14  Tom Tromey  <tromey@redhat.com>
189
190         * Rebuilt .class files.
191
192 2007-07-15  Andrew Haley  <aph@redhat.com>
193
194         * configure.host: 
195         arm*-linux-gnu -> arm*-linux*.
196
197 2007-07-14  Krister Walfridsson  <cato@df.lth.se>
198
199         * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R.
200         * configure.ac: Remove check for strerror, add check for strerror_r.
201         * configure: Regenerate.
202         * include/config.h.in: Regenerate.
203
204 2007-07-13  Andrew Haley  <aph@redhat.com>
205
206         * libgcj.ver: Add __gcj_personality_sj0.
207
208         * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise.
209         * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers.
210         * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers.
211         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise.
212
213         * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check
214         klass is non-null.
215         * java/lang/reflect/natField.cc (getAddr): Call
216         _Jv_StackTrace::GetCallingClass only if CALLER is non-null.
217         * java/lang/reflect/natVMProxy.cc (run_proxy): Use
218         _Jv_getFieldInternal to get field proxyClass.m.
219         (_Jv_getFieldInternal): New function.
220
221 2007-07-11  Andrew Haley  <aph@redhat.com>
222
223         * configure.host (arm*-linux-gnu): New.
224         * sysdep/arm/locks.h: New.
225
226 2007-07-13  Roger Sayle  <roger@eyesopen.com>
227
228         * java/lang/natPosixProcess.cc: Include <sys/time.h> before
229         <sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
230
231 2007-07-12  Matthias Klose  <doko@ubuntu.com>
232
233         * gnu/classpath/jdwp/util/MethodResult.h,
234         gnu/classpath/jdwp/value/ObjectValue.h: Regenerate.
235
236 2007-07-11  Keith Seitz  <keiths@redhat.com>
237
238         * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the
239         method is compiled.
240         * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise
241         for compiled methods.
242
243 2007-07-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
244
245         PR libgcj/32651
246         * configure.host (mips-sgi-irix6*): Set sysdeps_dir.
247         Disable interpreter.
248         
249 2007-07-05  Andreas Tobler  <a.tobler@schweiz.org>
250
251         * java/lang/natPosixProcess.cc: Reorder includes to fix compilation
252         on hppa2.0w-hp-hpux11.11.
253         Remove include of <gcj/cni.h>.
254
255 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
256
257         * aclocal.m4: Regenerated.
258
259 2007-07-03  Andreas Tobler  <a.tobler@schweiz.org>
260
261         * java/lang/Class.h: Remove redundant 'class java::*::* declarations.
262
263 2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
264
265         PR libgcj/30513
266         * configure.host (i[3-6]86-*): Undef sun.
267
268 2007-06-28  H.J. Lu  <hongjiu.lu@intel.com>
269
270         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
271         Fix a typo.
272
273 2007-06-28  Jan Nijtmans  <nijtmans@users.sourceforge.net>
274
275         PR libgcj/30999:
276         * jni_md.h: Add the possibility to compile jni code with.
277         -fvisibility=hidden. This causes all symbols to be hidden
278         except the JNI functions which need to be exported.
279
280 2007-06-28  Andreas Tobler  <a.tobler@schweiz.org>
281
282         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass
283         the cxxldlibflags to exec_gij to have the right libstdc++ invoked.
284
285 2007-07-21  Keith Seitz  <keiths@redhat.com>
286
287         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate.
288
289 2007-07-20  Keith Seitz  <keiths@redhat.com>
290
291         * classpath/lib/gnu/classpath/jdwp/value/StringValue.class:
292         Regenerate.
293
294 2007-07-20  Keith Seitz  <keiths@redhat.com>
295
296         * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod):
297         Update from reference implementation.
298         * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod):
299         Update parameter list to match new VMVirtualMachine interface.
300         * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class:
301         Regenerate.
302         * classpath/lib/gnu/classpath/jdwp/processor/
303         ObjectReferenceCommandSet.class: Regenerate.
304         * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate.
305         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate.
306         * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate.
307
308 2007-06-18  Keith Seitz  <keiths@redhat.com>
309
310         * gnu/gcj/jvmti/Breakpoint.java: Make abstract.
311         (method): Change from private to protected.
312         (location): Likewise.
313         (Breakpoint): Change argument list to take only integer type.
314         Add default constructor.
315         (initialize_native): Renamed to ...
316         (_save_insn): ... this to make function more explicit.
317         (execute): New method.
318         * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
319         * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to...
320         (_save_insn): ... this.
321         (install): Save the original instruction.
322         * gnu/gcj/jvmti/NormalBreakpoint.java: New file.
323         * gnu/gcj/jvmti/NormalBreakpoint.h: New file.
324         * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file.
325         * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
326         Instantiate a NormalBreakpoint instead of Breakpoint.
327         * interpret-run.cc (insn_breakpoint): Remove breakpoint actions
328         and call Breakpoint.execute to do them.
329         * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate.
330         * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise.
331         * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file.
332         * sources.am: Regenerate.
333         * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc.
334         * Makefile.in: Regenerated.
335
336 2007-06-14  Keith Seitz  <keiths@redhat.com>
337
338         * include/java-interp.h (_Jv_LocalVarTableEntry): Add union
339         for bytecode_pc and direct-threaded pc.
340         Add field descriptions inline.
341         * defineclass.cc (read_one_code_attribute): Change from
342         bytecode_start_pc to bytecode_pc.
343         Remove unused variable "len".
344         * interpret.cc (compile): Remap the variable table, too.
345         (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the
346         start location to map from pc_t to code index.
347
348 2007-06-09  Keith Seitz  <keiths@redhat.com>
349
350         * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad):
351         Add missing return value.
352
353 2007-06-03  Matthias Klose  <doko@ubuntu.com>
354
355         * java/io/natFileWin32.cc (setFilePermissions): New (stub only).
356         _access: Handle EXEC query, stub only.
357
358 2007-06-03  Matthias Klose  <doko@ubuntu.com>
359
360         Merged from classpath:
361         * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge.
362         * java/lang/System.java(inheritedChannel): New.
363         * java/lang/Character.java: Remove stray`;'.
364         * java/net/MulticastSocket.java: Merged.
365         * java/text/DateFormatSymbols.java(getInstance): New, comment updates.
366         * java/text/Collator.java(getInstance): Merged.
367         * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG.
368         getDisplayName, getDisplayNames: New.
369         * java/util/logging/Logger.java: Merged.
370         * Regenerate .class and .h files.
371
372 2007-06-03  Matthias Klose  <doko@ubuntu.com>
373
374         * java/io/File.java: Merge with classpath-0.95, new method
375         setFilePermissions, new attribute EXEC.
376         * java/io/natFilePosix.cc (setFilePermissions): New.
377         _access: Handle EXEC query.
378         * classpath/lib/java/io/File.class, java/io/File.h: Regenerate.
379
380 2007-06-03  Matthias Klose  <doko@ubuntu.com>
381
382         Imported GNU Classpath 0.95.
383
384         * classpath/Makefile.in,
385         classpath/native/jni/midi-dssi/Makefile.in,
386         classpath/native/jni/classpath/Makefile.in,
387         classpath/native/jni/Makefile.in,
388         classpath/native/jni/gconf-peer/Makefile.in,
389         classpath/native/jni/java-io/Makefile.in,
390         classpath/native/jni/native-lib/Makefile.in,
391         classpath/native/jni/java-util/Makefile.in,
392         classpath/native/jni/midi-alsa/Makefile.in,
393         classpath/native/jni/java-lang/Makefile.in,
394         classpath/native/jni/java-nio/Makefile.in,
395         classpath/native/jni/java-net/Makefile.in,
396         classpath/native/jni/xmlj/Makefile.in,
397         classpath/native/jni/qt-peer/Makefile.in,
398         classpath/native/jni/gtk-peer/Makefile.in,
399         classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
400         classpath/native/fdlibm/Makefile.in,
401         classpath/native/plugin/Makefile.in,
402         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
403         classpath/tools/Makefile.in, classpath/doc/Makefile.in,
404         classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
405         classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in,
406         classpath/external/sax/Makefile.in,
407         classpath/external/w3c_dom/Makefile.in,
408         classpath/external/relaxngDatatype/Makefile.in,
409         classpath/include/Makefile.in,
410         classpath/examples/Makefile.in: Regenerate.
411         * classpath/config.guess, classpath/config.sub,
412         classpath/ltmain.sh : Update.
413         * classpath/configure, classpath/depcomp, classpath/missing,
414         classpath/aclocal.m4, classpath/install-sh: Regenerate.
415
416         * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95.
417         * sources.am: Regenerate.
418         * Makefile.in: Regenerate.
419
420         * Update the .class files and generated CNI header files, add new
421         .class and generated CNI header files.
422         * Remove generated files for removed java source files:
423         classpath/gnu/java/net/BASE64.java,
424         classpath/gnu/java/security/util/Base64.java,
425         classpath/gnu/java/awt/peer/gtk/GThreadMutex.java,
426         classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
427         classpath/gnu/java/awt/font/autofit/Scaler.java,
428         classpath/gnu/classpath/jdwp/util/Value.java,
429         classpath/gnu/javax/net/ssl/Base64.java.
430         * Remove empty directories.
431
432         * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc.
433         * java/lang/Class.java(setAccessible): Merge from classpath.
434         * java/util/Locale.java: Remove.
435         * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java,
436         gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New.
437         * gcj/javaprims.h: Update class declarations.
438         * scripts/classes.pl: Update usage.
439         * HACKING: Mention to build all peers.
440
441 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
442
443         * configure: Regenerate.
444
445 2007-05-31  Andrew Haley  <aph@redhat.com>
446
447         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear
448         INTERPRETED access modifier.
449
450 2007-05-31  Paolo Bonzini  <bonzini@gnu.org>
451
452         PR libjava/32098
453         * configure: Regenerated.
454         * aclocal.m4: Regenerated.
455
456 2007-05-30  H.J. Lu  <hongjiu.lu@intel.com>
457
458         PR libjava/32098
459         * configure: Regenerated.
460
461 2007-05-29  H.J. Lu  <hongjiu.lu@intel.com>
462
463         * configure.ac: Don't include ../config/confsubdir.m4.
464         * aclocal.m4: Regenerated.
465         * configure: Likewise.
466
467 2007-05-27  Paolo Bonzini  <bonzini@gnu.org>
468
469         PR bootstrap/32078
470         * configure.ac: Include confsubdir.m4.
471         * configure: Regenerate.
472
473 2007-05-24  Keith Seitz  <keiths@redhat.com>
474
475         * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct
476         one when pc_ptr is non-NULL.
477
478         * prims.cc (parse_init_args): Enable JVMTI with agentlib
479         and agentpath options.
480
481         * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags
482         parameter.
483         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one):
484         Pass '-agentlib:dummyagent' when executing gij.
485         (gij_jvmti_run): Build dummy JVMTI agent before running tests,
486         and remove it when finished.
487         * testsuite/libjava.jvmti/dummyagent.c: New file.
488
489 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
490
491         * Makefile.in: Regenerate.
492         * configure: Regenerate.
493         * aclocal.m4: Regenerate.
494         * gcj/Makefile.in: Regenerate.
495         * include/Makefile.in: Regenerate.
496         * testsuite/Makefile.in: Regenerate.
497
498 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
499
500         * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
501         (executeMethods): Remove cast to ClassReferenceTypeId.
502         * classpath/lib/gnu/classpath/jdwp/processor/
503         ReferenceTypeCommandSet.class: Rebuilt.
504
505 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
506
507         * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native
508         classes and mark methods as native appropriately.
509
510 2007-05-17  Kyle Galloway  <kgallowa@redhat.com>
511
512         * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this"
513         pointer.
514         * gnu/classpath/jdwp/VMFrame.h: Regenerated.
515         * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
516         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new
517         VMFrame constructor.
518
519 2007-05-16  David Daney  <ddaney@avtrex.com>
520
521         * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
522         (_Jv_StackFrame): Remove commented out code.
523         (_Jv_UnwindState): Remove superfluous 'typedef'.
524         * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
525         compiler warnings.
526         * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
527         (getCollectionUsage): Don't declare unused parameter n.
528         (getMemoryManagerNames): Same.
529         * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
530         'typedef'.
531
532 2007-05-16  Keith Seitz  <keiths@redhat.com>
533
534         * include/java-interp.h (breakpoint_at): Declare.
535         * interpret.cc (breakpoint_at): New function.
536         * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list):
537         New member.
538         * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize):
539         Initialize _event_list.
540         (handle_single_step): If there is a breakpoint at the
541         location at which we are stopping, do not send the notification.
542         Instead add the event to a list of events that occur at this
543         location.
544         (jdwpBreakpointCB): If the event list is not empty, send
545         whatever events are in it and the breakpoint event in a single
546         notification.
547         Mark parameter jni_env as MAYBE_UNUSED.
548         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
549         Regenerated.
550         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
551
552 2007-05-15  David Daney  <ddaney@avtrex.com>
553
554         * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate
555         * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same.
556
557 2007-05-15  Keith Seitz  <keiths@redhat.com>
558
559         * interpret.cc (STOREA): Rewrite using temporary variable to
560         avoid double-macro expansion side-effects.
561         (STOREI): Likewise.
562         (STOREF): Likewise.
563         (STOREL)[SIZEOF_VOID_P == 8]: Likewise.
564         (STORED)[SIZEOF_VOID_P == 8]: Likewise.
565         (STOREL)[SIZEOF_VOID_P != 8]: Likewise.
566         (STORED)[SIZEOF_VOID_P != 8]: Likewise.
567         (POKEI): Likewise.
568
569 2007-05-12  David Daney  <ddaney@avtrex.com>
570
571         PR libgcj/29324
572         * include/posix-threads.h (_Jv_BlockSigchld): Declare.
573         (_Jv_UnBlockSigchld): Same.
574         * posix-threads.cc: Include posix-threads.h.
575         (block_sigchld) Rename to...
576         (_Jv_BlockSigchld) ... this.
577         (_Jv_UnBlockSigchld): New function.
578         (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld.
579         (_Jv_ThreadStart): Same.
580         * java/lang/PosixProcess$ProcessManager.h: Regenerate.
581         * java/lang/PosixProcess.java: Clean up imports.
582         (ProcessManager): Make final.
583         (ProcessManager.queue): Genericise and make private.
584         (ProcessManager.pidToProcess): Remove.
585         (ProcessManager.liveProcesses): New field.
586         (ProcessManager.reaperPID): Remove.
587         (ProcessManager.nativeData): New field.
588         (ProcessManager.removeProcessFromMap): Remove.
589         (ProcessManager.addProcessToMap):Remove.
590         (ProcessManager.addToLiveProcesses): New method.
591         (ProcessManager.run): Rewritten.
592         (ProcessManager.reap): Change method signature,
593         (getErrorStream): Correct formatting.
594         (getInputStream): Same.
595         (spawn): Add process to liveProcesses list.
596         (pid): Make package private.
597         * java/lang/PosixProcess.h: Regenerate.
598         * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h.
599         Add useing namespace java::lang.
600         (ProcessManagerInternal): New struct.
601         (sigchld_handler): Rewritten.
602         (init): Rewritten.
603         (waitForSignal): Same.
604         (reap): Same.
605         (signalReaper): Same.
606         (nativeDestroy): Call kill as ::kill.
607         (nativeSpawn): Correct formatting.
608         * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate.
609         * classpath/lib/java/lang/PosixProcess.class: Same.
610         * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
611
612 2007-05-07  Ian Lance Taylor  <iant@google.com>
613
614         PR java/31842
615         * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed
616         overflow.
617
618 2007-05-07  Keith Seitz  <keiths@redhat.com>
619
620         * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate.
621         * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate.
622         * classpath/lib/gnu/classpath/jdwp/event/Event.class:
623         Regenerate.
624         * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class:
625         Regenerate.
626         * gnu/classpath/jdwp/Jdwp.h: Regenerate.
627         * gnu/classpath/jdwp/event/Event.h: Regenerate.
628         * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate.
629
630 2007-05-04  Kyle Galloway  <kgallowa@redhat.com>
631
632         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change
633         to use JVMTI.
634
635 2007-05-03  Keith Seitz  <keiths@redhat.com>
636
637         * interpret.cc: Don't include ExceptionEvent.h.
638         * gnu/gcj/jvmti/natExceptionEvent.cc: Remove.
639         * Makefile.am (nat_source_files): Remove natExceptionEvent.cc.
640         * Makefile.in: Regenerated.
641
642 2007-05-03  Keith Seitz  <keiths@redhat.com>
643
644         * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow):
645         Declare.
646         * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function.
647         (find_catch_location): New function.
648         (REPORT_EXCEPTION): New macro.
649         (throw_internal_error): Use REPORT_EXCEPTION.
650         (throw_incompatible_class_change_error): Likewise.
651         (throw_null_pointer_exception): Likewise.
652         (throw_class_format_error): Likewise.
653         * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set
654         to REPORT_EXCEPTION.
655         (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop.
656         (insn_new): Use INTERP_REPORT_EXCEPTION.
657         (insn_athrow): Likewise.
658         Remove previous JVMTI exception notifications.
659         Add JVMTI ExceptionCatch notificatin.
660         * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of
661         exception throw.
662         * gnu/gcj/jvmti/ExceptionEvent.java: Removed.
663         * gnu/gcj/jvmti/ExceptionEvent.h: Removed. 
664         * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed.
665         * gnu/classpath/jdwp/natVMVirtualMachine.cc
666         (jdwpExceptionCB): New function.
667         (jdwpVMInitCB): Set Exception event handler and enable.
668         * sources.am: Regenerated.
669         * Makefile.in: Regenerated.
670
671 2007-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
672
673         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304
674         * Makefile.in: Regenerate.
675         * scripts/makemake.tcl (scan_directory): Treat default.css as a
676         property file.
677         * classpath/javax/swing/text/html/default.css: Move to...
678         * classpath/resource/javax/swing/text/html/default.css: New file.
679         * classpath/javax/swing/text/html/HTMLEditorKit.java
680         (getStyleSheet): Throw RuntimeException when style loading fails.
681         * sources.am (property_files): Add
682         classpath/resource/javax/swing/text/html/default.css.
683
684 2007-05-02  Tom Tromey  <tromey@redhat.com>
685
686         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755
687         * java/lang/natCharacter.cc (Character::getType): Handle negative
688         code points.
689         (Character::toLowerCase): Likewise.
690         (Character::toUpperCase): Likewise.
691         (Character::digit): Likewise.
692         (Character::getNumericValue): Likewise.
693         (Character::getDirectionality): Likewise.
694         (Character::toTitleCase): Likewise.
695
696 2007-04-30  Keith Seitz  <keiths@redhat.com>
697
698         * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before
699         executing the instruction.
700         * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract
701         one insn from the frame's PC. _Jv_InterpMethod::run et al
702         will advance the PC before executing the instruction.
703
704 2007-04-27  Keith Seitz  <keiths@redhat.com>
705
706         * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated.
707         * classpath/lib/gnu/classpath/jdwp/event/EventManager.class:
708         Regenerated.
709         * gnu/classpath/jdwp/event/EventManager.h: Regenerated.
710
711 2007-04-27  Keith Seitz  <keiths@redhat.com>
712
713         * classpath/lib/gnu/classpath/jdwp/event/filters/
714         LocationOnlyFilter.class: Regenerated;
715         * classpath/lib/gnu/classpath/jdwp/util/Location.class:
716         Regenerated.
717         * gnu/classpath/jdwp/VMMethod.java
718         * classpath/lib/gnu/classpath/jdwp/VMMethod.class:
719         Regenerated.
720         * gnu/classpath/jdwp/VMMethod.h: Regenerated.
721         * gnu/classpath/jdwp/util/Location.h: Regenerated.
722
723 2007-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
724
725         * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate.
726         * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate.
727
728 2007-04-25  Kyle Galloway  <kgallowa@redhat.com>
729
730         * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null
731         objects.
732         (get): Deal with ObjectId of 0. 
733
734 2007-04-24  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
735
736         PR libgcj/31084
737         * java/lang/natVMProcess.cc: Include platform.h before jvm.h.
738
739 2007-04-24  Kyle Galloway  <kgallowa@redhat.com>
740
741         * gnu/classpath/jdwp/natVMVirtualMachine.java
742         (getThreadStatus): Implement.
743
744 2007-04-24  Keith Seitz  <keiths@redhat.com>
745
746         * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]:
747         Add _Jv_RewriteBreakpointInsn friend declaration.
748         * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn)
749         [DIRECT_THREADED]: New function.
750         * gnu/gcj/jvmti/Breakpoint.h: Regenerate.
751         * interpret-run.cc: Define new REWRITE_INSN macro.
752         Changed all occurrences of insn rewriting to call REWRITE_INSN.
753
754 2007-04-23  Keith Seitz  <keiths@redhat.com>
755
756         * include/no-gc.h (_Jv_IsThreadSuspended): Declare.
757         * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
758         * boehm.cc (_Jv_IsThreadSuspended): New function.
759         * nogc.cc (_Jv_IsThreadSuspended): Likewise.
760         * jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
761         (_Jv_JVMTI_Interface): Define GetThreadState.
762
763 2007-04-23  Kyle Galloway  <kgallowa@redhat.com>
764
765         * include/java-interp.h (_Jv_InterpFrame): Add pointer to the
766         interpreter PC.
767         (<init>): Add a pointer to the interpreter PC as a parameter with
768         default value NULL.
769         (get_pc): New method.
770         * interpret-run.cc: If debugging, pass a pointer to the PC when
771         creating the stack frame.
772         * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc
773         to get the PC.
774
775 2007-04-23  Kyle Galloway  <kgallowa@redhat.com>
776
777         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check
778         for null source file and throw an exception indicating this.
779
780 2007-04-20  Keith Seitz  <keiths@redhat.com>
781
782         * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint):
783         Install the new breakpoint into the bytecode.
784         (deleteBreakpoint): Remove the breakpoint from the bytecode.
785         * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class:
786         Regenerate.
787         * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native):
788         Don't install the breakpoint here.
789
790 2007-04-19  Keith Seitz  <keiths@redhat.com>
791
792         * interpret-run.cc [insn_breakpoint]: Save the original
793         insn for the breakpoint before posting the JVMTI notification.
794
795 2007-04-19  Tom Tromey  <tromey@redhat.com>
796
797         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt.
798
799 2007-04-18  Tom Tromey  <tromey@redhat.com>
800
801         * Regenerated headers with new gjavah.
802
803 2007-04-18  Andrew Haley  <aph@redhat.com>
804
805         * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
806         method_index.
807         (generateProxyClass): Add field $Proxy0.m.  Store methods array in
808         it.
809         (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
810         * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
811         * java/lang/natClass.cc: Likewise.
812         * headers.txt: Likewise.
813         * java/lang/reflect/Method.h: Likewise.
814
815 2007-04-16  Andrew Haley  <aph@redhat.com>
816
817         * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
818         method.
819         (bootGetResource): Use getBootURLLoader() to load resources.
820         (bootGetResources): Likewise.
821
822         * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
823         check that the method's declaring class is accessible.
824
825 2007-04-10  Keith Seitz  <keiths@redhat.com>
826
827         * sources.am: Regenerate.
828         * Makefile.in: Likewise.
829
830 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
831
832         * interpret-run.cc: If debugging, check if args is NULL before
833         getting the "this" pointer.
834
835 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
836
837         * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file.
838         * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file.
839         * gnu/classpath/jdwp/ArrayValue.h: New file.
840         * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case.
841         (setValue): Ditto. 
842
843 2007-04-09  David Daney  <ddaney@avtrex.com>
844
845         PR libgcj/23758
846         * java/lang/natPosixProcess.cc (nativeSpawn): Move building of
847         environment before the fork.
848         * testsuite/libjava.lang/Process_7.java: New test.
849         * testsuite/libjava.lang/Process_7.out: Its expected results.
850         * testsuite/libjava.lang/Process_7.jar: Generated file.
851
852 2007-04-09  H.J. Lu  <hongjiu.lu@intel.com>
853
854         * prims.cc (load_jvmti_agent): Add the missing `,'.
855
856 2007-04-09  Kyle Galloway  <kgallowa@redhat.com>
857
858         * gij.cc (main): Accept -agentlib and -agentpath options.
859         * prims.cc (parse_init_args): Deal with -agentlib and -agentpath.
860         (load_jvmti_agent): New function.
861
862 2007-04-04  Tania Bento  <tbento@redhat.com>
863
864         * java/text/DecimalFormatSymbols.java: Added the year 2007 to
865         Copyright information and introduced new variable, currency.
866         (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol
867         to "XXX", currencySymbol to "?" and localCurrency appropriately.
868         (getCurrency): Fixed documentation and return the value of currency.
869         (setCurrency): Fixed documentation and update the value of currency.
870         (setInternationalCurrencySymbol): Fixed documentation and update the
871         value of currency.
872         * java/util/Currency.java: Introduced two new variables, properties
873         and fractionDigits. In the static block, a properties object is
874         created and the currency resource is loaded.
875         (Currency(Locale)): fractionDigits is defined.
876         (Currency(String)): New method.
877         (getDefaultFractionDigits): Return the value of fractionDigits.
878         (getInstance(String)): Check if String is equal to "XXX".
879
880 2007-04-04  Kyle Galloway  <kgallowa@redhat.com>
881
882         * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs
883         to ints for argCnt and slots.
884         (write): Replace writeLong with writeInt for the above. 
885
886 2007-04-03  Andrew Haley  <aph@redhat.com>
887
888         * testsuite/libjava.lang/ProxyTest.java: New test.
889
890 2007-04-02  Tom Tromey  <tromey@redhat.com>
891
892         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157
893         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend
894         file, when writing, if it is too short.
895
896 2007-04-02  Tom Tromey  <tromey@redhat.com>
897
898         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406
899         * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if
900         already created.
901         * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case
902         where localport is -1.
903         (create): Now public.
904         * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call
905         'create' on the socket.
906
907 2007-04-02  Andrew Haley  <aph@redhat.com>
908
909         * java/lang/reflect/natVMProxy.cc (run_proxy): Use
910         _Jv_LookupProxyMethod to find the Method.
911         If parameter_types->length == 0, pass a null paramameter list,
912         not a zero-length parameter list.
913         * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function.
914         * java/lang/Class.h (_Jv_LookupProxyMethod): Declare.
915
916 2007-04-02  Kyle Galloway  <kgallowa@redhat.com>
917
918         * interpret-run.cc: Add code to properly set up variable slots
919         when debugging.
920         * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function.
921         (getObjectJVMTI): New function.
922         (setObjectJVMTI): New function.
923         (getIntJVMTI): New function.
924         (setIntJVMTI): New function.
925         (getLongJVMTI): New function.
926         (setLongJVMTI): New function.
927         (getFloatJVMTI): New function.
928         (setFloatJVMTI): New function.
929         (getDoubleJVMTI): New function.
930         (setDoubleJVMTI): New function.
931         (getFrameDepth): New function.
932         (getValue): Implement.
933         (setValue): Implement. 
934
935 2007-04-02  Kyle Galloway  <kgallowa@redhat.com>
936
937         * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
938         (executeResume): Call VMVirtualMachine.resumeThread.
939
940 2007-03-29  Tom Tromey  <tromey@redhat.com>
941
942         PR libgcj/29869:
943         * java/util/logging/LogManager.java (readConfiguration): Handle
944         comma-separated 'handlers'.  Don't try to add a non-existing
945         handler.
946
947 2007-03-27  Tom Tromey  <tromey@redhat.com>
948
949         * sources.am, Makefile.in: Rebuilt.
950         * scripts/mime.types: Removed.
951         * scripts/MakeDefaultMimeTypes.java: Removed.
952         * gnu/gcj/io/MimeTypes.java: Removed.
953         * gnu/gcj/io/MimeTypes.h: Removed.
954         * gnu/gcj/io/DefaultMimeTypes.java: Removed.
955         * gnu/gcj/io/DefaultMimeTypes.h: Removed.
956
957 2007-03-27  Keith Seitz  <keiths@redhat.com>
958
959         * gnu/classpath/jdwp/VMFrame.java: Update from upstream
960         classpath.
961         * gnu/classpath/jdwp/natVMFrame.cc: Likewise.
962         * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
963         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise.
964         (initialize): Fix compiler type-punning warning.
965         (getAllLoadedClasses): Return empty list instead of NULL.
966         (getLoadRequests): Likewise.
967         * gnu/classpath/jdwp/exception/InvalidTagException.h: New file.
968         * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file.
969         * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file.
970         * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt.
971         * gnu/classpath/jdwp/value/CharValue.h: New file.
972         * gnu/classpath/jdwp/value/LongValue.h: New file.
973         * gnu/classpath/jdwp/value/ShortValue.h: New file.
974         * gnu/classpath/jdwp/value/Value.h: New file.
975         * gnu/classpath/jdwp/value/BooleanValue.h: New file.
976         * gnu/classpath/jdwp/value/VoidValue.h: New file.
977         * gnu/classpath/jdwp/value/ByteValue.h: New file.
978         * gnu/classpath/jdwp/value/FloatValue.h: New file.
979         * gnu/classpath/jdwp/value/ObjectValue.h: New file.
980         * gnu/classpath/jdwp/value/StringValue.h: New file.
981         * gnu/classpath/jdwp/value/ValueFactory.h: New file.
982         * gnu/classpath/jdwp/value/IntValue.h: New file.
983         * gnu/classpath/jdwp/value/DoubleValue.h: New file.
984         * gnu/classpath/jdwp/VMFrame.h: Rebuilt.
985         * gnu/classpath/jdwp/id/NullObjectId.h: New file.
986         * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt.
987         * gnu/classpath/jdwp/util/NullObject.h: New file.
988         * gnu/classpath/jdwp/util/MonitorInfo.h: New file.
989         * Makefile.in: Rebuilt.
990         * sources.am: Rebuilt.
991
992 2006-03-26  David Daney  <ddaney@avtrex.com>
993
994         * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
995         fork, execvp, execinfo.h, pthread_mutexattr_settype,
996         pthread_mutexattr_setkind_np and sys/wait.h.
997         * Makefile.in: Regenerate.
998         * include/Makefile.in: Regenerate.
999         * include/config.h.in: Regenerate.
1000         * testsuite/Makefile.in: Regenerate.
1001         * configure: Regenerate.
1002         * gcj/Makefile.in: Regenerate.
1003
1004 2007-03-23  Gary Benson  <gbenson@redhat.com>
1005
1006         * link.cc (_Jv_Linker::resolve_method_entry):
1007         Ensure that the argument types and the return type of the
1008         found method match those expected by the calling method.
1009
1010 2007-03-22  David Daney  <ddaney@avtrex.com>
1011
1012         PR libgcj/31228
1013         * configure.ac: Add checks for getrlimit and sys/resource.h.
1014         * include/posix.h (_Jv_platform_close_on_exec): Remove.
1015         * include/config.h.in: Regenerate.
1016         * configure: Regenerate.
1017         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to
1018         _Jv_platform_close_on_exec;
1019         * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise.
1020         (accept): Likewise.
1021         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise.
1022         * java/lang/natPosixProcess.cc: Include sys/resource.h.
1023         (nativeSpawn): Close all file descriptors.  Don't set FD_CLOEXEC on
1024         pipes.
1025
1026 2007-03-20  Andrew Haley  <aph@redhat.com>
1027
1028         * testsuite/libjava.lang/PR31264.java: New test.
1029
1030 2007-03-14  Jakub Jelinek  <jakub@redhat.com>
1031
1032         * Makefile.am (AM_MAKEFLAGS): Pass through mandir.
1033         * Makefile.in: Rebuilt.
1034
1035 2007-03-13  Keith Seitz  <keiths@redhat.com>
1036
1037         * include/java-interp.h (_Jv_InterpClass): Declare
1038         friend function _Jv_GetInterpClassSourceFile.
1039         * java/lang/Class.h (Class): Likewise.
1040         * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile):
1041         New function.
1042         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1043         (getSourceFile): Implement.
1044
1045 2007-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1046
1047         * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.
1048         * classpath/configure.ac: Add --with-ecj-jar configure option.
1049         * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New
1050         field.
1051         * classpath/INSTALL: Document --with-ecj-jar configure option and
1052         ecj jar requirement for com.sun.tools.javac support.
1053         * classpath/tools/Makefile.am: Build decendents of com and sun
1054         directories.
1055         * configure.ac: Substitute ECJ_JAR in stub Configuration.java.
1056         * gnu/classpath/Configuration.java,
1057         gnu/classpath/natConfiguration.cc (ecj): New method.
1058         (ECJ_JAR): New field.
1059         * scripts/makemake.tcl (scan_packages): Add com directory.
1060         * sources.am (property_files): Add
1061         classpath/resource/sun/rmi/rmic/messages.properties and
1062         classpath/resource/com/sun/tools/javac/messages.properties.
1063         * classpath/resource/com, classpath/resource/com/sun,
1064         classpath/resource/com/sun/tools,
1065         classpath/resource/com/sun/tools/javac, classpath/resource/sun,
1066         classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic,
1067         classpath/tools/classes/com, classpath/tools/classes/com/sun,
1068         classpath/tools/classes/com/sun/javadoc,
1069         classpath/tools/classes/com/sun/tools,
1070         classpath/tools/classes/com/sun/tools/doclets,
1071         classpath/tools/classes/sun, classpath/tools/classes/sun/rmi,
1072         classpath/tools/classes/sun/rmi/rmic, classpath/tools/com,
1073         classpath/tools/com/sun, classpath/tools/com/sun/javadoc,
1074         classpath/tools/com/sun/tools,
1075         classpath/tools/com/sun/tools/doclets,
1076         classpath/tools/com/sun/tools/javac, classpath/tools/sun,
1077         classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New
1078         directories.
1079         * classpath/resource/com/sun/tools/javac/messages.properties,
1080         classpath/resource/sun/rmi/rmic/messages.properties,
1081         classpath/tools/classes/com/sun/javadoc/ClassDoc.class,
1082         classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class,
1083         classpath/tools/classes/com/sun/javadoc/Doc.class,
1084         classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class,
1085         classpath/tools/classes/com/sun/javadoc/Doclet.class,
1086         classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class,
1087         classpath/tools/classes/com/sun/javadoc/FieldDoc.class,
1088         classpath/tools/classes/com/sun/javadoc/MemberDoc.class,
1089         classpath/tools/classes/com/sun/javadoc/MethodDoc.class,
1090         classpath/tools/classes/com/sun/javadoc/PackageDoc.class,
1091         classpath/tools/classes/com/sun/javadoc/ParamTag.class,
1092         classpath/tools/classes/com/sun/javadoc/Parameter.class,
1093         classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class,
1094         classpath/tools/classes/com/sun/javadoc/RootDoc.class,
1095         classpath/tools/classes/com/sun/javadoc/SeeTag.class,
1096         classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class,
1097         classpath/tools/classes/com/sun/javadoc/SourcePosition.class,
1098         classpath/tools/classes/com/sun/javadoc/Tag.class,
1099         classpath/tools/classes/com/sun/javadoc/ThrowsTag.class,
1100         classpath/tools/classes/com/sun/javadoc/Type.class,
1101         classpath/tools/classes/com/sun/javadoc/TypeVariable.class,
1102         classpath/tools/classes/com/sun/tools/doclets/Taglet.class,
1103         classpath/tools/classes/sun/rmi/rmic/Main.class,
1104         classpath/tools/classes/sun/rmi/rmic/Messages.class,
1105         classpath/tools/com/sun/javadoc/ClassDoc.java,
1106         classpath/tools/com/sun/javadoc/ConstructorDoc.java,
1107         classpath/tools/com/sun/javadoc/Doc.java,
1108         classpath/tools/com/sun/javadoc/DocErrorReporter.java,
1109         classpath/tools/com/sun/javadoc/Doclet.java,
1110         classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java,
1111         classpath/tools/com/sun/javadoc/FieldDoc.java,
1112         classpath/tools/com/sun/javadoc/MemberDoc.java,
1113         classpath/tools/com/sun/javadoc/MethodDoc.java,
1114         classpath/tools/com/sun/javadoc/PackageDoc.java,
1115         classpath/tools/com/sun/javadoc/ParamTag.java,
1116         classpath/tools/com/sun/javadoc/Parameter.java,
1117         classpath/tools/com/sun/javadoc/ProgramElementDoc.java,
1118         classpath/tools/com/sun/javadoc/RootDoc.java,
1119         classpath/tools/com/sun/javadoc/SeeTag.java,
1120         classpath/tools/com/sun/javadoc/SerialFieldTag.java,
1121         classpath/tools/com/sun/javadoc/SourcePosition.java,
1122         classpath/tools/com/sun/javadoc/Tag.java,
1123         classpath/tools/com/sun/javadoc/ThrowsTag.java,
1124         classpath/tools/com/sun/javadoc/Type.java,
1125         classpath/tools/com/sun/javadoc/TypeVariable.java,
1126         classpath/tools/com/sun/tools/doclets/Taglet.java,
1127         classpath/tools/com/sun/tools/javac/Main.java,
1128         classpath/tools/com/sun/tools/javac/Messages.java,
1129         classpath/tools/sun/rmi/rmic/Main.java,
1130         classpath/tools/sun/rmi/rmic/Messages.java: New files.
1131         * Makefile.in, classpath/Makefile.in, classpath/configure,
1132         classpath/doc/Makefile.in, classpath/doc/api/Makefile.in,
1133         classpath/examples/Makefile.in, classpath/external/Makefile.in,
1134         classpath/external/jsr166/Makefile.in,
1135         classpath/external/relaxngDatatype/Makefile.in,
1136         classpath/external/sax/Makefile.in,
1137         classpath/external/w3c_dom/Makefile.in,
1138         classpath/include/Makefile.in, classpath/include/config.h.in,
1139         classpath/lib/Makefile.in,
1140         classpath/lib/gnu/classpath/Configuration.class,
1141         classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in,
1142         classpath/native/jawt/Makefile.in,
1143         classpath/native/jni/Makefile.in,
1144         classpath/native/jni/classpath/Makefile.in,
1145         classpath/native/jni/gconf-peer/Makefile.in,
1146         classpath/native/jni/gtk-peer/Makefile.in,
1147         classpath/native/jni/java-io/Makefile.in,
1148         classpath/native/jni/java-lang/Makefile.in,
1149         classpath/native/jni/java-net/Makefile.in,
1150         classpath/native/jni/java-nio/Makefile.in,
1151         classpath/native/jni/java-util/Makefile.in,
1152         classpath/native/jni/midi-alsa/Makefile.in,
1153         classpath/native/jni/midi-dssi/Makefile.in,
1154         classpath/native/jni/native-lib/Makefile.in,
1155         classpath/native/jni/qt-peer/Makefile.in,
1156         classpath/native/jni/xmlj/Makefile.in,
1157         classpath/native/plugin/Makefile.in,
1158         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
1159         classpath/tools/Makefile.in, configure,
1160         gnu/classpath/Configuration.h: Regenerate.
1161
1162 2007-03-12  Kyle Galloway  <kgallowa@redhat.com>
1163
1164         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count
1165         as a sigle slot.
1166
1167 2007-03-12  Marco Trudel  <mtrudel@gmx.ch>
1168
1169         * java/lang/natString.cc (getBytes (jstring enc)):
1170         Fixed the loop for multiple cycles, Code cleanup
1171
1172 2007-03-09  Tom Tromey  <tromey@redhat.com>
1173
1174         * sources.am, Makefile.in: Rebuilt.
1175         * scripts/makemake.tcl (scan_directory): Allow service files to be
1176         omitted.
1177         Omit all XML-related service files.
1178
1179 2007-03-07  Tom Tromey  <tromey@redhat.com>
1180
1181         * configure: Rebuilt.
1182         * configure.ac: Clear vm-tools-packages.
1183
1184 2007-03-07  Mohan Embar  <gnustuff@thisiscool.com>
1185
1186         * java/lang/Win32Process.java: Added nested class EOFInputStream.
1187         * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY
1188         enum and implementation.
1189         (startProcess): Use redirect flag.
1190         * classpath/lib/java/lang/Win32Process.class: Regenerated.
1191         * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New.
1192         * gcj/javaprims.h: Regenerated.
1193         * java/lang/Win32Process$EOFInputStream.h: New.
1194
1195 2007-03-07  Andrew Haley  <aph@redhat.com>
1196
1197         * libgcj_bc.c (JvRunMainName): Declare.
1198
1199 2007-03-07  Gary Benson  <gbenson@redhat.com>
1200
1201         * sources.am, Makefile.in: Rebuilt.
1202
1203 2007-03-07  Mohan Embar  <gnustuff@thisiscool.com>
1204
1205         * gcj/javaprims.h: Regenerated.
1206
1207 2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
1208
1209         * include/jvm.h (_Jv_ClosureListFinalizer): New.
1210         (_Jv_Linker::create_error_method): Adjust.
1211         * boehm.cc (_Jv_ClosureListFinalizer): New.
1212         * nogc.cc (_Jv_ClosureListFinalizer): New.
1213         * java/lang/Class.h (class _Jv_ClosureList): New.
1214         (class java::lang::Class): Declare it as friend.
1215         * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
1216         (_Jv_ClosureList::registerClousure): New.
1217         * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
1218         (_Jv_CompiledEngine::do_get_closure_list): New.
1219         (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
1220         (_Jv_IndirectCompiledClass): Add closures.
1221         (_Jv_IndirectCompiledEngine::get_aux_info): New.
1222         (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
1223         it.
1224         (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
1225         (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
1226         (_Jv_InterpreterEngine::do_get_closure_list): Declare.
1227         (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
1228         * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
1229         (node_closure): Add closure list.
1230         (_Jv_InterpMethod::ncode): Add jclass argument.  Use
1231         ffi_closure_alloc and the separate code pointer.  Register the
1232         closure for finalization.
1233         (_Jv_JNIMethod::ncode): Likewise.
1234         (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
1235         (_Jv_InterpreterEngine::do_get_closure_list): New.
1236         * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
1237         (_Jv_InterpClass): Add closures field.
1238         (_Jv_JNIMethod::ncode): Adjust.
1239         * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
1240         (_Jv_ClassReader::handleMethodsEnd): Likewise.
1241         * link.cc (struct method_closure): Add closure list.
1242         (_Jv_Linker::create_error_method): Add jclass argument.  Use
1243         ffi_closure_alloc and the separate code pointer.  Register the
1244         closure for finalization.
1245         (_Jv_Linker::link_symbol_table): Remove outdated comment about
1246         sharing of otable and atable.  Adjust.
1247         * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
1248         list.
1249         (ncode): Add jclass argument.  Use ffi_closure_alloc and the
1250         separate code pointer.  Register the closure for finalization.
1251         (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
1252         * testsuite/libjava.jar/TestClosureGC.java: New.
1253         * testsuite/libjava.jar/TestClosureGC.out: New.
1254         * testsuite/libjava.jar/TestClosureGC.xfail: New.
1255         * testsuite/libjava.jar/TestClosureGC.jar: New.
1256
1257 2007-03-06  Kyle Galloway  <kgallowa@redhat.com>
1258
1259         * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
1260         * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto.
1261         * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto.
1262         * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro.
1263         (VMMethod::getLineTable): Use new macro.
1264         (VMMethod::getVariableTable): Implement.
1265         * sources.am: Regenerated.
1266         * Makefile.in: Ditto.
1267
1268 2007-03-06  Tom Tromey  <tromey@redhat.com>
1269
1270         * Makefile.in: Rebuilt.
1271         * Makefile.am (bin_PROGRAMS): Added gcjh.
1272         (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD,
1273         gcjh_DEPENDENCIES): New variables.
1274
1275 2007-03-06  Kyle Galloway  <kgallowa@redhat.com>
1276
1277         * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters.
1278         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc
1279         (do_getlocalvartable_tests): Add Deallocate calls to free strings.
1280
1281 2007-03-05  Matthias Klose  <doko@debian.org>
1282
1283         * Makefile.am (gij_LDFLAGS): Use dbexecdir.
1284         * Makefile.in: Regnerate.
1285
1286 2007-03-05  Mark Wielaard  <mark@klomp.org>
1287
1288         * java/lang/Character.java: Re-merged with Classpath.
1289         * java/lang/natString.cc (nativeCompareTo): Renamed from
1290         compareTo.
1291         * java/lang/StringBuilder.java: Re-merged with Classpath.
1292         * java/lang/String.java: Re-merged with Classpath.
1293         (nativeCompareTo): Renamed from compareTo.
1294         * java/lang/StringBuffer.java: Re-merged with Classpath.
1295         * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append.
1296
1297 2007-03-05  Andrew Haley  <aph@redhat.com>
1298
1299         * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete.
1300         (generateProxyClass): Don't pass method to ncode.
1301         (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method.
1302         * java/lang/reflect/Method.h: Rebuild.
1303         * java/lang/reflect/Method.java (internalGetParameterTypes,
1304         internalGetExceptionTypes): New methods.
1305         * headers.txt (class java/lang/reflect/Method): Declare
1306         _Jv_GetReflectedMethod.  Be its friend.
1307         * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method.
1308         * java/lang/Class.h: Declare it.  Be its friend.
1309
1310 2007-03-05  Tom Tromey  <tromey@redhat.com>
1311
1312         * sources.am, Makefile.in: Rebuilt.
1313         * scripts/makemake.tcl (emit_package_rule): Don't omit
1314         VMProcess.java.
1315         * Makefile.am (nat_source_files): Added natVMProcess.cc.
1316         (inner_nat_headers): Added ImmediateEOFInputStream.h.
1317         * gcj/javaprims.h: Regenerated.
1318         * java/lang/System.java (EnvironmentMap): Now package-private.
1319         (EnvironmentMap(Map)): New constructor.
1320         (EnvironmentMap.put): New method.
1321         * java/lang/natWin32Process.cc (startProcess): Update.
1322         * java/lang/Win32Process.java (Win32Process): Added 'redirect'
1323         argument.
1324         (startProcess): Likewise.
1325         * java/lang/EcosProcess.java (EcosProcess): Added 'redirect'
1326         argument.
1327         * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection.
1328         * java/lang/PosixProcess.java (redirect): New field.
1329         (PosixProcess): Added 'redirect' argument.
1330         * java/lang/natRuntime.cc (execInternal): Added 'redirect'
1331         argument to Process creation.
1332         * java/lang/natVMProcess.cc: New file.
1333         * java/lang/ProcessBuilder.java: Removed.
1334         * java/lang/VMProcess.java: New file.
1335
1336 2007-03-03  Andrew Haley  <aph@redhat.com>
1337
1338         * java/lang/natClass.cc (parseAnnotationElement): Correct long
1339         annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double.
1340
1341 2007-03-02  Andrew Haley  <aph@redhat.com>
1342
1343         * sun/reflect/annotation/AnnotationInvocationHandler.java:
1344         Generify in a few places.
1345         (equals): Rewrite to use invoke on local proxy.
1346         (deepToString): Remove most of it.
1347         (toString): Make nonstatic.
1348         (arrayClone): Delete.
1349         (coerce): New method.
1350         (invoke): Rewrite to handle gcj's structures correctly.
1351         * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
1352         null loader.
1353         * sources.am: Regenerate.
1354         * Makefile.am: Likewise.        
1355
1356 2007-03-02  Andrew Haley  <aph@redhat.com>
1357
1358         * sun/reflect/annotation/AnnotationInvocationHandler.java:
1359         Whitespace only changes.
1360
1361 2007-03-02  Andrew Haley  <aph@redhat.com>
1362
1363         * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved
1364         from Classpath to libgcj local.
1365
1366 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
1367
1368         * Makefile.am: Add dummy install-pdf target.
1369         * Makefile.in: Regenerate
1370         * include/Makefile.in: Regenerate
1371         * testsuite/Makefile.in: Regenerate
1372         * gcj/Makefile.in: Regenerate
1373
1374 2007-02-23  Gary Benson  <gbenson@redhat.com>
1375
1376         * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year.
1377
1378 2007-02-23  Gary Benson  <gbenson@redhat.com>
1379
1380         * java/lang/VMCompiler.java
1381         (compileClass): Don't lose zeros from within the digest.
1382
1383 2007-02-22  Jakub Jelinek  <jakub@redhat.com>
1384
1385         PR libgcj/17002
1386         PR classpath/28550
1387         * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
1388         /etc/localtime, use ZoneInfo.readTZFile instead of
1389         VMTimeZone.readtzFile.  Get better timezone name for /etc/localtime,
1390         either if it is a symlink or through /etc/sysconfig/clock.
1391         (readSysconfigClockFile): New static method.
1392         (readtzFile): Removed.
1393         * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
1394         * posix.cc (_Jv_platform_initProperties): Set
1395         gnu.java.util.zoneinfo.dir.
1396         * sources.am (gnu_java_util_source_files): Add
1397         classpath/gnu/java/util/ZoneInfo.java.
1398         * Makefile.in: Regenerated.
1399         * java/util/VMTimeZone.h: Regenerated.
1400         * java/util/TimeZone.h: Regenerated.
1401         * gnu/java/util/ZoneInfo.h: Generated.
1402
1403 2007-02-22  Mohan Embar  <gnustuff@thisiscool.com>
1404
1405         * include/win32-threads.h: Added #undef OUT.
1406
1407 2007-02-21  Kyle Galloway  <kgallowa@redhat.com>
1408
1409         * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function.
1410         * testsuite/libjava.jvmti/interp/getargssize.java: New test.
1411         * testsuite/libjava.jvmti/interp/getargssize.h: Ditto.
1412         * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto.
1413         * testsuite/libjava.jvmti/interp/getargssize.out: Ditto.
1414         * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto.
1415
1416 2007-02-21  Gary Benson  <gbenson@redhat.com>
1417
1418         * java/util/GregorianCalendar.java: Removed.
1419         * sources.am, Makefile.in: Rebuilt.
1420
1421 2007-02-20  Keith Seitz  <keiths@redhat.com>
1422
1423         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1424         (jdwpClassPrepareCB): Move class status stuff to ...
1425         (getClassStatus): ... here.
1426
1427 2007-02-20  Gary Benson  <gbenson@redhat.com>
1428
1429         * gnu/awt/xlib/XEventLoop.h: Regenerated.
1430         * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise.
1431         * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h:
1432         Likewise.
1433         * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise.
1434         * java/lang/SecurityManager.h: Likewise.
1435         * java/lang/Thread.h: Likewise.
1436         * java/security/VMSecureRandom$Spinner.h: Likewise.
1437         * java/util/concurrent/atomic/AtomicBoolean.h: Likewise.
1438         * java/util/concurrent/atomic/AtomicInteger.h: Likewise.
1439         * java/util/concurrent/atomic/AtomicLong.h: Likewise.
1440         * java/util/concurrent/atomic/AtomicReference.h: Likewise.
1441         * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise.
1442         * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise.
1443         * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise.
1444         * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise.
1445         * java/util/concurrent/ConcurrentSkipListMap.h: Likewise.
1446         * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise.
1447         * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise.
1448         * java/util/concurrent/Exchanger.h: Likewise.
1449         * java/util/concurrent/Exchanger$Node.h: Likewise.
1450         * java/util/concurrent/FutureTask$Sync.h: Likewise.
1451         * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise.
1452         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h:
1453         Likewise.
1454         * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: 
1455         Likewise.
1456         * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise.
1457         * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h:
1458         Likewise.
1459         * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise.
1460         * java/util/concurrent/SynchronousQueue.h: Likewise.
1461         * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise.
1462         * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h:
1463         Likewise.
1464         * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise.
1465         * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h:
1466         Likewise.
1467         * java/util/concurrent/ThreadPoolExecutor.h: Likewise.
1468         * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise.
1469         * java/util/logging/ErrorManager.h: Likewise.
1470         * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise.
1471         * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise.
1472
1473 2007-02-16  Keith Seitz  <keiths@redhat.com>
1474
1475         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1476         (get_line_table): New function.
1477         (handle_single_step): New function.
1478         (jdwpSingleStepCB): New function.
1479         (jdwpVMInitCB): Define a JVMTI single step
1480         callback, but don't enable it until needed.
1481
1482 2007-02-16  David Daney  <ddaney@avtrex.com>
1483
1484         * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass
1485         new parameter constructor.
1486         (Thread(ThreadGroup, Runnable, String, long)): Same.
1487         (Thread(String, boolean)): New constructor.
1488         (Thread(Thread, ThreadGroup, Runnable, String): Add parameter
1489         noInheritableThreadLocal, don't call
1490         InheritableThreadLocal.newChildThread if set.
1491         * java/lang/PosixProcess.java(ProcessManager()): Set
1492         noInheritableThreadLocal in super.
1493         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new
1494         parameter to Thread constructor.
1495         (_Jv_AttachCurrentThreadAsDaemon): Same.
1496         * java/lang/Thread.h: Regenerate.
1497         * classpath/lib/java/lang/Thread.class: Same.
1498         * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same.
1499         * classpath/lib/java/lang/PosixProcess.class: Same.
1500         * classpath/lib/java/lang/Thread$State.class: Same.
1501         * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same.
1502
1503 2007-02-16  Kyle Galloway  <kgallowa@redhat.com>
1504
1505         * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot
1506         variables to maintain type info.
1507         * interpret-run.cc: Add local variable info to frame in the debug
1508         interpreter.
1509         * jvmti.cc (getLocalFrame): New method.
1510         (_Jv_JVMTI_GetLocalObject): New method.
1511         (_Jv_JVMTI_GetLocallInt): New method.
1512         (_Jv_JVMTI_GetLocalFloat): New method.
1513         (_Jv_JVMTI_GetLocalLong): New method.
1514         (_Jv_JVMTI_GetLocalDouble): New method.
1515         (_Jv_JVMTI_SetLocalObject): New method.
1516         (_Jv_JVMTI_SetLocalInt): New method.
1517         (_Jv_JVMTI_SetLocalFloat): New method.
1518         (_Jv_JVMTI_SetLocalLong): New method.
1519         (_Jv_JVMTI_SetLocalDouble): New method.
1520
1521 2007-02-16  Gary Benson  <gbenson@redhat.com>
1522
1523         * gnu/gcj/tools/gcj_dbtool/Main.java
1524         (bytesToString): Don't lose zeros from within the digest.
1525
1526 2007-02-15  Andrew Haley  <aph@redhat.com>
1527
1528         * Makefile.am (nat_source_files): Remove
1529         java/lang/management/natVMManagementFactory.cc.
1530         * java/lang/Thread.java (getStackTrace): Use reflection to call
1531         the ManagementFactory.
1532         * java/lang/management/VMManagementFactory.java: Remove native
1533         methods.
1534         * java/lang/management/natVMManagementFactory.cc: Deleted.
1535         * sources.am: Regnerate.
1536         * scripts/makemake.tcl: Add new "bcheaders" type.
1537         Move java/lang/management and gnu/classpath/management to "bc".
1538         Move gnu/java/lang/management to "bcheaders".
1539         
1540 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
1541         
1542         * interpret.cc (_Jv_InterpMethod::check_handler): New method.
1543         * interpret-run.cc: Change the catch section to report exception
1544         events and to use the new check_handler method.
1545         * include/java-interp.h (_Jv_InterpMethod): Add check_handler.
1546         * gnu/gcj/jvmti/ExceptionEvent.java: New file.
1547         * gnu/gcj/jvmti/ExceptionEvent.h: New file.
1548         * gnu/gcj/jvmti/natExceptionEvent.cc: New file.
1549         * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New
1550         file.
1551         * sources.am: Added ExceptionEvent.java.
1552         * Makefile.am: Added natExceptionEvent.cc
1553         * Makefile.in: Regenerated.
1554         * include/Makefile.in: Regenerated.
1555         * gcj/Makefile.in: Regenerated.
1556
1557 2007-02-15  Johannes Schmidt  <jschmidt@avtrex.com>
1558         David Daney  <ddaney@avtrex.com>
1559
1560         * configure.ac: Create vm-tools-packages file.  Add 
1561         gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages.
1562         Check for /proc/self/maps.
1563         * Makefile.am (bin_PROGRAMS): Added gc-analyze.
1564         (gc_analyze_SOURCES): New.
1565         (gc_analyze_LDFLAGS): New.
1566         (gc_analyze_LINK): New.
1567         (gc_analyze_LDADD): New.
1568         (gc_analyze_DEPENDENCIES): New.
1569         (nat_source_files): Add gnu/gcj/util/natGCInfo.cc.
1570         * Makefile.in: Regenerated.
1571         * configure: Regenerated.
1572         * include/config.h.in: Regenerated.
1573         * sources.am: Regenerated.
1574         * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj.
1575         * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New.
1576         * gnu/gcj/tools/gc_analyze/ObjectMap.java: New.
1577         * gnu/gcj/tools/gc_analyze/MemoryMap.java: New.
1578         * gnu/gcj/tools/gc_analyze/SymbolTable.java: New.
1579         * gnu/gcj/tools/gc_analyze/BlockMap.java: New.
1580         * gnu/gcj/tools/gc_analyze/BytePtr.java: New.
1581         * gnu/gcj/tools/gc_analyze/ItemList.java: New.
1582         * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New.
1583         * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New.
1584         * gnu/gcj/util/GCInfo.java: New.
1585         * gnu/gcj/util/GCInfo.h: New.
1586         * gnu/gcj/util/natGCInfo.cc: New.
1587         * gnu/gcj/util/UtilPermission.java: New.
1588         * gnu/gcj/util/UtilPermission.h: New.
1589         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New.
1590         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New.
1591         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New.
1592         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New.
1593         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New.
1594         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New.
1595         * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New.
1596         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New.
1597         * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New.
1598         * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New.
1599         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New.
1600         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New.
1601         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New.
1602         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New.
1603         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New.
1604         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New.
1605         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New.
1606         * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New.
1607         * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New.
1608         * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New.
1609         * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New.
1610         * classpath/lib/gnu/gcj/util/GCInfo.class: New.
1611         * classpath/lib/gnu/gcj/util/UtilPermission.class: New.
1612
1613 2007-02-15  David Daney  <ddaney@avtrex.com>
1614
1615         * gnu/java/net/PlainSocketImpl.h: Regenerate.
1616         * gnu/classpath/jdwp/VMVirtualMachine.h: Same.
1617         * gnu/classpath/jdwp/VMFrame.h: Same.
1618         * java/net/Socket.h: Same.
1619         * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same.
1620
1621 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
1622
1623         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
1624         Added LocalVariableTable attribute handling.
1625         (_Jv_ClassReader::pool_Utf8_to_char_arr): New method.
1626         * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method.
1627         * include/java-interp.h: Added local_var_table and 
1628         local_var_table_len fields to _Jv_InterpMethod.
1629         (_Jv_InterpMethod::get_local_var_table): New method.
1630         * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test.
1631         * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test.
1632         * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output
1633         for new test.
1634         * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test.
1635         * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test.
1636
1637 2007-02-15  Kyle Galloway  <kgallowa@redhat.com>
1638
1639         * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement.
1640
1641 2007-02-13  Keith Seitz  <keiths@redhat.com>
1642
1643         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1644         (jdwpBreakpointCB): New function.
1645         (jdwpVMInitCB): Define and enable the breakpoint
1646         callback.
1647
1648 2007-02-13  Andrew Haley  <aph@redhat.com>
1649
1650         * testsuite/libjava.lang/Divide_2.out
1651         * testsuite/libjava.lang/Divide_2.java: New test.
1652
1653 2007-02-12  Keith Seitz  <keiths@redhat.com>
1654
1655         * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast
1656         from jthread to Thread *; it is no longer needed.
1657         (_Jv_JVMTI_GetFrameCount): Likewise.
1658         Fix small formatting typo.
1659
1660 2007-02-12  Tom Tromey  <tromey@redhat.com>
1661
1662         * sources.am, Makefile.in: Rebuilt.
1663         * java/lang/Socket.java: Removed override.
1664         * java/lang/DatagramSocket.java: Removed override.
1665         * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New
1666         field.
1667         (getLocalAddress): New method.
1668         * gnu/java/net/PlainDatagramSocketImpl.java
1669         (PlainDatagramSocketImpl): Throws IOException.
1670         * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove
1671         'sizeof'.
1672         (read): Likewise.
1673
1674 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
1675
1676         * java/util/VMTimeZone.java: Rewrite to handle both the old
1677         'TZif\0' format and the new one.
1678         
1679 2007-02-10  Andrew Haley  <aph@redhat.com>
1680
1681         PR java/30742
1682         * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New.
1683         (getCallingClass): Call GET_CALLING_CLASS.
1684         (getCallingClassLoader): Likewise.
1685
1686 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
1687
1688         * configure: Rebuilt.
1689         * configure.ac (GCJH): Reverted second part of patch of 2006-12-20.
1690
1691 2007-02-10  Mohan Embar  <gnustuff@thisiscool.com>
1692
1693         * Makefile.in: Rebuilt.
1694         * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to
1695         the host's ecj1 executable.
1696
1697 2007-02-09  Richard Henderson  <rth@redhat.com>
1698
1699         * sysdep/alpha/locks.h (read_barrier): New.
1700
1701 2007-02-09  Keith Seitz  <keiths@redhat.com>
1702
1703         * gnu/classpath/jdwp/VMVirtualMachine.java
1704         (_stepping_threads): New member.
1705         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1706         Regenerated.
1707         * gnu/classpath/jdwp/VMVirtualMachine.h:
1708         Regenerated.
1709         * gnu/claspath/jdwp/natVMVirtualMachine.cc
1710         (get_request_step_filter): New function.
1711         (DISABLE_EVENT): New macro.
1712         (initialize): Initialize _stepping_threads.
1713         (registerEvent): Implement EVENT_SINGLE_STEP.
1714         (unregisterEvent): Likewise.
1715
1716 2007-02-08  Keith Seitz  <keiths@redhat.com>
1717
1718         * sources.am: Regenerate.
1719         * Makefile.in: Regenerate.
1720         * testsuite/Makefile.in: Regenerate.
1721         * gcj/Makefile.in: Regenerate.
1722         * include/Makefile.in: Regenerate.
1723
1724         * classpath/lib/javax/management/MBeanServerFactory.class:
1725         Regenerate.
1726
1727 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
1728
1729         * classpath/gnu/classpath/jdwp/processor/
1730         StackFrameCommandSet.java (executeGetValues): Pass jlong instead
1731         of ByteBuffer.
1732         (executeSetValues): Ditto.
1733         (executeThisObject): Ditto.
1734         * classpath/gnu/classpath/jdwp/processor/
1735         StackFrameCommandSet.class: Rebuilt.
1736         * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
1737         Rebuilt.
1738         * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
1739         * classpath/lib/gnu/classpath/jdwp/exception/
1740         InvalidFrameException.java: New file.
1741         * gnu/classpath/jdwp/VMFrame.java: Added field for thread of
1742         frame.
1743         (Constructor): New method.
1744         * gnu/classpath/jdwp/VMFrame.h: Regenerated.
1745         * gnu/classpath/jdwp/VMVirtualMachine.java
1746         (getFrame): Changed ByteBuffer to jlong.
1747         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1748         (getFrame): Implement.
1749         * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
1750
1751 2007-02-08  Kyle Galloway  <kgallowa@redhat.com>
1752
1753         * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added
1754         to hold "this" pointer for frame.
1755         (_Jv_InterpFrame::get_this_ptr): New method.
1756         * interpret-run.cc: Copy the "this" pointer into obj_ptr.
1757
1758 2007-02-07  Keith Seitz  <keiths@redhat.com>
1759
1760         * include/java-interp.h (_Jv_Frame::depth):
1761         New function.
1762         * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth.
1763
1764 2007-02-07  Kyle Galloway  <kgallowa@redhat.com>
1765
1766         * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro.
1767         (_Jv_JVMTI_GetMaxLocals): New method.
1768         * include/java-interp.h
1769         (_Jv_InterpMethod::get_max_locals): New method.
1770
1771 2007-02-01 Marco Trudel <mtrudel@gmx.ch>
1772
1773         * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects.
1774
1775 2007-02-07  Tom Tromey  <tromey@redhat.com>
1776
1777         * testsuite/libjava.jni/init.c: New file.
1778         * testsuite/libjava.jni/init.java: New file.
1779         * testsuite/libjava.jni/init.out: New file.
1780         * testsuite/libjava.jni/init.jar: New file.
1781         * testsuite/libjava.jni/init.h: New file.
1782         * testsuite/libjava.jni/init$NativeClass.h: New file.
1783
1784 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
1785
1786         PR libgomp/28468
1787         * configure: Regenerate.
1788
1789 2007-02-06  Andrew Haley  <aph@redhat.com>
1790
1791         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
1792         * sources.am: Rebuild.
1793
1794 2007-02-05  Keith Seitz  <keiths@redhat.com>
1795
1796         * jvmti.cc (_envListLock): Change type to
1797         ReentrantReadWriteLock.
1798         (_Jv_JVMTI_DisposeEnvironment): Switch to read/write
1799         lock.
1800         (check_enabled_event): Likewise.
1801         (_Jv_GetJVMTIEnv): Likewise.
1802         (_Jv_JVMTI_Init): Likewise.
1803         (_Jv_JVMTI_PostEvent): Likewise. 
1804
1805 2007-02-05  Keith Seitz  <keiths@redhat.com>
1806
1807         * gnu/classpath/jdwp/natVMVirtualMachine.cc
1808         (registerEvent): Implement EVENT_BREAKPOINT.
1809         (unregisterEvent): Likewise.
1810         (get_request_location): New function.
1811
1812 2007-02-05  Matthias Klose  <doko@debian.org>
1813
1814         testsuite/Makefile.am (compile-tests): Fix typo.
1815         testsuite/Makefile.in: Regenerate.
1816
1817 2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
1818
1819         * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount):
1820         Implment.
1821
1822 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
1823
1824         * configure.ac (libjava_cv_anon_version_script): New test.
1825         (ANONVERSCRIPT): New AM_CONDITIONAL.
1826         * configure: Rebuilt.
1827         * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script
1828         if ANONVERSCRIPT.
1829         * Makefile.in: Rebuilt.
1830         (libgcj_la_DEPENDENCIES): Depend on libgcj.ver.
1831         * libgcj.ver: New file.
1832
1833 2007-02-01  David Daney  <ddaney@avtrex.com>
1834
1835         * scripts/makemake.tcl: Replace gnu/xml build with build of all
1836         its subpackages.
1837         * sources.am: Regenerate.
1838         * Makefile.in: Regenerate.
1839
1840 2007-02-01  Tom Tromey  <tromey@redhat.com>
1841
1842         * java/lang/ClassLoader.java (getResources): No longer final.
1843
1844 2007-02-01  Tom Tromey  <tromey@redhat.com>
1845
1846         * java/util/logging/LogManager.java (loggers): Genericized.
1847         (addLogger): Merged.
1848         (findAncestor): Likewise.
1849         (getLogger): Likewise.
1850         (getLoggerNames): Genericized.
1851         (reset): Merged.
1852         (getLevelProperty): Likewise.
1853         * java/lang/reflect/Method.java (getDeclaringClass): Genericized.
1854         * java/lang/reflect/Constructor.java (getParameterTypes):
1855         Genericized.
1856         (getExceptionTypes): Likewise.
1857         (newInstance): Likewise.
1858         * java/lang/reflect/Array.java (newInstance): Genericized.
1859         * java/lang/Object.java (getClass): Genericized.
1860         * java/nio/charset/spi/CharsetProvider.java (charsets):
1861         Genericized.
1862         * java/text/Collator.java: Implement Comparable<Object>.
1863
1864 2007-02-01  Tom Tromey  <tromey@redhat.com>
1865
1866         * java/util/Calendar.java: Implement Comparable<Calendar>.  Update
1867         comments.
1868         (clear): Call complete.
1869         (setTimeZone): Call computeTime, computeFields.
1870         (compareTo): New method.
1871         * java/nio/charset/Charset.java: Implement Comparable<Charset>.
1872         (availableCharsets): Genericized.
1873         (aliases): Likewise.
1874         (compareTo): Changed argument type.
1875         * java/lang/ClassLoader.java (loadClass): Genericized.
1876         (findClass): Likewise.
1877         (defineClass): Likewise.
1878         (resolveClass): Likewise.
1879         (findSystemClass): Likewise.
1880         (setSigners): Likewise.
1881         (findLoadedClass): Likewise.
1882         (getResources): Likewise.
1883         (findResources): Likewise.
1884         (getSystemResources): Likewise.
1885         (checkInitialized): New method.
1886         * java/lang/Class.java (getCanonicalName): New method.
1887
1888 2007-01-31  Keith Seitz  <keiths@redhat.com>
1889
1890         * include/jvmti-int.h (JVMTI): Declare member "enabled".
1891         * jvmti.cc (JVMTI): Add member "enabled".
1892         (_Jv_GetJVMTIEnv): Mark JVMTI enabled.
1893         * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled
1894         instead of gnu::classpath::jdwp::Jdwp::isDebugging.
1895         (_Jv_CompileMethod): If JVMTI is enabled, use run_debug
1896         instead of run to compile the method.
1897
1898         * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step
1899         notification.
1900
1901 2007-01-31  Andreas Tobler  <a.tobler@schweiz.org>
1902
1903         * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add
1904         -shared-libgcc to the cxxflaglist for Darwin.
1905
1906 2007-01-31  Tom Tromey  <tromey@redhat.com>
1907
1908         * scripts.am, Makefile.in: Rebuilt.
1909         * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build
1910         as 'ordinary'.
1911         (emit_ordinary_rule): New proc.
1912
1913 2007-01-31  Keith Seitz  <keiths@redhat.com>
1914
1915         * testsuite/libjava.jvmti/getmethodname.h: New file.
1916         * testsuite/libjava.jvmti/getmethodname.jar: New file.
1917
1918 2007-01-31  Andrew Haley  <aph@redhat.com>
1919
1920         * prims.cc (_Jv_Abort): fflush (stderr).
1921         * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort.
1922
1923 2007-01-31  Tom Tromey  <tromey@redhat.com>
1924
1925         * configure, Makefile.in: Rebuilt.
1926         * configure.ac (JAR): Check for -@ feature.
1927         * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune.
1928
1929 2007-01-31  Tom Tromey  <tromey@redhat.com>
1930
1931         PR libgcj/30606:
1932         * configure, include/config.h.in: Rebuilt.
1933         * configure.ac: Check for magic_t in magic.h.
1934         * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T.
1935
1936 2007-01-30  Tom Tromey  <tromey@redhat.com>
1937
1938         * Makefile.in: Rebuilt.
1939         * Makefile.am (libgcj-$(gcc_version).jar): Rewrote.
1940
1941 2007-01-30  Andreas Tobler  <a.tobler@schweiz.org>
1942
1943         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a
1944         cast to print it right.
1945
1946 2007-01-29  Kaloian Doganov  <kaloian@doganov.org>
1947
1948         PR libgcj/30600:
1949         * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to
1950         'limit'.
1951
1952 2007-01-29  Kyle Galloway  <kgallowa@redhat.com>
1953
1954         * include/java-interp.h:  Added _Jv_Frame class and its two
1955         subclasses _Jv_InterpFrame and _Jv_NativeFrame.  Also moved
1956         _Jv_FrameType from java-stack.h.
1957         * include/java-stack.h: Removed _Jv_FrameType.
1958         * java/lang/Thread.java: Added frame member to hold new
1959         composite frame stack.
1960         * java/lang/Thread.h: Regenerated.
1961         * java/lang/Thread.class: Rebuilt.
1962         * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when
1963         calling a JNI method.
1964         * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method.
1965         (_Jv_JVMTI_GetFrameCount): New method.
1966         * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame
1967         classes.
1968         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1969         * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test.
1970         * testsuite/libjava.jvmti/interp/getstacktrace.h: New test.
1971         * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test.
1972         * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file
1973         for test. 
1974
1975 2007-01-29  Tom Tromey  <tromey@redhat.com>
1976
1977         * interpret.cc (run_debug): Remove comment.
1978         (STOREA): Reformat.
1979         (STOREI): Likewise.
1980         (STOREF): Likewise.
1981         (STOREL): Likewise.
1982         (STORED): Likewise.
1983         (POKEI): Likewise.
1984         (run_normal_debug): Likewise.
1985         (run_synch_object_debug): Likewise.
1986         (run_class_debug): Likewise.
1987         (run_synch_class_debug): Likewise.
1988         (get1s): Likewise.
1989         (get1u): Likewise.
1990         (get2u): Likewise.
1991         (get4): Likewise.
1992         (NULLARRAYCHECK): Likewise.
1993         (ARRAYBOUNDSCHECK): Likewise.
1994         * interpret-run.cc (insn_target) <breakpoint>: Tidy.
1995
1996 2007-01-29  Tom Tromey  <tromey@redhat.com>
1997
1998         * configure, Makefile.in: Rebuilt.
1999         * Makefile.am (bin_SCRIPTS): Never install scripts/jar.
2000         * configure.ac (BASH_JAR): Removed conditional.
2001         (JAR): Prefer the jar found by AC_CHECK_PROGS.
2002
2003 2007-01-29  Tom Tromey  <tromey@redhat.com>
2004
2005         * Makefile.in: Rebuilt.
2006         * Makefile.am (interpret.lo): New target.  Add -fwrap to
2007         AM_CXXFLAGS.
2008
2009 2007-01-29  Keith Seitz  <keiths@redhat.com>
2010
2011         * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED):
2012         Define.
2013         [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building
2014         gcj. All jvmti object types now are defined to be their
2015         corresponding java classes.
2016         * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from
2017         jthread to Thread*.
2018         (_Jv_JVMTI_ResumeThread): Likewise.
2019         (_Jv_JVMTI_InterruptThread): Likewise.
2020         (_Jv_JVMTI_SetEventNotificationMode): Likewise.
2021         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2022         (jdwpClassPrepareCB): Likewise.
2023         (jdwpThreadEndCB): Likewise.
2024         (jdwpThreadStartCB): Likewise.
2025         (jdwpVMInitCB): Likewise.
2026  
2027 2007-01-28  Michele Sandri  <gpointorama@gmail.com>
2028
2029         * gnu/java/nio/channels/natFileChannelWin32.cc
2030         (lock): Implemented.
2031         (unlock): Implemented.
2032
2033 2007-01-27  Andreas Tobler  <a.tobler@schweiz.org>
2034
2035         PR libgcj/30513
2036         * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to
2037         libgcj_flags to undefine 'sun' at compile time.
2038         * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit
2039         Sparc.
2040         (write_barrier): Likewise.
2041
2042 2007-01-27  Keith Seitz  <keiths@redhat.com>
2043
2044         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2045         (getAllClassMethods): Move error handling to ...
2046         (throw_jvmti_error): ... here.
2047         (jdwpClassPrepareCB): New function.
2048         (jdwpThreadEndCB): New function.
2049         (jdwpThreadStartCB): New function.
2050         (jdwpVMDeathCB): New function.
2051         (jdwpVMInitCB): Define and enable callbacks for
2052         ClassPrepare, ThreadEnd, ThreadStart, and VMDeath.
2053
2054 2007-01-27  Jakub Jelinek  <jakub@redhat.com>
2055
2056         * Makefile.am (generic_header_files): Add $(inner_nat_headers).
2057         * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests.
2058         (MYGCJH): New variable.
2059         (compile-tests): New goal.
2060         * Makefile.in: Rebuilt.
2061         * testsuite/Makefile.in: Rebuilt.
2062
2063 2007-01-26  Andrew Haley  <aph@redhat.com>
2064
2065         * java/lang/natClass.cc (initializeClass): Re-throw
2066         SecurityExceptions.
2067         * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess.
2068         * java/lang/ClassLoader.java: (loadClass): Likewise.
2069
2070 2007-01-26  Tom Tromey  <tromey@redhat.com>
2071
2072         * Updated headers.
2073
2074 2007-01-25  Tom Tromey  <tromey@redhat.com>
2075
2076         PR libgcj/29594:
2077         * gnu/gcj/convert/Convert.java (main): Correctly handle missing
2078         input or output encodings.  Removed unused local variables.
2079
2080 2007-01-25  Keith Seitz  <keiths@redhat.com>
2081
2082         * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.
2083         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2084         (_Jv_GetJDWP_JVMTIEnv): New function.
2085         * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement.
2086         (getSignature): Implement.
2087         (getModifiers): Implement.
2088
2089 2007-01-25  Andrew Haley  <aph@redhat.com>
2090
2091         * configure, Makefile.in, include/config.h.in: Rebuilt.
2092         * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC).
2093         * configure.ac: Don't check for libmagic.
2094         * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load,
2095         p_magic_close, p_magic_buffer): New globals.
2096         (init): Look up 'magic' functions.
2097         (guessContentTypeFromBuffer): Updated.
2098
2099 2007-01-25  Keith Seitz  <keiths@redhat.com>
2100
2101         * jvmti.cc (_Jv_JVMTI_GetMethodName): New function.
2102         (_Jv_JVMTI_Interface): Define GetMethodName.
2103         * testsuite/libjava.jvmti/getmethodname.java: New file.
2104         * testsuite/libjava.jvmti/natgetmethodname.cc: New file.
2105         * testsuite/libjava.jvmti/getmethodname.out: New file. 
2106
2107 2007-01-24  Kyle Galloway  <kgallowa@redhat.com>
2108
2109         * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file.
2110         * libjava/testsuite/libjava.jvmti/interp: New folder.
2111         * libjava/testsuite/lib/libjava.exp (exec_gij): New Method.
2112
2113 2007-01-24  Keith Seitz  <keiths@redhat.com>
2114
2115         * link.cc (_Jv_Linker::wait_for_state): Add JVMTI
2116         CLASS_PREPARE notification.
2117
2118 2007-01-24  Keith Seitz  <keiths@redhat.com>
2119
2120         * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h,
2121         gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h
2122         * interpret-run.cc: Implement insn_breakpoint.
2123
2124 2007-01-24  Keith Seitz  <keiths@redhat.com>
2125
2126         * prims.cc (_Jv_RunMain): Send JVMTI event notifications
2127         for VM_INIT and VM_DEATH instead of the JDWP notifications.
2128
2129 2007-01-24  Keith Seitz  <keiths@redhat.com>
2130
2131         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2132         (getAllClassMethods): Implement.
2133
2134 2007-01-24  Andrew Haley  <aph@redhat.com>
2135
2136         * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere.
2137         (getClassContext) Add a barrier to prevent GetStackWalkerStack()
2138         from being sibcalled.
2139
2140 2007-01-24  Andrew Haley  <aph@redhat.com>
2141
2142         * scripts/makemake.tcl (emit_bc_rule): Set the source filename.
2143         * sources.am: Rebuild.
2144
2145 2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
2146
2147         * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
2148         _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
2149
2150 2007-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2151
2152         PR libgcj/30550
2153         * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed.
2154         * Makefile.in: Regenerated.
2155
2156 2007-01-22  Keith Seitz  <keiths@redhat.com>
2157
2158         * gnu/classpath/jdwp/natVMVirtualMachine.cc
2159         (getClassMethod): Implement.
2160
2161 2007-01-22  Keith  Seitz  <keiths@redhat.com>
2162
2163         * java/lang/Class.h (_Jv_GetClassStatus): Declare.
2164         * java/lang/natClass.cc (_Jv_GetClassStatus): New function.
2165         * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function.
2166         (_Jv_JVMTI_Interface): Define GetClassStatus.
2167
2168 2007-01-22  Tom Tromey  <tromey@redhat.com>
2169
2170         * configure: Rebuilt.
2171         * configure.ac (GCJ): Reverted patch of 2006-12-20.
2172
2173 2007-01-22  Tom Tromey  <tromey@redhat.com>
2174
2175         PR java/29812:
2176         * testsuite/libjava.jni/pr29812.java: New file.
2177         * testsuite/libjava.jni/pr29812_injar.java: New file.
2178         * testsuite/libjava.jni/pr29812_injar.jar: New file.
2179         * testsuite/libjava.jni/pr29812.out: New file.
2180         * testsuite/libjava.jni/pr29812_injar.c: New file.
2181         * testsuite/libjava.jni/pr29812_injar.h: New file.
2182         * testsuite/libjava.jni/pr29812.jar: New file.
2183         * testsuite/libjava.jni/pr29812.c: New file.
2184         * testsuite/libjava.jni/pr29812.h: New file.
2185         * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation):
2186         New proc.
2187         (gcj_jni_invocation_test_one): Use it.
2188         (gcj_jni_pr29812): New proc.
2189         (gcj_jni_run): Use it.
2190         * java/lang/natRuntime.cc (_load): Push a new system frame before
2191         calling JNI_OnLoad.
2192         * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare.
2193         (_Jv_GetJNIEnvNewFrameWithLoader): Likewise.
2194         * jni.cc (struct _Jv_JNI_LocalFrame) <marker>: Now unsigned char.
2195         <allocated_p>: Now bool.
2196         <loader>: New field.
2197         (_Jv_JNI_EnsureLocalCapacity): Updated.
2198         (_Jv_JNI_NewLocalRef): Likewise.
2199         (_Jv_JNI_NewLocalRef): Likewise.
2200         (_Jv_JNI_PopLocalFrame): Likewise.
2201         (_Jv_JNI_FindClass): Likewise.
2202         (_Jv_GetJNIEnvNewFrame): Likewise.
2203         (_Jv_JNI_AttachCurrentThread): Likewise.
2204         (_Jv_GetJNIEnvNewFrameWithLoader): New function.
2205         (_Jv_GetJNIEnvNewFrame): Use it.
2206         * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'.
2207
2208 2007-01-22  Tom Tromey  <tromey@redhat.com>
2209
2210         * libtool-version: Bump current to 9.
2211
2212 2007-01-22  Andrew Haley  <aph@redhat.com>
2213
2214         * sysdep/alpha/locks.h (write_barrier): New.
2215
2216 2007-01-21  Matthias Klose  <doko@debian.org>
2217
2218         * Makefile.am (install-exec-hook): Use transformed name.
2219         * Makefile.in: Regenerate.
2220
2221 2007-01-19  Keith Seitz  <keiths@redhat.com>
2222
2223         * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters
2224         in methods and reformat.
2225
2226         * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with
2227         MAYBE_UNUSED.
2228
2229 2007-01-18  Keith Seitz  <keiths@redhat.com>
2230
2231         From Macro Trudel <mtrudel@gmx.ch>:
2232         * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
2233         Use JNICALL.
2234
2235 2007-01-18  Marco Trudel  <mtrudel@gmx.ch>
2236
2237         * jni.cc (_Jv_JNI_FindClass): Initialize class.
2238         * testsuite/libjava.jni/findclass2.jar: New file.
2239         * testsuite/libjava.jni/findclass2.h: New file.
2240         * testsuite/libjava.jni/findclass2.java: New file
2241         * testsuite/libjava.jni/findclass2.c: New file.
2242         * testsuite/libjava.jni/findclass2.out: New file.
2243
2244 2007-01-18  Tom Tromey  <tromey@redhat.com>
2245
2246         * configure: Rebuilt.
2247         * configure.ac: Use multi_basedir instead of libgcj_basedir.
2248
2249 2007-01-18  Gary Benson  <gbenson@redhat.com>
2250
2251         * gnu/java/nio/natVMPipeEcos.cc:
2252         Renamed from gnu/java/nio/natPipeImplEcos.cc.
2253         * gnu/java/nio/natVMPipePosix.cc:
2254         Renamed from gnu/java/nio/natPipeImplPosix.cc.
2255         * gnu/java/nio/natVMPipeWin32.cc:
2256         Renamed from gnu/java/nio/natPipeImplWin32.cc.
2257         * gnu/java/nio/natVMSelectorEcos.cc:
2258         Renamed from gnu/java/nio/natSelectorImplEcos.cc.
2259         * gnu/java/nio/natVMSelectorPosix.cc:
2260         Renamed from gnu/java/nio/natSelectorImplPosix.cc.
2261         * gnu/java/nio/natVMSelectorWin32.cc:
2262         Renamed from gnu/java/nio/natSelectorImplWin32.cc.
2263         * java/io/natVMObjectInputStream.cc:
2264         Renamed from java/io/natObjectInputStream.cc.
2265         * java/lang/natVMDouble.cc:
2266         Renamed from java/lang/natDouble.cc.
2267         * java/lang/natVMFloat.cc:
2268         Renamed from java/lang/natFloat.cc.     
2269         * Makefile.am, configure.ac: Reflect the above.
2270         * Makefile.in, configure: Rebuilt.
2271
2272 2007-01-17  Andrew Haley  <aph@redhat.com>
2273
2274         * Makefile.in: Rebuilt.
2275         * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath.
2276
2277 2007-01-17  Keith Seitz  <keiths@redhat.com>
2278
2279         * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification.
2280         (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification.
2281
2282 2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
2283
2284         * configure.ac: Use multi.m4 from aclocal rather than custom
2285         code.  Use multi_basedir instead libgcj_basedir.  Test for
2286         /proc/self/exe when not cross-compiling.
2287         * aclocal.m4: Regenerate.
2288         * configure: Regenerate.
2289         * Makefile.in: Regenerate.
2290
2291 2007-01-17  Gary Benson  <gbenson@redhat.com>
2292
2293         * java/nio/natVMDirectByteBufferImpl.cc:
2294         Renamed from java/nio/natDirectByteBufferImpl.cc.
2295         * Makefile.am: Reflect the above.
2296         * Makefile.in: Rebuilt.
2297         
2298 2007-01-17  Marco Trudel  <mtrudel@gmx.ch>
2299
2300         * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static.  Use JNICALL.
2301         Fixed indentation.  Removed unused variable.
2302
2303 2007-01-16  Tom Tromey  <tromey@redhat.com>
2304
2305         * java/lang/natThread.cc (finalize_native): Remove cast.
2306         (_Jv_GetCurrentJNIEnv): Likewise.
2307         * include/jvm.h (struct natThread) <jni_env>: Declare as
2308         _Jv_JNIEnv*.
2309
2310 2007-01-16  Keith Seitz  <keiths@redhat.com>
2311
2312         * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use
2313         %#llx instead of %d for new_value.
2314         * testsuite/libjava.jvmti/events.out: Update expected output.
2315         * testsuite/libjava.jvmti/events.jar: Regenerate.
2316
2317 2007-01-16  Keith Seitz  <keiths@redhat.com>
2318
2319         * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):
2320         New macro.
2321         (ENABLE_EVENT): New macro.
2322         (initialize): Define and enable JVMTI VM_INIT callback.
2323         (jdwpVMInitCB): New function.
2324
2325 2007-01-16  Kyle Galloway  <kgallowa@redhat.com>
2326
2327         * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function.
2328         * testsuite/libjava.jvmti/getallthreads.java: New test.
2329         * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto.
2330         * testsuite/libjava.jvmti/getallthreads.out: Ditto.
2331         * testsuite/libjava.jvmti/getallthreads.h: Ditto.
2332         * testsuite/libjava.jvmti/getallthreads.jar: Ditto. 
2333
2334 2007-01-15  Keith Seitz  <keiths@redhat.com>
2335
2336         * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use
2337         java.lang.StringBuilder instead of java.lang.StringBuffer.
2338         (resumeThread): Likewise.
2339
2340 2007-01-15  Gary Benson  <gbenson@redhat.com>
2341
2342         * java/nio/MappedByteBuffer.java: Removed.
2343         * sources.am, Makefile.in: Rebuilt.
2344
2345 2007-01-15  Gary Benson  <gbenson@redhat.com>
2346
2347         * java/net/URLClassLoader.java: Removed.
2348         * gnu/java/net/loader/Load_gcjlib.java: New file.
2349         * gnu/gcj/runtime/BootClassLoader.java: Ensure core
2350         URL handler is present in static executables.
2351         * sources.am, Makefile.in: Rebuilt.
2352
2353 2007-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2354
2355         * Makefile.am (libgcj_la_LDFLAGS): Add
2356         $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS).
2357         (libgcj_tools_la_LDFLAGS): Likewise.
2358         (libgcj_bc_la_LDFLAGS): Likewise.
2359         * Makefile.in: Regenerated.
2360
2361         * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC.  Set
2362         LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS.  Set
2363         libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set.
2364         Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS.
2365         * configure: Regenerated.
2366         * aclocal.m4: Likewise.
2367         * gcj/Makefile.in: Likewise.
2368         * include/Makefile.in: Likewise.
2369         * testsuite/Makefile.in: Likewise.
2370
2371 2007-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2372
2373         * sysdep/sh/locks.h (read_barrier): New.
2374         (write_barrier): Likewise.
2375
2376 2007-01-12  Andrew Haley  <aph@redhat.com>
2377
2378         * include/i386-signal.h: Rewrite to use rt_sigaction.
2379
2380 2007-01-11  Andrew Haley  <aph@redhat.com>
2381
2382         * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant
2383         to char*.
2384         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix
2385         aliasing violation.
2386
2387 2007-01-10  Tom Tromey  <tromey@redhat.com>
2388
2389         * gnu/gcj/xlib/*.h: New files.
2390         * gnu/awt/xlib/*.h: Likewise.
2391         * classpath/lib/gnu/gcj/xlib: New class files.
2392         * classpath/lib/gnu/awt/xlib: Likewise.
2393
2394 2007-01-10  Tom Tromey  <tromey@redhat.com>
2395
2396         * HACKING: Various updates.
2397
2398 2007-01-10  Tom Tromey  <tromey@redhat.com>
2399
2400         * java/lang/natDouble.cc (toString): Added parens.
2401         * gnu/gcj/io/shs.h (PROTO): Define.
2402         * link.cc (resolve_pool_entry): Added missing braces.
2403
2404 2007-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2405
2406         PR libgcj/30424
2407         * sysdep/ia64/locks.h (read_barrier): New.
2408         (write_barrier): New.
2409
2410 2007-01-10  Gary Benson  <gbenson@redhat.com>
2411
2412         * java/net/URL.java: Removed.
2413         * sources.am, Makefile.in: Rebuilt.
2414
2415 2007-01-10  Matthias Klose  <doko@debian.org>
2416
2417         * Makefile.am (install-exec-hook): Support $(DESTDIR).
2418         * Makefile.in: Regenerated.
2419
2420 2007-01-05  Tom Tromey  <tromey@redhat.com>
2421
2422         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find
2423         dummy.class in srcdir.
2424
2425 2007-01-03  Tom Tromey  <tromey@redhat.com>
2426
2427         * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I
2428         for srcdir.
2429
2430 2007-01-03  Tom Tromey  <tromey@redhat.com>
2431
2432         * testsuite/*: Added many .jar and .h files.
2433         * testsuite/libjava.special/special.exp
2434         (gcj_special_try_compiler): New proc.
2435         * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't
2436         bytecompile source.  Search for .jar files.
2437         (gcj_loader_test_one): Don't look for MyLoader.java.
2438         * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't
2439         bytecompile sources or build headers.
2440         (gcj_jvmti_run): Look for .jar files.
2441         * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar
2442         files.
2443         (gcj_jni_test_one): Don't bytecompile sources or build headers.
2444         Set classpath when invoking gij.
2445         (gcj_jni_invocation_test_one): Likewise.
2446         * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build
2447         headers or bytecompile sources.
2448         (gcj_cni_run): Use .jar files, not .java files.
2449         * testsuite/libjava.lang/lang.exp: Compile .jar files.
2450
2451 2007-01-02  Tom Tromey  <tromey@redhat.com>
2452
2453         * configure: Rebuilt.
2454         * configure.ac: Check for gjar.
2455
2456 2007-01-02  Tom Tromey  <tromey@redhat.com>
2457
2458         * testsuite/libjava.jacks/jacks.exp: Removed.
2459         * testsuite/libjava.jacks/jacks.xfail: Removed.
2460