OSDN Git Service

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