OSDN Git Service

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