OSDN Git Service

b02e649ae5a5d9ff1d2a8e7d6822f1da83ad4574
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2006-11-03  Gary Benson  <gbenson@redhat.com>
2
3         * java/net/InetAddress.java: Removed.
4         * java/net/natInetAddressNoNet.cc: Likewise.
5         * java/net/natInetAddressPosix.cc: Likewise.
6         * java/net/natInetAddressWin32.cc: Likewise.
7         * java/net/VMInetAddress.java (getLocalHostname,
8         lookupInaddrAny, getHostByAddr, getHostByName,
9         aton): Replace glue methods with native ones.
10         * java/net/natVMInetAddressNoNet.cc: New file.
11         * java/net/natVMInetAddressPosix.cc: Likewise.
12         * java/net/natVMInetAddressWin32.cc: Likewise.
13         * Makefile.am, configure.ac: Reflect the above.
14         * sources.am, Makefile.in, configure: Rebuilt.
15
16         * java/net/natVMNetworkInterfaceWin32.cc
17         (winsock2GetRealNetworkInterfaces): Create InetAddress
18         objects using InetAddress.getByAddress.
19         * gnu/java/net/natPlainSocketImplWin32.cc
20         (accept, getOption): Likewise.
21         * gnu/java/net/natPlainDatagramSocketImplWin32.cc
22         (peekData, receive, getOption): Likewise.
23
24 2006-11-02  Keith Seitz  <keiths@redhat.com>
25
26         * gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement.
27
28 2006-11-02  Keith Seitz  <keiths@redhat.com>
29
30         * jvmti.cc (_Jv_JVMTI_GetLineNumberTable): New function.
31         (_Jv_JVMTI_Interface): Define GetLineNumberTable.
32
33 2006-11-01  Keith Seitz  <keiths@redhat.com>
34
35         * gnu/gcj/jvmti/Location.java: New file.
36         * gnu/gcj/jvmti/BreakpointManager.java: New file.
37         * jvmti.cc (_Jv_JVMTI_SetBreakpoint): New function.
38         (_Jv_JVMTI_ClearBreakpoint): New function.
39         (_Jv_JVMTI_Interface): Define SetBreakpoint and ClearBreakpoint.
40         * sources.am: Regenerated.
41         * Makefile.in: Regenerated.
42
43 2006-10-28  Keith Seitz  <keiths@redhat.com>
44
45         * Makefile.am (nat_source_files): Add natBreakpoint.cc.
46         * sources.am: Regenerated.
47         * Makefile.in: Regenerated.
48         * gnu/gcj/jvmti/Breakpoint.java: New file.
49         * gnu/gcj/jvmti/natBreakpoint.java: New file.
50
51 2006-10-27  Keith Seitz  <keiths@redhat.com>
52
53         * include/java-stack.h (ncodeMap): Declare.
54         (_Jv_StackTrace): Make _Jv_GetMethodDeclaringClass friend.
55         * java/lang/Class.h (_Jv_GetMethodDeclaringClass): Declare.
56         * java/lang/natClass.cc (_Jv_GetMethodDeclaringClass): New
57         function.
58         * stacktrace.cc (ncodeMap): Redefine from file global to global
59         for class _Jv_StackTrace.
60         (_Jv_StackTrace::UpdateNCodeMap): Add interpreted classes, too,
61         so that _Jv_GetMethodDeclaringClass can find them all.
62         (_Jv_StackTrace::ClassForFrame): Exclude interpreted classes.
63         * jvmti.cc (_Jv_JVMTI_GetMethodDeclaringClass): New function.
64         (_Jv_JVMTI_Interface): Define GetMethodDeclaringClass function.
65
66 2006-10-25  Andreas Tobler  <a.tobler@schweiz.org>
67
68         * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests): Replace
69         formatting modifiers %p with %#llx and cast the arguments.
70
71 2006-10-20  Tom Tromey  <tromey@redhat.com>
72
73         * testsuite/libjava.jvmti/natevents.cc (do_callback_arg_tests):
74         Correctly pass jvalues.
75
76 2006-10-18  Tom Tromey  <tromey@redhat.com>
77             Bryce McKinlay  <mckinlay@redhat.com>
78
79         * testsuite/libjava.jni/register2.java: New file.
80         * testsuite/libjava.jni/register2.out: New file.
81         * testsuite/libjava.jni/register2.c: New file.
82         * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function.
83         * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare.
84         * jni.cc (struct NativeMethodCacheEntry): New struct.
85         (nathash): Changed type.
86         (hash): Updated.
87         (nathash_find_slot): Likewise.
88         (nathash_find): Likewise.
89         (natrehash): Likewise.
90         (nathash_add): Likewise.
91         (_Jv_JNI_RegisterNatives): Likewise.
92         (_Jv_LookupJNIMethod): Likewise.
93         Idea from Juerg Lehni <juerg@scratchdisk.com>
94
95 2006-10-16  Geoffrey Keating  <geoffk@apple.com>
96
97         * testsuite/libjava.jvmti/natevents.cc (env): Delete.
98         (ExceptionCB): Fix types for printf arguments.
99         (ExceptionCatchCB): Likewise.
100         (SingleStepCB): Likewise.
101         (BreakpointCB): Likewise.
102         (FieldAccessCB): Likewise.
103         (FieldModificationCB): Likewise.
104         (CompiledMethodLoadCB): Likewise.
105
106 2006-10-14  Keith Seitz  <keiths@redhat.com>
107
108         * include/java-insns.h (enum java_code): Add op_breakpoint.
109         * include/java-interp.h (_Jv_InterpMethod): Declare breakpoint_insn.
110         [INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_slot.
111         [!INTERPRETER]: Declare _Jv_InterpMethod::bp_insn_opcode.
112         (install_break): Declare.
113         * interpret.cc (breakpoint_insn): Define breakpoint insn.
114         (compile): Add op_breakpoint to "can't happen" cases.
115         [INTERPRETER] Initialize breakpoint insn if necessary.
116         (install_break): New method.
117         * interpret-run.cc: Add op_breakpoint to insn_targets.
118         Add insn_breakpoint label.
119         * verify.cc (branch_prepass): Add op_breakpoint to unrecognized
120         opcodes section of switch statement.
121         (verify_instructions_0): Likewise.
122
123 2006-10-12  Keith Seitz  <keiths@redhat.com>
124
125         * include/jvmti-int.h (JVMTI): Declare all members "extern".
126         * jvmti.cc (JVMTI): Define.
127
128 2006-10-11  Tom Tromey  <tromey@redhat.com>
129
130         * Makefile.in: Rebuilt.
131         * Makefile.am (install-data-local): Use mkinstalldirs.
132
133 2006-10-10  Tom Tromey  <tromey@redhat.com>
134
135         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
136         Removed obsolete comment.
137
138 2006-10-10  Keith Seitz  <keiths@redhat.com>
139
140         * include/java-interp.h (_Jv_InterpMethod::get_insn): Declare.
141         (_Jv_InterpMethod::set_insn): Declare.
142         * interpret.cc (_Jv_InterpMethod::get_insn): New method.
143         (_Jv_InterpMethod::get_insn): New method.
144
145 2006-10-10  Tom Tromey  <tromey@redhat.com>
146
147         * prims.cc (_Jv_PrependVersionedLibdir): Use
148         _Jv_platform_path_separator.
149
150 2006-10-10  Tom Tromey  <tromey@redhat.com>
151
152         PR libgcj/29205:
153         * Makefile.in: Rebuilt.
154         * Makefile.am (install-data-local): Install the .pc file.
155         (pkgconfig_DATA): Removed.
156
157 2006-10-03  Gary Benson  <gbenson@redhat.com>
158
159         * java/net/InetAddress.java
160         (<clinit>): Reorder the static initializers.
161
162 2006-10-02  Gary Benson  <gbenson@redhat.com>
163
164         * java/net/InetAddress.java
165         (checkConnect): Reinstated.
166         (loopbackAddress): Ensure initialized from non-null object.
167
168 2006-09-30  Keith Seitz  <keiths@redhat.com>
169
170         * include/java-interp.h (prepared): Change type to pc_t.
171         (insn_index): Define for both DIRECT_THREADED and bytecode interpreters.
172         * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
173         (insn_index): Implement for bytecode interpreter.
174         * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker class
175         qualifier to resolve_pool_entry.
176         [!DIRECT_THREADED] (AVAL2U): Likewise.
177         [!DIRECT_THREADED] bytecode() cannot be called without an object.
178         Changed all typos.
179         [!DIRECT_THREADED] Likewise for defining_class.
180
181 2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
182
183         PR target/26792:
184         * exception.cc (PERSONALITY_FUNCTION): use _Unwind_GetIP
185         if HAVE_GETIPINFO not defined.
186         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Likewise.
187         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
188         * configure.ac: use GCC_CHECK_UNWIND_GETIPINFO.
189         * aclocal.m4, configure, include/config.h.in, Makefile.in:
190         Rebuilt.
191
192 2006-09-27  Tom Tromey  <tromey@redhat.com>
193
194         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201712
195         * java/util/Locale.java (hashcode): No longer transient.
196         (writeObject): Use ObjectOutputStream.PutField and
197         defaultWriteObject.
198         (readObject): Use defaultReadObject.
199
200 2006-09-25  Keith Seitz  <keiths@redhat.com>
201
202         * gnu/classpath/jdwp/VMVirtualMachine.java
203         (_jdwp_suspend_counts): New private variable.
204         * gnu/classpath/jdwp/natVMVirtualMachine.cc
205         (initialize): Initialize _jdwp_suspend_counts.
206         (suspendThread): Implement.
207         (resumeThread): Implement.
208         (getSuspendCount): Implement.
209
210 2006-09-22  Marco Trudel  <mtrudel@gmx.ch>
211
212         * jvmti.cc (_Jv_JVMTI_GetErrorName): Now static.  Marked JNICALL.
213
214 2006-09-21  Keith Seitz  <keiths@redhat.com>
215
216         * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): Check for enabled
217         events.
218         (check_enabled_event): New function.
219         (check_enabled_events): New function.
220         (post_event): New function.
221         (_Jv_JVMTI_SetEventNotificationMode): New function.
222         (_Jv_JVMTI_SetEventCallbacks): New function.
223         (_Jv_JVMTI_Interface): Define SetEventNotificationMode and
224         SetEventCallbacks members.
225         * include/jvmti-int.h: New file.
226         * include/jvmti_md.h (EVENT_SLOTS) [__GCJ_JNI_IMP__]: Define.
227         (_CLASSPATH_JVMTIENV_CONTENTS) [__GCJ_JNI_IMPL__]: Define.
228         * testsuite/libjava.jvmti/events.java: New file.
229         * testsuite/libjava.jvmti/events.out: New file.
230         * testsuite/libjava.jvmti/natevents.cc: New file. 
231
232 2006-09-21  Sandro Tolaini  <tolaini@libero.it>
233
234         * configure.ac: Don't use darwin-signal.h as signal handler for
235         Darwin/i386.
236         * configure.host: Enable Darwin/i386 as a supported host, with no
237         signal unwinding.
238
239 2006-09-20  Keith Seitz  <keiths@redhat.com>
240
241         * jvmti.cc (_Jv_JVMTI_CreateRawMonitor): Use _Jv_MallocUnchked
242         and return JVMTI_ERROR_OUT_OF_MEMORY if necessary.
243         (_Jv_JVMTI_GetClassMethods): Likewise.
244         (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
245         (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
246         (_Jv_JVMTI_GetSystemProperty): Likewise.
247
248 2006-09-20  Keith Seitz  <keiths@redhat.com>
249
250         * jvmti.cc (_Jv_JVMTI_GetErrorName): New function.
251         (_Jv_JVMTI_Interface): Define GetErrorName member.
252         * testsuite/libjava.jvmti/geterrorname.java: New file.
253         * testsuite/libjava.jvmti/geterrorname.out: New file.
254         * testsuite/libjava.jvmti/natgeterrorname.cc: New file.
255
256 2006-09-20  Gary Benson  <gbenson@redhat.com>
257
258         * java/net/InetAddress.java: Mostly merged with Classpath.
259         * java/net/VMInetAddress.java: New file.
260         * sources.am, Makefile.in: Rebuilt.
261
262         * java/net/natVMNetworkInterfacePosix.cc
263         (getInterfaces): Create InetAddress objects using
264         InetAddress.getByAddress.
265         * gnu/java/net/natPlainSocketImplPosix.cc
266         (accept, getOption): Likewise.
267         * gnu/java/net/natPlainDatagramSocketImplPosix.cc
268         (peekData, receive, getLocalAddress): Likewise.
269
270 2006-09-19  Keith Seitz  <keiths@redhat.com>
271
272         * testsuite/libjava.jvmti/jvmti.exp: New file.
273
274 2006-09-19  Keith Seitz  <keiths@redhat.com>
275
276         * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Clarify parameter list.
277         (THREAD_CHECK_VALID): Likewise.
278         (THREAD_CHECK_ALIVE): Likewise.
279         (_Jv_JVMTI_SuspendThread): Call THREAD_CHECK_VALID on a Thread not
280         jthread.
281         (_Jv_JVMTI_ResumeThread): Likewise.
282         (_Jv_JVMTI_InterruptThread): Likewise.
283
284         (_Jv_JVMTI_DisposeEnvironment): Probably unwise to dereference an object
285         that was just freed.
286
287 2006-09-19  Mark Wielaard  <mark@klomp.org>
288
289         Fixes bug #29137
290         * java/util/logging/LogManager.java (addLogger): Always check for
291         existing children of a new Logger.
292
293 2006-09-19  Tom Tromey  <tromey@redhat.com>
294
295         * java/util/logging/LogManager.java: Re-merged with Classpath.
296
297 2006-09-18  Tom Tromey  <tromey@redhat.com>
298
299         * configure: Rebuilt.
300
301 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
302
303         * configure.host: Handle kfreebsd.
304
305 2006-09-18  Petr Salinger  <Petr.Salinger@seznam.cz>
306
307         * configure: Rebuilt.
308         * shlibpath.m4: Handle GNU/kFreeBSD.
309
310 2006-09-14  Tom Tromey  <tromey@redhat.com>
311
312         PR boehm-gc/29068:
313         * boehm.cc (_Jv_GCAttachThread): Disable on Solaris.
314         (_Jv_GCDetachThread): Likewise.
315
316 2006-09-14  Andreas Schwab  <schwab@suse.de>
317
318         * posix-threads.cc: Include "posix.h".
319
320 2006-09-13  Geoffrey Keating  <geoffk@apple.com>
321
322         * posix.cc (_Jv_platform_nanotime): Return nanoseconds, not
323         microseconds; use gettimeofday when available.
324         * posix-threads.cc (_Jv_CondWait): Improve accuracy and range of
325         timeout calculation.
326         * testsuite/libjava.lang/Thread_Sleep_2.java: New.
327         * testsuite/libjava.lang/Thread_Sleep_2.out: New.
328         * testsuite/libjava.lang/Thread_Sleep_2.xfail: New.
329
330 2006-09-12  Tom Tromey  <tromey@redhat.com>
331
332         PR java/29013:
333         * testsuite/libjava.lang/PR29013.out: Likewise.
334         * testsuite/libjava.lang/PR29013.java: New file.
335
336 2006-09-12  Tom Tromey  <tromey@redhat.com>
337
338         * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.
339
340 2006-09-07  Matthias Klose  <doko@debian.org>
341
342         * Makefile.am (AM_CXXFLAGS): Remove duplicate define.
343         * Makefile.in: Regenerate.
344
345 2006-09-06  Keith Seitz  <keiths@redhat.com>
346
347         * java/lang/Class.h (_Jv_FindInterpreterMethod): Change return type
348         to _Jv_MethodBase instead of _Jv_InterpMethod.
349         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): Likewise.
350         Do not check access flags.
351         Fix some minor style anomalies.
352         
353 2006-09-01  Geoffrey Keating  <geoffk@apple.com>
354
355         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
356         Pass -lgcj to linker for C++ files on Darwin.
357
358 2006-09-01  Keith Seitz  <keiths@redhat.com>
359
360         * jvmti.cc (THREAD_DEFAULT_TO_CURRENT): Encapsulate in do..while loop.
361         (THREAD_CHECK_VALID): Likewise.
362         (THREAD_CHECK_IS_ALIVE): Likewise.
363         (NULL_CHECK): Likewise.
364         (ILLEGAL_ARGUMENT): Likewise.
365
366 2006-09-01  Keith Seitz  <keiths@redhat.com>
367
368         * include/jvm.h (_Jv_JVMTI_Init): Declare.
369         * jvmti.cc (_Jv_JVMTI_Init): New function.
370         * prims.cc (_Jv_CreateJavaVM): Initialize JVMTI.
371
372         * jvmti.cc (ILLEGAL_ARGUMENT): New macro.
373         (_Jv_JVMTI_Allocate): Use ILLEGAL_ARUMENT.
374
375         * jvmti.cc (_jvmtiEnvironments): New linked list of
376         JVMTI environments.
377         (FOREACH_ENVIRONMENT): New macro.
378         (_envListLock): New object to act as synchronization lock
379         for _jvmtiEnvironments.
380         (_Jv_JVMTI_DisposeEnvironment): Check for NULL environment.
381         Remove the environment from the list of known environments.
382         (_Jv_GetJVMTIEnv): Add the new environment to the list
383         of known environments.
384
385 2006-09-01  Gary Benson  <gbenson@redhat.com>
386
387         * java/net/InetAddress.java (getLocalHost): Refactor to avoid
388         security check if getLocalHostname() fails and to provide more
389         meaningful exceptions it the security check fails.
390
391 2006-09-01  Gary Benson  <gbenson@redhat.com>
392
393         * java/net/InetAddress.java (getByAddress): Create Inet4Address
394         objects when passed IPv4-mapped IPv6 addresses.
395         (getByName, getAllByName): Defer to the above to ensure that the
396         correct Inet*Address objects are returned.
397
398 2006-09-01  Gary Benson  <gbenson@redhat.com>
399
400         * java/net/InetAddress.java (getByName, getAllByName):
401         Only perform security check when DNS lookups are required.
402
403 2006-08-31  Keith Seitz  <keiths@redhat.com>
404
405         * include/jvmti_md.h: New file.
406
407         * jvmti.cc (_Jv_JVMTI_RawMonitorWait): Add millis parameter.
408         Pass millis to _Jv_CondWait.
409
410 2006-08-31  Tom Tromey  <tromey@redhat.com>
411
412         PR libgcj/28698:
413         * libgcj_bc.c (DECLARE_PRIM_TYPE): New macro.  Declare primitive
414         classes.
415
416 2006-08-24  Keith Seitz  <keiths@redhat.com>
417
418         * prims.cc (remoteDebug): New global.
419         (jdwpOptions): New global.
420         (parse_x_arg): Add processing for "X" options "debug" and
421         "runjdwp:"
422         (_Jv_RunMain): If debugging, start up JDWP backend.
423         Send VM_INIT and VM_DEATH when appropriate.
424
425 2006-08-23  Keith Seitz  <keiths@redhat.com>
426
427         * gnu/classpath/jdwp/VMVirtualMachine.java
428         (initialize): Declare.
429         * gnu/classpath/jdwp/natVMVirtualMachine.cc
430         (initialize): Get and save JVMTI environment.
431
432 2006-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
433
434         PR libgcj/27890
435         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
436         Set gnu.classpath.home.url to TOOLEXECLIBDIR.
437         * configure.ac: Do not add --with-native-libdir to
438         ac_configure_args.
439         * java/security/libgcj.security: Remove file.
440         * java/util/logging/logging.properties: Likewise.
441         * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro.
442         * classpath/resource/Makefile.am (loggingdir): Define to
443         toolexeclibdir.
444         (securitydir): Likewise.
445         * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR.
446         Set default nativeexeclibdir using toolexeclibdir.
447         * HACKING: Fix classpath aclocal arguments.
448         * Makefile.am (secdir): Remove variable.
449         (propdir): Likewise.
450         (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR
451         definition.
452         (all_property_files): Remove variable.
453         (install-data-local): Do not install libgcj.security or
454         logging.properties.
455         * configure, Makefile.in, classpath/configure,
456         classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in,
457         classpath/native/jni/midi-alsa/Makefile.in,
458         classpath/native/jni/classpath/Makefile.in,
459         classpath/native/jni/midi-dssi/Makefile.in,
460         classpath/native/jni/Makefile.in,
461         classpath/native/jni/java-nio/Makefile.in,
462         classpath/native/jni/java-net/Makefile.in,
463         classpath/native/jni/gconf-peer/Makefile.in,
464         classpath/native/jni/java-io/Makefile.in,
465         classpath/native/jni/xmlj/Makefile.in,
466         classpath/native/jni/java-util/Makefile.in,
467         classpath/native/jni/qt-peer/Makefile.in,
468         classpath/native/jni/gtk-peer/Makefile.in,
469         classpath/native/Makefile.in, classpath/native/jawt/Makefile.in,
470         classpath/native/target/Linux/Makefile.in,
471         classpath/native/target/Makefile.in,
472         classpath/native/target/generic/Makefile.in,
473         classpath/native/fdlibm/Makefile.in,
474         classpath/native/plugin/Makefile.in,
475         classpath/resource/Makefile.in, classpath/scripts/Makefile.in,
476         classpath/tools/Makefile.in, classpath/doc/Makefile.in,
477         classpath/doc/api/Makefile.in, classpath/lib/Makefile.in,
478         classpath/external/Makefile.in,
479         classpath/external/sax/Makefile.in,
480         classpath/external/w3c_dom/Makefile.in,
481         classpath/external/relaxngDatatype/Makefile.in,
482         classpath/include/Makefile.in, classpath/aclocal.m4,
483         classpath/examples/Makefile.in, aclocal.m4: Regenerate.
484
485 2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
486
487         * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread
488         to GC.
489         (_Jv_DetachCurrentThread): Detach thread from GC.
490         * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread):
491         Declare.
492         * boehm.cc (_Jv_GCAttachThread): New function.
493         (_Jv_GCDetachThread): Likewise.
494
495 2006-08-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
496
497         * sysdep/i386/backtrace.h (fallback_backtrace): Add "0x55 0x8B 0xEC"
498         as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp"
499         function prologue.
500
501 2006-08-17  H.J. Lu  <hongjiu.lu@intel.com>
502
503         * Makefile.am (install-exec-hook): Support $(DESTDIR).
504         * Makefile.in: Regenerated.
505
506 2006-08-16  Tom Tromey  <tromey@redhat.com>
507
508         * libtool-version: Updated.
509
510 2006-08-16  Jakub Jelinek  <jakub@redhat.com>
511             Bryce McKinlay  <bryce@mckinlay.net.nz>
512
513         * configure, Makefile.in: Rebuilt.
514         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la.
515         (libgcj_bc_la_SOURCES): New variable.
516         (libgcj_bc_la_LDFLAGS): Likewise.
517         (libgcj_bc_la_LIBADD): Likewise.
518         (libgcj_bc_la_DEPENDENCIES): Likewise.
519         (libgcj_bc_la_LINK): Likewise.
520         (libgcj_bc_dummy_LINK): Likewise.
521         (libgcj_bc.la): New target.
522         (install-exec-hook): Likewise.
523         * libgcj.spec.in (*lib): Use LIBGCJ_SPEC.
524         * libgcj_bc.c: New file.
525         * configure.ac (LIBGCJ_SPEC): New subst.
526         * configure.host (use_libgcj_bc): New variable.
527
528 2006-08-15  Kyle Galloway  <kgallowa@redhat.com>
529
530         * include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
531         * interpret.cc: Added placeholder for debug variable type info to STORE*
532         macros.
533         (_Jv_InterpMethod::run_debug): New method.
534         (_Jv_InterpMethod::run_sync_object_debug): New method.
535         (_Jv_InterpMethod::run_sync_class_debug): New method.
536         (_Jv_InterpMethod::run_normal_debug): New method.
537         (_Jv_InterpMethod::run_class_debug): New method.
538         (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
539         versions of these functions.
540         * interpret-run.cc: New file, holds contents of old     
541         _Jv_InterpMethod::run method.
542         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
543         appropriate function for debug or normal mode.
544
545 2006-08-14  Mark Wielaard  <mark@klomp.org>
546
547         Imported GNU Classpath 0.92
548         * HACKING: Add more importing hints. Update automake version
549         requirement.
550
551         * configure.ac (gconf-peer): New enable AC argument.
552         Add --disable-gconf-peer and --enable-default-preferences-peer
553         to classpath configure when gconf is disabled.
554         * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
555         gnu/java/awt/dnd/peer/gtk to bc. Classify
556         gnu/java/security/Configuration.java as generated source file.
557
558         * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
559         gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
560         gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
561         gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
562         gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
563         gnu/java/lang/management/VMThreadMXBeanImpl.java,
564         gnu/java/lang/management/VMMemoryMXBeanImpl.java,
565         gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
566         classes.
567         * java/lang/management/VMManagementFactory.java: Likewise.
568         * java/net/VMURLConnection.java: Likewise.
569         * gnu/java/nio/VMChannel.java: Likewise.
570
571         * java/lang/Thread.java (getState): Add stub implementation.
572         * java/lang/Class.java (isEnum): Likewise.
573         * java/lang/Class.h (isEnum): Likewise.
574
575         * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
576
577         * javax/naming/spi/NamingManager.java: New override for StackWalker
578         functionality.
579
580         * configure, sources.am, Makefile.in, gcj/Makefile.in,
581         include/Makefile.in, testsuite/Makefile.in: Regenerated.
582
583 2006-08-14  Gary Benson  <gbenson@redhat.com>
584
585         * java/lang/Thread.java (accessControlState): New field.
586         * java/security/VMAccessControlState.java: New file.
587         * java/security/natVMAccessControlState.cc: Likewise.
588         * java/security/VMAccessController.java
589         (contexts, inGetContext): Removed.
590         (pushContext, popContext, getContext): Use VMAccessControlState.
591         * Makefile.am (nat_source_files): Updated.
592         * sources.am, Makefile.in: Rebuilt.
593
594 2006-08-10  Gary Benson  <gbenson@redhat.com>
595
596         * include/java-stack.h (GetAccessControlStack): Change return
597         type.
598         * stacktrace.cc (accesscontrol_trace_fn): Record the number of
599         Java frames encountered.
600         (GetAccessControlStack): Return a flag indicating whether a call to
601         doPrivileged was encountered rather than an array of method names.
602         * java/security/natVMAccessController.cc (getStack): Change return
603         type.
604         * java/security/VMAccessController.java (getStack): Likewise.
605         (getContext): Change to reflect the above.
606
607 2006-08-09  Gary Benson  <gbenson@redhat.com>
608
609         * stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames.
610
611 2006-08-09  Gary Benson  <gbenson@redhat.com>
612
613         * java/lang/System.java (setSecurityManager): Javadoc fix.
614         * java/security/VMAccessController.java (getContext): Comment fix.
615
616 2006-08-09  Gary Benson  <gbenson@redhat.com>
617
618         * include/java-stack.h (accesscontrol_trace_fn): Declare.
619         (GetAccessControlStack): Likewise.
620         (GetClassMethodStack): Remove.
621         * stacktrace.cc (accesscontrol_trace_fn): New method.
622         (GetAccessControlStack): Likewise.
623         (GetClassMethodStack): Remove.
624         * java/security/natVMAccessController.cc (getStack): Use
625         GetAccessControlStack.
626
627 2006-08-07  Gary Benson  <gbenson@redhat.com>
628
629         PR libgcj/28340:
630         * java/lang/ClassLoader.java (clinit): Install a default
631         security manager if java.security.manager is defined.
632         (getParent, getSystemClassLoader): Use the correct stack
633         frame during security checks.
634         * java/net/URLClassLoader.java (findClass): Avoid calling
635         this.toString() during VM initialization.
636         (runtimeInitialized): New method.
637         * java/net/natURLClassLoader.cc: New file.
638         * Makefile.am (nat_source_files): Added the above.
639         * Makefile.in: Rebuilt.
640
641 2006-08-07  Gary Benson  <gbenson@redhat.com>
642             Casey Marshall <csm@gnu.org>
643
644         * java/lang/SecurityManager.java (getSecurityContext,
645         checkPermission, checkAccess, checkRead, checkConnect,
646         checkPackageAccess, checkPackageDefinition, checkPackageList):
647         Merge with Classpath.
648         (SecurityContext): Remove.
649
650 2006-08-07  Gary Benson  <gbenson@redhat.com>
651
652         * java/security/VMAccessController.java (pushContext, popContext,
653         getContext): Use Thread.currentThread() to determine when we're
654         bootstrapping.
655         (runtimeInitialized): Remove.
656         * java/security/natVMAccessController.cc (runtimeInitialized):
657         Remove.
658
659 2006-08-06  Tom Tromey  <tromey@redhat.com>
660
661         PR libgcj/28491:
662         * configure, include/config.h.in: Rebuilt.
663         * configure.ac: Look for ifaddrs.h, getifaddrs.
664         * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use
665         getifaddrs if available.
666
667 2006-08-06  Tom Tromey  <tromey@redhat.com>
668
669         PR libgcj/28576:
670         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect):
671         Implemented.
672         (disconnect): Likewise.
673         (send): Handle already-connected case.
674
675 2006-08-04  Mark Wielaard  <mark@klomp.org>
676
677         * jvmti.cc: Include gcj/method.h.
678
679 2006-08-04  Tom Tromey  <tromey@redhat.com>
680
681         * jvmti.cc: Added MAYBE_UNUSED to 'env' parameters.
682         (_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType
683         result to _Jv_uintptr_t.
684
685 2006-08-01  Keith Seitz  <keiths@redhat.com>
686
687         * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.
688         * gnu/classpath/jdwp/VMIdManager.java: Likewise.
689         * gnu/classpath/jdwp/VMMethod.java: Likewise.
690         * gnu/classpath/jdwp/VMVirtualMachine: Likewise.
691         * gnu/classpath/jdwp/natVMFrame.java: New file.
692         * gnu/classpath/jdwp/natVMMethod.java: New file.
693         * gnu/classpath/jdwp/natVMVirtualMachine.java: New file.
694         * Makefile.am (nat_source_files): Add new filles.
695         * Makefile.in: Regenerated.
696
697 2006-08-03  Tom Tromey  <tromey@redhat.com>
698
699         * jvmti.cc (REQUIRE_PHASE): New macro.
700         (_Jv_JVMTI_InterruptThread): New function.
701         (_Jv_JVMTI_CreateRawMonitor): Likewise.
702         (_Jv_JVMTI_DestroyRawMonitor): Likewise.
703         (_Jv_JVMTI_RawMonitorEnter): Likewise.
704         (_Jv_JVMTI_RawMonitorExit): Likewise.
705         (_Jv_JVMTI_RawMonitorWait): Likewise.
706         (_Jv_JVMTI_RawMonitorNotify): Likewise.
707         (_Jv_JVMTI_RawMonitorNotifyAll): Likewise.
708         (_Jv_JVMTI_Allocate): Likewise.
709         (_Jv_JVMTI_Deallocate): Likewise.
710         (_Jv_JVMTI_GetClassModifiers): Likewise.
711         (_Jv_JVMTI_GetClassMethods): Likewise.
712         (_Jv_JVMTI_IsInterface): Likewise.
713         (_Jv_JVMTI_IsArrayClass): Likewise.
714         (_Jv_JVMTI_GetClassLoader): Likewise.
715         (_Jv_JVMTI_GetObjectHashCode): Likewise.
716         (_Jv_JVMTI_GetFieldModifiers): Likewise.
717         (_Jv_JVMTI_IsFieldSynthetic): Likewise.
718         (_Jv_JVMTI_GetMethodModifiers): Likewise.
719         (_Jv_JVMTI_IsMethodNative): Likewise.
720         (_Jv_JVMTI_IsMethodSynthetic): Likewise.
721         (_Jv_JVMTI_GetClassLoaderClasses): Likewise.
722         (_Jv_JVMTI_ForceGarbageCollection): Likewise.
723         (_Jv_JVMTI_GetSystemProperty): Likewise.
724         (_Jv_JVMTI_SetSystemProperty): Likewise.
725         (_Jv_JVMTI_GetTime): Likewise.
726         (_Jv_JVMTI_GetAvailableProcessors): Likewise.
727         (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise.
728         (_Jv_JVMTI_SetVerboseFlag): Likewise.
729         (_Jv_JVMTI_GetObjectSize): Likewise.
730         (_Jv_JVMTI_SetJNIFunctionTable): Likewise.
731         (_Jv_JVMTI_GetJNIFunctionTable): Likewise.
732         (_Jv_JVMTI_Interface): Updated.
733         (NULL_CHECK): New macro.
734
735 2006-08-02  Andreas Tobler  <a.tobler@schweiz.ch>
736
737         PR libgcj/28546
738         * include/no-threads.h: Declare _Jv_Thread_t as empty class.
739
740 2006-08-01  Andreas Tobler  <a.tobler@schweiz.ch>
741
742         * gnu/classpath/natSystemProperties.cc: Add additional check for
743         getpwuid_r on _POSIX_PTHREAD_SEMANTICS.
744         (SystemProperties::insertSystemProperties): Likewise.
745         * java/io/natFilePosix.cc (File::performList): Add
746         additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS.
747         * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add
748         additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS.
749
750 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
751
752         PR libgcj/28312
753         * classpath/native/jni/midi-alsa/Makefile.am
754         (libgjsmalsa_la_LDFLAGS): Add -avoid-version.
755         * classpath/native/jni/midi-alsa/Makefile.in: Regenerate.
756         * classpath/native/jni/midi-dssi/Makefile.am
757         (libgjsmdssi_la_LDFLAGS): Add -avoid-version.
758         * classpath/native/jni/midi-dssi/Makefile.in: Regenerate.
759         * classpath/native/jni/qt-peer/Makefile.am: Remove GCJ LOCAL
760         sections.
761         (libqtpeer_la_LDFLAGS): Add -avoid-version.
762         * classpath/native/jni/qt-peer/Makefile.in: Regenerate.
763         * classpath/native/jni/gtk-peer/Makefile.am
764         (libgtkpeer_la_LDFLAGS): Add -avoid-version.
765         * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
766         * classpath/native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
767         -avoid-version.
768         * classpath/native/jawt/Makefile.in: Regenerate.
769         * Makefile.am (libjvm_la_LDFLAGS): Add -avoid-version.
770         * Makefile.in: Regenerate.
771
772 2006-07-28  Andrew Haley  <aph@redhat.com>
773
774         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Don't set
775         curLoader to VMClassLoader::bootLoader.
776
777 2006-07-28  Gary Benson  <gbenson@redhat.com>
778             Casey Marshall <csm@gnu.org>
779
780         PR libgcj/13604:
781         * include/java-stack.h (GetClassMethodStack): Declare.
782         * stacktrace.cc (GetClassMethodStack): New method.
783         * java/security/AccessController.java: Removed.
784         * java/security/VMAccessController.java: New file.
785         * java/security/natVMAccessController.cc: Likewise.
786         * Makefile.am (nat_source_files): Added the above.
787         * sources.am, Makefile.in: Rebuilt.
788
789 2006-07-28  Gary Benson  <gbenson@redhat.com>
790
791         * java/lang/SecurityManager.java (currentClassLoader,
792         currentLoadedClass, classLoaderDepth, checkAccess, checkRead,
793         checkWrite, checkTopLevelWindow, checkPrintJobAccess,
794         checkSystemClipboardAccess, checkAwtEventQueueAccess,
795         checkPackageList): Remerged javadoc.
796
797 2006-07-28  Gary Benson  <gbenson@redhat.com>
798
799         * prims.cc (_Jv_CreateJavaVM): Move setting runtimeInitialized
800         from the start to the end of the function.  Remove references
801         to VMThrowable.trace_enabled.
802         * java/lang/natVMThrowable.cc (fillInStackTrace): Use
803         runtimeInitialized rather than trace_enabled to decide
804         whether to inhibit stack trace generation.
805         * java/lang/VMThrowable.java (trace_enabled): Removed.
806
807 2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
808
809         * include/win32-threads.h (_Jv_Thread_t): Explicitly
810         name the struct.
811
812 2006-07-23  Mohan Embar  <gnustuff@thisiscool.com>
813
814         * jvmti.cc (_Jv_JVMTI_SuspendThread): Add missing JNICALL
815         attribute.
816         (_Jv_JVMTI_ResumeThread): Likewise.
817         (_Jv_JVMTI_DisposeEnvironment): Likewise.
818
819 2006-07-21  Mohan Embar  <gnustuff@thisiscool.com>
820
821         * gnu/java/net/natPlainSocketImplPosix.cc (bind): Clear
822         SockAddr before using - needed for OS X/PPC.
823
824 2006-07-21  Keith Seitz  <keiths@redhat.com>
825
826         * boehm.cc (_Jv_SuspendThread): Don't ifdef the function declaration,
827         just the contents.
828         (_Jv_ResumeThread): Likewise.
829         * posix-threads.cc: Revert 2006-06-19 _Jv_ThreadDebugSuspend,
830         _Jv_ThreadDebugResume, _Jv_ThreadDebugSuspendCount patch. Moving
831         to JVMTI instead.
832         * include/posix-threads.h: Likewise.
833         * win32-threads.cc: Likewise.
834         * include/win32-threads.h: Likewise.
835         * jvmti.cc (_Jv_JVMTI_SuspentThread): New function.
836         (_Jv_JVMTI_ResumeThread): New function.
837         (_Jv_JVMTI_Interface): Define SuspendThread and ResumeThread.
838
839 2006-07-21  David Daney  <ddaney@avtrex.com>
840
841         PR libgcj/28426
842         * configure: Regenerated.
843
844 2006-07-21  Mark Wielaard  <mark@klomp.org>
845
846         * java/io/OutputStreamWriter.java (flush): Create work if null.
847
848 2006-07-21  Keith Seitz  <keiths@redhat.com>
849
850         * java/lang/natThread.cc (_Jv_ThreadGetData): New function.
851         * Makefile.am (java/lang/Thread.h): Add friend function 
852         _Jv_ThreadGetData.
853         * Makefile.in: Regenerate.
854
855 2006-07-20  Keith Seitz  <keiths@redhat.com>
856
857         * jvmti.cc (_Jv_JVMTI_DisposeEnvironment): New function.
858         (_Jv_JVMTI_Interface): Define DisposeEnvironment method.
859
860 2006-07-20  Keith Seitz  <keiths@redhat.com>
861
862         * include/jvm.h (_Jv_GetJVMTIEnv): Declare.
863         * jni.cc (_Jv_JNI_GetEnv): Handle JVMTI requests.
864         * jvmti.cc: New file.
865         * Makefile.am (libgcj_la_SOURCES): Add jvmti.cc.
866         * Makefile.in: Regenerate. 
867
868 2006-07-20  David Daney  <ddaney@avtrex.com>
869
870         * configure.host: Enable the interpreter for mipsel-* and mips-*.
871
872 2006-07-20  David Daney  <ddaney@avtrex.com>
873
874         * include/mips-signal.h: Update copyright.
875         (struct kernel_sigaction): Removed.
876         (SIGNAL_HANDLER): Changed prototype.
877         (MAKE_THROW_FRAME): Added cast.
878         (INIT_SEGV): Use sigaction instead of syscall.
879         (INIT_FPE): Likewise.
880
881 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
882
883         * configure: Regenerate.
884
885 2006-07-18  Gary Benson  <gbenson@redhat.com>
886
887         * java/io/File.java (deleteOnExit): Fix security check.
888
889 2006-07-14  Anthony Green  <green@redhat.com>
890
891         * java/io/natFilePosix.cc (performSetLastModified): Return true on
892         success, false otherwise.
893
894 2006-07-14  Ranjit Mathew  <rmathew@gcc.gnu.org>
895
896         * stacktrace.cc (_Jv_StackTrace::GetStackTrace): Unconditionally use
897         _Unwind_Backtrace().
898         (_Jv_StackTrace::GetCallerInfo): Enable even for targets using SJLJ
899         EH.
900         (_Jv_StackTrace::GetClassContext): Unconditionally use
901         _Unwind_Backtrace().
902         (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
903         * sysdep/i386/backtrace.h (HAVE_FALLBACK_BACKTRACE): Do not define.
904         (_Unwind_GetIPInfo): Define macro if SJLJ EH is in use.
905         (_Unwind_GetRegionStart): Likewise.
906         (_Unwind_Backtrace): Likewise.
907         (fallback_backtrace): Accept additional unwind trace function
908         argument.  Call it during unwinding.  Stop when any of _Jv_RunMain(),
909         _Jv_ThreadStart() or main() is seen during unwinding.
910         * sysdep/generic/backtrace.h (fallback_backtrace): Accept an
911         additional unwind trace function argument.
912
913 2006-07-14  Gary Benson  <gbenson@redhat.com>
914
915         * java/io/File.java (internalExists): New method.
916         (exists): Use internalExists.
917         (internalIsDirectory): New method.
918         (isDirectory): Use internalIsDirectory.
919         (createTempFile): Use internalExists and internalIsDirectory.
920
921 2006-07-13  Bryce McKinlay  <mckinlay@redhat.com>
922
923         * interpret.cc (_Jv_InterpMethod::run): Don't SAVE_PC for fdiv.
924
925 2006-07-13  Bryce McKinlay  <mckinlay@redhat.com>
926
927         * interpret.cc (_Jv_InterpMethod::compile): Add FIXME comment.
928         (_Jv_InterpMethod::run): SAVE_PC before executing any instruction 
929         using resolve_pool_entry, as it can throw. Likewise for div/rem ops
930         that can throw ArithmeticException.
931
932 2006-07-12  Gary Benson  <gbenson@redhat.com>
933
934         * java/io/File.java (renameTo): Fix security checks.
935
936 2006-07-12  Bryce McKinlay  <mckinlay@redhat.com>
937
938         PR libgcj/28352
939         * stacktrace.cc (getLineNumberForFrame): Roll back PC by 1 when
940         looking up line number for interpreted frame.
941
942 2006-07-07  Bryce McKinlay  <mckinlay@redhat.com>
943             Geoffrey Keating <geoffk@apple.com>
944
945         * testsuite/libjava.lang/StackTrace2.java: Renamed from
946         StackTrace.java. Changed class name.
947         * testsuite/libjava.lang/StackTrace2.out: Renamed from
948         StackTrace.out. Updated for new class name.
949
950 2006-07-07  Ranjit Mathew  <rmathew@gcc.gnu.org>
951
952         * sysdep/i386/backtrace.h (fallback_backtrace): Scan for a function's
953         prologue to determine its beginning.  Stop unwinding when we reach
954         JvRunMain().
955
956 2006-07-07  Gary Benson  <gbenson@redhat.com>
957
958         * Makefile.am (BOOT_CLASS_PATH_DIR): Only contain libgcj.jar.
959         * Makefile.in: Regenerate.
960
961 2006-07-06  Bryce McKinlay <mckinlay@redhat.com>
962
963         * stacktrace.cc (ClassForFrame): Remove commented-out code.
964         (UnwindTraceFn): Use _Unwind_GetIPInfo and adjust IP
965         only when needed.
966         (getLineNumberForFrame): Don't adjust IP here.
967         * testsuite/libjava.lang/StackTrace.java: New test case.
968         * testsuite/libjava.lang/StackTrace.out: Ditto.
969
970 2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
971
972         * Makefile.am (libgcj_tools_la_GCJFLAGS): Add
973         -fno-indirect-classes.
974         * Makefile.in: Regenerate.
975         * gcj/Makefile.in: Regenerate.
976         * include/Makefile.in: Regenerate.
977         * testsuite/Makefile.in: Regenerate.
978
979 2006-07-06  Bryce McKinlay <mckinlay@redhat.com>
980
981         * boehm.cc (_Jv_MarkObj): Mark the next_or_version field.
982
983 2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
984
985         * configure.ac (ac_configure_args): Add --with-native-libdir.
986         * configure: Regenerate.
987         * classpath/native/jni/gtk-peer/Makefile.am: Remove GCJ LOCAL
988         sections.
989         * classpath/native/jni/gtk-peer/Makefile.in: Regenerate.
990         * classpath/native/jawt/Makefile.am: Remove GCJ LOCAL sections.
991         * classpath/native/jawt/Makefile.in: Regenerate.
992         * classpath/native/plugin/Makefile.am: Remove GCJ LOCAL sections.
993         * classpath/native/plugin/Makefile.in: Regenerate.
994
995 2006-07-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
996             Danny Smith  <dannysmith@users.sourceforge.net>
997
998         * libgcj.spec.in: Use THREADSTARTFILESPEC to affect the spec for
999         startfile.
1000         * configure.ac: Allow targets to affect the spec for startfile
1001         by specifying a THREADSTARTFILESPEC variable.  Define this for
1002         the win32 threads package to include crtmt.o.
1003         * configure: Regenerate.
1004         * win32.cc (_CRT_MT): Remove definition.
1005         (__mingwthr_key_dtor): Likewise.
1006
1007 2006-07-04  Andreas Tobler  <a.tobler@schweiz.ch>
1008
1009         * testsuite/lib/libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with
1010         the -B$specdir.
1011
1012         PR libgcj/28226:
1013         * include/posix.h (_Jv_platform_dladdr): Remove const qualifier.
1014         * include/win32.h (_Jv_platform_dladdr): Likewise.
1015         * posix.cc (_Jv_platform_dladdr): Likewise.
1016         * win32.cc (_Jv_platform_dladdr): Likewise.
1017
1018         * testsuite/lib/libjava.exp (libjava_init): Look for libgcj-$version.jar
1019         instead of libgcj-*.jar.
1020
1021 2006-07-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1022
1023         PR libgcj/28244:
1024         * Makefile.am (libgcj_tools_la_DEPENDENCIES): Add libgcj.la and
1025         libgcj.spec.
1026         * Makefile.in: Regenerate.
1027
1028 2006-06-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1029
1030         * classpath/tools/Makefile.am: Comment out tools wrapper creation.
1031         (TOOLS_ZIP): Rename tools.zip tools.jar.
1032         (noinst_DATA): Do not install tools.jar.
1033         * classpath/tools/Makefile.in: Regenerate.
1034         * classpath/Makefile.am (SUBDIRS): Add tools.
1035         (DIST_SUBDIRS): Likewise.
1036         * classpath/Makefile.in: Regenerate.
1037         * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj-tools.la.
1038         (jar_DATA): Add libgcj-tools-$(gcc_version).jar.
1039         (bin_PROGRAMS): Add gappletviewer, gjarsigner and gkeytool.
1040         Add build logic for libgcj-tools.la,
1041         libgcj-tools-$(gcc_version).jar and gappletviewer, gjarsigner and
1042         gkeytool.
1043         * Makefile.in: Regenerate.
1044
1045 2006-06-29  Ranjit Mathew  <rmathew@gcc.gnu.org>
1046
1047         * gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
1048         C99.
1049         * include/java-stack.h: Include stdlib.h.
1050         (_Jv_AddrInfo): New structure to hold address information.
1051         * include/posix.h (_Jv_platform_dladdr): Declare.
1052         * include/win32.h (_Jv_platform_dladdr): Declare.
1053         (backtrace): Remove declaration.
1054         * posix.cc: Include dlfcn.h if available.  Include java-stack.h.
1055         (_Jv_platform_dladdr): Define.
1056         * win32.cc: Include string.h.  Include java-stack.h.
1057         (backtrace): Remove.
1058         (_Jv_platform_dladdr): Define.
1059         * sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
1060         frame pointer value is 32-bit word-aligned.  Use operand of the CALL
1061         instruction calling the current function to find its starting address.
1062         * stacktrace.cc: Do not include dlfcn.h.  Include platform.h.
1063         (_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
1064         instead of dladdr().
1065         (_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
1066         (_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
1067         targets with SJLJ exceptions instead of using _Unwind_Backtrace().
1068         (_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.
1069
1070 2006-06-27  Tom Tromey  <tromey@redhat.com>
1071
1072         * java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
1073         Set 'out.count' earlier.
1074         (close): Call setFinished on converter.
1075         (flush): Always write work buffer.
1076         * java/io/PrintStream.java (writeChars): Do 'do' loop.
1077         (close): Call setFinished on converter.  Write a 'flush' array.
1078         * java/lang/natString.cc (getBytes): Call setFinished on
1079         converter.
1080         * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
1081         field.
1082         (write): Set hasBytes.  Changed 'finished' logic.
1083         (havePendingBytes): Rewrote.
1084         (setFinished): New method.
1085         * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
1086         * testsuite/libjava.lang/RH194522.java: New file.
1087         * testsuite/libjava.lang/RH194522.out: New file.
1088
1089 2006-06-27  Marco Trudel  <mtrudel@gmx.ch>
1090
1091         * boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
1092         conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
1093         !GC_WIN32_THREADS and !GC_DARWIN_THREADS.
1094
1095 2006-06-27  Tom Tromey  <tromey@redhat.com>
1096
1097         PR libgcj/28178:
1098         * jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
1099         (_Jv_JNI_DeleteGlobalRef): Likewise.
1100         * testsuite/libjava.jni/PR28178.java: New file.
1101         * testsuite/libjava.jni/PR28178.c: New file.
1102         * testsuite/libjava.jni/PR28178.out: New file.
1103
1104 2006-06-26  Keith Seitz  <keiths@redhat.com>
1105
1106         * include/posix-threads.h: Fix coding style aberrations from
1107         2006-06-19 check-in.
1108         * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1109         * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
1110         * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
1111
1112 2006-06-26  Keith Seitz  <keiths@redhat.com>
1113
1114         * include/no-gc.h (_Jv_SuspendThread): Declare.
1115         (_Jv_ResumeThread): Likewise.
1116         * include/boehm-gc.h (_Jv_SuspendThread): Declare.
1117         (_Jv_ResumeThread): Likewise.
1118         * nogc.cc (_Jv_SuspendThread): New function.
1119         (_Jv_ResumeThread): Likewise.
1120         * boehm.cc (_Jv_SuspendThread): New function.
1121         (_Jv_ResumeThread): Likewise.
1122
1123 2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1124
1125         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1126         Link against -ljvm, not -lgcj.
1127
1128 2006-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1129
1130         * Makefile.am (libjvm_la_LDFLAGS): Do not set -rpath to
1131         toolexeclibdir.
1132         * Makefile.in: Regenerate.
1133
1134 2006-06-22  Tom Tromey  <tromey@redhat.com>
1135
1136         * java/lang/reflect/natField.cc (getAddr): Allow setting of final
1137         field when it is accessible.
1138
1139 2006-06-21  Bryce McKinlay  <mckinlay@redhat.com>
1140
1141         * include/win32-threads.h (_Jv_ThreadDesc_t): New typedef. 
1142         (_Jv_GetPlatformThreadID): New function.
1143         * include/posix-threads.h (_Jv_ThreadDesc_t): New typedef.
1144         (_Jv_GetPlatformThreadID): New function.
1145
1146 2006-06-20  Bryce McKinlay  <mckinlay@redhat.com>
1147
1148         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1149         Bump "java.class.version" to 48.0.
1150
1151 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
1152
1153         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR to
1154         "$(dbexecdir)".
1155         Build libjvm.la.
1156         * Makefile.in: Regenerate.
1157         * jni.cc (the_vm): Rename and export as ...
1158         (_Jv_the_vm): New exported symbol.
1159         (_Jv_JNI_AttachCurrentThread): Export.
1160         (_Jv_JNI_DestroyJavaVM): Replace the_vm references with _Jv_the_vm
1161         references.
1162         (_Jv_GetJavaVM): Likewise.
1163         (JNI_GetDefaultJavaVMInitArgs, JNI_CreateJavaVM,
1164         JNI_GetCreatedJavaVMs): Move to ...
1165         * jni-libjvm.cc: New file.
1166
1167 2006-06-19  Andrew Haley  <aph@redhat.com>
1168
1169         * testsuite/libjava.lang/PR27908.out: New.
1170         * testsuite/libjava.lang/PR27908.java: New.
1171
1172 2006-06-19  Keith Seitz  <keiths@redhat.com>
1173
1174         * include/posix-threads.h (_Jv_ThreadDebugSuspend): Declare.
1175         (_Jv_ThreadDebugResume): Declare.
1176         (_Jv_ThreadDebugSuspendCount): Declare.
1177         * posix-threads.cc (_Jv_ThreadDebugSuspend): New function.
1178         (_Jv_ThreadDebugSuspendCount): New function.
1179         (_Jv_ThreadDebugResume): New function.
1180
1181         * include/win32-threads.h (_Jv_ThreadDebugSuspend): Declare.
1182         (_Jv_ThreadDebugResume): Declare.
1183         (_Jv_ThreadDebugSuspendCount): Declare.
1184         * win32-threads.cc (_Jv_ThreadDebugSuspend): New function.
1185         (_Jv_ThreadDebugSuspendCount): New function.
1186         (_Jv_ThreadDebugResume): New function.
1187         
1188 2006-06-16  Andrew Haley  <aph@redhat.com>
1189
1190         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
1191         copy the whole Class instance from the initializer: instead, copy
1192         everything but the first word (the vtable pointer).
1193         Change prototype to (const char* class_initializer).
1194         (_Jv_RegisterNewClasses): Change prototype to (const char**).
1195         * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
1196         (const char**).
1197
1198 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
1199
1200         * classpath/Makefile.am: Do not recurse into tools directory.
1201         * classpath/Makefile.in: Regenerate.
1202
1203 2006-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1204
1205         * classpath/tools/Makefile.am (gappletviewer_CFLAGS): Add
1206         -I$(top_srcdir)/include.
1207         (gjarsigner_CFLAGS): Likewise.
1208         (gkeytool_CFLAGS): Likewise.
1209         * classpath/tools/Makefile.in: Regenerate.
1210
1211 2006-06-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1212
1213         * configure: Regenerate.
1214         * Makefile.in: Regenerate.
1215         * configure.ac (--enable-plugin): New option.
1216         (ac_configure_args): Add --enable-tool-wrappers.
1217         (ac_configure_args): Add --disable-plugin unless --enable-plugin
1218         was specified.
1219         * gcj/Makefile.in: Regenerate.
1220         * sources.am (gnu_java_net_source_files): Add
1221         classpath/gnu/java/net/IndexListParser.java.
1222         (property_files): Remove
1223         classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties,
1224         classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties.
1225         Add
1226         classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties,
1227         classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties,
1228         classpath/resource/gnu/classpath/tools/getopt/Messages.properties,
1229         classpath/resource/gnu/classpath/tools/jar/messages.properties,
1230         classpath/resource/gnu/classpath/tools/jarsigner/messages.properties,
1231         classpath/resource/gnu/classpath/tools/keytool/messages.properties,
1232         classpath/resource/gnu/classpath/tools/native2ascii/messages.properties,
1233         classpath/resource/gnu/classpath/tools/serialver/messages.properties.
1234         * classpath/Makefile.in: Regenerate.
1235         * classpath/native/jni/gtk-peer/cairographics2d.h,
1236         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1237         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
1238         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1239         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1240         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1241         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1242         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
1243         Merge from GNU Classpath.
1244         * classpath/native/Makefile.in: Regenerate.
1245         * classpath/native/jawt/Makefile.in: Regenerate.
1246         * classpath/native/jawt/Makefile.am: Install libjawt.so in GCJ's
1247         versioned library directory.
1248         * classpath/native/Makefile.am: Add plugin directory if
1249         --enable-plugin was specified.
1250         * classpath/native/plugin/Makefile.in: Regenerate.  *
1251         classpath/native/plugin/Makefile.am: Install libgcjwebplugin.so in
1252         GCJ's versioned library directory.
1253         * classpath/resource/gnu/classpath/tools/native2ascii/messages.properties:
1254         New file.
1255         * classpath/resource/gnu/classpath/tools/getopt/Messages.properties:
1256         Likewise.
1257         * classpath/resource/gnu/classpath/tools/jarsigner/messages.properties:
1258         Likewise.
1259         * classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
1260         Remove file.
1261         * classpath/resource/gnu/classpath/tools/keytool/messages.properties:
1262         New file.
1263         * classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties:
1264         Remove file.
1265         * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
1266         New file.
1267         * classpath/resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
1268         Likewise.
1269         * classpath/resource/gnu/classpath/tools/jar/messages.properties:
1270         Likewise.
1271         * classpath/resource/gnu/classpath/tools/serialver/messages.properties:
1272         Likewise.
1273         * classpath/gnu/java/net/IndexListParser.java:
1274         Likewise.
1275         * classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1276         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1277         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1278         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1279         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1280         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1281         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1282         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1283         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1284         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1285         classpath/gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
1286         classpath/gnu/java/awt/java2d/PolyEdge.java,
1287         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java: Merge from
1288         GNU Classpath.
1289         * classpath/tools/toolwrapper.c: Replace tools.zip reference with
1290         libgcj-tools-4.2.0.jar.
1291         * classpath/tools/Makefile.in: Regenerate.
1292         * classpath/tools/Makefile.am: Rename tools.zip to
1293         libgcj-tools-4.2.0.jar.  Install libgcj-tools-4.2.0.jar in
1294         $(datadir)/java.
1295         * classpath/javax/swing/JTabbedPane.java,
1296         classpath/javax/swing/text/DefaultStyledDocument.java,
1297         classpath/javax/swing/text/html/HTMLDocument.java,
1298         classpath/javax/swing/text/GapContent.java,
1299         classpath/javax/swing/JComponent.java,
1300         classpath/javax/swing/RepaintManager.java,
1301         classpath/javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1302         classpath/javax/swing/plaf/basic/BasicScrollBarUI.java,
1303         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1304         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1305         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1306         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1307         classpath/java/text/Bidi.java,
1308         classpath/java/awt/image/BufferedImage.java,
1309         classpath/java/awt/datatransfer/DataFlavor.java,
1310         classpath/java/awt/geom/AffineTransform.java,
1311         classpath/java/awt/dnd/DropTargetDropEvent.java,
1312         classpath/java/awt/dnd/DropTargetContext.java,
1313         classpath/java/awt/font/TextLayout.java,
1314         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1315         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1316         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1317         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1318         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1319         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h: Merge from
1320         GNU Classpath.
1321         * classpath/include/gnu_java_awt_peer_gtk_GdkGraphics.h,
1322         classpath/include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
1323         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1324         classpath/native/jni/gtk-peer/gtkcairopeer.h,
1325         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
1326         Remove files.
1327         * classpath/Makefile.am (SUBDIRS, DIST_SUBDIRS): Include tools
1328         directory.
1329         * include/Makefile.in: Regenerate.
1330         * testsuite/Makefile.in: Regenerate.
1331
1332 2006-06-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1333
1334         * configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
1335         to no.
1336
1337 2006-06-12  Andrew Haley  <aph@redhat.com>
1338
1339         * testsuite/libjava.lang/PR27908.out: Delete.
1340         * testsuite/libjava.lang/PR27908.java: Delete.
1341
1342 2006-06-12  Andrew Haley  <aph@redhat.com>
1343
1344         * testsuite/libjava.lang/PR27908.out: New.
1345         * testsuite/libjava.lang/PR27908.java: New.
1346
1347 2006-06-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
1348
1349         * configure.ac (ac_configure_args): Add --disable-plugin.
1350         (--enable-gtk-cairo): Remove option.
1351         * configure: Regenerate.
1352
1353 2006-06-09  Tom Tromey  <tromey@redhat.com>
1354
1355         PR libgcj/27730:
1356         * java/lang/Thread.java (threadId): New field.
1357         (nextThreadId): New static field.
1358         (Thread): Initialize new field.
1359         (getId): New method.
1360
1361 2006-06-09  Tom Tromey  <tromey@redhat.com>
1362
1363         * java/lang/Class.java (getClassLoaderInternal): Now native.
1364
1365 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
1366
1367         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
1368         (getDefaultScreenDevice): Remove unnecessary GCJ local hack.
1369         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
1370         Likewise.
1371         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (registerFormat):
1372         Likewise.
1373
1374 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
1375
1376         * java/lang/String.java, classpath/native/jni/classpath/jcl.h,
1377         classpath/native/jni/qt-peer/eventmethods.h,
1378         classpath/native/jni/qt-peer/qtmenupeer.cpp,
1379         classpath/native/jni/qt-peer/.cvsignore,
1380         classpath/native/jni/gtk-peer/gdkdisplay.h,
1381         classpath/native/jni/gtk-peer/cairographics2d.h,
1382         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c,
1383         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
1384         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c,
1385         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
1386         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c,
1387         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c,
1388         classpath/native/jni/gtk-peer/.cvsignore,
1389         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
1390         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c,
1391         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
1392         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
1393         classpath/native/jni/gtk-peer/gtkpeer.h,
1394         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
1395         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c,
1396         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c,
1397         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
1398         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c,
1399         classpath/native/jni/gtk-peer/Makefile.am,
1400         classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
1401         classpath/native/jawt/Makefile.am,
1402         classpath/native/jawt/.cvsignore,
1403         classpath/native/target/Linux/Makefile.in,
1404         classpath/native/plugin/gcjwebplugin.cc,
1405         classpath/native/plugin/Makefile.am,
1406         classpath/native/plugin/.cvsignore,
1407         classpath/resource/Makefile.in,
1408         classpath/gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
1409         classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,
1410         classpath/gnu/java/awt/peer/gtk/CairoSurface.java,
1411         classpath/gnu/java/awt/peer/gtk/GdkFontPeer.java,
1412         classpath/gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1413         classpath/gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
1414         classpath/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1415         classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1416         classpath/gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java,
1417         classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1418         classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,
1419         classpath/gnu/java/awt/peer/gtk/GtkToolkit.java,
1420         classpath/gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1421         classpath/gnu/java/awt/peer/gtk/BufferedImageGraphics.java,
1422         classpath/gnu/java/awt/peer/gtk/GdkTextLayout.java,
1423         classpath/gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1424         classpath/gnu/java/awt/peer/gtk/ComponentGraphics.java,
1425         classpath/gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java,
1426         classpath/gnu/java/awt/peer/gtk/GtkImage.java,
1427         classpath/gnu/java/awt/peer/gtk/GtkVolatileImage.java,
1428         classpath/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1429         classpath/gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
1430         classpath/gnu/java/awt/peer/swing/SwingContainerPeer.java,
1431         classpath/gnu/java/awt/peer/swing/SwingComponent.java,
1432         classpath/gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
1433         classpath/gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
1434         classpath/gnu/java/awt/peer/swing/SwingFramePeer.java,
1435         classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java,
1436         classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java,
1437         classpath/gnu/java/awt/print/JavaPrinterJob.java,
1438         classpath/gnu/java/awt/print/PostScriptGraphics2D.java,
1439         classpath/gnu/java/awt/print/SpooledDocument.java,
1440         classpath/gnu/java/awt/print/JavaPrinterGraphics.java,
1441         classpath/gnu/java/awt/BitwiseXORComposite.java,
1442         classpath/gnu/java/awt/font/GNUGlyphVector.java,
1443         classpath/gnu/java/awt/font/opentype/NameDecoder.java,
1444         classpath/gnu/java/awt/java2d/RasterGraphics.java,
1445         classpath/gnu/java/awt/java2d/TexturePaintContext.java,
1446         classpath/gnu/java/awt/java2d/PolyEdge.java,
1447         classpath/gnu/java/awt/java2d/AbstractGraphics2D.java,
1448         classpath/gnu/java/awt/java2d/AlphaCompositeContext.java,
1449         classpath/gnu/java/awt/java2d/ImagePaint.java,
1450         classpath/gnu/java/awt/Buffers.java,
1451         classpath/gnu/classpath/Configuration.java.in,
1452         classpath/gnu/javax/swing/text/html/CombinedAttributes.java,
1453         classpath/gnu/javax/swing/text/html/CharacterAttributeTranslator.java,
1454         classpath/gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
1455         classpath/gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java,
1456         classpath/gnu/javax/swing/text/html/ImageViewIconFactory.java,
1457         classpath/tools/toolwrapper.c,
1458         classpath/tools/gnu/classpath/tools/native2ascii/Native2ASCII.java,
1459         classpath/tools/gnu/classpath/tools/native2ascii/Messages.java,
1460         classpath/tools/gnu/classpath/tools/getopt/FileArgumentCallback.java,
1461         classpath/tools/gnu/classpath/tools/getopt/OptionGroup.java,
1462         classpath/tools/gnu/classpath/tools/getopt/OptionException.java,
1463         classpath/tools/gnu/classpath/tools/getopt/Messages.java,
1464         classpath/tools/gnu/classpath/tools/getopt/Option.java,
1465         classpath/tools/gnu/classpath/tools/getopt/Parser.java,
1466         classpath/tools/gnu/classpath/tools/getopt/ClasspathToolParser.java,
1467         classpath/tools/gnu/classpath/tools/jarsigner/JarSigner.java,
1468         classpath/tools/gnu/classpath/tools/jarsigner/Main.java,
1469         classpath/tools/gnu/classpath/tools/jarsigner/Messages.java,
1470         classpath/tools/gnu/classpath/tools/jarsigner/package.html,
1471         classpath/tools/gnu/classpath/tools/keytool/ListCmd.java,
1472         classpath/tools/gnu/classpath/tools/keytool/StorePasswdCmd.java,
1473         classpath/tools/gnu/classpath/tools/keytool/ExportCmd.java,
1474         classpath/tools/gnu/classpath/tools/keytool/GenKeyCmd.java,
1475         classpath/tools/gnu/classpath/tools/keytool/Messages.java,
1476         classpath/tools/gnu/classpath/tools/keytool/package.html,
1477         classpath/tools/gnu/classpath/tools/keytool/Command.java,
1478         classpath/tools/gnu/classpath/tools/keytool/IdentityDBCmd.java,
1479         classpath/tools/gnu/classpath/tools/keytool/Main.java,
1480         classpath/tools/gnu/classpath/tools/keytool/DeleteCmd.java,
1481         classpath/tools/gnu/classpath/tools/keytool/CertReqCmd.java,
1482         classpath/tools/gnu/classpath/tools/keytool/SelfCertCmd.java,
1483         classpath/tools/gnu/classpath/tools/keytool/KeyCloneCmd.java,
1484         classpath/tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java,
1485         classpath/tools/gnu/classpath/tools/keytool/ImportCmd.java,
1486         classpath/tools/gnu/classpath/tools/keytool/PrintCertCmd.java,
1487         classpath/tools/gnu/classpath/tools/rmi/registry/package.html,
1488         classpath/tools/gnu/classpath/tools/rmi/RMIC.txt,
1489         classpath/tools/gnu/classpath/tools/rmi/RMIC.java,
1490         classpath/tools/gnu/classpath/tools/appletviewer/ErrorApplet.java,
1491         classpath/tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java,
1492         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java,
1493         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java,
1494         classpath/tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java,
1495         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java,
1496         classpath/tools/gnu/classpath/tools/appletviewer/AppletWarning.java,
1497         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java,
1498         classpath/tools/gnu/classpath/tools/appletviewer/AppletTag.java,
1499         classpath/tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java,
1500         classpath/tools/gnu/classpath/tools/appletviewer/Main.java,
1501         classpath/tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java,
1502         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java,
1503         classpath/tools/gnu/classpath/tools/appletviewer/TagParser.java,
1504         classpath/tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java,
1505         classpath/tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java,
1506         classpath/tools/gnu/classpath/tools/serialver/Messages.java,
1507         classpath/tools/gnu/classpath/tools/serialver/SerialVer.java,
1508         classpath/tools/gnu/classpath/tools/jar/Creator.java,
1509         classpath/tools/gnu/classpath/tools/jar/Entry.java,
1510         classpath/tools/gnu/classpath/tools/jar/Lister.java,
1511         classpath/tools/gnu/classpath/tools/jar/Main.java,
1512         classpath/tools/gnu/classpath/tools/jar/Updater.java,
1513         classpath/tools/gnu/classpath/tools/jar/Messages.java,
1514         classpath/tools/gnu/classpath/tools/jar/Extractor.java,
1515         classpath/tools/gnu/classpath/tools/jar/Action.java,
1516         classpath/tools/gnu/classpath/tools/jar/Indexer.java,
1517         classpath/tools/gnu/classpath/tools/jar/WorkSet.java,
1518         classpath/tools/gnu/classpath/tools/giop/GRMIC.txt,
1519         classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
1520         classpath/tools/gnu/classpath/tools/giop/GRMIC.java,
1521         classpath/tools/Makefile.am, classpath/tools/jarsigner.in,
1522         classpath/tools/keytool.in, classpath/tools/appletviewer.in,
1523         classpath/tools/.cvsignore, classpath/configure.ac,
1524         classpath/javax/swing/JTabbedPane.java,
1525         classpath/javax/swing/AbstractButton.java,
1526         classpath/javax/swing/JViewport.java,
1527         classpath/javax/swing/KeyboardManager.java,
1528         classpath/javax/swing/JMenuItem.java,
1529         classpath/javax/swing/JMenuBar.java,
1530         classpath/javax/swing/MenuSelectionManager.java,
1531         classpath/javax/swing/JOptionPane.java,
1532         classpath/javax/swing/JSpinner.java,
1533         classpath/javax/swing/JCheckBoxMenuItem.java,
1534         classpath/javax/swing/JEditorPane.java,
1535         classpath/javax/swing/JFormattedTextField.java,
1536         classpath/javax/swing/JTree.java,
1537         classpath/javax/swing/CellRendererPane.java,
1538         classpath/javax/swing/JScrollPane.java,
1539         classpath/javax/swing/tree/VariableHeightLayoutCache.java,
1540         classpath/javax/swing/tree/TreeNode.java,
1541         classpath/javax/swing/tree/FixedHeightLayoutCache.java,
1542         classpath/javax/swing/tree/DefaultTreeCellEditor.java,
1543         classpath/javax/swing/tree/TreePath.java,
1544         classpath/javax/swing/tree/RowMapper.java,
1545         classpath/javax/swing/tree/DefaultMutableTreeNode.java,
1546         classpath/javax/swing/tree/DefaultTreeModel.java,
1547         classpath/javax/swing/tree/AbstractLayoutCache.java,
1548         classpath/javax/swing/tree/TreeSelectionModel.java,
1549         classpath/javax/swing/tree/DefaultTreeSelectionModel.java,
1550         classpath/javax/swing/tree/DefaultTreeCellRenderer.java,
1551         classpath/javax/swing/tree/ExpandVetoException.java,
1552         classpath/javax/swing/JList.java,
1553         classpath/javax/swing/table/JTableHeader.java,
1554         classpath/javax/swing/table/AbstractTableModel.java,
1555         classpath/javax/swing/table/DefaultTableModel.java,
1556         classpath/javax/swing/table/TableCellEditor.java,
1557         classpath/javax/swing/table/TableCellRenderer.java,
1558         classpath/javax/swing/ProgressMonitor.java,
1559         classpath/javax/swing/JToolBar.java,
1560         classpath/javax/swing/TransferHandler.java,
1561         classpath/javax/swing/DefaultCellEditor.java,
1562         classpath/javax/swing/DefaultButtonModel.java,
1563         classpath/javax/swing/JLayeredPane.java,
1564         classpath/javax/swing/text/DefaultEditorKit.java,
1565         classpath/javax/swing/text/DefaultCaret.java,
1566         classpath/javax/swing/text/FieldView.java,
1567         classpath/javax/swing/text/JTextComponent.java,
1568         classpath/javax/swing/text/TextAction.java,
1569         classpath/javax/swing/text/StyleContext.java,
1570         classpath/javax/swing/text/html/HTMLDocument.java,
1571         classpath/javax/swing/text/html/MinimalHTMLWriter.java,
1572         classpath/javax/swing/text/html/ImageView.java,
1573         classpath/javax/swing/text/html/HTMLEditorKit.java,
1574         classpath/javax/swing/text/AbstractWriter.java,
1575         classpath/javax/swing/text/GapContent.java,
1576         classpath/javax/swing/text/Utilities.java,
1577         classpath/javax/swing/text/PlainView.java,
1578         classpath/javax/swing/UIManager.java,
1579         classpath/javax/swing/JSplitPane.java,
1580         classpath/javax/swing/JComponent.java,
1581         classpath/javax/swing/SwingUtilities.java,
1582         classpath/javax/swing/border/AbstractBorder.java,
1583         classpath/javax/swing/border/CompoundBorder.java,
1584         classpath/javax/swing/border/TitledBorder.java,
1585         classpath/javax/swing/border/MatteBorder.java,
1586         classpath/javax/swing/border/BevelBorder.java,
1587         classpath/javax/swing/RepaintManager.java,
1588         classpath/javax/swing/JTable.java,
1589         classpath/javax/swing/UIDefaults.java,
1590         classpath/javax/swing/DefaultDesktopManager.java,
1591         classpath/javax/swing/JMenu.java,
1592         classpath/javax/swing/JLabel.java,
1593         classpath/javax/swing/JSlider.java,
1594         classpath/javax/swing/plaf/basic/BasicToolBarUI.java,
1595         classpath/javax/swing/plaf/basic/BasicButtonUI.java,
1596         classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java,
1597         classpath/javax/swing/plaf/basic/BasicTextAreaUI.java,
1598         classpath/javax/swing/plaf/basic/BasicToggleButtonUI.java,
1599         classpath/javax/swing/plaf/basic/BasicSpinnerUI.java,
1600         classpath/javax/swing/plaf/basic/BasicSliderUI.java,
1601         classpath/javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1602         classpath/javax/swing/plaf/basic/BasicComboPopup.java,
1603         classpath/javax/swing/plaf/basic/BasicCheckBoxUI.java,
1604         classpath/javax/swing/plaf/basic/BasicInternalFrameUI.java,
1605         classpath/javax/swing/plaf/basic/BasicProgressBarUI.java,
1606         classpath/javax/swing/plaf/basic/BasicRadioButtonUI.java,
1607         classpath/javax/swing/plaf/basic/BasicPanelUI.java,
1608         classpath/javax/swing/plaf/basic/BasicSplitPaneUI.java,
1609         classpath/javax/swing/plaf/basic/BasicTreeUI.java,
1610         classpath/javax/swing/plaf/basic/BasicTableHeaderUI.java,
1611         classpath/javax/swing/plaf/basic/BasicFileChooserUI.java,
1612         classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java,
1613         classpath/javax/swing/plaf/basic/BasicComboBoxUI.java,
1614         classpath/javax/swing/plaf/basic/BasicListUI.java,
1615         classpath/javax/swing/plaf/basic/BasicIconFactory.java,
1616         classpath/javax/swing/plaf/basic/BasicTextUI.java,
1617         classpath/javax/swing/plaf/basic/BasicLookAndFeel.java,
1618         classpath/javax/swing/plaf/basic/BasicDirectoryModel.java,
1619         classpath/javax/swing/plaf/basic/BasicRootPaneUI.java,
1620         classpath/javax/swing/plaf/basic/BasicTableUI.java,
1621         classpath/javax/swing/plaf/basic/SharedUIDefaults.java,
1622         classpath/javax/swing/plaf/multi/MultiComboBoxUI.java,
1623         classpath/javax/swing/plaf/multi/MultiListUI.java,
1624         classpath/javax/swing/plaf/multi/MultiSplitPaneUI.java,
1625         classpath/javax/swing/plaf/multi/MultiFileChooserUI.java,
1626         classpath/javax/swing/plaf/multi/MultiOptionPaneUI.java,
1627         classpath/javax/swing/plaf/multi/MultiTabbedPaneUI.java,
1628         classpath/javax/swing/plaf/multi/MultiLookAndFeel.java,
1629         classpath/javax/swing/plaf/metal/MetalSliderUI.java,
1630         classpath/javax/swing/plaf/metal/MetalIconFactory.java,
1631         classpath/javax/swing/plaf/metal/MetalComboBoxIcon.java,
1632         classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java,
1633         classpath/javax/swing/plaf/metal/MetalLookAndFeel.java,
1634         classpath/javax/swing/plaf/metal/MetalCheckBoxUI.java,
1635         classpath/javax/swing/plaf/metal/MetalSeparatorUI.java,
1636         classpath/javax/swing/plaf/metal/MetalBorders.java,
1637         classpath/javax/swing/plaf/metal/MetalSplitPaneDivider.java,
1638         classpath/javax/swing/plaf/metal/MetalScrollBarUI.java,
1639         classpath/javax/swing/plaf/metal/MetalRootPaneUI.java,
1640         classpath/javax/swing/plaf/metal/MetalInternalFrameUI.java,
1641         classpath/javax/swing/plaf/metal/MetalRadioButtonUI.java,
1642         classpath/javax/swing/plaf/metal/MetalToolTipUI.java,
1643         classpath/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java,
1644         classpath/javax/swing/plaf/metal/MetalFileChooserUI.java,
1645         classpath/javax/swing/plaf/metal/MetalUtils.java,
1646         classpath/javax/swing/plaf/metal/MetalComboBoxButton.java,
1647         classpath/javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java,
1648         classpath/javax/swing/plaf/metal/MetalButtonUI.java,
1649         classpath/javax/swing/JPopupMenu.java,
1650         classpath/javax/swing/JProgressBar.java,
1651         classpath/javax/swing/WindowConstants.java,
1652         classpath/javax/swing/JFrame.java,
1653         classpath/javax/swing/JFileChooser.java,
1654         classpath/javax/swing/JComboBox.java,
1655         classpath/javax/swing/event/EventListenerList.java,
1656         classpath/javax/swing/ListSelectionModel.java,
1657         classpath/javax/swing/JScrollBar.java,
1658         classpath/java/text/SimpleDateFormat.java,
1659         classpath/java/text/NumberFormat.java,
1660         classpath/java/text/class-dependencies.conf,
1661         classpath/java/awt/image/ColorModel.java,
1662         classpath/java/awt/image/BufferedImage.java,
1663         classpath/java/awt/Window.java,
1664         classpath/java/awt/ContainerOrderFocusTraversalPolicy.java,
1665         classpath/java/awt/LightweightDispatcher.java,
1666         classpath/java/awt/EventDispatchThread.java,
1667         classpath/java/awt/BasicStroke.java,
1668         classpath/java/awt/ColorPaintContext.java,
1669         classpath/java/awt/Container.java,
1670         classpath/java/awt/TexturePaint.java,
1671         classpath/java/awt/Component.java, classpath/java/awt/Font.java,
1672         classpath/java/awt/GraphicsConfiguration.java,
1673         classpath/java/awt/DefaultKeyboardFocusManager.java,
1674         classpath/java/awt/print/PrinterJob.java,
1675         classpath/java/awt/im/InputContext.java,
1676         classpath/java/awt/dnd/DragGestureRecognizer.java,
1677         classpath/java/awt/Toolkit.java,
1678         classpath/java/awt/font/GraphicAttribute.java,
1679         classpath/java/awt/font/ImageGraphicAttribute.java,
1680         classpath/java/awt/font/GlyphVector.java,
1681         classpath/java/awt/font/GlyphMetrics.java,
1682         classpath/java/awt/font/ShapeGraphicAttribute.java,
1683         classpath/java/awt/Graphics2D.java,
1684         classpath/include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
1685         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
1686         classpath/include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
1687         classpath/include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h,
1688         classpath/include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
1689         classpath/include/config.h.in,
1690         classpath/include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
1691         classpath/include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1692         classpath/include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
1693         classpath/include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h,
1694         classpath/include/gnu_java_awt_peer_gtk_GtkVolatileImage.h,
1695         classpath/include/gnu_java_awt_peer_gtk_GtkImage.h,
1696         classpath/include/gnu_java_awt_peer_gtk_CairoSurface.h,
1697         classpath/include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h:
1698         Merge from GNU Classpath HEAD.
1699
1700 2006-06-08  Tom Tromey  <tromey@redhat.com>
1701
1702         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
1703         Set gnu.gcj.user.realname.
1704
1705 2006-06-09  Andreas Tobler  <a.tobler@schweiz.ch>
1706
1707         * scripts/jar.in: Replace hardcoded /bin/sh with @SHELL@.
1708
1709 2006-06-07  Andrew Haley  <aph@redhat.com>
1710
1711         * include/jvm.h (_Jv_Linker::maybe_adjust_signature): New.
1712         (_Jv_Linker::uaddr): New.
1713         * link.cc (resolve_pool_entry): Call search_method_in_superclasses
1714         instead of an open-coded loop around search_method_in_class.
1715         (search_method_in_class): Add a new arg, check_perms.
1716         (search_method_in_superclasses): New.
1717         (link_symbol_table): Call maybe_adjust_signature() to extract the
1718         least significnt bit of the signature pointer.  Do this three
1719         times, for instace method calls, static methods, and interfaces.
1720         Call search_method_in_superclasses() instead of
1721         _Jv_LookupDeclaredMethod.
1722         (typedef uaddr): Delete.
1723         
1724 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1725
1726         * scripts/makemake.tcl (emit_bc_rule): Do not skip
1727         gnu-java-awt-peer-qt.lo.
1728         * configure.ac (QT_AWT): Remove conditional.
1729         Do not add gnu/java/awt/peer/qt to standard.omit.
1730         * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so
1731         in GCJ's versioned library directory.
1732         * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit):
1733         Load libqtpeer.so unconditionally.
1734         * gij.cc (main): Do not re-exec gij.
1735         * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic.
1736         (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory
1737         when linking gij.
1738
1739 2006-06-06  David Daney  <ddaney@avtrex.com>
1740
1741         * gnu/gcj/runtime/NameFinder.java (show_raw): New field.
1742         (showRaw): New method.
1743         * stacktrace.cc : Include gnu/gcj/runtime/StringBuffer.h.
1744         (getLineNumberForFrame): Show IP offset in trace if line number
1745         not available and show_raw true.
1746
1747 2006-06-06  Gary Benson  <gbenson@redhat.com>
1748
1749         * java/io/natFilePosix.cc (getCanonicalPath): Rewritten.
1750         * configure.ac: Remove realpath check and add checks for
1751         lstat and readlink.
1752         * configure: Rebuilt.
1753         * include/config.h.in: Likewise.
1754         * java/io/File.java: Javadoc fix.
1755
1756 2006-06-05  Andreas Schwab  <schwab@suse.de>
1757
1758         PR libgcj/27860
1759         * link.cc: Check for closure support in libffi with FFI_CLOSURES.
1760
1761 2006-06-05  Tom Tromey  <tromey@redhat.com>
1762
1763         PR libgcj/27892:
1764         * gij.cc (main): Use putenv.
1765
1766 2006-06-03  Paolo Bonzini  <bonzini@gnu.org>
1767
1768         * scripts/jar.in: Ensure return with argument has non-empty argument.
1769
1770 2006-06-01  Paolo Bonzini  <bonzini@gnu.org>
1771
1772         * configure.ac (ZIP, UNZIP): New programs.
1773         (JAR): Fall back to bash script.  Generate it.
1774         (BASH_JAR): New conditional.
1775         * Makefile.am (bin_SCRIPTS): New.
1776         * scripts/jar.in: New file.
1777
1778 2006-06-01  Bryce McKinlay  <mckinlay@redhat.com>
1779
1780         * gnu/java/lang/MainThread (run): Revert exception chaining change.
1781
1782 2006-05-31  Bryce McKinlay  <mckinlay@redhat.com>
1783
1784         * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
1785         name, not Latin1.
1786         * gnu/java/lang/MainThread.java (run): Allow file separator char to
1787         be used in place of '.' as class-name separator. Don't chain
1788         ClassNotFoundException.
1789
1790 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1791
1792         * java/lang/VMClassLoader.java (initialize): Set default library
1793         control to LIB_NEVER.
1794
1795 2006-05-31  Alan Modra  <amodra@bigpond.net.au>
1796
1797         * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
1798         interpreted classes.
1799
1800 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1801
1802         * scripts/makemake.tcl (emit_bc_rule): Do not skip
1803         gnu-java-awt-peer-gtk.lo.
1804         Include gnu/java/awt/peer/gtk Java objects in libgcj.so.  Use C++
1805         ABI for gnu/java/awt/peer/gtk package.
1806         * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
1807         New function.
1808         (insertSystemProperties): Only set java.ext.dirs if it is not
1809         already defined.  Prepend GCJ_VERSIONED_LIBDIR to module search
1810         path where necessary.
1811         * configure.ac (GTK_AWT): Remove automake conditional.
1812         Do not add gnu/java/awt/peer/gtk to standard.omit.
1813         * include/jvm.h (_Jv_PrependVersionedLibdir): New function
1814         declaration.
1815         * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
1816         and re-exec self.
1817         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
1818         PATH_SEPARATOR macros.
1819         Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
1820         * prims.cc (_Jv_PrependVersionedLibdir): New function.
1821
1822 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1823
1824         * java/lang/natThread.cc (countStackFrames): Do not throw
1825         UnsupportedOperationException.
1826         (resume): Likewise.
1827         (stop): Likewise.
1828         (suspend): Likewise.
1829
1830 2006-05-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1831
1832         * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
1833         * configure: Rebuilt.
1834         * include/config.h.in: Likewise.
1835         * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
1836         <sys/rw_lock.h>.
1837
1838 2006-05-24  Tom Tromey  <tromey@redhat.com>
1839
1840         PR libgcj/27024:
1841         * sources.am, Makefile.in: Rebuilt.
1842         * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
1843         * java/net/URLConnection.java: Removed.
1844
1845 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
1846
1847         * Makefile.am: Add install-html target. Add install-html to .PHONY
1848         * Makefile.in: Regenerate.
1849         * aclocal.m4: Regenerate.
1850         * gcj/Makefile.in: Regenerate.
1851         * include/Makefile.in: Regenerate.
1852         * testsuite/Makefile.in: Regenerate.
1853
1854 2006-05-24  Andreas Tobler  <a.tobler@schweiz.ch>
1855
1856         * testsuite/libjava.lang/stacktrace.java: New file.
1857         * testsuite/libjava.lang/stacktrace.out: Likewise.
1858
1859 2006-05-24  Tom Tromey  <tromey@redhat.com>
1860
1861         * sources.am, Makefile.in: Rebuilt.
1862         * scripts/makemake.tcl: Accept -verbose command-line option.
1863         (is_verbose): New global.
1864         (verbose): Use it.
1865         (classify_source_file): Don't special case '.' for 'package'
1866         type.
1867
1868 2006-05-24  Tom Tromey  <tromey@redhat.com>
1869
1870         PR libgcj/27729:
1871         * java/lang/reflect/natField.cc (getAddr): Added parens.
1872         * java/lang/reflect/natConstructor.cc (getModifiersInternal):
1873         Renamed.  Don't mask flags.
1874         * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
1875         constant.
1876         (getModifiersInternal): Renamed.
1877         (getModifiers): Rewrote.
1878         (isSynthetic, isVarArgs): New methods.
1879         (hashCode): Rewrote.
1880         (addTypeParameters, toGenericString): New methods.
1881         (getTypeParameters): Rewrote.
1882         (getSignature): New method.
1883         (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
1884         * java/lang/reflect/natMethod.cc (getModifiersInternal):
1885         Renamed.  Don't mask flags.
1886         * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
1887         Don't mask flags.
1888         * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
1889         ENUM): New constants.
1890         (INVISIBLE): Changed value.
1891         * java/lang/reflect/Method.java: Mostly merged with Classpath.
1892         (getModifiersInternal): Renamed.
1893         (getModifiers): Rewrote.
1894         (isBridge, isSynthetic, isVarArgs): New methods.
1895         (toGenericString): Likewise.
1896         (getTypeParameters): Likewise.
1897         (getSignature): Likewise.
1898         (getGenericExceptionTypes, getGenericParameterTypes,
1899         getGenericReturnType): Likewise.
1900         (METHOD_MODIFIERS): New constant.
1901         * java/lang/reflect/Field.java: Mostly merged with Classpath.
1902         Added javadoc everywhere.
1903         (getModifiersInternal): Renamed.
1904         (getModifiers, isSynthetic, isEnumConstant): Rewrote.
1905         (toGenericString): New method.
1906         (getGenericType, getSignature): Likewise.
1907         (FIELD_MODIFIERS): New constant.
1908
1909 2006-05-24  Tom Tromey  <tromey@redhat.com>
1910
1911         PR libgcj/27731:
1912         * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
1913         tanh): New methods.
1914         * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
1915         tanh): Declare.
1916
1917 2006-05-22  Mark Wielaard  <mark@klomp.org>
1918
1919         * HACKING: Update GNU Classpath import instructions.
1920
1921 2006-05-21  Andreas Tobler  <a.tobler@schweiz.ch>
1922
1923         * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
1924         signature as MAYBE_UNUSED for HAVE_TLS == 0.
1925         (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
1926         HAVE_TLS == 0.
1927
1928 2006-05-20  Andreas Tobler  <a.tobler@schweiz.ch>
1929             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1930
1931         * configure.ac: Add the POSIX thread libs to the HP-UX PA
1932         configuration. Add signal specification for HP-UX PA.
1933         * configure: Rebuilt.
1934         * configure.host: Add defaults for the HP-UX PA architecture.
1935         Add descriptor files for HP-UX PA 32-bit and 64-bit.
1936         * include/hppa-signal.h: New file.
1937         * include/posix.h: Add shared library suffix for HP-UX.
1938         * sysdep/pa/descriptor-pa32-hpux.h: New file.
1939         * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
1940
1941 2006-05-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
1942
1943         * ChangeLog: Correct incorrect GNU Classpath version in the
1944         entry for the latest import.
1945
1946 2006-05-18  Tom Tromey  <tromey@redhat.com>
1947
1948         * source.am, Makefile.in: Rebuilt.
1949         * Makefile.am (property_files): Removed.
1950         * scripts/makemake.tcl (properties_map): New global.
1951         (properties_files): Likewise.
1952         (emit_property_files): New proc.
1953         (scan_packages): Scan META-INF.
1954         Print property_files variable.  Scan classpath/resource.
1955
1956 2006-05-18  Tom Tromey  <tromey@redhat.com>
1957
1958         * testsuite/libjava.special/special.exp (gcj_special_pr21115):
1959         Renamed.
1960         (gcj_write_and_byte_compile): New proc.
1961         (gcj_special_lazy_illegal_access): Likewise.
1962
1963 2006-05-18  Mark Wielaard  <mark@klomp.org>
1964
1965         Imported GNU Classpath 0.91
1966         * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
1967
1968         * sources.am: Regenerated.
1969         * gcj/javaprims.h: Regenerated.
1970         * Makefile.in: Regenerated.
1971         * gcj/Makefile.in: Regenerated.
1972         * include/Makefile.in: Regenerated.
1973         * testsuite/Makefile.in: Regenerated.
1974
1975         * gnu/java/lang/VMInstrumentationImpl.java: New override.
1976         * gnu/java/net/local/LocalSocketImpl.java: Likewise.
1977         * gnu/classpath/jdwp/VMMethod.java: Likewise.
1978         * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
1979         interface.
1980         * java/lang/Thread.java: Add UncaughtExceptionHandler.
1981         * java/lang/reflect/Method.java: Implements GenericDeclaration and
1982         isSynthetic(),
1983         * java/lang/reflect/Field.java: Likewise.
1984         * java/lang/reflect/Constructor.java
1985         * java/lang/Class.java: Implements Type, GenericDeclaration,
1986         getSimpleName() and getEnclosing*() methods.
1987         * java/lang/Class.h: Add new public methods.
1988         * java/lang/Math.java: Add signum(), ulp() and log10().
1989         * java/lang/natMath.cc (log10): New function.
1990         * java/security/VMSecureRandom.java: New override.
1991         * java/util/logging/Logger.java: Updated to latest classpath
1992         version.
1993         * java/util/logging/LogManager.java: New override.
1994
1995 2006-05-15  Bryce McKinlay  <mckinlay@redhat.com>
1996
1997         PR libgcj/27352
1998         * java/lang/Class.java (getClassLoaderInternal): New method.
1999         (forName (String, Class)): Use getClassLoaderInternal.
2000         (getPackage): Likewise.
2001         (getResource): Likewise.
2002         (getResourceAsStream): Likewise.
2003         (desiredAssertionStatus): Likewise.
2004
2005 2006-05-15  Andreas Tobler  <a.tobler@schweiz.ch>
2006
2007         * stacktrace.cc (StackTrace::FillInFrameInfo): Use
2008         UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
2009         klass->methods[j].ncode.
2010
2011 2006-05-13  Tom Tromey  <tromey@redhat.com>
2012
2013         * sources.am, Makefile.in: Rebuilt.
2014         * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
2015         natChannels.cc.
2016         * java/nio/channels/natVMChannels.cc: Renamed from
2017         natChannels.cc.
2018         * java/nio/channels/Channels.java: Removed.
2019         * java/nio/channels/natChannels.cc: Removed.
2020         * java/nio/channels/VMChannels.java: New file.
2021
2022 2006-05-13  Tom Tromey  <tromey@redhat.com>
2023
2024         * sources.am, Makefile.in: Rebuilt.
2025         * java/text/DateFormat.java: Removed.
2026
2027 2006-05-13  Tom Tromey  <tromey@redhat.com>
2028
2029         * sources.am, Makefile.in: Rebuilt.
2030         * gnu/java/net/protocol/jar/Connection.java: Removed.
2031         * java/net/JarURLConnection.java: Removed.
2032
2033 2006-05-13  Tom Tromey  <tromey@redhat.com>
2034
2035         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
2036         declaration.
2037
2038 2006-05-12  Tom Tromey  <tromey@redhat.com>
2039
2040         * sources.am, Makefile.in: Rebuilt.
2041         * java/util/logging/LogManager.java: Removed.
2042         * java/util/logging/Logger.java (resetLogger): New method, from
2043         Classpath.
2044         * java/io/RandomAccessFile.java: Removed.
2045         * gnu/java/nio/channels/FileChannelImpl.java (create): New
2046         method.
2047         (FileChannelImpl): Now private.
2048         * java/io/FileInputStream.java: Removed.
2049         * java/io/FileOutputStream.java: Removed.
2050         * java/security/AccessControlContext.java: Removed.
2051         * java/lang/ThreadLocal.java: Removed.
2052         * java/lang/InheritableThreadLocal.java: Removed.
2053         * java/lang/Thread.java (locals): New field.
2054         (getThreadLocals): New method.
2055         * java/lang/natThread.cc (finish_): Clear 'locals'.
2056
2057 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
2058
2059         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
2060         fails, don't try again.
2061         (use_addr2line): Field no longer final.
2062
2063 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
2064
2065         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
2066         (lookup): If addr2line fails to find an address, flag the binary as
2067         having no debug info and avoid calling addr2line on it again.
2068
2069 2006-05-11  David Daney  <ddaney@avtrex.com>
2070
2071         * testsuite/libjava.compile/PR20418.java: New.
2072         * testsuite/libjava.compile/PR20418.xfail: New.
2073
2074 2006-05-11  Andrew Haley  <aph@redhat.com>
2075
2076         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
2077         line.
2078
2079 2006-05-10  Andrew Haley  <aph@redhat.com>
2080
2081         * java/lang/natClassLoader.cc: Add comments.
2082
2083 2006-05-09  Andrew Haley  <aph@redhat.com>
2084
2085         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
2086         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
2087         Remove body.
2088         (_Jv_CompiledEngine::allocate_field_initializers): New.
2089         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
2090         allocate_field_initializers.
2091         (class _Jv_IndirectCompiledClass): New.
2092         (struct _Jv_IndirectCompiledEngine): New.
2093         * java/lang/Class.h: (IndirectCompiledEngine): New.
2094         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
2095         engine to _Jv_soleIndirectCompiledEngine
2096         * link.cc (ensure_fields_laid_out): Call
2097         engine->allocate_field_initializers().
2098
2099 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
2100
2101         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
2102         HP-UX and add appropriate extension for shared libraries, sl.
2103         (gcj_jni_test_one): Likewise.
2104
2105         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
2106         library extensions.
2107
2108 2006-05-05  Tom Tromey  <tromey@redhat.com>
2109
2110         PR libgcj/27294:
2111         * java/lang/natVMClassLoader.cc (defineClass): Throw
2112         VirtualMachineError if no interpreter configured.
2113
2114 2006-05-03  Andrew Haley  <aph@redhat.com>
2115
2116         PR libgcj/27352
2117         * java/lang/Class.java (getClassLoader(Class)): New.
2118         forName(String, Class): New.
2119         * java/lang/natClass.cc (getClassLoader(Class)): New.
2120
2121 2006-05-02  Andrew Haley  <aph@redhat.com>
2122
2123         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
2124
2125 2006-05-04  Tom Tromey  <tromey@redhat.com>
2126
2127         PR libgcj/26861:
2128         * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
2129         <insn_putfield>: Likewise.
2130         (NULLCHECK): Define unconditionally.
2131         * link.cc (ensure_class_linked): Removed dead code.
2132
2133 2006-05-04  Tom Tromey  <tromey@redhat.com>
2134
2135         * java/lang/Class.h (JV_STATE_LOADING): Added comment.
2136         * Makefile.in: Rebuilt.
2137         * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
2138         * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
2139         * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
2140         New field.
2141         (loadedClasses): Removed.
2142         (findClass): Declare.
2143         (addClass): Add to nativeClasses, not loadedClasses.
2144
2145 2006-05-04  Andrew Haley  <aph@redhat.com>
2146
2147         PR java/26858
2148         * testsuite/libjava.lang/PR26858.xfail: Delete.
2149
2150 2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>
2151
2152         * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
2153         -findirect-dispatch compilation.
2154
2155 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
2156
2157         * configure.ac: Simplify the mmap check a bit more.
2158         * configure: Rebuilt.
2159         * include/config.h.in: Likewise.
2160
2161 2006-05-01  Roger Sayle  <roger@eyesopen.com>
2162             Andrew Haley  <aph@redhat.com>
2163
2164         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
2165         before calling GC_register_has_static_roots_callback.
2166         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
2167         HAVE_DLADDR before calling dladdr.
2168
2169 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
2170
2171         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
2172         to resolve_method.
2173         * interpret.cc (insn_invokevirtual): Use method->index, not
2174         vtable_index. Check accflag FINAL to determine finals. Only do
2175         explicit null check if calling a final method. Use
2176         throw_null_pointer_exception.
2177         (invokevirtual_resolved): Likewise.
2178         (null_pointer_exc): Remove static field.
2179         (throw_null_pointer_exception): Always define. Throw a new
2180         NullPointerException every time.
2181         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
2182         field.
2183         * include/execution.h (resolve_method): Remove vtable_index argument.
2184
2185 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
2186
2187         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
2188         * configure: Rebuilt.
2189
2190 2006-04-25  Tom Tromey  <tromey@redhat.com>
2191
2192         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
2193         Include platform.h.  Set GC_DEBUG before including gc.h, if
2194         needed.
2195
2196 2006-04-25  Andrew Haley  <aph@redhat.com>
2197
2198         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
2199         * boehm.cc: Don't include link.h.
2200         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
2201
2202 2006-04-24  Tom Tromey  <tromey@redhat.com>
2203
2204         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
2205
2206 2006-04-21  Andrew Haley  <aph@redhat.com>
2207
2208         * include/execution.h (struct _Jv_CompiledEngine): Define for
2209         compiled classes.
2210         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
2211         _Jv_RegisterLibForGc.
2212         (_Jv_RegisterClasses_Counted): Likewise.
2213         (_Jv_NewClassFromInitializer): New.
2214         (_Jv_RegisterNewClasses): New.
2215         * sources.am: Regenerate.
2216         * boehm.cc (_Jv_GC_has_static_roots): new.
2217         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
2218         (filename_node, find_file, _Jv_print_gc_store, new_node,
2219         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
2220         * scripts/makemake.tcl: Add -fno-indirect-classes.
2221         * Makefile.in: Regenerate.
2222         * link.cc (resolve_pool_entry): Allocate constant pool.
2223         Allocate fields.
2224         
2225 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
2226
2227         * configure.ac: Weaken the check for MMAP.
2228         * configure: Rebuilt.
2229         * include/config.h.in: Likewise.
2230
2231 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
2232
2233         PR libgcj/27170
2234         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
2235         dlopen(). From Anthony Green.
2236
2237 2006-04-20  Tom Tromey  <tromey@redhat.com>
2238
2239         PR libgcj/21941:
2240         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
2241         UnknownHostException if needed.
2242         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
2243         UnknownHostException if needed.
2244
2245 2006-04-19  Tom Tromey  <tromey@redhat.com>
2246
2247         * Makefile.in: Rebuilt.
2248         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
2249         all_java_deps_files.
2250
2251 2006-04-19  Tom Tromey  <tromey@redhat.com>
2252
2253         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
2254         handle EINTR.
2255
2256 2006-04-17  Tom Tromey  <tromey@redhat.com>
2257
2258         PR libgcj/27171:
2259         * testsuite/libjava.lang/pr27171.java: New file.
2260         * testsuite/libjava.lang/pr27171.out: New file.
2261         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
2262         true if we've seen a high surrogate.
2263         (write): Handle high surrogates at the end of the stream.
2264         Properly emit isolated low surrogates.
2265
2266 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
2267
2268         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
2269         of failure.
2270
2271 2006-04-13  Tom Tromey  <tromey@redhat.com>
2272
2273         PR libgcj/26522:
2274         * Makefile.in: Rebuilt.
2275         * Makefile.am (libsubdir): New variable.
2276
2277 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
2278
2279         PR libgcj/23829
2280         * configure.ac: Link against -lpthread rather than -lc_r on
2281         FreeBSD 5 and above.
2282         * configure: Regenerate.
2283
2284 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
2285
2286         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
2287         of package-private field "loadedClasses" using reflection.
2288         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
2289         block.
2290
2291 2006-04-10  Matthias Klose  <doko@debian.org>
2292
2293         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
2294         directory names containing underscores.
2295
2296 2006-04-10  Andrew Haley  <aph@redhat.com>
2297
2298         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
2299         (SIGNAL_HANDLER): Mark arg as unused.
2300         * configure.host (x86_64-* DIVIDESPEC): Use
2301         fno-use-divide-subroutine.
2302
2303 2006-04-07  Andrew Haley  <aph@redhat.com>
2304
2305         * java/net/InetAddress.java: Throw an UnknownHostException if
2306         lookup fails.
2307
2308 2006-04-05  Tom Tromey  <tromey@redhat.com>
2309
2310         PR libgcj/26625:
2311         * Makefile.in: Rebuilt.
2312         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
2313         classpath/lib/compile-classes.
2314
2315 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
2316
2317         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
2318         MinGW since EBP is used for backtracking through call frames on this
2319         platform.
2320
2321 2006-04-05  Archit Shah  <ashah@redhat.com>
2322
2323         PR java/25414
2324         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
2325         Add classpath argument.
2326         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
2327         caller.
2328         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
2329         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
2330         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
2331         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
2332         mkdirs for destination directory, correct handling of superclasses
2333         and interfaces of the remote class, correct handling of exceptions
2334         declared by remote methods.
2335
2336 2006-04-04  Tom Tromey  <tromey@redhat.com>
2337
2338         PR libgcj/26990:
2339         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
2340         * gnu/java/lang/natMainThread.cc (call_main): Use
2341         exitNoChecksAccessor.
2342         * testsuite/libjava.lang/pr26990.out: New file.
2343         * testsuite/libjava.lang/pr26990.java: New file.
2344         * java/lang/Runtime.java (exitNoChecks): New method.
2345         (exitNoChecksAccessor): Likewise.
2346         (exit): Call exitNoChecks.
2347
2348 2006-04-03  Tom Tromey  <tromey@redhat.com>
2349
2350         * Makefile.in: Rebuilt.
2351         * Makefile.am (ZIP): Removed.
2352         (libgcj-$(gcc_version).jar): Use $(JAR).
2353         (src.zip): Likewise.
2354         * configure: Rebuilt.
2355         * configure.ac: Check for jar.  Removed code to set ZIP.
2356
2357 2006-04-03  Andrew Haley  <aph@redhat.com>
2358
2359         * testsuite/libjava.lang/Float_2.java: New file.
2360
2361 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
2362
2363         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
2364
2365 2006-03-30  Tom Tromey  <tromey@redhat.com>
2366
2367         PR java/26042:
2368         * testsuite/libjava.compile/pr26042.java: New file.
2369
2370 2006-03-29  Tom Tromey  <tromey@redhat.com>
2371
2372         * sources.am, Makefile.in: Rebuilt.
2373         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
2374
2375 2006-03-29  Tom Tromey  <tromey@redhat.com>
2376
2377         PR java/26390:
2378         * testsuite/libjava.lang/pr26390.out: New file.
2379         * testsuite/libjava.lang/pr26390.java: New file.
2380         * sources.am, Makefile.in: Rebuilt.
2381         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
2382
2383 2006-03-29  Tom Tromey  <tromey@redhat.com>
2384
2385         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
2386         CLOCK_HIGHRES.
2387
2388 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
2389
2390         * scripts/unicode-muncher.pl: Removed this file.
2391         * scripts/MakeCharTables.java: Likewise.
2392         * scripts/unicode-to-chartables.pl: New file.
2393         * java/lang/natCharacter.cc: 
2394         (UNASSIGNED_TYPE): New field.
2395         (UNASSIGNED_DIGIT): Likewise.
2396         (UNASSIGNED_DIRECTION): Likewise.
2397         (UNASSIGNED_NUMERIC_VALUE): Likewise.
2398         (PRIVATE_TYPE): Likewise.
2399         (PRIVATE_DIRECTION): Likewise.
2400         (readCodePoint): New method.
2401         (getType(jint)): Likewise.
2402         (toLowerCase(jint)): Likewise.
2403         (toUpperCase(jint)): Likewise.
2404         (toTitleCase(jint)): Likewise.
2405         (digit(jint, jint)): Likewise.
2406         (getNumericValue(jint)): Likewise.
2407         (getDirectionality(jint)): Likewise.
2408         (readChar),
2409         (getType(jchar)),
2410         (toLowerCase(jchar)),
2411         (toUpperCase(jchar)),
2412         (toTitleCase(jchar)),
2413         (digit(jchar, jint)),
2414         (getNumericValue(jchar)),
2415         (getDirectionality(jchar)): Changed references from data to data[0], 
2416         blocks to blocks[0], direction to direction[0], numValue to 
2417         numValue[0], upper to upper[0], lower to lower[0], and shift to 
2418         shift[0] to reflect the new structures in java-chartables.h.    
2419         * java/lang/Character.java:
2420         (readCodePoint): Declared new native method.
2421         (getType(int)): Likewise.
2422         (toLowerCase(int)): Likewise.
2423         (toUpperCase(int)): Likewise.
2424         (toTitleCase(int)): Likewise.
2425         (digit(int, int)): Likewise.
2426         (getNumericValue(int)): Likewise.
2427         (getDirectionality(int)): Likewise.
2428         (isLowerCase(int)): New method.
2429         (isUpperCase(int)): Likewise.
2430         (itTitleCase(int)): Likewise.
2431         (isDigit(int)): Likewise.
2432         (isDefined(int)): Likewise.
2433         (isLetter(int)): Likewise.
2434         (isLetterOrDigit(int)): Likewise.
2435         (isJavaIdentifierStart(int)): Likewise.
2436         (isJavaIdentifierPart(int)): Likewise.
2437         (isUnicodeIdentifierStart(int)): Likewise.
2438         (isUnicodeIdentifierPart(int)): Likewise.
2439         (isIdentifierIgnorable(int)): Likewise.
2440         (isSpaceChar(int)): Likewise.
2441         (isWhitespace(int)): Likewise.
2442         (isISOControl(int)): Likewise.
2443         (isMirrored(int)): Likewise.
2444         * include/java-chartables.h: Generated from 
2445         scripts/unicode-to-chartables.h.
2446
2447 2006-03-24  David Daney  <ddaney@avtrex.com)
2448
2449         * testsuite/libjava.lang/PR26858.java: New test.
2450         * testsuite/libjava.lang/PR26858.out: Ditto.
2451         * testsuite/libjava.lang/PR26858.xfail: Ditto.
2452
2453 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
2454
2455         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
2456         macro.
2457         
2458 2006-03-15  Tom Tromey  <tromey@redhat.com>
2459
2460         * testsuite/libjava.jacks/jacks.xfail: Removed
2461         13.1-runtime-method-5.
2462
2463 2006-03-15  Tom Tromey  <tromey@redhat.com>
2464
2465         PR java/26638:
2466         * link.cc (get_interfaces): Skip <clinit>.
2467         (append_partial_itable): Likewise.
2468
2469 2006-03-10  Tom Tromey  <tromey@redhat.com>
2470
2471         PR libgcj/25713:
2472         * java/util/zip/Deflater.java (flush): New method.
2473         * sources.am, Makefile.in: Rebuilt.
2474         * java/util/zip/DeflaterOutputStream.java: Removed.
2475         * java/util/zip/InflaterInputStream.java: Likewise.
2476         * java/util/zip/GZIPInputStream.java: Likewise.
2477         * java/util/zip/GZIPOutputStream.java: Likewise.
2478
2479 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
2480
2481         * include/powerpc-signal.h: Fix typo in comment.
2482
2483 2006-03-09  Mark Wielaard  <mark@klomp.org>
2484
2485         Imported GNU Classpath 0.90
2486         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
2487         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
2488         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
2489         * java/lang/Math.java: New override file.
2490         * java/lang/Character.java: Merged from Classpath.
2491         (start, end): Now 'int's.
2492         (canonicalName): New field.
2493         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
2494         (UnicodeBlock): Added argument.
2495         (of): New overload.
2496         (forName): New method.
2497         Updated unicode blocks.
2498         (sets): Updated.
2499         * sources.am: Regenerated.
2500         * Makefile.in: Likewise.
2501
2502 2006-03-09  Tom Tromey  <tromey@redhat.com>
2503
2504         PR libgcj/23495:
2505         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
2506         (equals): Use memcmp.
2507         (contentEquals): Likewise.
2508         (getChars): Use memcpy.
2509         (toCharArray): Likewise.
2510         (regionMatches): Use memcmp.
2511         (regionMatches): Likewise.
2512         (startsWith): Likewise.
2513         (concat): Use memcpy.
2514         (valueOf): Likewise.
2515
2516 2006-03-09  Tom Tromey  <tromey@redhat.com>
2517
2518         * configure: Rebuilt.
2519         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
2520         well.
2521
2522 2006-03-09  Tom Tromey  <tromey@redhat.com>
2523
2524         PR libgcj/24461:
2525         * java/util/zip/InflaterInputStream.java (fill): Throw exception
2526         if stream is truncated.
2527
2528 2006-03-09  Tom Tromey  <tromey@redhat.com>
2529
2530         * win32.cc (_Jv_platform_nanotime): New function.
2531         * include/win32.h (_Jv_platform_nanotime): Declare.
2532         * posix.cc (_Jv_platform_nanotime): New function.
2533         * include/posix.h (_Jv_platform_nanotime): Declare.
2534         * java/lang/natSystem.cc (nanoTime): New method.
2535         * java/lang/System.java (nanoTime): Declare.
2536         * include/config.h.in, configure: Rebuilt.
2537         * configure.ac: Check for clock_gettime.
2538
2539 2006-03-08  David Daney  <ddaney@avtrex.com>
2540
2541         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
2542         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
2543         (LD_FINISH_STATIC_SPEC): Ditto
2544         * configure: Regenerated.
2545         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
2546         LD_FINISH_STATIC_SPEC.
2547         
2548 2006-03-07  Tom Tromey  <tromey@redhat.com>
2549
2550         PR libgcj/26103:
2551         * java/lang/ClassLoader.java (loadClass): Don't throw
2552         StringIndexOutOfBoundsException if name is empty.
2553         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
2554         if class not found.
2555
2556 2006-03-07  David Daney  <ddaney@avtrex.com>
2557
2558         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
2559
2560 2006-03-07  David Daney  <ddaney@avtrex.com>
2561
2562         * link.cc: Include ffi.h if USE_LIBFFI defined.
2563         
2564 2006-03-03  Tom Tromey  <tromey@redhat.com>
2565
2566         * interpret.cc (do_allocate_static_fields): Added comment.
2567
2568 2006-03-01  Tom Tromey  <tromey@redhat.com>
2569
2570         PR java/24321:
2571         * testsuite/libjava.lang/pr24321.java: New file.
2572         * testsuite/libjava.lang/pr24321.out: New file.
2573         * java/lang/natClass.cc (isInstance): Don't initialize class.
2574         (isAssignableFrom): Likewise.
2575
2576 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
2577
2578         PR other/26208
2579         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
2580         of _Unwind_GetIP.
2581         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
2582         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
2583         to throw.
2584         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
2585         macro.
2586         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
2587         macro.
2588
2589 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
2590
2591         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
2592         before returning, handle null clip.
2593         (getClipBounds): Handle null clip.
2594         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
2595         * gnu/awt/xlib/XCanvasPeer.java (): 
2596         (getLocationOnScreen): Implement.
2597         * classpath/gnu/java/awt/peer/GLightweightPeer.java
2598         (repaint): Merged with Classpath.
2599         * classpath/java/awt/Graphics.java (hitClip): Merged with
2600         Classpath.
2601
2602 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
2603
2604         * link.cc: Added variant of create_error_method that
2605         will not complain about unused parameter if compiled with
2606         USE_LIBFFI not being defined.
2607         (_Jv_Linker::find_field_helper): Fixed indentation.
2608         (_Jv_Linker::create_error_method): Fixed indentation.
2609         (_Jv_Linker::link_symbol_table): Fixed indentation.
2610
2611 2006-02-16  Andrew Haley  <aph@redhat.com>
2612
2613         * stacktrace.cc (GetStackTraceElements): Call
2614         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
2615         non-Java frames should be removed from a printed stack trace.
2616         Pass methodName to getLineNumberForFrame().
2617         (getLineNumberForFrame): Set method_name from info.dli_sname.
2618         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
2619         (remove_unknown): New variable.
2620         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
2621         Add methodName arg.
2622
2623 2006-02-15  Matthias Klose  <doko@debian.org>
2624
2625         * gnu/java/nio/charset, gnu/java/net/protocol/file,
2626         gnu/regexp: Remove empty directories.
2627
2628 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
2629
2630         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
2631         'itable' inline, instead of as a pointer.
2632         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
2633         * link.cc (null_idt): Update definition.
2634         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
2635         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
2636         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
2637         (_Jv_Linker::find_iindex): Likewise. Update comment.
2638         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
2639         _Jv_IDispatchTable change.
2640         (_Jv_IsAssignableFrom): Likewise.
2641
2642 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
2643
2644         PR libgcj/25187:
2645         * gnu/gcj/io/natSimpleSHSStream.cc
2646         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
2647         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
2648         _Jv_InterpFrame(). 
2649         * boehm.cc: #undef some autoconf macros before including gc-config.h.
2650         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
2651         (_Jv_MarkArray): Likewise.
2652         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
2653         Simplify _Jv_GCRegisterDisappearingLink() call.
2654         * java/lang/Class.h (getComponentType): Use element_type.
2655         (element_type): New field declaration, as a union with "methods".
2656         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
2657         * java/net/natVMNetworkInterfacePosix.cc
2658         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
2659         avoid sign comparison warning.  
2660         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
2661         argument, not parent call frame.
2662         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
2663         without a cast.
2664         (restore_rt): Declare with hidden visibility, not "static".
2665         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
2666         constant.
2667         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
2668         warning.
2669
2670 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
2671
2672         PR libgcj/26113:
2673         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
2674         as "const char *".
2675         * verify.cc (verify_fail): Likewise.
2676         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
2677         * interpret.cc (throw_internal_error, throw_class_format_error):
2678         Likewise.
2679         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
2680         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
2681         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
2682         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
2683         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
2684         is_attribute_name): Likewise.
2685         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
2686         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
2687
2688 2006-02-08  Tom Tromey  <tromey@redhat.com>
2689
2690         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
2691         * defineclass.cc (parse): Use _Jv_AllocRawObj.
2692         (read_constpool): Likewise.
2693         (read_one_code_attribute): Use internal function name.
2694         (handleConstantPool): Use _Jv_AllocRawObj.
2695         (handleInterfacesBegin): Likewise.
2696         (handleFieldsBegin): Likewise.
2697         (handleMethodsBegin): Likewise.
2698         (handleCodeAttribute): Likewise.
2699         (handleMethodsEnd): Likewise.
2700         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
2701         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
2702         Allocate reference fields separately.
2703         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
2704         (add_miranda_methods): Likewise.
2705         (generate_itable): Use _Jv_AllocBytes.
2706         (find_iindex): Likewise.
2707         (struct method_closure): New structure.
2708         (create_error_method): Use struct method_closure; allocate with
2709         _Jv_AllocBytes.
2710         (ensure_fields_laid_out): Separate reference fields from
2711         non-reference fields.
2712         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
2713         of Class.
2714         (_Jv_MarkArray): Mark vtable.
2715         (_Jv_AllocRawObj): Don't allocate objects of size 0.
2716         * include/execution.h
2717         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
2718         parameter.
2719         (struct _Jv_CompiledEngine): Updated.
2720         (class _Jv_InterpreterEngine): Updated.
2721
2722 2006-02-08  Tom Tromey  <tromey@redhat.com>
2723
2724         PR java/22578:
2725         * gcj/javaprims.h: Updated.
2726         * sources.am, Makefile.in: Rebuilt.
2727         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
2728         (doubleToRawLongBits): Likewise.
2729         (longBitsToDouble): Likewise.
2730         (toString): Likewise.
2731         (parseDouble): Likewise.
2732         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
2733         (floatToRawIntBits): Likewise.
2734         (intBitsToFloat): Likewise.
2735         * java/lang/VMDouble.java: New file.
2736         * java/lang/VMFloat.java: New file.
2737         * java/lang/Float.java, java/lang/Double.java: Removed.
2738
2739 2006-02-06  Tom Tromey  <tromey@redhat.com>
2740
2741         * gij.cc (version): Use 2006.
2742         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
2743         * gnu/gcj/convert/Convert.java (version): Use 2006.
2744         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
2745
2746 2006-02-04  Tom Tromey  <tromey@redhat.com>
2747
2748         PR java/25676:
2749         * testsuite/libjava.lang/pr25676.out: New file.
2750         * testsuite/libjava.lang/pr25676.java: New file.
2751
2752 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
2753
2754         * Makefile.am (src.zip): Update src.zip file search to look in
2755         classpath directory.
2756         * Makefile.in: Regenerate.
2757
2758 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
2759
2760         * link.cc:
2761         (_Jv_Linker::create_error_method): Added missing (void *) cast.
2762
2763 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
2764
2765         * include/jvm.h:
2766         (_Jv_Linker::create_error_method): New method declaration.
2767         * link.cc:
2768         (_Jv_Linker::create_error_method): New method.
2769         (_Jv_Linker::link_symbol_table): Use new method above.
2770
2771 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
2772
2773         * link.cc:
2774         (_Jv_Linker::find_field_helper): Added checks.
2775         (_Jv_Linker::find_field): Use exception swallowing class resolution
2776         and added early return.
2777         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
2778         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
2779         resolution, added ffi_closure installation routine, use
2780         _Jv_ThrowNoClassDefFoundError for missing static method.
2781         (_Jv_Linker::ensure_class_linked): Added string check which does
2782         not trigger class resolution.
2783         * java/lang/natClassLoader.cc:
2784         (_Jv_FindClassNoException): New method.
2785         * java/lang/Class.h:
2786         (_Jv_FindClassNoException): New method declaration.
2787         * include/jvm.h:
2788         (_Jv_FindClassNoException): New method declaration.
2789         (_Jv_FindClassFromSignatureNoException): New method declaration.
2790         * prims.cc:
2791         (_Jv_FindClassFromSignatureNoException): New method.
2792         * gcj/javaprims.h:
2793         (_Jv_equalsUtf8Classname): New method declaration.
2794         (_Jv_isPrimitiveOrDerived): Dito.
2795         * prims.cc:
2796         (_Jv_equalsUtf8Classnames): New method.
2797         (_Jv_isPrimitiveOrDerived): New method.
2798         * verify.cc:
2799         (ref_intersection::equals): Use new classname comparison method.
2800         (type::compatible): Use new classname comparison method. Added
2801         check whether LHS' type is java.lang.Object .
2802         (type::resolve): Added new optional debug message and simplified
2803         if-expression.
2804         (type::to_array): Added codepath that generates an array type
2805         without resolving the element type.
2806
2807 2006-01-31  Mark Wielaard  <mark@klomp.org>
2808
2809         * NEWS: Add 4.1 updates.
2810
2811 2006-01-30  Keith Seitz  <keiths@redhat.com>
2812
2813         * include/java-interp.h (insn_index): New declaration.
2814         (num_insn_slots): New private variable.
2815         (get_line_table): New declaration.
2816         * interpret.cc (insn_index): New function.
2817         (get_line_table): New function.
2818
2819 2006-01-24  Archit Shah  <ashah@redhat.com>
2820             Tom Tromey  <tromey@redhat.com>
2821
2822         * prims.cc (next_property_value): Never return NULL.
2823         (process_gcj_properties): Copy 'props' before using it.
2824
2825 2006-01-23  Keith Seitz  <keiths@redhat.com>
2826
2827         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
2828         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
2829
2830 2006-01-23  David Daney  <ddaney@avtrex.com>
2831
2832         * configure.host (disable_dladdr): Remove variable and its
2833         documentation.
2834         * configure.ac: Do not test for disable_dladdr.
2835         * configure: Regenerate.
2836         * include/config.h.in: Regenerate.
2837
2838 2006-01-18  Tom Tromey  <tromey@redhat.com>
2839
2840         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
2841         already exists.
2842
2843 2006-01-18  Keith Seitz  <keiths@redhat.com>
2844
2845         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
2846         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
2847         * interpret.cc (_Jv_CompileMethod): New function.
2848         (run):  Massage code to allow for NULL args.
2849         Update comments to explain NULL args.
2850         Return if compiling the method and args is NULL.
2851
2852 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
2853
2854         PR libgcj/25840
2855         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
2856
2857 2006-01-17  Tom Tromey  <tromey@redhat.com>
2858
2859         PR classpath/20198:
2860         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
2861         (JarURLLoader): Likewise.
2862         (addURLImpl): Canonicalize file URLs.
2863
2864 2006-01-16  Mark Wielaard  <mark@klomp.org>
2865
2866         Imported GNU Classpath 0.20
2867         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
2868         * java/nio/charset/spi/CharsetProvider.java: New override file.
2869         * java/security/Security.java: Likewise.
2870         * sources.am: Regenerated.
2871         * Makefile.in: Likewise.
2872
2873 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
2874
2875         * configure.ac (dbexecdir): New substituted var.
2876         * configure: Rebuilt.
2877         * Makefile.am (dbexecdir): Remove.
2878         * Makefile.in: Rebuilt.
2879
2880 2006-01-13  Tom Tromey  <tromey@redhat.com>
2881
2882         * gnu/regexp/MessagesBundle_fr.properties: Removed.
2883         * gnu/regexp/MessagesBundle.properties: Removed.
2884
2885 2006-01-13  Tom Tromey  <tromey@redhat.com>
2886
2887         * java/security/classpath.security: Removed.
2888         * Makefile.in: Rebuilt.
2889         * Makefile.am (install-data-local): Don't install
2890         classpath.security.
2891
2892 2006-01-08  Chris Burdess  <dog@gnu.org>
2893
2894         * java/lang/Character.java (toChars,toCodePoint): Correct these
2895           methods to use algorithms from Unicode specification.
2896
2897 2006-01-08  Tom Tromey  <tromey@redhat.com>
2898
2899         * java/lang/StringBuilder.java (appendCodePoint): New method.
2900         (insert): New overloads.
2901         * java/lang/StringBuffer.java (StringBuffer): New constructor.
2902         (charAt): Remerged javadoc.
2903         (codePointAt, codePointBefore): New methods.
2904         (appendCodePoint): New method.
2905         (append): New overloads.
2906         (insert): Likewise.
2907         (trimToSize, codePointCount, offsetByCodePoints): New methods.
2908         * java/lang/Float.java (SIZE): New field.
2909         (valueOf): New method.
2910         * java/lang/natDouble.cc (initIDs): Removed.
2911         * java/lang/Double.java (static initializer): Removed.
2912         (SIZE): New field.
2913         (valueOf): New method.
2914         (initIDs): Removed.
2915
2916 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
2917
2918         PR libgcj/24940
2919         * shlibpath.m4: Replace $SED with sed.
2920         * configure: Rebuilt.
2921
2922 2006-01-06  Tom Tromey  <tromey@redhat.com>
2923
2924         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
2925         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
2926         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
2927         MAX_LOW_SURROGATE): Javadoc fixes.
2928         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
2929         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
2930         methods from Classpath.
2931         * java/lang/String.java (codePointAt, codePointBefore,
2932         codePointCount, contains, replace): New methods from Classpath.
2933         (contentEquals): Declare.
2934         * java/lang/natString.cc (contentEquals): New method.
2935
2936 2005-12-26  Anthony Green  <green@redhat.com>
2937
2938         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
2939         of data to read (dst.remaining()).
2940         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
2941
2942 2005-11-11  Mark Wielaard  <mark@klomp.org>
2943
2944         Reported by john.zigman@anu.edu.au as bug #24608.
2945         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
2946         destination ByteBuffer when it doesn't have an array instead of len
2947         bytes.
2948
2949 2006-01-05  Tom Tromey  <tromey@redhat.com>
2950
2951         * java/lang/natThread.cc (finish_): Don't clear 'group'.
2952         * sources.am, Makefile.in: Rebuilt.
2953         * java/lang/Runtime.java (exit): Merged with Classpath.
2954         (runShutdownHooks): New method from Classpath.
2955         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
2956         FileDeleter.
2957         * gnu/gcj/runtime/FileDeleter.java: Removed.
2958         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
2959         (exitInternal): Don't run finalizers or delete files.
2960
2961 2006-01-05  Tom Tromey  <tromey@redhat.com>
2962
2963         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
2964
2965 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
2966
2967         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
2968
2969 2006-01-04  Tom Tromey  <tromey@redhat.com>
2970
2971         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
2972         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
2973         Changed argument type.  Use SystemClassLoader.addClass.
2974         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
2975
2976 2005-12-24  David Daney <ddaney@avtrex.com>
2977             Tom Tromey  <tromey@redhat.com>
2978
2979         PR libgcj/9715, PR libgcj/19132:
2980         * java/nio/charset/Charset.java (charsetForName): Try default
2981         provider first.
2982         (availableCharsets): Re-merged.
2983         (providers2): Likewise.
2984         (defaultCharset): Likewise.
2985         * sources.am, Makefile.in: Rebuilt.
2986         * gnu/java/nio/charset/Provider.java: Removed.
2987         * java/io/OutputStreamWriter.java
2988         (OutputStreamWriter(OutputStream,Charset)): New constructor.
2989         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2990         * java/io/InputStreamReader.java
2991         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
2992         (InputStreamReader(InputStream,Charset)): Likewise.
2993         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
2994         BytesToCharsetAdaptor.
2995         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
2996         CharsetToBytesAdaptor.
2997         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
2998         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
2999         * mauve-libgcj: Remove getEncoding exclusion.
3000
3001 2005-12-28  Anthony Green  <green@redhat.com>
3002
3003         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
3004         as previous patch, but for win32.
3005
3006 2005-12-28  Anthony Green  <green@redhat.com>
3007
3008         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
3009         address and port before attempting anything.
3010
3011 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3012
3013         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
3014         operation atomic.
3015
3016 2005-12-22  Andrew Haley  <aph@redhat.com>
3017
3018         PR java/25535
3019         * testsuite/libjava.lang/PR25535.java: New test.
3020
3021 2005-12-22  Tom Tromey  <tromey@redhat.com>
3022
3023         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
3024         reference NUM_OBJECT_METHODS.
3025         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
3026
3027 2005-12-18  Anthony Green  <green@redhat.com>
3028
3029         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
3030         New helper function.
3031         (setOption): Use getLocalAddress.  Don't downcast value to
3032         InetAddress.
3033         (getOption): Use getLocalAddress.
3034
3035 2005-12-16  Tom Tromey  <tromey@redhat.com>
3036
3037         * java/lang/Class.java (getPackage): Get package from
3038         VMClassLoader if needed.
3039
3040 2005-12-16  Tom Tromey  <tromey@redhat.com>
3041
3042         * testsuite/libjava.jacks/jacks.xfail
3043         (8.5.2-accessible-static-member-usage-3): Removed.
3044
3045 2005-12-15  Tom Tromey  <tromey@redhat.com>
3046
3047         * testsuite/libjava.compile/rh175833.java: New file.
3048         * testsuite/libjava.compile/pr25429.java: New file.
3049
3050 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
3051
3052         * testsuite/lib/libjava.exp: Revert 2005-12-01.
3053         * testsuite/libjava.lang/Array_3.xfail: Delete.
3054
3055 2005-12-14  Andrew Haley  <aph@redhat.com>
3056
3057         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
3058         handle stdout from the child process.
3059
3060 2005-12-14  Tom Tromey  <tromey@redhat.com>
3061
3062         PR classpath/25389:
3063         * java/io/File.java (File): Throw IllegalArgumentException if URI is
3064         non-hierarchical.
3065
3066 2005-12-12  Andrew Haley  <aph@redhat.com>
3067
3068         * java/lang/VMCompiler.java: Directly generate a new instance of
3069         gnu.java.security.provider.MD5.
3070
3071 2005-12-08  Andrew Haley  <aph@redhat.com>
3072
3073         PR libgcj/25265
3074         * java/lang/Object.h (throwNoSuchMethodError): New method.
3075         * java/lang/Object.java (throwNoSuchMethodError): New method.
3076         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
3077         * link.cc (_Jv_ThrowNoSuchFieldError): New.
3078         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
3079         missing.  Instead, set the otable entry to zero.
3080         (link_symbol_table): If we don't find a nonstatic method, insert
3081         the vtable offset of Object.throwNoSuchMethodError() into the
3082         otable.
3083
3084 2005-12-05  Tom Tromey  <tromey@redhat.com>
3085
3086         * testsuite/libjava.compile/rh174912.java: New file.
3087
3088 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
3089
3090         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
3091         xfail-byte-exec.
3092         * testsuite/libjava.lang/Array_3.xfail: New file.
3093
3094 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
3095
3096         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
3097         to compare _Jv_InterpMethod::run against current func.
3098
3099 2005-11-30  Andrew Haley  <aph@redhat.com>
3100
3101         * classpath/lib/Makefile.am (resources): Use `cp -p'.
3102         Remove `@' from start of line.
3103
3104 2005-11-28  Tom Tromey  <tromey@redhat.com>
3105
3106         PR java/18278:
3107         * testsuite/libjava.jni/pr18278.out: New file.
3108         * testsuite/libjava.jni/pr18278.c: New file.
3109         * testsuite/libjava.jni/pr18278.java: New file.
3110         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
3111         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
3112         (call): Unwrap return value if needed.
3113
3114 2005-11-25  Mark Wielaard  <mark@klomp.org>
3115
3116         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
3117         gnu/javax/rmi.
3118         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
3119         gnu/javax/rmi to bc.
3120         * gnu/CORBA/ObjectCreator.java: New override file for missing
3121         VMStackWalker issue.
3122         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
3123         * gnu/CORBA/DynAn/RecordAny.java: Likewise
3124         * sources.am: Regenerated.
3125         * Makefile.in: Regenerated
3126
3127 2005-11-25  Andrew Haley  <aph@redhat.com>
3128
3129         PR libgcj/25016
3130         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
3131         struct timespec we pass to pthread_cond_timedwait.
3132
3133 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
3134
3135         * testsuite/libjava.jacks/jacks.xfail: Remove
3136         non-jls-argument-expansion-13 and add
3137         non-jls-argument-expansion-error-1 in response to the @file support
3138         patch in the main GCC driver.
3139
3140 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
3141
3142         * sysdep/ia64-frame.h: Removed.
3143         * sysdep/ia64.c: Removed.
3144         * sysdep/dwarf2-backtrace.cc: Removed.
3145         * configure.ac: Remove references to HAVE_BACKTRACE and
3146         SUPPLY_BACKTRACE.
3147         * Makefile.am: Remove SUPPLY_BACKTRACE support.
3148         * configure: Rebuilt.
3149         * Makefile.in: Rebuilt.
3150
3151 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
3152
3153         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
3154
3155 2005-11-17  Mark Wielaard  <mark@klomp.org>
3156
3157         Imported GNU Classpath gcj-import-20051117.
3158         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
3159         * sources.am: Regenerated.
3160         * Makefile.in: Likewise.
3161
3162 2005-11-17  Mark Wielaard  <mark@klomp.org>
3163
3164         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
3165         * java/net/ServerSocket.java: Likewise.
3166         * sources.am: Regenerated.
3167         * Makefile.in: Regenerated.
3168
3169 2005-11-17  Mark Wielaard  <mark@klomp.org>
3170
3171         Fixes bug #24006
3172         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
3173
3174 2005-11-17  Tom Tromey  <tromey@redhat.com>
3175
3176         * java/net/ServerSocket.java (accept): Use correct security manager
3177         call.
3178
3179 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3180
3181         * java/net/ServerSocket.java
3182         (bound): Removed.
3183         (local): New field.
3184         (bind): Cache local socket address.
3185         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
3186         Use cached local socket address.
3187         (close): bound field was removed.
3188
3189 2005-11-17  Tom Tromey  <tromey@redhat.com>
3190
3191         * java/net/URLConnection.java (setDoInput): Javadoc fix.
3192         (setDoOutput): Likewise.
3193         (setContentHandlerFactory): Likewise.
3194         (setFileNameMap): Likewise.
3195
3196 2005-11-17  Mark Wielaard  <mark@klomp.org>
3197
3198         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
3199
3200 2005-11-17  Mark Wielaard  <mark@klomp.org>
3201
3202         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
3203         call urls.add() and addURLImpl() directly on each URL.
3204
3205 2005-11-17  Tom Tromey  <tromey@redhat.com>
3206
3207         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
3208
3209 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3210
3211         * java/net/URLClassLoader.java
3212         (Resource.name): Removed field.
3213         (JarURLResource.name): Added field.
3214         (FileResource.getURL): Use File.toURL() instead of doing it in
3215         a way that breaks on Windows.
3216
3217 2005-11-17  Roman Kennke  <roman@kennke.org>
3218
3219         Reported by: Ingo Proetel  <proetel@aicas.com>
3220         * java/net/URLClassLoader.java
3221         (findClass): Added null check to avoid NullPointerException.
3222
3223 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
3224
3225         * java/net/URLClassLoader.java: reordered some API doc comments to
3226         suppress Eclipse warnings, and fixed API doc link.
3227
3228 2005-11-17  Tom Tromey  <tromey@redhat.com>
3229
3230         * java/net/URLClassLoader.java (URLClassLoader): Removed
3231         unused constructor.
3232
3233 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3234
3235         * java/net/URLClassLoader (findClass): Close InputStream after we're
3236         done with it.
3237
3238 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
3239
3240         Implement -Xss.
3241         * include/jvm.h (gcj::stack_size): Declare.
3242         (_Jv_StackSize): Declare.
3243         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
3244         (_Jv_ThreadStart): Set stack size if specified.
3245         * prims.cc (gcj::stack_size): Define.
3246         (parse_memory_size): Renamed from parse_heap_size.
3247         (_Jv_SetStackSize): Parse stack size argument and set 
3248         gcj::stack_size.
3249
3250 2005-11-17  Mark Wielaard  <mark@klomp.org>
3251
3252         * java/text/SimpleDateFormat.java: Removed, fully merged now.
3253         * sources.am: Regenerated.
3254         * Makefile.in: Regenerated.
3255
3256 2005-11-17  Sven de Marothy  <sven@physto.se>
3257
3258         * java/text/SimpleDateFormat.java
3259         (computeOffset): Allow timezone to be first in the parsed String.
3260
3261 2005-11-17  Mark Wielaard  <mark@klomp.org>
3262
3263         * java/text/SimpleDateFormat.java (field, size): Make package private.
3264
3265 2005-11-17  Tom Tromey  <tromey@redhat.com>
3266
3267         * java/text/SimpleDateFormat.java (compileFormat): Correctly
3268         handle quoted single quotes.  PR classspath/23183.
3269
3270 2005-11-17  Tom Tromey  <tromey@redhat.com>
3271
3272         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
3273
3274 2005-11-17  Tom Tromey  <tromey@redhat.com>
3275
3276         * java/text/DateFormat.java (serialVersionUID): New field.
3277
3278 2005-11-17  Mark Wielaard  <mark@klomp.org>
3279
3280         * java/text/DateFormat.java (equals): Reimplement.
3281
3282 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
3283
3284         * java/text/Collator.java: API doc fixes,
3285         * java/text/DateFormat.java: likewise,
3286         * java/text/DecimalFormatSymbols.java: likewise,
3287         * java/text/DateFormatSymbols.java: likewise,
3288         * java/text/SimpleDateFormat.java: likewise.
3289
3290 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
3291
3292         * java/text/Collator.java (getInstance(Locale)):
3293         Added default collation pattern to handle case when resource
3294         is missing and throw InternalError instead of returning null
3295         should parsing fail.
3296
3297 2005-11-15  Mark Wielaard  <mark@klomp.org>
3298
3299         * java/util/zip/ZipEntry.java: Removed, fully merged now.
3300         * java/util/zip/ZipFile.java: Likewise.
3301         * sources.am: Regenerated.
3302         * Makefile.in: Regenerated.
3303
3304 2005-11-15  Tom Tromey  <tromey@redhat.com>
3305
3306         classpath/23890:
3307         * java/util/Calendar.java (equals): Include other calendar
3308         attributes.
3309         (hashCode): Updated.
3310         * java/util/GregorianCalendar.java (hashCode): New method.
3311         (equals): Use super.equals().
3312
3313 2005-11-15  Sven de Marothy  <sven@physto.se>
3314
3315         * java/util/Calendar (setTimeInMillis): Recompute time fields.
3316
3317 2005-11-15  Mark Wielaard  <mark@klomp.org>
3318
3319         * java/util/SimpleTimeZone.java: Removed, fully merged now.
3320         * java/util/Date.java: Likewise.
3321         * sources.am: Regenerated.
3322         * Makefile.in: Regenerated.
3323
3324 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
3325
3326         * java/util/Calendar.java: fixed minor problems in API docs,
3327         * java/util/Date.java: likewise,
3328         * java/util/ResourceBundle.java: likewise,
3329         * java/util/SimpleTimeZone.java: likewise,
3330
3331 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
3332
3333         * java/io/ObjectInputStream.java
3334         (parseContent): Removed bogus println and fixed bug #24422.
3335                 
3336 2005-11-15  Mark Wielaard  <mark@klomp.org>
3337
3338         * java/io/ObjectStreamClass.java: Removed, fully merged now.
3339         * sources.am: Regenerated.
3340         * Makefile.in: Regenerated.
3341
3342 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
3343
3344         * java/io/ObjectInputStream.java
3345         (processResolution): Pass Error, RuntimeException and
3346         ObjectStreamException through to the caller.
3347         (readObject): Documentation update.
3348
3349 2005-11-15  Mark Wielaard  <mark@klomp.org>
3350
3351         Imported GNU Classpath 0.19 + gcj-import-20051115.
3352         * sources.am: Regenerated.
3353         * Makefile.in: Likewise.
3354         * scripts/makemake.tcl: Use glob -nocomplain.
3355
3356 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
3357
3358         * Makefile.in: Re-generated.
3359         * gnu/awt/xlib/XGraphicsDevice.java: New file.
3360         * gnu/awt/xlib/XToolkit.java
3361         (getLocalGraphicsEnvironment): Implemented. 
3362         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
3363         * sources.am: Re-generated.
3364
3365 2005-15-09  David Daney <ddaney@avtrex.com>
3366
3367         PR libgcj/15430
3368         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
3369         function.
3370         (accept): Call it.
3371         (close): Call shutdown before closing.
3372         (read()): Call read_helper with proper parameters.
3373         (read(buffer, int, int)): Likewise.
3374         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
3375         and timeout parameters.  Make prototype to match. Use 
3376         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
3377         in two places.
3378
3379 2005-11-15  Andrew Haley  <aph@redhat.com>
3380
3381         * Merge from Classpath head:
3382
3383    2005-09-16  Andrew Haley  <aph@redhat.com>
3384    
3385            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
3386            protected readResolve().  Rewrite accessibility check.
3387    
3388    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
3389    
3390            * java/io/ObjectStreamClass.java
3391            (findAccessibleMethod): Added code to make method accessible.
3392    
3393    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
3394    
3395            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
3396            (findAccessibleMethod): Likewise.
3397            (cacheMethods): Lookup readResolve and writeReplace using the new
3398            findAccessibleMethod().
3399    
3400 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
3401
3402         * java/net/natVMNetworkInterfaceWin32.cc: Include
3403         java/net/VMNetworkInterface.h.
3404
3405 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
3406             David Daney  <ddaney@avtrex.com>
3407
3408         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
3409         (read): Handle count == 0 case.
3410
3411 2005-11-09  Tom Tromey  <tromey@redhat.com>
3412
3413         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
3414         passes.
3415
3416 2005-11-08  Tom Tromey  <tromey@redhat.com>
3417
3418         PR libgcj/24587:
3419         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
3420
3421 2005-11-08  Tom Tromey  <tromey@redhat.com>
3422
3423         PR libgcj/23763.  From aeby@graeff.com.
3424         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
3425         before exec.
3426
3427 2005-11-08  Mark Wielaard  <mark@klomp.org>
3428
3429         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
3430
3431 2005-11-07  David Daney  <ddaney@avtrex.com>
3432
3433         * mauve-libgcj: Disable javax.rmi.* and
3434         java.io.InputStreamReader.getEncoding.
3435
3436 2005-11-04  Tom Tromey  <tromey@redhat.com>
3437
3438         PR libgcj/14358, libgcj/24552:
3439         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
3440         aliases for 'euc_jp' and 'eucjp'.
3441         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
3442         canonical names in output.
3443         (%map): Added UnicodeLittle and UnicodeBig.
3444
3445 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3446
3447         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
3448
3449 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
3450
3451         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
3452         library extensions.
3453
3454 2005-10-12  Andrew Haley  <aph@redhat.com>
3455
3456         PR java/24251
3457         * link.cc (ensure_method_table_complete): Install Miranda methods
3458         for interfaces too.
3459
3460 2005-10-10  Tom Tromey  <tromey@redhat.com>
3461
3462         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
3463         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
3464         Now static.
3465
3466 2005-10-05  Richard Henderson  <rth@redhat.com>
3467
3468         PR target/23602
3469         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
3470         but not BACKTRACESPEC.
3471         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
3472
3473 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
3474
3475         * testsuite/lib/jni.exp (gcj_jni_test_one): For
3476         darwin, use -shared-libgcc not -lgcc_s, and explain why.
3477         (gcj_jni_invocation_test_one): Likewise.
3478
3479 2005-09-30  Tom Tromey  <tromey@redhat.com>
3480
3481         PR libgcj/24051:
3482         * Makefile.in: Rebuilt.
3483         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
3484         requested.
3485         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
3486         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
3487         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
3488         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
3489         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
3490         * configure: Rebuilt.
3491         * configure.ac: Pass --enable-qt-peers when qt is requested.
3492
3493 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
3494
3495         * configure.ac: Fix typo.
3496         * configure: Regenerate.
3497
3498 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
3499
3500         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
3501         __LP64__ is defined rather than __powerpc64__.
3502         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
3503         (compare_and_swap_release): Likewise.
3504
3505 2005-09-28  David Daney  <ddaney@avtrex.com>
3506
3507         * HACKING: Update instructions for classpath import.
3508
3509 2005-09-27  Tom Tromey  <tromey@redhat.com>
3510
3511         PR libgcj/23367:
3512         * include/jvm.h (_Jv_FreeMethodCache): Declare.
3513         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
3514         (struct _Jv_mcache): Likewise.
3515         (method_cache): Likewise.
3516         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
3517         (_Jv_AddMethodToCache): Likewise.
3518         (_Jv_FreeMethodCache): New function.
3519         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
3520         * aclocal.m4, configure, include/config.h.in: Rebuilt.
3521         * configure.ac: Invoke GCC_CHECK_TLS.
3522
3523 2005-09-27  Tom Tromey  <tromey@redhat.com>
3524
3525         * configure, Makefile.in: Rebuilt.
3526         * sources.am: Rebuilt.
3527         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
3528         * configure.ac (TOOLKIT): Handle Qt peers properly.
3529
3530 2005-09-23  Tom Tromey  <tromey@redhat.com>
3531
3532         Imported Classpath 0.18.
3533         * sources.am, Makefile.in: Updated.
3534         * Makefile.am (nat_source_files): Removed natProxy.cc.
3535         * java/lang/reflect/natProxy.cc: Removed.
3536         * gnu/classpath/jdwp/VMFrame.java,
3537         gnu/classpath/jdwp/VMIdManager.java,
3538         gnu/classpath/jdwp/VMVirtualMachine.java,
3539         java/lang/reflect/VMProxy.java: New files.
3540
3541 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3542
3543         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
3544         list.
3545
3546 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3547
3548         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
3549         Remove ClasspathToolkit references.
3550
3551 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3552
3553         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
3554         * gnu/awt/xlib/XFramePeer.java: Likewise.
3555         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
3556
3557 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3558
3559         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
3560         classpath/native/jawt/jawt.c.
3561         * Makefile.in: Regenerate.
3562         * jawt.c: Remove file.
3563         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
3564         jawt_md.h.  Add ../classpath/include/jawt.h and
3565         ../classpath/include/jawt_md.h.
3566         * include/Makefile.in: Regenerate.
3567         * include/jawt.h: Regenerate.
3568         * include/jawt_md.h: Regenerate.
3569
3570 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
3571
3572         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
3573         `null' parent ClassLoader to parent constructor.
3574         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
3575         constructor.
3576
3577 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
3578
3579         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
3580
3581 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3582
3583         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
3584         Use libjava_find_lib to find the proper libgcj.
3585
3586 2005-09-16  Anthony Green  <green@redhat.com>
3587
3588         PR libgcj/20198
3589         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
3590         resources should all have canonicalized names.
3591
3592 2005-09-15  Tom Tromey  <tromey@redhat.com>
3593
3594         PR libgcj/16032:
3595         * interpret.cc (AVAL1U): Resolve pool entry when not direct
3596         threaded.
3597         (AVAL2U): Likewise.
3598         (compile): Handle 'ldc class' specially.
3599         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
3600         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
3601         * defineclass.cc (handleCodeAttribute): Set new field.
3602         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
3603         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
3604         (parse): Check version numbers.
3605         (_Jv_ClassReader::is_15): New field.
3606         (_Jv_ClassReader): Initialize it.
3607         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
3608
3609 2005-09-15  Tom Tromey  <tromey@redhat.com>
3610
3611         For PR libgcj/23288:
3612         * java/net/URLClassLoader.java (definePackage): Correctly order
3613         arguments to definePackage.  Look up per-entry Attributes.
3614         (getAttributeValue): New method.
3615
3616 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
3617
3618         PR libgcj/23762
3619         * shlibpath.m4: New file.
3620         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
3621         macro.
3622         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
3623         [USE_LTDL]: If it was not defined with -D set java.library.path to
3624         the value of LTDL_SHLIBPATH_VAR.
3625
3626 2005-09-08  Andrew Haley  <aph@redhat.com>
3627
3628         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
3629         loader.
3630         (toString): Likewise.
3631
3632 2005-09-08  Andrew Haley  <aph@redhat.com>
3633
3634         PR java/22084
3635         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
3636         R/M field in instruction is 100.
3637
3638 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
3639
3640         PR libgcj/23761
3641         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
3642         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
3643         lt_dlinit.
3644         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
3645         Define variable.
3646         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
3647         _Jv_Module_Load_Path.
3648
3649 2005-09-06  Tom Tromey  <tromey@redhat.com>
3650
3651         PR libgcj/23739:
3652         * testsuite/libjava.jni/pr23739.c: New file.
3653         * testsuite/libjava.jni/pr23739.java: New file.
3654         * testsuite/libjava.jni/pr23739.out: New file.
3655         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
3656         * java/lang/reflect/natMethod.cc (invoke): Updated.
3657         * java/lang/natClass.cc (isAssignableFrom): Updated.
3658         (isInstance): Likewise.
3659         (_Jv_IsAssignableFrom): Reversed arguments.
3660         (_Jv_IsInstanceOf): Updated.
3661         (_Jv_CheckCast): Likewise.
3662         (_Jv_CheckArrayStore): Likewise.
3663         (_Jv_IsAssignableFromSlow): Reversed arguments.
3664         (_Jv_InterfaceAssignableFrom): Likewise.
3665         * link.cc (verify_type_assertions): Updated.
3666         * prims.cc (_Jv_CheckAccess): Updated.
3667
3668 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
3669
3670         Testsuite changes for PR java/23431.
3671         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
3672         8.4.6.2-hiding-5.
3673         * testsuite/libjava.compile/PR23431_1.java: New testcase.
3674         * testsuite/libjava.compile/PR23431_2.java: Likewise.
3675         * testsuite/libjava.compile/PR23431_1.xfail: New file.
3676         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
3677
3678 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3679
3680         PR libgcj/23549
3681         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
3682         -disableassertions and -da.
3683
3684 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
3685
3686         * configure.ac: Replace "*-*-darwin[0-7].*" with
3687         "*-*-darwin[[0-7]].*"
3688         * configure: Regenerate.
3689
3690 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
3691
3692         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
3693         darwin < 8.
3694         * configure: Regenerate.
3695
3696 2005-08-23  Roman Kennke  <roman@kennke.org>
3697
3698         * java/lang/Character.java
3699         (toChars(int)): New JDK1.5 method.
3700         (toChars(int, char[], int)): New JDK1.5 method.
3701         (charCount): New JDK1.5 method.
3702         (isSupplementaryCodePoint): New JDK1.5 method.
3703         (isValidCodePoint): New JDK1.5 method.
3704
3705 2005-08-23  Tom Tromey  <tromey@redhat.com>
3706
3707         * aclocal.m4, Makefile.in: Rebuilt.
3708         * Makefile.am (property_files): Added META-INF files.
3709         (propertyo_files): Changed definition.
3710         ($(propertyo_files)): Updated patterns.
3711
3712 2005-08-22  Tom Tromey  <tromey@redhat.com>
3713
3714         PR libgcj/22622:
3715         * configure: Rebuilt.
3716         * configure.ac: Correctly create Configuration.java (for
3717         temporary use).
3718
3719 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
3720
3721         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
3722         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
3723         * mingwld.m4: ... this new file.
3724         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
3725         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
3726
3727 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3728
3729         PR libgcj/23507
3730         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
3731         assignment.  Cast operands of compare to function pointer type.
3732
3733 2005-08-21  Tom Tromey  <tromey@redhat.com>
3734
3735         * HACKING: Updated for hacking classpath in libgcj.
3736
3737 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3738
3739         PR libgcj/21692
3740         * sysdep/pa/descriptor.h: New file.
3741         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
3742
3743 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
3744
3745         * Makefile.am (extra_ldflags_libjava): New variable to
3746         substitute in.
3747         (LIBLINK): Add extra_ldflags_libjava to it.
3748         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
3749         "-Wl,-single_module".
3750         * Makefile.in: Regenerate.
3751         * aclocal.m4: Regenerate.
3752         * configure: Regenerate.
3753         * gcj/Makefile.in: Regenerate.
3754         * include/Makefile.in: Regenerate.
3755         * testsuite/Makefile.in: Regenerate.
3756
3757 2005-08-17  Tom Tromey  <tromey@redhat.com>
3758
3759         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
3760         friend.
3761         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
3762         * testsuite/libjava.lang/bclink.java: New file.
3763         * testsuite/libjava.lang/bclink.out: New file.
3764         * link.cc (print_class_loaded): Changed ABI test to look at
3765         various _syms fields.
3766
3767 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
3768
3769         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
3770         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
3771
3772 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
3773
3774         More testsuite adjustments for PR java/19870.
3775         * testsuite/libjava.lang/PR19870_2.java: New testcase.
3776         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
3777         new testcase.
3778         * testsuite/libjava.jacks/jacks.xfail: Remove
3779         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
3780
3781 2005-08-16  Tom Tromey  <tromey@redhat.com>
3782
3783         * gnu/xml/xpath/XPathParser.y: Removed.
3784
3785 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
3786
3787         PR libgcj/23353:
3788         * java/lang/natObject.cc (clone): Clear sync_info.
3789
3790 2005-07-26  Tom Tromey  <tromey@redhat.com>
3791
3792         * gnu/java/net/protocol/ftp/package.html,
3793         gnu/javax/swing/text/html/package.html,
3794         gnu/javax/swing/text/html/parser/package.html,
3795         gnu/javax/swing/text/html/parser/models/package.html,
3796         gnu/javax/swing/text/html/parser/support/package.html,
3797         gnu/javax/swing/text/html/parser/support/low/package.html,
3798         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
3799         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
3800         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
3801         java/awt/geom/doc-files/CubicCurve2D-1.png,
3802         java/awt/geom/doc-files/CubicCurve2D-2.png,
3803         java/awt/geom/doc-files/CubicCurve2D-3.png,
3804         java/awt/geom/doc-files/CubicCurve2D-4.png,
3805         java/awt/geom/doc-files/CubicCurve2D-5.png,
3806         java/awt/geom/doc-files/Ellipse-1.png,
3807         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
3808         java/awt/geom/doc-files/GeneralPath-1.png,
3809         java/awt/geom/doc-files/QuadCurve2D-1.png,
3810         java/awt/geom/doc-files/QuadCurve2D-2.png,
3811         java/awt/geom/doc-files/QuadCurve2D-3.png,
3812         java/awt/geom/doc-files/QuadCurve2D-4.png,
3813         java/awt/geom/doc-files/QuadCurve2D-5.png,
3814         javax/imageio/package.html, javax/imageio/event/package.html,
3815         javax/imageio/metadata/package.html,
3816         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
3817         javax/swing/border/doc-files/BevelBorder-1.png,
3818         javax/swing/border/doc-files/BevelBorder-2.png,
3819         javax/swing/border/doc-files/BevelBorder-3.png,
3820         javax/swing/border/doc-files/EmptyBorder-1.png,
3821         javax/swing/border/doc-files/EtchedBorder-1.png,
3822         javax/swing/border/doc-files/EtchedBorder-2.png,
3823         javax/swing/border/doc-files/LineBorder-1.png,
3824         javax/swing/border/doc-files/MatteBorder-1.png,
3825         javax/swing/border/doc-files/MatteBorder-2.png,
3826         javax/swing/border/doc-files/MatteBorder-3.png,
3827         javax/swing/border/doc-files/MatteBorder-4.png,
3828         javax/swing/border/doc-files/MatteBorder-5.png,
3829         javax/swing/border/doc-files/MatteBorder-6.png,
3830         javax/swing/border/doc-files/SoftBevelBorder-1.png,
3831         javax/swing/border/doc-files/SoftBevelBorder-2.png,
3832         javax/swing/border/doc-files/SoftBevelBorder-3.png,
3833         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
3834         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
3835         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3836         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
3837         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3838         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
3839         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
3840         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
3841         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
3842         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
3843         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
3844         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3845         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3846         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3847         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3848         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3849         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3850         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
3851         javax/swing/plaf/doc-files/ComponentUI-1.dia,
3852         javax/swing/plaf/doc-files/ComponentUI-1.png,
3853         javax/swing/plaf/doc-files/TreeUI-1.png,
3854         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
3855         javax/xml/parsers/package.html, javax/xml/transform/package.html,
3856         javax/xml/transform/dom/package.html,
3857         javax/xml/transform/sax/package.html,
3858         javax/xml/transform/stream/package.html,
3859         javax/xml/validation/package.html, javax/xml/xpath/package.html:
3860         Removed.
3861
3862 2005-07-22  Tom Tromey  <tromey@redhat.com>
3863
3864         * include/Makefile.in: Rebuilt.
3865         * include/Makefile.am (tool_include__HEADERS): Include
3866         classpath's jni.h.
3867
3868 2005-07-20  Tom Tromey  <tromey@redhat.com>
3869
3870         * sources.am, Makefile.in: Rebuilt.
3871         * Makefile.am (all_xlib_lo_files): Removed.
3872         (all_libgcj_lo_files): Likewise.
3873         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
3874         (xlib_java_source_files): Removed.
3875         (xlib_nat_headers): Updated.
3876         * configure: Rebuilt.
3877         * configure.ac: Create standard.omit.
3878         * standard.omit.in: New file.
3879         * standard.omit: Removed.
3880         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
3881         'package'.
3882         (emit_package_rule): Special case xlib peers.
3883         (emit_source_var): Likewise.
3884         Read standard.omit.in.
3885         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
3886
3887 2005-07-18  Tom Tromey  <tromey@redhat.com>
3888
3889         * HACKING: Updated.
3890
3891 2005-07-19  Matthias Klose  <doko@debian.org>
3892
3893         * classpath/java/awt/im/InputContext.java (clinit): Initialize
3894           line, im.
3895
3896 2005-07-18  Tom Tromey  <tromey@redhat.com>
3897
3898         PR libgj/21058:
3899         * sources.am, Makefile.in: Rebuilt.
3900         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
3901         file.
3902         (emit_source_var): Don't emit patsubst with './'.
3903
3904 2005-07-18  Tom Tromey  <tromey@redhat.com>
3905
3906         * Makefile.in: Rebuilt.
3907         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
3908
3909 2005-07-17  Andreas Jaeger  <aj@suse.de>
3910
3911         * defineclass.cc (handleClassBegin): Remove unused variable.
3912
3913 2005-07-16  Andreas Schwab  <schwab@suse.de>
3914
3915         * scripts/makemake.tcl (emit_package_rule): Emit command to create
3916         target directory.
3917         * Makefile.am (%.lo): Don't create it here.
3918         * sources.am, Makefile.in: Regenerated.
3919
3920 2005-07-15  Tom Tromey  <tromey@redhat.com>
3921
3922         Major merge with Classpath.
3923         Removed many duplicate files.
3924         * HACKING: Updated.x
3925         * classpath: Imported new directory.
3926         * standard.omit: New file.
3927         * Makefile.in, aclocal.m4, configure: Rebuilt.
3928         * sources.am: New file.
3929         * configure.ac: Run Classpath configure script.  Moved code around
3930         to support.  Disable xlib AWT peers (temporarily).
3931         * Makefile.am (SUBDIRS): Added 'classpath'
3932         (JAVAC): Removed.
3933         (AM_CPPFLAGS): Added more -I options.
3934         (BOOTCLASSPATH): Simplified.
3935         Completely redid how sources are built.
3936         Include sources.am.
3937         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
3938         * include/jni.h: Removed (in Classpath).
3939         * scripts/classes.pl: Updated to look at built classes.
3940         * scripts/makemake.tcl: New file.
3941         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
3942         -I options.
3943         (gcj_jni_invocation_compile_c_to_binary): Likewise.
3944
3945 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
3946
3947         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
3948         (eventMask): New field.
3949         (XCanvasPeer(Component)): Use attributes field.
3950         (setBackground): Implemented.
3951         (setEventMask): Process mask only if changed.
3952         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
3953         (eventLoopThread): New field.
3954         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
3955         (interrupt): Removed.
3956         (run): New method.
3957         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
3958         and Component events.
3959         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
3960         field.
3961         (configureNotify): Set and clear processingConfigureNotify.
3962         (setBounds): Process only if processingConfigureNotify is false.
3963         (toBack): Implemented.
3964         (toFront): Implemented.
3965         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
3966         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
3967         color.
3968         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
3969         (wakeNativeQueue): Do nothing.
3970         (iterateNativeQueue): Do queue.wait if blocking.
3971         * gnu/gcj/xlib/Font.java (loadFont): New method.
3972         (loadFontImpl): Renamed native method, was loadFont. 
3973         * gnu/gcj/xlib/Window.java (toFront): New method.
3974         (toBack): New method.
3975         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
3976         loadFont.
3977         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
3978         (toFront): New method. 
3979         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
3980
3981 2005-07-14  Andrew Haley  <aph@redhat.com>
3982
3983         * gnu/java/net/protocol/file/Connection.java (unquote): New
3984         method.
3985         (connect): Unquote filename.
3986         gnu/java/net/protocol/jar/Connection.java (getInputStream):
3987         Likewise.  
3988         (getJarFile): Likewise.
3989
3990         * java/net/URLConnection.java (getContentHandler): Guard cast with
3991         instaceof.
3992
3993         * java/net/URL.java (URL): If the file part of a spec is absolute,
3994         ignore the file part of its context.
3995
3996 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
3997
3998         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
3999         Implemented VirtualMachine Command Set.
4000
4001 2005-07-14  Tom Tromey  <tromey@redhat.com>
4002
4003         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
4004         Classpath.
4005
4006 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
4007
4008         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
4009         Implemented the Field CommandSet.
4010         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
4011         Implemented the InterfaceType CommandSet.
4012
4013 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
4014
4015         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
4016         shutdown to jdwp instead of connection.
4017
4018 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
4019
4020         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
4021         New file.
4022
4023 2005-07-08  Colin Walters  <walters@verbum.org>
4024
4025         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
4026         check for abstract classes or interfaces here; JVM spec
4027         says it should throw an exception, so we'll do so later.
4028         * interpret.cc (run): Throw an InstantiationException for
4029         abstract classes and interfaces.
4030
4031 2005-07-08  Andrew Haley  <aph@redhat.com>
4032
4033         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
4034         (regular, non-realtime scheduling), not SCHED_RR (realtime,
4035         round-robin).
4036
4037 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
4038
4039         * gnu/classpath/jdwp/util/Signature.java
4040         (computeFieldSignature): New Method.
4041
4042 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
4043
4044         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
4045         file.
4046
4047 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
4048