OSDN Git Service

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