OSDN Git Service

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