OSDN Git Service

4cc701379e47e9b3cbbc775d490518467a310ac3
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2006-05-24  Tom Tromey  <tromey@redhat.com>
2
3         PR libgcj/27024:
4         * sources.am, Makefile.in: Rebuilt.
5         * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
6         * java/net/URLConnection.java: Removed.
7
8 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
9
10         * Makefile.am: Add install-html target. Add install-html to .PHONY
11         * Makefile.in: Regenerate.
12         * aclocal.m4: Regenerate.
13         * gcj/Makefile.in: Regenerate.
14         * include/Makefile.in: Regenerate.
15         * testsuite/Makefile.in: Regenerate.
16
17 2006-05-24  Andreas Tobler  <a.tobler@schweiz.ch>
18
19         * testsuite/libjava.lang/stacktrace.java: New file.
20         * testsuite/libjava.lang/stacktrace.out: Likewise.
21
22 2006-05-24  Tom Tromey  <tromey@redhat.com>
23
24         * sources.am, Makefile.in: Rebuilt.
25         * scripts/makemake.tcl: Accept -verbose command-line option.
26         (is_verbose): New global.
27         (verbose): Use it.
28         (classify_source_file): Don't special case '.' for 'package'
29         type.
30
31 2006-05-24  Tom Tromey  <tromey@redhat.com>
32
33         PR libgcj/27729:
34         * java/lang/reflect/natField.cc (getAddr): Added parens.
35         * java/lang/reflect/natConstructor.cc (getModifiersInternal):
36         Renamed.  Don't mask flags.
37         * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
38         constant.
39         (getModifiersInternal): Renamed.
40         (getModifiers): Rewrote.
41         (isSynthetic, isVarArgs): New methods.
42         (hashCode): Rewrote.
43         (addTypeParameters, toGenericString): New methods.
44         (getTypeParameters): Rewrote.
45         (getSignature): New method.
46         (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
47         * java/lang/reflect/natMethod.cc (getModifiersInternal):
48         Renamed.  Don't mask flags.
49         * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
50         Don't mask flags.
51         * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
52         ENUM): New constants.
53         (INVISIBLE): Changed value.
54         * java/lang/reflect/Method.java: Mostly merged with Classpath.
55         (getModifiersInternal): Renamed.
56         (getModifiers): Rewrote.
57         (isBridge, isSynthetic, isVarArgs): New methods.
58         (toGenericString): Likewise.
59         (getTypeParameters): Likewise.
60         (getSignature): Likewise.
61         (getGenericExceptionTypes, getGenericParameterTypes,
62         getGenericReturnType): Likewise.
63         (METHOD_MODIFIERS): New constant.
64         * java/lang/reflect/Field.java: Mostly merged with Classpath.
65         Added javadoc everywhere.
66         (getModifiersInternal): Renamed.
67         (getModifiers, isSynthetic, isEnumConstant): Rewrote.
68         (toGenericString): New method.
69         (getGenericType, getSignature): Likewise.
70         (FIELD_MODIFIERS): New constant.
71
72 2006-05-24  Tom Tromey  <tromey@redhat.com>
73
74         PR libgcj/27731:
75         * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
76         tanh): New methods.
77         * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
78         tanh): Declare.
79
80 2006-05-22  Mark Wielaard  <mark@klomp.org>
81
82         * HACKING: Update GNU Classpath import instructions.
83
84 2006-05-21  Andreas Tobler  <a.tobler@schweiz.ch>
85
86         * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
87         signature as MAYBE_UNUSED for HAVE_TLS == 0.
88         (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
89         HAVE_TLS == 0.
90
91 2006-05-20  Andreas Tobler  <a.tobler@schweiz.ch>
92             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
93
94         * configure.ac: Add the POSIX thread libs to the HP-UX PA
95         configuration. Add signal specification for HP-UX PA.
96         * configure: Rebuilt.
97         * configure.host: Add defaults for the HP-UX PA architecture.
98         Add descriptor files for HP-UX PA 32-bit and 64-bit.
99         * include/hppa-signal.h: New file.
100         * include/posix.h: Add shared library suffix for HP-UX.
101         * sysdep/pa/descriptor-pa32-hpux.h: New file.
102         * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
103
104 2006-05-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
105
106         * ChangeLog: Correct incorrect GNU Classpath version in the
107         entry for the latest import.
108
109 2006-05-18  Tom Tromey  <tromey@redhat.com>
110
111         * source.am, Makefile.in: Rebuilt.
112         * Makefile.am (property_files): Removed.
113         * scripts/makemake.tcl (properties_map): New global.
114         (properties_files): Likewise.
115         (emit_property_files): New proc.
116         (scan_packages): Scan META-INF.
117         Print property_files variable.  Scan classpath/resource.
118
119 2006-05-18  Tom Tromey  <tromey@redhat.com>
120
121         * testsuite/libjava.special/special.exp (gcj_special_pr21115):
122         Renamed.
123         (gcj_write_and_byte_compile): New proc.
124         (gcj_special_lazy_illegal_access): Likewise.
125
126 2006-05-18  Mark Wielaard  <mark@klomp.org>
127
128         Imported GNU Classpath 0.91
129         * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
130
131         * sources.am: Regenerated.
132         * gcj/javaprims.h: Regenerated.
133         * Makefile.in: Regenerated.
134         * gcj/Makefile.in: Regenerated.
135         * include/Makefile.in: Regenerated.
136         * testsuite/Makefile.in: Regenerated.
137
138         * gnu/java/lang/VMInstrumentationImpl.java: New override.
139         * gnu/java/net/local/LocalSocketImpl.java: Likewise.
140         * gnu/classpath/jdwp/VMMethod.java: Likewise.
141         * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
142         interface.
143         * java/lang/Thread.java: Add UncaughtExceptionHandler.
144         * java/lang/reflect/Method.java: Implements GenericDeclaration and
145         isSynthetic(),
146         * java/lang/reflect/Field.java: Likewise.
147         * java/lang/reflect/Constructor.java
148         * java/lang/Class.java: Implements Type, GenericDeclaration,
149         getSimpleName() and getEnclosing*() methods.
150         * java/lang/Class.h: Add new public methods.
151         * java/lang/Math.java: Add signum(), ulp() and log10().
152         * java/lang/natMath.cc (log10): New function.
153         * java/security/VMSecureRandom.java: New override.
154         * java/util/logging/Logger.java: Updated to latest classpath
155         version.
156         * java/util/logging/LogManager.java: New override.
157
158 2006-05-15  Bryce McKinlay  <mckinlay@redhat.com>
159
160         PR libgcj/27352
161         * java/lang/Class.java (getClassLoaderInternal): New method.
162         (forName (String, Class)): Use getClassLoaderInternal.
163         (getPackage): Likewise.
164         (getResource): Likewise.
165         (getResourceAsStream): Likewise.
166         (desiredAssertionStatus): Likewise.
167
168 2006-05-15  Andreas Tobler  <a.tobler@schweiz.ch>
169
170         * stacktrace.cc (StackTrace::FillInFrameInfo): Use
171         UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
172         klass->methods[j].ncode.
173
174 2006-05-13  Tom Tromey  <tromey@redhat.com>
175
176         * sources.am, Makefile.in: Rebuilt.
177         * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
178         natChannels.cc.
179         * java/nio/channels/natVMChannels.cc: Renamed from
180         natChannels.cc.
181         * java/nio/channels/Channels.java: Removed.
182         * java/nio/channels/natChannels.cc: Removed.
183         * java/nio/channels/VMChannels.java: New file.
184
185 2006-05-13  Tom Tromey  <tromey@redhat.com>
186
187         * sources.am, Makefile.in: Rebuilt.
188         * java/text/DateFormat.java: Removed.
189
190 2006-05-13  Tom Tromey  <tromey@redhat.com>
191
192         * sources.am, Makefile.in: Rebuilt.
193         * gnu/java/net/protocol/jar/Connection.java: Removed.
194         * java/net/JarURLConnection.java: Removed.
195
196 2006-05-13  Tom Tromey  <tromey@redhat.com>
197
198         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
199         declaration.
200
201 2006-05-12  Tom Tromey  <tromey@redhat.com>
202
203         * sources.am, Makefile.in: Rebuilt.
204         * java/util/logging/LogManager.java: Removed.
205         * java/util/logging/Logger.java (resetLogger): New method, from
206         Classpath.
207         * java/io/RandomAccessFile.java: Removed.
208         * gnu/java/nio/channels/FileChannelImpl.java (create): New
209         method.
210         (FileChannelImpl): Now private.
211         * java/io/FileInputStream.java: Removed.
212         * java/io/FileOutputStream.java: Removed.
213         * java/security/AccessControlContext.java: Removed.
214         * java/lang/ThreadLocal.java: Removed.
215         * java/lang/InheritableThreadLocal.java: Removed.
216         * java/lang/Thread.java (locals): New field.
217         (getThreadLocals): New method.
218         * java/lang/natThread.cc (finish_): Clear 'locals'.
219
220 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
221
222         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
223         fails, don't try again.
224         (use_addr2line): Field no longer final.
225
226 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
227
228         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
229         (lookup): If addr2line fails to find an address, flag the binary as
230         having no debug info and avoid calling addr2line on it again.
231
232 2006-05-11  David Daney  <ddaney@avtrex.com>
233
234         * testsuite/libjava.compile/PR20418.java: New.
235         * testsuite/libjava.compile/PR20418.xfail: New.
236
237 2006-05-11  Andrew Haley  <aph@redhat.com>
238
239         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
240         line.
241
242 2006-05-10  Andrew Haley  <aph@redhat.com>
243
244         * java/lang/natClassLoader.cc: Add comments.
245
246 2006-05-09  Andrew Haley  <aph@redhat.com>
247
248         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
249         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
250         Remove body.
251         (_Jv_CompiledEngine::allocate_field_initializers): New.
252         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
253         allocate_field_initializers.
254         (class _Jv_IndirectCompiledClass): New.
255         (struct _Jv_IndirectCompiledEngine): New.
256         * java/lang/Class.h: (IndirectCompiledEngine): New.
257         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
258         engine to _Jv_soleIndirectCompiledEngine
259         * link.cc (ensure_fields_laid_out): Call
260         engine->allocate_field_initializers().
261
262 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
263
264         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
265         HP-UX and add appropriate extension for shared libraries, sl.
266         (gcj_jni_test_one): Likewise.
267
268         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
269         library extensions.
270
271 2006-05-05  Tom Tromey  <tromey@redhat.com>
272
273         PR libgcj/27294:
274         * java/lang/natVMClassLoader.cc (defineClass): Throw
275         VirtualMachineError if no interpreter configured.
276
277 2006-05-03  Andrew Haley  <aph@redhat.com>
278
279         PR libgcj/27352
280         * java/lang/Class.java (getClassLoader(Class)): New.
281         forName(String, Class): New.
282         * java/lang/natClass.cc (getClassLoader(Class)): New.
283
284 2006-05-02  Andrew Haley  <aph@redhat.com>
285
286         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
287
288 2006-05-04  Tom Tromey  <tromey@redhat.com>
289
290         PR libgcj/26861:
291         * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
292         <insn_putfield>: Likewise.
293         (NULLCHECK): Define unconditionally.
294         * link.cc (ensure_class_linked): Removed dead code.
295
296 2006-05-04  Tom Tromey  <tromey@redhat.com>
297
298         * java/lang/Class.h (JV_STATE_LOADING): Added comment.
299         * Makefile.in: Rebuilt.
300         * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
301         * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
302         * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
303         New field.
304         (loadedClasses): Removed.
305         (findClass): Declare.
306         (addClass): Add to nativeClasses, not loadedClasses.
307
308 2006-05-04  Andrew Haley  <aph@redhat.com>
309
310         PR java/26858
311         * testsuite/libjava.lang/PR26858.xfail: Delete.
312
313 2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>
314
315         * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
316         -findirect-dispatch compilation.
317
318 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
319
320         * configure.ac: Simplify the mmap check a bit more.
321         * configure: Rebuilt.
322         * include/config.h.in: Likewise.
323
324 2006-05-01  Roger Sayle  <roger@eyesopen.com>
325             Andrew Haley  <aph@redhat.com>
326
327         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
328         before calling GC_register_has_static_roots_callback.
329         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
330         HAVE_DLADDR before calling dladdr.
331
332 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
333
334         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
335         to resolve_method.
336         * interpret.cc (insn_invokevirtual): Use method->index, not
337         vtable_index. Check accflag FINAL to determine finals. Only do
338         explicit null check if calling a final method. Use
339         throw_null_pointer_exception.
340         (invokevirtual_resolved): Likewise.
341         (null_pointer_exc): Remove static field.
342         (throw_null_pointer_exception): Always define. Throw a new
343         NullPointerException every time.
344         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
345         field.
346         * include/execution.h (resolve_method): Remove vtable_index argument.
347
348 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
349
350         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
351         * configure: Rebuilt.
352
353 2006-04-25  Tom Tromey  <tromey@redhat.com>
354
355         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
356         Include platform.h.  Set GC_DEBUG before including gc.h, if
357         needed.
358
359 2006-04-25  Andrew Haley  <aph@redhat.com>
360
361         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
362         * boehm.cc: Don't include link.h.
363         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
364
365 2006-04-24  Tom Tromey  <tromey@redhat.com>
366
367         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
368
369 2006-04-21  Andrew Haley  <aph@redhat.com>
370
371         * include/execution.h (struct _Jv_CompiledEngine): Define for
372         compiled classes.
373         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
374         _Jv_RegisterLibForGc.
375         (_Jv_RegisterClasses_Counted): Likewise.
376         (_Jv_NewClassFromInitializer): New.
377         (_Jv_RegisterNewClasses): New.
378         * sources.am: Regenerate.
379         * boehm.cc (_Jv_GC_has_static_roots): new.
380         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
381         (filename_node, find_file, _Jv_print_gc_store, new_node,
382         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
383         * scripts/makemake.tcl: Add -fno-indirect-classes.
384         * Makefile.in: Regenerate.
385         * link.cc (resolve_pool_entry): Allocate constant pool.
386         Allocate fields.
387         
388 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
389
390         * configure.ac: Weaken the check for MMAP.
391         * configure: Rebuilt.
392         * include/config.h.in: Likewise.
393
394 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
395
396         PR libgcj/27170
397         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
398         dlopen(). From Anthony Green.
399
400 2006-04-20  Tom Tromey  <tromey@redhat.com>
401
402         PR libgcj/21941:
403         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
404         UnknownHostException if needed.
405         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
406         UnknownHostException if needed.
407
408 2006-04-19  Tom Tromey  <tromey@redhat.com>
409
410         * Makefile.in: Rebuilt.
411         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
412         all_java_deps_files.
413
414 2006-04-19  Tom Tromey  <tromey@redhat.com>
415
416         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
417         handle EINTR.
418
419 2006-04-17  Tom Tromey  <tromey@redhat.com>
420
421         PR libgcj/27171:
422         * testsuite/libjava.lang/pr27171.java: New file.
423         * testsuite/libjava.lang/pr27171.out: New file.
424         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
425         true if we've seen a high surrogate.
426         (write): Handle high surrogates at the end of the stream.
427         Properly emit isolated low surrogates.
428
429 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
430
431         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
432         of failure.
433
434 2006-04-13  Tom Tromey  <tromey@redhat.com>
435
436         PR libgcj/26522:
437         * Makefile.in: Rebuilt.
438         * Makefile.am (libsubdir): New variable.
439
440 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
441
442         PR libgcj/23829
443         * configure.ac: Link against -lpthread rather than -lc_r on
444         FreeBSD 5 and above.
445         * configure: Regenerate.
446
447 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
448
449         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
450         of package-private field "loadedClasses" using reflection.
451         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
452         block.
453
454 2006-04-10  Matthias Klose  <doko@debian.org>
455
456         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
457         directory names containing underscores.
458
459 2006-04-10  Andrew Haley  <aph@redhat.com>
460
461         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
462         (SIGNAL_HANDLER): Mark arg as unused.
463         * configure.host (x86_64-* DIVIDESPEC): Use
464         fno-use-divide-subroutine.
465
466 2006-04-07  Andrew Haley  <aph@redhat.com>
467
468         * java/net/InetAddress.java: Throw an UnknownHostException if
469         lookup fails.
470
471 2006-04-05  Tom Tromey  <tromey@redhat.com>
472
473         PR libgcj/26625:
474         * Makefile.in: Rebuilt.
475         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
476         classpath/lib/compile-classes.
477
478 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
479
480         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
481         MinGW since EBP is used for backtracking through call frames on this
482         platform.
483
484 2006-04-05  Archit Shah  <ashah@redhat.com>
485
486         PR java/25414
487         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
488         Add classpath argument.
489         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
490         caller.
491         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
492         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
493         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
494         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
495         mkdirs for destination directory, correct handling of superclasses
496         and interfaces of the remote class, correct handling of exceptions
497         declared by remote methods.
498
499 2006-04-04  Tom Tromey  <tromey@redhat.com>
500
501         PR libgcj/26990:
502         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
503         * gnu/java/lang/natMainThread.cc (call_main): Use
504         exitNoChecksAccessor.
505         * testsuite/libjava.lang/pr26990.out: New file.
506         * testsuite/libjava.lang/pr26990.java: New file.
507         * java/lang/Runtime.java (exitNoChecks): New method.
508         (exitNoChecksAccessor): Likewise.
509         (exit): Call exitNoChecks.
510
511 2006-04-03  Tom Tromey  <tromey@redhat.com>
512
513         * Makefile.in: Rebuilt.
514         * Makefile.am (ZIP): Removed.
515         (libgcj-$(gcc_version).jar): Use $(JAR).
516         (src.zip): Likewise.
517         * configure: Rebuilt.
518         * configure.ac: Check for jar.  Removed code to set ZIP.
519
520 2006-04-03  Andrew Haley  <aph@redhat.com>
521
522         * testsuite/libjava.lang/Float_2.java: New file.
523
524 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
525
526         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
527
528 2006-03-30  Tom Tromey  <tromey@redhat.com>
529
530         PR java/26042:
531         * testsuite/libjava.compile/pr26042.java: New file.
532
533 2006-03-29  Tom Tromey  <tromey@redhat.com>
534
535         * sources.am, Makefile.in: Rebuilt.
536         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
537
538 2006-03-29  Tom Tromey  <tromey@redhat.com>
539
540         PR java/26390:
541         * testsuite/libjava.lang/pr26390.out: New file.
542         * testsuite/libjava.lang/pr26390.java: New file.
543         * sources.am, Makefile.in: Rebuilt.
544         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
545
546 2006-03-29  Tom Tromey  <tromey@redhat.com>
547
548         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
549         CLOCK_HIGHRES.
550
551 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
552
553         * scripts/unicode-muncher.pl: Removed this file.
554         * scripts/MakeCharTables.java: Likewise.
555         * scripts/unicode-to-chartables.pl: New file.
556         * java/lang/natCharacter.cc: 
557         (UNASSIGNED_TYPE): New field.
558         (UNASSIGNED_DIGIT): Likewise.
559         (UNASSIGNED_DIRECTION): Likewise.
560         (UNASSIGNED_NUMERIC_VALUE): Likewise.
561         (PRIVATE_TYPE): Likewise.
562         (PRIVATE_DIRECTION): Likewise.
563         (readCodePoint): New method.
564         (getType(jint)): Likewise.
565         (toLowerCase(jint)): Likewise.
566         (toUpperCase(jint)): Likewise.
567         (toTitleCase(jint)): Likewise.
568         (digit(jint, jint)): Likewise.
569         (getNumericValue(jint)): Likewise.
570         (getDirectionality(jint)): Likewise.
571         (readChar),
572         (getType(jchar)),
573         (toLowerCase(jchar)),
574         (toUpperCase(jchar)),
575         (toTitleCase(jchar)),
576         (digit(jchar, jint)),
577         (getNumericValue(jchar)),
578         (getDirectionality(jchar)): Changed references from data to data[0], 
579         blocks to blocks[0], direction to direction[0], numValue to 
580         numValue[0], upper to upper[0], lower to lower[0], and shift to 
581         shift[0] to reflect the new structures in java-chartables.h.    
582         * java/lang/Character.java:
583         (readCodePoint): Declared new native method.
584         (getType(int)): Likewise.
585         (toLowerCase(int)): Likewise.
586         (toUpperCase(int)): Likewise.
587         (toTitleCase(int)): Likewise.
588         (digit(int, int)): Likewise.
589         (getNumericValue(int)): Likewise.
590         (getDirectionality(int)): Likewise.
591         (isLowerCase(int)): New method.
592         (isUpperCase(int)): Likewise.
593         (itTitleCase(int)): Likewise.
594         (isDigit(int)): Likewise.
595         (isDefined(int)): Likewise.
596         (isLetter(int)): Likewise.
597         (isLetterOrDigit(int)): Likewise.
598         (isJavaIdentifierStart(int)): Likewise.
599         (isJavaIdentifierPart(int)): Likewise.
600         (isUnicodeIdentifierStart(int)): Likewise.
601         (isUnicodeIdentifierPart(int)): Likewise.
602         (isIdentifierIgnorable(int)): Likewise.
603         (isSpaceChar(int)): Likewise.
604         (isWhitespace(int)): Likewise.
605         (isISOControl(int)): Likewise.
606         (isMirrored(int)): Likewise.
607         * include/java-chartables.h: Generated from 
608         scripts/unicode-to-chartables.h.
609
610 2006-03-24  David Daney  <ddaney@avtrex.com)
611
612         * testsuite/libjava.lang/PR26858.java: New test.
613         * testsuite/libjava.lang/PR26858.out: Ditto.
614         * testsuite/libjava.lang/PR26858.xfail: Ditto.
615
616 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
617
618         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
619         macro.
620         
621 2006-03-15  Tom Tromey  <tromey@redhat.com>
622
623         * testsuite/libjava.jacks/jacks.xfail: Removed
624         13.1-runtime-method-5.
625
626 2006-03-15  Tom Tromey  <tromey@redhat.com>
627
628         PR java/26638:
629         * link.cc (get_interfaces): Skip <clinit>.
630         (append_partial_itable): Likewise.
631
632 2006-03-10  Tom Tromey  <tromey@redhat.com>
633
634         PR libgcj/25713:
635         * java/util/zip/Deflater.java (flush): New method.
636         * sources.am, Makefile.in: Rebuilt.
637         * java/util/zip/DeflaterOutputStream.java: Removed.
638         * java/util/zip/InflaterInputStream.java: Likewise.
639         * java/util/zip/GZIPInputStream.java: Likewise.
640         * java/util/zip/GZIPOutputStream.java: Likewise.
641
642 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
643
644         * include/powerpc-signal.h: Fix typo in comment.
645
646 2006-03-09  Mark Wielaard  <mark@klomp.org>
647
648         Imported GNU Classpath 0.90
649         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
650         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
651         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
652         * java/lang/Math.java: New override file.
653         * java/lang/Character.java: Merged from Classpath.
654         (start, end): Now 'int's.
655         (canonicalName): New field.
656         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
657         (UnicodeBlock): Added argument.
658         (of): New overload.
659         (forName): New method.
660         Updated unicode blocks.
661         (sets): Updated.
662         * sources.am: Regenerated.
663         * Makefile.in: Likewise.
664
665 2006-03-09  Tom Tromey  <tromey@redhat.com>
666
667         PR libgcj/23495:
668         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
669         (equals): Use memcmp.
670         (contentEquals): Likewise.
671         (getChars): Use memcpy.
672         (toCharArray): Likewise.
673         (regionMatches): Use memcmp.
674         (regionMatches): Likewise.
675         (startsWith): Likewise.
676         (concat): Use memcpy.
677         (valueOf): Likewise.
678
679 2006-03-09  Tom Tromey  <tromey@redhat.com>
680
681         * configure: Rebuilt.
682         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
683         well.
684
685 2006-03-09  Tom Tromey  <tromey@redhat.com>
686
687         PR libgcj/24461:
688         * java/util/zip/InflaterInputStream.java (fill): Throw exception
689         if stream is truncated.
690
691 2006-03-09  Tom Tromey  <tromey@redhat.com>
692
693         * win32.cc (_Jv_platform_nanotime): New function.
694         * include/win32.h (_Jv_platform_nanotime): Declare.
695         * posix.cc (_Jv_platform_nanotime): New function.
696         * include/posix.h (_Jv_platform_nanotime): Declare.
697         * java/lang/natSystem.cc (nanoTime): New method.
698         * java/lang/System.java (nanoTime): Declare.
699         * include/config.h.in, configure: Rebuilt.
700         * configure.ac: Check for clock_gettime.
701
702 2006-03-08  David Daney  <ddaney@avtrex.com>
703
704         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
705         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
706         (LD_FINISH_STATIC_SPEC): Ditto
707         * configure: Regenerated.
708         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
709         LD_FINISH_STATIC_SPEC.
710         
711 2006-03-07  Tom Tromey  <tromey@redhat.com>
712
713         PR libgcj/26103:
714         * java/lang/ClassLoader.java (loadClass): Don't throw
715         StringIndexOutOfBoundsException if name is empty.
716         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
717         if class not found.
718
719 2006-03-07  David Daney  <ddaney@avtrex.com>
720
721         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
722
723 2006-03-07  David Daney  <ddaney@avtrex.com>
724
725         * link.cc: Include ffi.h if USE_LIBFFI defined.
726         
727 2006-03-03  Tom Tromey  <tromey@redhat.com>
728
729         * interpret.cc (do_allocate_static_fields): Added comment.
730
731 2006-03-01  Tom Tromey  <tromey@redhat.com>
732
733         PR java/24321:
734         * testsuite/libjava.lang/pr24321.java: New file.
735         * testsuite/libjava.lang/pr24321.out: New file.
736         * java/lang/natClass.cc (isInstance): Don't initialize class.
737         (isAssignableFrom): Likewise.
738
739 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
740
741         PR other/26208
742         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
743         of _Unwind_GetIP.
744         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
745         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
746         to throw.
747         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
748         macro.
749         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
750         macro.
751
752 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
753
754         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
755         before returning, handle null clip.
756         (getClipBounds): Handle null clip.
757         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
758         * gnu/awt/xlib/XCanvasPeer.java (): 
759         (getLocationOnScreen): Implement.
760         * classpath/gnu/java/awt/peer/GLightweightPeer.java
761         (repaint): Merged with Classpath.
762         * classpath/java/awt/Graphics.java (hitClip): Merged with
763         Classpath.
764
765 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
766
767         * link.cc: Added variant of create_error_method that
768         will not complain about unused parameter if compiled with
769         USE_LIBFFI not being defined.
770         (_Jv_Linker::find_field_helper): Fixed indentation.
771         (_Jv_Linker::create_error_method): Fixed indentation.
772         (_Jv_Linker::link_symbol_table): Fixed indentation.
773
774 2006-02-16  Andrew Haley  <aph@redhat.com>
775
776         * stacktrace.cc (GetStackTraceElements): Call
777         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
778         non-Java frames should be removed from a printed stack trace.
779         Pass methodName to getLineNumberForFrame().
780         (getLineNumberForFrame): Set method_name from info.dli_sname.
781         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
782         (remove_unknown): New variable.
783         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
784         Add methodName arg.
785
786 2006-02-15  Matthias Klose  <doko@debian.org>
787
788         * gnu/java/nio/charset, gnu/java/net/protocol/file,
789         gnu/regexp: Remove empty directories.
790
791 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
792
793         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
794         'itable' inline, instead of as a pointer.
795         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
796         * link.cc (null_idt): Update definition.
797         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
798         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
799         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
800         (_Jv_Linker::find_iindex): Likewise. Update comment.
801         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
802         _Jv_IDispatchTable change.
803         (_Jv_IsAssignableFrom): Likewise.
804
805 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
806
807         PR libgcj/25187:
808         * gnu/gcj/io/natSimpleSHSStream.cc
809         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
810         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
811         _Jv_InterpFrame(). 
812         * boehm.cc: #undef some autoconf macros before including gc-config.h.
813         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
814         (_Jv_MarkArray): Likewise.
815         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
816         Simplify _Jv_GCRegisterDisappearingLink() call.
817         * java/lang/Class.h (getComponentType): Use element_type.
818         (element_type): New field declaration, as a union with "methods".
819         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
820         * java/net/natVMNetworkInterfacePosix.cc
821         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
822         avoid sign comparison warning.  
823         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
824         argument, not parent call frame.
825         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
826         without a cast.
827         (restore_rt): Declare with hidden visibility, not "static".
828         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
829         constant.
830         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
831         warning.
832
833 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
834
835         PR libgcj/26113:
836         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
837         as "const char *".
838         * verify.cc (verify_fail): Likewise.
839         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
840         * interpret.cc (throw_internal_error, throw_class_format_error):
841         Likewise.
842         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
843         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
844         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
845         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
846         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
847         is_attribute_name): Likewise.
848         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
849         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
850
851 2006-02-08  Tom Tromey  <tromey@redhat.com>
852
853         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
854         * defineclass.cc (parse): Use _Jv_AllocRawObj.
855         (read_constpool): Likewise.
856         (read_one_code_attribute): Use internal function name.
857         (handleConstantPool): Use _Jv_AllocRawObj.
858         (handleInterfacesBegin): Likewise.
859         (handleFieldsBegin): Likewise.
860         (handleMethodsBegin): Likewise.
861         (handleCodeAttribute): Likewise.
862         (handleMethodsEnd): Likewise.
863         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
864         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
865         Allocate reference fields separately.
866         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
867         (add_miranda_methods): Likewise.
868         (generate_itable): Use _Jv_AllocBytes.
869         (find_iindex): Likewise.
870         (struct method_closure): New structure.
871         (create_error_method): Use struct method_closure; allocate with
872         _Jv_AllocBytes.
873         (ensure_fields_laid_out): Separate reference fields from
874         non-reference fields.
875         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
876         of Class.
877         (_Jv_MarkArray): Mark vtable.
878         (_Jv_AllocRawObj): Don't allocate objects of size 0.
879         * include/execution.h
880         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
881         parameter.
882         (struct _Jv_CompiledEngine): Updated.
883         (class _Jv_InterpreterEngine): Updated.
884
885 2006-02-08  Tom Tromey  <tromey@redhat.com>
886
887         PR java/22578:
888         * gcj/javaprims.h: Updated.
889         * sources.am, Makefile.in: Rebuilt.
890         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
891         (doubleToRawLongBits): Likewise.
892         (longBitsToDouble): Likewise.
893         (toString): Likewise.
894         (parseDouble): Likewise.
895         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
896         (floatToRawIntBits): Likewise.
897         (intBitsToFloat): Likewise.
898         * java/lang/VMDouble.java: New file.
899         * java/lang/VMFloat.java: New file.
900         * java/lang/Float.java, java/lang/Double.java: Removed.
901
902 2006-02-06  Tom Tromey  <tromey@redhat.com>
903
904         * gij.cc (version): Use 2006.
905         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
906         * gnu/gcj/convert/Convert.java (version): Use 2006.
907         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
908
909 2006-02-04  Tom Tromey  <tromey@redhat.com>
910
911         PR java/25676:
912         * testsuite/libjava.lang/pr25676.out: New file.
913         * testsuite/libjava.lang/pr25676.java: New file.
914
915 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
916
917         * Makefile.am (src.zip): Update src.zip file search to look in
918         classpath directory.
919         * Makefile.in: Regenerate.
920
921 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
922
923         * link.cc:
924         (_Jv_Linker::create_error_method): Added missing (void *) cast.
925
926 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
927
928         * include/jvm.h:
929         (_Jv_Linker::create_error_method): New method declaration.
930         * link.cc:
931         (_Jv_Linker::create_error_method): New method.
932         (_Jv_Linker::link_symbol_table): Use new method above.
933
934 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
935
936         * link.cc:
937         (_Jv_Linker::find_field_helper): Added checks.
938         (_Jv_Linker::find_field): Use exception swallowing class resolution
939         and added early return.
940         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
941         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
942         resolution, added ffi_closure installation routine, use
943         _Jv_ThrowNoClassDefFoundError for missing static method.
944         (_Jv_Linker::ensure_class_linked): Added string check which does
945         not trigger class resolution.
946         * java/lang/natClassLoader.cc:
947         (_Jv_FindClassNoException): New method.
948         * java/lang/Class.h:
949         (_Jv_FindClassNoException): New method declaration.
950         * include/jvm.h:
951         (_Jv_FindClassNoException): New method declaration.
952         (_Jv_FindClassFromSignatureNoException): New method declaration.
953         * prims.cc:
954         (_Jv_FindClassFromSignatureNoException): New method.
955         * gcj/javaprims.h:
956         (_Jv_equalsUtf8Classname): New method declaration.
957         (_Jv_isPrimitiveOrDerived): Dito.
958         * prims.cc:
959         (_Jv_equalsUtf8Classnames): New method.
960         (_Jv_isPrimitiveOrDerived): New method.
961         * verify.cc:
962         (ref_intersection::equals): Use new classname comparison method.
963         (type::compatible): Use new classname comparison method. Added
964         check whether LHS' type is java.lang.Object .
965         (type::resolve): Added new optional debug message and simplified
966         if-expression.
967         (type::to_array): Added codepath that generates an array type
968         without resolving the element type.
969
970 2006-01-31  Mark Wielaard  <mark@klomp.org>
971  
972         * NEWS: Add 4.1 updates.
973  
974 2006-01-30  Keith Seitz  <keiths@redhat.com>
975
976         * include/java-interp.h (insn_index): New declaration.
977         (num_insn_slots): New private variable.
978         (get_line_table): New declaration.
979         * interpret.cc (insn_index): New function.
980         (get_line_table): New function.
981
982 2006-01-24  Archit Shah  <ashah@redhat.com>
983             Tom Tromey  <tromey@redhat.com>
984
985         * prims.cc (next_property_value): Never return NULL.
986         (process_gcj_properties): Copy 'props' before using it.
987
988 2006-01-23  Keith Seitz  <keiths@redhat.com>
989
990         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
991         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
992
993 2006-01-23  David Daney  <ddaney@avtrex.com>
994
995         * configure.host (disable_dladdr): Remove variable and its
996         documentation.
997         * configure.ac: Do not test for disable_dladdr.
998         * configure: Regenerate.
999         * include/config.h.in: Regenerate.
1000
1001 2006-01-18  Tom Tromey  <tromey@redhat.com>
1002
1003         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
1004         already exists.
1005
1006 2006-01-18  Keith Seitz  <keiths@redhat.com>
1007
1008         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
1009         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
1010         * interpret.cc (_Jv_CompileMethod): New function.
1011         (run):  Massage code to allow for NULL args.
1012         Update comments to explain NULL args.
1013         Return if compiling the method and args is NULL.
1014
1015 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1016
1017         PR libgcj/25840
1018         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
1019
1020 2006-01-17  Tom Tromey  <tromey@redhat.com>
1021
1022         PR classpath/20198:
1023         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
1024         (JarURLLoader): Likewise.
1025         (addURLImpl): Canonicalize file URLs.
1026
1027 2006-01-16  Mark Wielaard  <mark@klomp.org>
1028
1029         Imported GNU Classpath 0.20
1030         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
1031         * java/nio/charset/spi/CharsetProvider.java: New override file.
1032         * java/security/Security.java: Likewise.
1033         * sources.am: Regenerated.
1034         * Makefile.in: Likewise.
1035
1036 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
1037
1038         * configure.ac (dbexecdir): New substituted var.
1039         * configure: Rebuilt.
1040         * Makefile.am (dbexecdir): Remove.
1041         * Makefile.in: Rebuilt.
1042
1043 2006-01-13  Tom Tromey  <tromey@redhat.com>
1044
1045         * gnu/regexp/MessagesBundle_fr.properties: Removed.
1046         * gnu/regexp/MessagesBundle.properties: Removed.
1047
1048 2006-01-13  Tom Tromey  <tromey@redhat.com>
1049
1050         * java/security/classpath.security: Removed.
1051         * Makefile.in: Rebuilt.
1052         * Makefile.am (install-data-local): Don't install
1053         classpath.security.
1054
1055 2006-01-08  Chris Burdess  <dog@gnu.org>
1056
1057         * java/lang/Character.java (toChars,toCodePoint): Correct these
1058           methods to use algorithms from Unicode specification.
1059
1060 2006-01-08  Tom Tromey  <tromey@redhat.com>
1061
1062         * java/lang/StringBuilder.java (appendCodePoint): New method.
1063         (insert): New overloads.
1064         * java/lang/StringBuffer.java (StringBuffer): New constructor.
1065         (charAt): Remerged javadoc.
1066         (codePointAt, codePointBefore): New methods.
1067         (appendCodePoint): New method.
1068         (append): New overloads.
1069         (insert): Likewise.
1070         (trimToSize, codePointCount, offsetByCodePoints): New methods.
1071         * java/lang/Float.java (SIZE): New field.
1072         (valueOf): New method.
1073         * java/lang/natDouble.cc (initIDs): Removed.
1074         * java/lang/Double.java (static initializer): Removed.
1075         (SIZE): New field.
1076         (valueOf): New method.
1077         (initIDs): Removed.
1078
1079 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
1080
1081         PR libgcj/24940
1082         * shlibpath.m4: Replace $SED with sed.
1083         * configure: Rebuilt.
1084
1085 2006-01-06  Tom Tromey  <tromey@redhat.com>
1086
1087         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
1088         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
1089         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
1090         MAX_LOW_SURROGATE): Javadoc fixes.
1091         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
1092         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
1093         methods from Classpath.
1094         * java/lang/String.java (codePointAt, codePointBefore,
1095         codePointCount, contains, replace): New methods from Classpath.
1096         (contentEquals): Declare.
1097         * java/lang/natString.cc (contentEquals): New method.
1098
1099 2005-12-26  Anthony Green  <green@redhat.com>
1100
1101         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
1102         of data to read (dst.remaining()).
1103         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
1104
1105 2005-11-11  Mark Wielaard  <mark@klomp.org>
1106
1107         Reported by john.zigman@anu.edu.au as bug #24608.
1108         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
1109         destination ByteBuffer when it doesn't have an array instead of len
1110         bytes.
1111
1112 2006-01-05  Tom Tromey  <tromey@redhat.com>
1113
1114         * java/lang/natThread.cc (finish_): Don't clear 'group'.
1115         * sources.am, Makefile.in: Rebuilt.
1116         * java/lang/Runtime.java (exit): Merged with Classpath.
1117         (runShutdownHooks): New method from Classpath.
1118         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
1119         FileDeleter.
1120         * gnu/gcj/runtime/FileDeleter.java: Removed.
1121         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
1122         (exitInternal): Don't run finalizers or delete files.
1123
1124 2006-01-05  Tom Tromey  <tromey@redhat.com>
1125
1126         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
1127
1128 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
1129
1130         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
1131
1132 2006-01-04  Tom Tromey  <tromey@redhat.com>
1133
1134         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
1135         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
1136         Changed argument type.  Use SystemClassLoader.addClass.
1137         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
1138
1139 2005-12-24  David Daney <ddaney@avtrex.com>
1140             Tom Tromey  <tromey@redhat.com>
1141
1142         PR libgcj/9715, PR libgcj/19132:
1143         * java/nio/charset/Charset.java (charsetForName): Try default
1144         provider first.
1145         (availableCharsets): Re-merged.
1146         (providers2): Likewise.
1147         (defaultCharset): Likewise.
1148         * sources.am, Makefile.in: Rebuilt.
1149         * gnu/java/nio/charset/Provider.java: Removed.
1150         * java/io/OutputStreamWriter.java
1151         (OutputStreamWriter(OutputStream,Charset)): New constructor.
1152         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
1153         * java/io/InputStreamReader.java
1154         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
1155         (InputStreamReader(InputStream,Charset)): Likewise.
1156         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
1157         BytesToCharsetAdaptor.
1158         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
1159         CharsetToBytesAdaptor.
1160         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
1161         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
1162         * mauve-libgcj: Remove getEncoding exclusion.
1163
1164 2005-12-28  Anthony Green  <green@redhat.com>
1165
1166         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
1167         as previous patch, but for win32.
1168
1169 2005-12-28  Anthony Green  <green@redhat.com>
1170
1171         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
1172         address and port before attempting anything.
1173
1174 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1175
1176         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
1177         operation atomic.
1178
1179 2005-12-22  Andrew Haley  <aph@redhat.com>
1180
1181         PR java/25535
1182         * testsuite/libjava.lang/PR25535.java: New test.
1183
1184 2005-12-22  Tom Tromey  <tromey@redhat.com>
1185
1186         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
1187         reference NUM_OBJECT_METHODS.
1188         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
1189
1190 2005-12-18  Anthony Green  <green@redhat.com>
1191
1192         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
1193         New helper function.
1194         (setOption): Use getLocalAddress.  Don't downcast value to
1195         InetAddress.
1196         (getOption): Use getLocalAddress.
1197
1198 2005-12-16  Tom Tromey  <tromey@redhat.com>
1199
1200         * java/lang/Class.java (getPackage): Get package from
1201         VMClassLoader if needed.
1202
1203 2005-12-16  Tom Tromey  <tromey@redhat.com>
1204
1205         * testsuite/libjava.jacks/jacks.xfail
1206         (8.5.2-accessible-static-member-usage-3): Removed.
1207
1208 2005-12-15  Tom Tromey  <tromey@redhat.com>
1209
1210         * testsuite/libjava.compile/rh175833.java: New file.
1211         * testsuite/libjava.compile/pr25429.java: New file.
1212
1213 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
1214
1215         * testsuite/lib/libjava.exp: Revert 2005-12-01.
1216         * testsuite/libjava.lang/Array_3.xfail: Delete.
1217
1218 2005-12-14  Andrew Haley  <aph@redhat.com>
1219
1220         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
1221         handle stdout from the child process.
1222
1223 2005-12-14  Tom Tromey  <tromey@redhat.com>
1224
1225         PR classpath/25389:
1226         * java/io/File.java (File): Throw IllegalArgumentException if URI is
1227         non-hierarchical.
1228
1229 2005-12-12  Andrew Haley  <aph@redhat.com>
1230
1231         * java/lang/VMCompiler.java: Directly generate a new instance of
1232         gnu.java.security.provider.MD5.
1233
1234 2005-12-08  Andrew Haley  <aph@redhat.com>
1235
1236         PR libgcj/25265
1237         * java/lang/Object.h (throwNoSuchMethodError): New method.
1238         * java/lang/Object.java (throwNoSuchMethodError): New method.
1239         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
1240         * link.cc (_Jv_ThrowNoSuchFieldError): New.
1241         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
1242         missing.  Instead, set the otable entry to zero.
1243         (link_symbol_table): If we don't find a nonstatic method, insert
1244         the vtable offset of Object.throwNoSuchMethodError() into the
1245         otable.
1246
1247 2005-12-05  Tom Tromey  <tromey@redhat.com>
1248
1249         * testsuite/libjava.compile/rh174912.java: New file.
1250
1251 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
1252
1253         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
1254         xfail-byte-exec.
1255         * testsuite/libjava.lang/Array_3.xfail: New file.
1256
1257 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
1258
1259         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
1260         to compare _Jv_InterpMethod::run against current func.
1261
1262 2005-11-30  Andrew Haley  <aph@redhat.com>
1263
1264         * classpath/lib/Makefile.am (resources): Use `cp -p'.
1265         Remove `@' from start of line.
1266
1267 2005-11-28  Tom Tromey  <tromey@redhat.com>
1268
1269         PR java/18278:
1270         * testsuite/libjava.jni/pr18278.out: New file.
1271         * testsuite/libjava.jni/pr18278.c: New file.
1272         * testsuite/libjava.jni/pr18278.java: New file.
1273         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
1274         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
1275         (call): Unwrap return value if needed.
1276
1277 2005-11-25  Mark Wielaard  <mark@klomp.org>
1278
1279         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
1280         gnu/javax/rmi.
1281         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
1282         gnu/javax/rmi to bc.
1283         * gnu/CORBA/ObjectCreator.java: New override file for missing
1284         VMStackWalker issue.
1285         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
1286         * gnu/CORBA/DynAn/RecordAny.java: Likewise
1287         * sources.am: Regenerated.
1288         * Makefile.in: Regenerated
1289
1290 2005-11-25  Andrew Haley  <aph@redhat.com>
1291
1292         PR libgcj/25016
1293         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
1294         struct timespec we pass to pthread_cond_timedwait.
1295
1296 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
1297
1298         * testsuite/libjava.jacks/jacks.xfail: Remove
1299         non-jls-argument-expansion-13 and add
1300         non-jls-argument-expansion-error-1 in response to the @file support
1301         patch in the main GCC driver.
1302
1303 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1304
1305         * sysdep/ia64-frame.h: Removed.
1306         * sysdep/ia64.c: Removed.
1307         * sysdep/dwarf2-backtrace.cc: Removed.
1308         * configure.ac: Remove references to HAVE_BACKTRACE and
1309         SUPPLY_BACKTRACE.
1310         * Makefile.am: Remove SUPPLY_BACKTRACE support.
1311         * configure: Rebuilt.
1312         * Makefile.in: Rebuilt.
1313
1314 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1315
1316         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
1317
1318 2005-11-17  Mark Wielaard  <mark@klomp.org>
1319
1320         Imported GNU Classpath gcj-import-20051117.
1321         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
1322         * sources.am: Regenerated.
1323         * Makefile.in: Likewise.
1324
1325 2005-11-17  Mark Wielaard  <mark@klomp.org>
1326
1327         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
1328         * java/net/ServerSocket.java: Likewise.
1329         * sources.am: Regenerated.
1330         * Makefile.in: Regenerated.
1331
1332 2005-11-17  Mark Wielaard  <mark@klomp.org>
1333
1334         Fixes bug #24006
1335         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
1336
1337 2005-11-17  Tom Tromey  <tromey@redhat.com>
1338
1339         * java/net/ServerSocket.java (accept): Use correct security manager
1340         call.
1341
1342 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1343
1344         * java/net/ServerSocket.java
1345         (bound): Removed.
1346         (local): New field.
1347         (bind): Cache local socket address.
1348         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
1349         Use cached local socket address.
1350         (close): bound field was removed.
1351
1352 2005-11-17  Tom Tromey  <tromey@redhat.com>
1353
1354         * java/net/URLConnection.java (setDoInput): Javadoc fix.
1355         (setDoOutput): Likewise.
1356         (setContentHandlerFactory): Likewise.
1357         (setFileNameMap): Likewise.
1358
1359 2005-11-17  Mark Wielaard  <mark@klomp.org>
1360
1361         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
1362
1363 2005-11-17  Mark Wielaard  <mark@klomp.org>
1364
1365         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
1366         call urls.add() and addURLImpl() directly on each URL.
1367
1368 2005-11-17  Tom Tromey  <tromey@redhat.com>
1369
1370         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
1371
1372 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1373
1374         * java/net/URLClassLoader.java
1375         (Resource.name): Removed field.
1376         (JarURLResource.name): Added field.
1377         (FileResource.getURL): Use File.toURL() instead of doing it in
1378         a way that breaks on Windows.
1379
1380 2005-11-17  Roman Kennke  <roman@kennke.org>
1381
1382         Reported by: Ingo Proetel  <proetel@aicas.com>
1383         * java/net/URLClassLoader.java
1384         (findClass): Added null check to avoid NullPointerException.
1385
1386 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1387
1388         * java/net/URLClassLoader.java: reordered some API doc comments to
1389         suppress Eclipse warnings, and fixed API doc link.
1390
1391 2005-11-17  Tom Tromey  <tromey@redhat.com>
1392
1393         * java/net/URLClassLoader.java (URLClassLoader): Removed
1394         unused constructor.
1395
1396 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1397
1398         * java/net/URLClassLoader (findClass): Close InputStream after we're
1399         done with it.
1400
1401 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
1402
1403         Implement -Xss.
1404         * include/jvm.h (gcj::stack_size): Declare.
1405         (_Jv_StackSize): Declare.
1406         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
1407         (_Jv_ThreadStart): Set stack size if specified.
1408         * prims.cc (gcj::stack_size): Define.
1409         (parse_memory_size): Renamed from parse_heap_size.
1410         (_Jv_SetStackSize): Parse stack size argument and set 
1411         gcj::stack_size.
1412
1413 2005-11-17  Mark Wielaard  <mark@klomp.org>
1414
1415         * java/text/SimpleDateFormat.java: Removed, fully merged now.
1416         * sources.am: Regenerated.
1417         * Makefile.in: Regenerated.
1418
1419 2005-11-17  Sven de Marothy  <sven@physto.se>
1420
1421         * java/text/SimpleDateFormat.java
1422         (computeOffset): Allow timezone to be first in the parsed String.
1423
1424 2005-11-17  Mark Wielaard  <mark@klomp.org>
1425
1426         * java/text/SimpleDateFormat.java (field, size): Make package private.
1427
1428 2005-11-17  Tom Tromey  <tromey@redhat.com>
1429
1430         * java/text/SimpleDateFormat.java (compileFormat): Correctly
1431         handle quoted single quotes.  PR classspath/23183.
1432
1433 2005-11-17  Tom Tromey  <tromey@redhat.com>
1434
1435         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
1436
1437 2005-11-17  Tom Tromey  <tromey@redhat.com>
1438
1439         * java/text/DateFormat.java (serialVersionUID): New field.
1440
1441 2005-11-17  Mark Wielaard  <mark@klomp.org>
1442
1443         * java/text/DateFormat.java (equals): Reimplement.
1444
1445 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1446
1447         * java/text/Collator.java: API doc fixes,
1448         * java/text/DateFormat.java: likewise,
1449         * java/text/DecimalFormatSymbols.java: likewise,
1450         * java/text/DateFormatSymbols.java: likewise,
1451         * java/text/SimpleDateFormat.java: likewise.
1452
1453 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1454
1455         * java/text/Collator.java (getInstance(Locale)):
1456         Added default collation pattern to handle case when resource
1457         is missing and throw InternalError instead of returning null
1458         should parsing fail.
1459
1460 2005-11-15  Mark Wielaard  <mark@klomp.org>
1461
1462         * java/util/zip/ZipEntry.java: Removed, fully merged now.
1463         * java/util/zip/ZipFile.java: Likewise.
1464         * sources.am: Regenerated.
1465         * Makefile.in: Regenerated.
1466
1467 2005-11-15  Tom Tromey  <tromey@redhat.com>
1468
1469         classpath/23890:
1470         * java/util/Calendar.java (equals): Include other calendar
1471         attributes.
1472         (hashCode): Updated.
1473         * java/util/GregorianCalendar.java (hashCode): New method.
1474         (equals): Use super.equals().
1475
1476 2005-11-15  Sven de Marothy  <sven@physto.se>
1477
1478         * java/util/Calendar (setTimeInMillis): Recompute time fields.
1479
1480 2005-11-15  Mark Wielaard  <mark@klomp.org>
1481
1482         * java/util/SimpleTimeZone.java: Removed, fully merged now.
1483         * java/util/Date.java: Likewise.
1484         * sources.am: Regenerated.
1485         * Makefile.in: Regenerated.
1486
1487 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
1488
1489         * java/util/Calendar.java: fixed minor problems in API docs,
1490         * java/util/Date.java: likewise,
1491         * java/util/ResourceBundle.java: likewise,
1492         * java/util/SimpleTimeZone.java: likewise,
1493
1494 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
1495
1496         * java/io/ObjectInputStream.java
1497         (parseContent): Removed bogus println and fixed bug #24422.
1498                 
1499 2005-11-15  Mark Wielaard  <mark@klomp.org>
1500
1501         * java/io/ObjectStreamClass.java: Removed, fully merged now.
1502         * sources.am: Regenerated.
1503         * Makefile.in: Regenerated.
1504
1505 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
1506
1507         * java/io/ObjectInputStream.java
1508         (processResolution): Pass Error, RuntimeException and
1509         ObjectStreamException through to the caller.
1510         (readObject): Documentation update.
1511
1512 2005-11-15  Mark Wielaard  <mark@klomp.org>
1513
1514         Imported GNU Classpath 0.19 + gcj-import-20051115.
1515         * sources.am: Regenerated.
1516         * Makefile.in: Likewise.
1517         * scripts/makemake.tcl: Use glob -nocomplain.
1518
1519 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
1520
1521         * Makefile.in: Re-generated.
1522         * gnu/awt/xlib/XGraphicsDevice.java: New file.
1523         * gnu/awt/xlib/XToolkit.java
1524         (getLocalGraphicsEnvironment): Implemented. 
1525         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
1526         * sources.am: Re-generated.
1527
1528 2005-15-09  David Daney <ddaney@avtrex.com>
1529
1530         PR libgcj/15430
1531         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
1532         function.
1533         (accept): Call it.
1534         (close): Call shutdown before closing.
1535         (read()): Call read_helper with proper parameters.
1536         (read(buffer, int, int)): Likewise.
1537         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
1538         and timeout parameters.  Make prototype to match. Use 
1539         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
1540         in two places.
1541
1542 2005-11-15  Andrew Haley  <aph@redhat.com>
1543
1544         * Merge from Classpath head:
1545
1546    2005-09-16  Andrew Haley  <aph@redhat.com>
1547    
1548            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
1549            protected readResolve().  Rewrite accessibility check.
1550    
1551    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
1552    
1553            * java/io/ObjectStreamClass.java
1554            (findAccessibleMethod): Added code to make method accessible.
1555    
1556    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
1557    
1558            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
1559            (findAccessibleMethod): Likewise.
1560            (cacheMethods): Lookup readResolve and writeReplace using the new
1561            findAccessibleMethod().
1562    
1563 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1564
1565         * java/net/natVMNetworkInterfaceWin32.cc: Include
1566         java/net/VMNetworkInterface.h.
1567
1568 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1569             David Daney  <ddaney@avtrex.com>
1570
1571         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
1572         (read): Handle count == 0 case.
1573
1574 2005-11-09  Tom Tromey  <tromey@redhat.com>
1575
1576         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
1577         passes.
1578
1579 2005-11-08  Tom Tromey  <tromey@redhat.com>
1580
1581         PR libgcj/24587:
1582         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
1583
1584 2005-11-08  Tom Tromey  <tromey@redhat.com>
1585
1586         PR libgcj/23763.  From aeby@graeff.com.
1587         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
1588         before exec.
1589
1590 2005-11-08  Mark Wielaard  <mark@klomp.org>
1591
1592         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
1593
1594 2005-11-07  David Daney  <ddaney@avtrex.com>
1595
1596         * mauve-libgcj: Disable javax.rmi.* and
1597         java.io.InputStreamReader.getEncoding.
1598
1599 2005-11-04  Tom Tromey  <tromey@redhat.com>
1600
1601         PR libgcj/14358, libgcj/24552:
1602         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
1603         aliases for 'euc_jp' and 'eucjp'.
1604         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
1605         canonical names in output.
1606         (%map): Added UnicodeLittle and UnicodeBig.
1607
1608 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1609
1610         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
1611
1612 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
1613
1614         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
1615         library extensions.
1616
1617 2005-10-12  Andrew Haley  <aph@redhat.com>
1618
1619         PR java/24251
1620         * link.cc (ensure_method_table_complete): Install Miranda methods
1621         for interfaces too.
1622
1623 2005-10-10  Tom Tromey  <tromey@redhat.com>
1624
1625         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
1626         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
1627         Now static.
1628
1629 2005-10-05  Richard Henderson  <rth@redhat.com>
1630
1631         PR target/23602
1632         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
1633         but not BACKTRACESPEC.
1634         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
1635
1636 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
1637
1638         * testsuite/lib/jni.exp (gcj_jni_test_one): For
1639         darwin, use -shared-libgcc not -lgcc_s, and explain why.
1640         (gcj_jni_invocation_test_one): Likewise.
1641
1642 2005-09-30  Tom Tromey  <tromey@redhat.com>
1643
1644         PR libgcj/24051:
1645         * Makefile.in: Rebuilt.
1646         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
1647         requested.
1648         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
1649         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
1650         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
1651         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
1652         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
1653         * configure: Rebuilt.
1654         * configure.ac: Pass --enable-qt-peers when qt is requested.
1655
1656 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
1657
1658         * configure.ac: Fix typo.
1659         * configure: Regenerate.
1660
1661 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
1662
1663         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
1664         __LP64__ is defined rather than __powerpc64__.
1665         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
1666         (compare_and_swap_release): Likewise.
1667
1668 2005-09-28  David Daney  <ddaney@avtrex.com>
1669
1670         * HACKING: Update instructions for classpath import.
1671
1672 2005-09-27  Tom Tromey  <tromey@redhat.com>
1673
1674         PR libgcj/23367:
1675         * include/jvm.h (_Jv_FreeMethodCache): Declare.
1676         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
1677         (struct _Jv_mcache): Likewise.
1678         (method_cache): Likewise.
1679         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
1680         (_Jv_AddMethodToCache): Likewise.
1681         (_Jv_FreeMethodCache): New function.
1682         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
1683         * aclocal.m4, configure, include/config.h.in: Rebuilt.
1684         * configure.ac: Invoke GCC_CHECK_TLS.
1685
1686 2005-09-27  Tom Tromey  <tromey@redhat.com>
1687
1688         * configure, Makefile.in: Rebuilt.
1689         * sources.am: Rebuilt.
1690         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
1691         * configure.ac (TOOLKIT): Handle Qt peers properly.
1692
1693 2005-09-23  Tom Tromey  <tromey@redhat.com>
1694
1695         Imported Classpath 0.18.
1696         * sources.am, Makefile.in: Updated.
1697         * Makefile.am (nat_source_files): Removed natProxy.cc.
1698         * java/lang/reflect/natProxy.cc: Removed.
1699         * gnu/classpath/jdwp/VMFrame.java,
1700         gnu/classpath/jdwp/VMIdManager.java,
1701         gnu/classpath/jdwp/VMVirtualMachine.java,
1702         java/lang/reflect/VMProxy.java: New files.
1703
1704 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1705
1706         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
1707         list.
1708
1709 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1710
1711         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
1712         Remove ClasspathToolkit references.
1713
1714 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1715
1716         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
1717         * gnu/awt/xlib/XFramePeer.java: Likewise.
1718         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
1719
1720 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1721
1722         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
1723         classpath/native/jawt/jawt.c.
1724         * Makefile.in: Regenerate.
1725         * jawt.c: Remove file.
1726         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
1727         jawt_md.h.  Add ../classpath/include/jawt.h and
1728         ../classpath/include/jawt_md.h.
1729         * include/Makefile.in: Regenerate.
1730         * include/jawt.h: Regenerate.
1731         * include/jawt_md.h: Regenerate.
1732
1733 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
1734
1735         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
1736         `null' parent ClassLoader to parent constructor.
1737         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
1738         constructor.
1739
1740 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
1741
1742         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
1743
1744 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1745
1746         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
1747         Use libjava_find_lib to find the proper libgcj.
1748
1749 2005-09-16  Anthony Green  <green@redhat.com>
1750
1751         PR libgcj/20198
1752         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
1753         resources should all have canonicalized names.
1754
1755 2005-09-15  Tom Tromey  <tromey@redhat.com>
1756
1757         PR libgcj/16032:
1758         * interpret.cc (AVAL1U): Resolve pool entry when not direct
1759         threaded.
1760         (AVAL2U): Likewise.
1761         (compile): Handle 'ldc class' specially.
1762         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
1763         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
1764         * defineclass.cc (handleCodeAttribute): Set new field.
1765         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
1766         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
1767         (parse): Check version numbers.
1768         (_Jv_ClassReader::is_15): New field.
1769         (_Jv_ClassReader): Initialize it.
1770         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
1771
1772 2005-09-15  Tom Tromey  <tromey@redhat.com>
1773
1774         For PR libgcj/23288:
1775         * java/net/URLClassLoader.java (definePackage): Correctly order
1776         arguments to definePackage.  Look up per-entry Attributes.
1777         (getAttributeValue): New method.
1778
1779 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
1780
1781         PR libgcj/23762
1782         * shlibpath.m4: New file.
1783         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
1784         macro.
1785         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
1786         [USE_LTDL]: If it was not defined with -D set java.library.path to
1787         the value of LTDL_SHLIBPATH_VAR.
1788
1789 2005-09-08  Andrew Haley  <aph@redhat.com>
1790
1791         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
1792         loader.
1793         (toString): Likewise.
1794
1795 2005-09-08  Andrew Haley  <aph@redhat.com>
1796
1797         PR java/22084
1798         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
1799         R/M field in instruction is 100.
1800
1801 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1802
1803         PR libgcj/23761
1804         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
1805         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
1806         lt_dlinit.
1807         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
1808         Define variable.
1809         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
1810         _Jv_Module_Load_Path.
1811
1812 2005-09-06  Tom Tromey  <tromey@redhat.com>
1813
1814         PR libgcj/23739:
1815         * testsuite/libjava.jni/pr23739.c: New file.
1816         * testsuite/libjava.jni/pr23739.java: New file.
1817         * testsuite/libjava.jni/pr23739.out: New file.
1818         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
1819         * java/lang/reflect/natMethod.cc (invoke): Updated.
1820         * java/lang/natClass.cc (isAssignableFrom): Updated.
1821         (isInstance): Likewise.
1822         (_Jv_IsAssignableFrom): Reversed arguments.
1823         (_Jv_IsInstanceOf): Updated.
1824         (_Jv_CheckCast): Likewise.
1825         (_Jv_CheckArrayStore): Likewise.
1826         (_Jv_IsAssignableFromSlow): Reversed arguments.
1827         (_Jv_InterfaceAssignableFrom): Likewise.
1828         * link.cc (verify_type_assertions): Updated.
1829         * prims.cc (_Jv_CheckAccess): Updated.
1830
1831 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
1832
1833         Testsuite changes for PR java/23431.
1834         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
1835         8.4.6.2-hiding-5.
1836         * testsuite/libjava.compile/PR23431_1.java: New testcase.
1837         * testsuite/libjava.compile/PR23431_2.java: Likewise.
1838         * testsuite/libjava.compile/PR23431_1.xfail: New file.
1839         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
1840
1841 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
1842
1843         PR libgcj/23549
1844         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
1845         -disableassertions and -da.
1846
1847 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
1848
1849         * configure.ac: Replace "*-*-darwin[0-7].*" with
1850         "*-*-darwin[[0-7]].*"
1851         * configure: Regenerate.
1852
1853 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
1854
1855         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
1856         darwin < 8.
1857         * configure: Regenerate.
1858
1859 2005-08-23  Roman Kennke  <roman@kennke.org>
1860
1861         * java/lang/Character.java
1862         (toChars(int)): New JDK1.5 method.
1863         (toChars(int, char[], int)): New JDK1.5 method.
1864         (charCount): New JDK1.5 method.
1865         (isSupplementaryCodePoint): New JDK1.5 method.
1866         (isValidCodePoint): New JDK1.5 method.
1867
1868 2005-08-23  Tom Tromey  <tromey@redhat.com>
1869
1870         * aclocal.m4, Makefile.in: Rebuilt.
1871         * Makefile.am (property_files): Added META-INF files.
1872         (propertyo_files): Changed definition.
1873         ($(propertyo_files)): Updated patterns.
1874
1875 2005-08-22  Tom Tromey  <tromey@redhat.com>
1876
1877         PR libgcj/22622:
1878         * configure: Rebuilt.
1879         * configure.ac: Correctly create Configuration.java (for
1880         temporary use).
1881
1882 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
1883
1884         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
1885         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
1886         * mingwld.m4: ... this new file.
1887         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
1888         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
1889
1890 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1891
1892         PR libgcj/23507
1893         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
1894         assignment.  Cast operands of compare to function pointer type.
1895
1896 2005-08-21  Tom Tromey  <tromey@redhat.com>
1897
1898         * HACKING: Updated for hacking classpath in libgcj.
1899
1900 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1901
1902         PR libgcj/21692
1903         * sysdep/pa/descriptor.h: New file.
1904         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
1905
1906 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
1907
1908         * Makefile.am (extra_ldflags_libjava): New variable to
1909         substitute in.
1910         (LIBLINK): Add extra_ldflags_libjava to it.
1911         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
1912         "-Wl,-single_module".
1913         * Makefile.in: Regenerate.
1914         * aclocal.m4: Regenerate.
1915         * configure: Regenerate.
1916         * gcj/Makefile.in: Regenerate.
1917         * include/Makefile.in: Regenerate.
1918         * testsuite/Makefile.in: Regenerate.
1919
1920 2005-08-17  Tom Tromey  <tromey@redhat.com>
1921
1922         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
1923         friend.
1924         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
1925         * testsuite/libjava.lang/bclink.java: New file.
1926         * testsuite/libjava.lang/bclink.out: New file.
1927         * link.cc (print_class_loaded): Changed ABI test to look at
1928         various _syms fields.
1929
1930 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
1931
1932         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
1933         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
1934
1935 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
1936
1937         More testsuite adjustments for PR java/19870.
1938         * testsuite/libjava.lang/PR19870_2.java: New testcase.
1939         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
1940         new testcase.
1941         * testsuite/libjava.jacks/jacks.xfail: Remove
1942         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
1943
1944 2005-08-16  Tom Tromey  <tromey@redhat.com>
1945
1946         * gnu/xml/xpath/XPathParser.y: Removed.
1947
1948 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
1949
1950         PR libgcj/23353:
1951         * java/lang/natObject.cc (clone): Clear sync_info.
1952
1953 2005-07-26  Tom Tromey  <tromey@redhat.com>
1954
1955         * gnu/java/net/protocol/ftp/package.html,
1956         gnu/javax/swing/text/html/package.html,
1957         gnu/javax/swing/text/html/parser/package.html,
1958         gnu/javax/swing/text/html/parser/models/package.html,
1959         gnu/javax/swing/text/html/parser/support/package.html,
1960         gnu/javax/swing/text/html/parser/support/low/package.html,
1961         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
1962         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
1963         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
1964         java/awt/geom/doc-files/CubicCurve2D-1.png,
1965         java/awt/geom/doc-files/CubicCurve2D-2.png,
1966         java/awt/geom/doc-files/CubicCurve2D-3.png,
1967         java/awt/geom/doc-files/CubicCurve2D-4.png,
1968         java/awt/geom/doc-files/CubicCurve2D-5.png,
1969         java/awt/geom/doc-files/Ellipse-1.png,
1970         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
1971         java/awt/geom/doc-files/GeneralPath-1.png,
1972         java/awt/geom/doc-files/QuadCurve2D-1.png,
1973         java/awt/geom/doc-files/QuadCurve2D-2.png,
1974         java/awt/geom/doc-files/QuadCurve2D-3.png,
1975         java/awt/geom/doc-files/QuadCurve2D-4.png,
1976         java/awt/geom/doc-files/QuadCurve2D-5.png,
1977         javax/imageio/package.html, javax/imageio/event/package.html,
1978         javax/imageio/metadata/package.html,
1979         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
1980         javax/swing/border/doc-files/BevelBorder-1.png,
1981         javax/swing/border/doc-files/BevelBorder-2.png,
1982         javax/swing/border/doc-files/BevelBorder-3.png,
1983         javax/swing/border/doc-files/EmptyBorder-1.png,
1984         javax/swing/border/doc-files/EtchedBorder-1.png,
1985         javax/swing/border/doc-files/EtchedBorder-2.png,
1986         javax/swing/border/doc-files/LineBorder-1.png,
1987         javax/swing/border/doc-files/MatteBorder-1.png,
1988         javax/swing/border/doc-files/MatteBorder-2.png,
1989         javax/swing/border/doc-files/MatteBorder-3.png,
1990         javax/swing/border/doc-files/MatteBorder-4.png,
1991         javax/swing/border/doc-files/MatteBorder-5.png,
1992         javax/swing/border/doc-files/MatteBorder-6.png,
1993         javax/swing/border/doc-files/SoftBevelBorder-1.png,
1994         javax/swing/border/doc-files/SoftBevelBorder-2.png,
1995         javax/swing/border/doc-files/SoftBevelBorder-3.png,
1996         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
1997         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
1998         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
1999         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2000         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2001         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2002         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2003         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2004         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2005         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2006         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
2007         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2008         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2009         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2010         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2011         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2012         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2013         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
2014         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2015         javax/swing/plaf/doc-files/ComponentUI-1.png,
2016         javax/swing/plaf/doc-files/TreeUI-1.png,
2017         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
2018         javax/xml/parsers/package.html, javax/xml/transform/package.html,
2019         javax/xml/transform/dom/package.html,
2020         javax/xml/transform/sax/package.html,
2021         javax/xml/transform/stream/package.html,
2022         javax/xml/validation/package.html, javax/xml/xpath/package.html:
2023         Removed.
2024
2025 2005-07-22  Tom Tromey  <tromey@redhat.com>
2026
2027         * include/Makefile.in: Rebuilt.
2028         * include/Makefile.am (tool_include__HEADERS): Include
2029         classpath's jni.h.
2030
2031 2005-07-20  Tom Tromey  <tromey@redhat.com>
2032
2033         * sources.am, Makefile.in: Rebuilt.
2034         * Makefile.am (all_xlib_lo_files): Removed.
2035         (all_libgcj_lo_files): Likewise.
2036         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
2037         (xlib_java_source_files): Removed.
2038         (xlib_nat_headers): Updated.
2039         * configure: Rebuilt.
2040         * configure.ac: Create standard.omit.
2041         * standard.omit.in: New file.
2042         * standard.omit: Removed.
2043         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
2044         'package'.
2045         (emit_package_rule): Special case xlib peers.
2046         (emit_source_var): Likewise.
2047         Read standard.omit.in.
2048         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
2049
2050 2005-07-18  Tom Tromey  <tromey@redhat.com>
2051
2052         * HACKING: Updated.
2053
2054 2005-07-19  Matthias Klose  <doko@debian.org>
2055
2056         * classpath/java/awt/im/InputContext.java (clinit): Initialize
2057           line, im.
2058
2059 2005-07-18  Tom Tromey  <tromey@redhat.com>
2060
2061         PR libgj/21058:
2062         * sources.am, Makefile.in: Rebuilt.
2063         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
2064         file.
2065         (emit_source_var): Don't emit patsubst with './'.
2066
2067 2005-07-18  Tom Tromey  <tromey@redhat.com>
2068
2069         * Makefile.in: Rebuilt.
2070         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
2071
2072 2005-07-17  Andreas Jaeger  <aj@suse.de>
2073
2074         * defineclass.cc (handleClassBegin): Remove unused variable.
2075
2076 2005-07-16  Andreas Schwab  <schwab@suse.de>
2077
2078         * scripts/makemake.tcl (emit_package_rule): Emit command to create
2079         target directory.
2080         * Makefile.am (%.lo): Don't create it here.
2081         * sources.am, Makefile.in: Regenerated.
2082
2083 2005-07-15  Tom Tromey  <tromey@redhat.com>
2084
2085         Major merge with Classpath.
2086         Removed many duplicate files.
2087         * HACKING: Updated.x
2088         * classpath: Imported new directory.
2089         * standard.omit: New file.
2090         * Makefile.in, aclocal.m4, configure: Rebuilt.
2091         * sources.am: New file.
2092         * configure.ac: Run Classpath configure script.  Moved code around
2093         to support.  Disable xlib AWT peers (temporarily).
2094         * Makefile.am (SUBDIRS): Added 'classpath'
2095         (JAVAC): Removed.
2096         (AM_CPPFLAGS): Added more -I options.
2097         (BOOTCLASSPATH): Simplified.
2098         Completely redid how sources are built.
2099         Include sources.am.
2100         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
2101         * include/jni.h: Removed (in Classpath).
2102         * scripts/classes.pl: Updated to look at built classes.
2103         * scripts/makemake.tcl: New file.
2104         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
2105         -I options.
2106         (gcj_jni_invocation_compile_c_to_binary): Likewise.
2107
2108 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
2109
2110         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
2111         (eventMask): New field.
2112         (XCanvasPeer(Component)): Use attributes field.
2113         (setBackground): Implemented.
2114         (setEventMask): Process mask only if changed.
2115         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
2116         (eventLoopThread): New field.
2117         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
2118         (interrupt): Removed.
2119         (run): New method.
2120         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
2121         and Component events.
2122         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
2123         field.
2124         (configureNotify): Set and clear processingConfigureNotify.
2125         (setBounds): Process only if processingConfigureNotify is false.
2126         (toBack): Implemented.
2127         (toFront): Implemented.
2128         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
2129         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
2130         color.
2131         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
2132         (wakeNativeQueue): Do nothing.
2133         (iterateNativeQueue): Do queue.wait if blocking.
2134         * gnu/gcj/xlib/Font.java (loadFont): New method.
2135         (loadFontImpl): Renamed native method, was loadFont. 
2136         * gnu/gcj/xlib/Window.java (toFront): New method.
2137         (toBack): New method.
2138         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
2139         loadFont.
2140         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
2141         (toFront): New method. 
2142         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
2143
2144 2005-07-14  Andrew Haley  <aph@redhat.com>
2145
2146         * gnu/java/net/protocol/file/Connection.java (unquote): New
2147         method.
2148         (connect): Unquote filename.
2149         gnu/java/net/protocol/jar/Connection.java (getInputStream):
2150         Likewise.  
2151         (getJarFile): Likewise.
2152
2153         * java/net/URLConnection.java (getContentHandler): Guard cast with
2154         instaceof.
2155
2156         * java/net/URL.java (URL): If the file part of a spec is absolute,
2157         ignore the file part of its context.
2158
2159 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
2160
2161         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
2162         Implemented VirtualMachine Command Set.
2163
2164 2005-07-14  Tom Tromey  <tromey@redhat.com>
2165
2166         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
2167         Classpath.
2168
2169 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2170
2171         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
2172         Implemented the Field CommandSet.
2173         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
2174         Implemented the InterfaceType CommandSet.
2175
2176 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2177
2178         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
2179         shutdown to jdwp instead of connection.
2180
2181 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2182
2183         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
2184         New file.
2185
2186 2005-07-08  Colin Walters  <walters@verbum.org>
2187
2188         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
2189         check for abstract classes or interfaces here; JVM spec
2190         says it should throw an exception, so we'll do so later.
2191         * interpret.cc (run): Throw an InstantiationException for
2192         abstract classes and interfaces.
2193
2194 2005-07-08  Andrew Haley  <aph@redhat.com>
2195
2196         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
2197         (regular, non-realtime scheduling), not SCHED_RR (realtime,
2198         round-robin).
2199
2200 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2201
2202         * gnu/classpath/jdwp/util/Signature.java
2203         (computeFieldSignature): New Method.
2204
2205 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2206
2207         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
2208         file.
2209
2210 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2211
2212         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
2213         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
2214
2215 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2216
2217         * testsuite/libjava.compile/PR21045.java: New test.
2218         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
2219         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
2220
2221 2005-07-06  Tom Tromey  <tromey@redhat.com>
2222
2223         * java/io/InputStreamReader.java (refill): Handle no-progress
2224         case correctly.
2225         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
2226
2227 2005-07-06  Tom Tromey  <tromey@redhat.com>
2228
2229         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
2230
2231 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2232
2233         * testsuite/libjava.compile/PR19674.java: New test.
2234
2235 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
2236
2237         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
2238         New file.
2239
2240 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
2241
2242         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
2243         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
2244         CommandSets to handle JdwpCommandPackets.
2245         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
2246         Constructor.
2247
2248 2005-07-01  Tom Tromey  <tromey@redhat.com>
2249
2250         * libtool-version: Updated.
2251
2252 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
2253
2254         * gnu/classpath/jdwp/util/JdwpString.java: New file.
2255
2256 2005-06-30  Keith Seitz  <keiths@redhat.com>
2257
2258         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
2259         (myWrite): New abstract method.
2260         (toBytes): Remove.
2261         (myToBytes): Remove.
2262         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
2263         method.
2264         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
2265         method.
2266         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
2267         JdwpPacket.write instead of JdwpPacket.toBytes.
2268
2269 2005-06-30  Keith Seitz  <keiths@redhat.com>
2270
2271         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
2272         method.
2273         (_bytes): New member.
2274         (_doStream): New member.
2275         (JdwpConnection): Initialize new members.
2276
2277 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
2278
2279         * all files: Update for new FSF address.
2280
2281 2005-06-29  Tom Tromey  <tromey@redhat.com>
2282
2283         PR libgcj/22211:
2284         * testsuite/libjava.lang/pr22211.java: New file.
2285         * java/lang/natThread.cc (finish_): Synchronize when updating
2286         alive_flag.
2287         (_Jv_AttachCurrentThread): Likewise.
2288         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
2289         * java/lang/Thread.java (isAlive): Now synchronized.
2290
2291 2005-06-29  Tom Tromey  <tromey@redhat.com>
2292
2293         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
2294         _Jv_CheckCast.
2295
2296 2005-06-28  Robin Green  <greenrd@greenrd.org>
2297
2298         PR java/22189
2299         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
2300         error.
2301
2302 2005-06-27  Tom Tromey  <tromey@redhat.com>
2303
2304         PR java/21540, PR java/13788:
2305         * testsuite/libjava.compile/pr21540.java: New file.
2306         * testsuite/libjava.compile/pr13788.java: New file.
2307         * testsuite/libjava.jacks/jacks.xfail: Updated.
2308
2309 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2310
2311         * testsuite/libjava.mauve/xfails: Updated to reflect current state
2312         of mauve and libjava. 
2313
2314 2005-06-24  Tom Tromey  <tromey@redhat.com>
2315
2316         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
2317         where class' name is NULL.
2318         (_Jv_FindClass): Don't wait for class state.
2319         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
2320         name found.
2321         * include/java-interp.h (_Jv_DefineClass): Updated.
2322         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
2323         (struct _Jv_ClassReader): Likewise.
2324         (found_name): New field.
2325         (handleClassBegin): Set *found_name.
2326         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
2327         (handleClassBegin): Throw error if super class not set.
2328         (read_methods): Correctly call check_tag and prepare_pool_entry.
2329
2330 2005-06-24  Tom Tromey  <tromey@redhat.com>
2331
2332         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
2333
2334 2005-06-24  Tom Tromey  <tromey@redhat.com>
2335
2336         * verify.cc (verify_instructions_0): Correctly handle situation
2337         where PC falls off end.
2338
2339 2005-06-24  Tom Tromey  <tromey@redhat.com>
2340
2341         * interpret.cc (compile): Handle case where table entry is
2342         outside of PC range.
2343
2344 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
2345
2346         * testsuite/libjava.compile/PR20697.java: New test-case.
2347
2348 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
2349
2350         * Makefile.am (SUBDIRS): Use append for conditional.
2351         (toolexeclib_LTLIBRARIES): Likewise.
2352         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
2353         a conditional append.
2354         * Makefile.in: Regenerate.
2355
2356 2005-06-17  Keith Seitz  <keiths@redhat.com>
2357
2358         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
2359         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
2360         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
2361         file.
2362         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
2363         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
2364         file.
2365         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
2366         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
2367         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
2368         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
2369         file.
2370         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
2371         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
2372
2373 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
2374
2375         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
2376         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
2377         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
2378         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
2379         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
2380         * Makefile.in: Regenerate.
2381
2382 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
2383
2384         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
2385         (USING_POSIX_PLATFORM): ... here.
2386         * Makefile.am: Delete USING_ECOS_PLATFORM.
2387         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2388         external/Makefile.in, external/sax/Makefile.in,
2389         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2390
2391 2005-06-15  Tom Tromey  <tromey@redhat.com>
2392
2393         PR libgcj/17536:
2394         * testsuite/libjava.lang/pr17536.java: New file.
2395         * testsuite/libjava.lang/pr17536.out: New file.
2396
2397 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
2398
2399         PR libgcj/21074:
2400         * gnu/java/net/protocol/http/HTTPURLConnection.java
2401         (getHeaderFieldKey): Check index.
2402
2403 2005-06-15  Tom Tromey  <tromey@redhat.com>
2404
2405         PR libgcj/21906:
2406         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
2407         methods.
2408         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
2409         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
2410         static.
2411         (append_partial_itable): Use it.
2412         (set_vtable_entries): Likewise.
2413
2414 2005-06-15  Tom Tromey  <tromey@redhat.com>
2415
2416         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
2417         last_was_sep in loop.
2418
2419 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2420
2421         * configure.host: Handle Solaris 10/x86.
2422
2423 2005-06-14  Keith Seitz  <keiths@redhat.com>
2424
2425         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
2426         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
2427
2428 2005-06-14  Keith Seitz  <keiths@redhat.com>
2429
2430         * gnu/classpath/jdwp/id/ArrayId.java: New file.
2431         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
2432         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
2433         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
2434         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
2435         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
2436         * gnu/classpath/jdwp/id/JdwpId.java: New file.
2437         * gnu/classpath/jdwp/id/ObjectId.java: New file.
2438         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
2439         * gnu/classpath/jdwp/id/StringId.java: New file.
2440         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
2441         * gnu/classpath/jdwp/id/ThreadId.java: New file.
2442
2443 2005-06-14  Tom Tromey  <tromey@redhat.com>
2444
2445         PR libgcj/19877:
2446         * configure, aclocal.m4, Makefile.in: Rebuilt.
2447
2448 2005-06-14  Tom Tromey  <tromey@redhat.com>
2449
2450         * java/lang/Class.java (getClasses): New method.
2451         (internalGetClasses): Likewise.
2452         (getClassLoader): Updated documentation.
2453         (getDeclaredClasses): New overload; old overload no longer
2454         native.
2455         (_getConstructors): Removed.
2456         (resourcePath): Updated.
2457         * java/lang/natClass.cc (getClasses): Removed.
2458         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
2459         Updated.
2460         (_getConstructors): Removed.
2461
2462 2005-06-13  Jim Huang  <jserv@kaffe.org>
2463
2464         PR libgcj/22036:
2465         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
2466         (_Jv_JNI_NewObject): Likewise.
2467
2468 2005-06-13  Tom Tromey  <tromey@redhat.com>
2469
2470         PR java/21844:
2471         * testsuite/libjava.lang/pr21844.java: New file.
2472         * testsuite/libjava.lang/pr21844.out: New file.
2473
2474 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
2475
2476         PR libgcj/21949
2477         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
2478         From Gary Benson.
2479
2480 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2481
2482         * java/text/MessageFormat.java (parse): When parsing strings, check
2483         for an empty pattern trailer.
2484
2485 2005-06-06  Keith Seitz  <keiths@redhat.com>
2486
2487         * gnu/classpath/jdwp/util/Signature.java: New file.
2488         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
2489
2490 2005-06-05  Anthony Green  <green@redhat.com>
2491
2492         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
2493         fall-through bug.
2494
2495 2005-06-04  Anthony Green  <green@redhat.com>
2496
2497         * java/net/URLClassLoader.java: import gnu.gcj.Core,
2498         and gnu.java.net.protocol.core.CoreInputStream.
2499         (CureURLLoader): New class.
2500         (CoreResource): New class.
2501         (addURLImpl): Add special treatment for the "core" protocol.
2502         * gnu/gcj/natCore.cc (find): New method.
2503         * gnu/gcj/Core.java (find): New method.
2504
2505 2005-06-03  Keith Seitz  <keiths@redhat.com>
2506
2507         * gnu/classpath/jdwp/transport/ITransport.java: New file.
2508         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
2509         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
2510
2511 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
2512
2513         * jawt.c: Remove malloc.h, covered by stdlib.h.
2514
2515         * testsuite/libjava.jni/jni.exp
2516         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
2517         the build process.
2518
2519 2005-06-02  Keith Seitz  <keiths@redhat.com>
2520
2521         * gnu/classpath/jdwp/transport/TransportException.java: New file.
2522
2523 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
2524
2525         * mauve-libgcj: Remove implemented classes from the fail section.
2526         Add two new not implemented to it.
2527
2528 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
2529
2530         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
2531         AC_SUBST definition from configure.host.
2532         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
2533         to -fomit-frame-pointer on 32-bit x86 targets.
2534
2535 2005-06-01  Tom Tromey  <tromey@redhat.com>
2536
2537         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
2538
2539 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2540
2541         PR libgcj/20435:
2542         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
2543         (static): Add possessive matching to JAVA_1_4 syntax.
2544         * gnu/regexp/RETokenRepeated.java (possessive): New field.
2545         (makePossessive, isPossessive): New methods.
2546         (match): Don't back off during possessive matching.
2547         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
2548         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
2549         to JAVA_1_4.
2550
2551 2005-06-01  Keith Seitz  <keiths@redhat.com>
2552
2553         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
2554         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
2555         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
2556
2557 2005-06-01  Tom Tromey  <tromey@redhat.com>
2558
2559         PR libgcj/21785:
2560         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
2561         (currentLoader): New method.
2562         * java/io/ObjectInputStream.java (resolveProxyClass): Use
2563         currentLoader.
2564         (currentLoader): Now native.
2565         (currentClassLoader): Removed.
2566         * testsuite/libjava.lang/pr21785.java: New file.
2567         * testsuite/libjava.lang/pr21785.out: New file.
2568
2569 2005-06-01  Tom Tromey  <tromey@redhat.com>
2570
2571         PR libgcj/21753:
2572         * java/lang/natString.cc (substring): Changed sharing heuristic.
2573
2574 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
2575
2576         PR libgcj/21821
2577         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
2578         MAXPATHLEN. Format exception message using a StringBuffer instead.
2579
2580 2005-05-29  Michael Koch  <konqueror@gmx.de>
2581
2582         PR libgcj/20273:
2583         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
2584
2585 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2586
2587         * ChangeLog: Fix typo.
2588
2589 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
2590
2591         Testsuite adjustments for PR java/19870.
2592         * testsuite/libjava.lang/PR19870.java: New testcase.
2593         * testsuite/libjava.lang/PR19870.out: Expected output for the
2594         testcase.
2595         * testsuite/libjava.jacks/jacks.xfail: Add
2596         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
2597
2598
2599 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
2600
2601         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
2602         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
2603         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
2604         classes.
2605         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
2606         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
2607         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
2608         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
2609
2610 2005-05-25  Richard Henderson  <rth@redhat.com>
2611
2612         PR libgcj/21692
2613         * sysdep/descriptor-n.h: New file.
2614         * sysdep/descriptor-y.h: New file.
2615         * sysdep/powerpc/descriptor.h: New file.
2616         * configure.host: Set $descriptor_h appropriate for the host.
2617         * configure.ac: Link it.
2618         * configure: Regenerate.
2619         * stacktrace.cc: Include sysdep/descriptor.h.
2620         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
2621
2622 2005-05-25  Chris Burdess  <dog@gnu.org>
2623
2624         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
2625         end entity callbacks.
2626
2627 2005-05-24  Gary Benson  <gbenson@redhat.com>
2628
2629         PR libgcj/21736:
2630         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
2631         Handle DateFormat.DEFAULT case correctly.
2632
2633 2005-05-21  Tom Tromey  <tromey@redhat.com>
2634
2635         PR libgcj/21703:
2636         * java/lang/ref/natReference.cc (find_slot): Handle case where
2637         table has no NULL entries.
2638         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
2639         table has no NULL entries.
2640
2641 2005-05-22  Andreas Jaeger  <aj@suse.de>
2642
2643         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
2644         avoid warnings.
2645
2646 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
2647
2648         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
2649
2650 2005-05-19  Richard Henderson  <rth@redhat.com>
2651
2652         * exception.cc: Revert 05-17 gcc_unreachable change.
2653
2654 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2655
2656         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
2657         _Jv_RegisterInitiatingLoader to register array classes, not
2658         _Jv_RegisterClass.
2659         (_Jv_RegisterInitiatingLoader): Give up if called very early during
2660         bootstrapping. Add a FIXME to handle this case better.
2661
2662 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2663
2664         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
2665         convenience library.
2666         (libgcj_la_SOURCES): New. Move sources here.
2667         (libgcj.la): Remove rule.
2668
2669 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2670
2671         PR libgcj/19729
2672         * gnu/java/security/provider/DSASignature.java: Import updates
2673         from GNU Crypto.
2674
2675 2005-05-18  Anthony Green  <green@redhat.com>
2676
2677         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
2678         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2679         classpath_jawt_destroy_lock): New functions.
2680         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
2681         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2682         classpath_jawt_destroy_lock): New functions.
2683         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
2684         field.
2685         * jawt.c: #include malloc.h.
2686         (_Jv_Lock): Use lock.
2687         (_Jv_Unlock): Ditto.
2688         (_Jv_GetDrawingSurface): Initialize lock.
2689         (_Jv_FreeDrawingSurface): Destroy lock.
2690         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
2691
2692 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
2693
2694         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
2695         * Makefile.in: Regenerate.
2696
2697 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
2698
2699         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
2700         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
2701         * aclocal.m4, configure, config.h.in, include/config.h.in,
2702         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2703         external/Makefile.in, external/sax/Makefile.in,
2704         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2705
2706 2005-05-17  David Daney  <ddaney@avtrex.com>
2707
2708         PR libgcj/18220
2709         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
2710
2711 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
2712
2713         * exception.cc (abort): Remove std::abort hack.
2714         (gcc_unreacheable): Define.
2715
2716 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2717
2718         * Makefile.am (Makefile.deps): Do not create native.list and
2719         bytecodes.list.
2720         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
2721         * Makefile.in: Regenerate.
2722
2723 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
2724
2725         * configure.ac (--enable-libgcj-multifile): Remove.
2726
2727         * Makefile.am (all_native_compiled_source_files,
2728         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
2729         all_libgcj_lo_files, all_xlib_lo_files,
2730         all_java_deps_files, all_java_stamp_files,
2731         all_java_filelist_files): New variables.
2732         (EXTRA_DIST): New Automake variable.
2733         (CLEANFILES): Add .stamp, .list and .lo files.
2734         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
2735         (classes.stamp): Depend on $(all_java_stamp_files).
2736         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
2737         going through write_entries_to_file.
2738
2739         (all_java_source_files, all_property_files): Move earlier.
2740         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
2741         all_java_class_files): Remove.
2742         (gtk_awt_peer_sources): Rename to...
2743         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
2744
2745         (ONESTEP): Remove.
2746         (libgcj0_convenience_la_SOURCES): Remove Java source files.
2747         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
2748         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
2749         (libgcj_la_SOURCES): Remove.
2750         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
2751         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
2752         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
2753
2754         * configure: Regenerate.
2755         * Makefile.in: Regenerate.
2756         * external/Makefile.in: Regenerate.
2757         * external/sax/Makefile.in: Regenerate.
2758         * external/w3c_dom/Makefile.in: Regenerate.
2759         * gcj/Makefile.in: Regenerate.
2760         * include/Makefile.in: Regenerate.
2761         * libltdl/Makefile.in: Regenerate.
2762         * testsuite/Makefile.in: Regenerate.
2763
2764 2005-05-16  Tom Tromey  <tromey@redhat.com>
2765
2766         * java/nio/charset/Charset.java (encode, decode): Synchronize on
2767         'this', not the class.
2768
2769 2005-05-16  Tom Tromey  <tromey@redhat.com>
2770
2771         * gnu/java/net/protocol/http/Headers.java (parse): Include final
2772         character of line.
2773
2774 2005-05-16  Tom Tromey  <tromey@redhat.com>
2775
2776         PR libgcj/21606:
2777         * java/net/URI.java (unquote): Handle lower-case letters as well.
2778
2779 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2780
2781         PR libgcj/20504
2782         * gnu/regexp/RE.java: Add support for quoting constructs.
2783
2784 2005-05-15  Tom Tromey  <tromey@redhat.com>
2785
2786         * java/lang/String.java (startsWith): Fixed javadoc.
2787
2788 2005-05-15  Tom Tromey  <tromey@redhat.com>
2789
2790         PR java/21519:
2791         * testsuite/libjava.compile/pr21519.java: New file.
2792         * testsuite/libjava.compile/pr21519.no-link: New file.
2793
2794 2005-05-15  Tom Tromey  <tromey@redhat.com>
2795
2796         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
2797
2798 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
2799
2800         PR libgcj/21557
2801         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
2802         interrupt status flag if _Jv_CondWait is interrupted.
2803
2804 2005-05-13  Tom Tromey  <tromey@redhat.com>
2805
2806         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
2807         element in path.
2808
2809 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
2810
2811         * include/jvm.h (gcj::verifyClasses): Declare.
2812         * link.cc (gcj::verbose_class_flag): Moved.
2813         * prims.cc (gcj::verifyClasses): Define here.
2814         (gcj::verbose_class_flag): Move definition here.
2815         (_Jv_Linker::wait_for_state): Don't call verify_class
2816         if gcj::verifyClasses is not set.
2817         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
2818
2819 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
2820
2821         * gij.cc (main): Recognize '-verify', '-noverify', and
2822         '-verifyremote'
2823
2824 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2825
2826         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
2827
2828 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2829
2830         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
2831         libgcjawt.la.
2832
2833 2005-05-11  Tom Tromey  <tromey@redhat.com>
2834
2835         * external/w3c_dom/Makefile.in: Rebuilt.
2836         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
2837         -fbootstrap-classes.
2838         * external/sax/Makefile.in: Rebuilt.
2839         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
2840         -fbootstrap-classes.
2841         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
2842         friend.
2843         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2844         Call _Jv_CopyClassesToSystemLoader.
2845         * java/lang/natClassLoader.cc (system_class_list): New global.
2846         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
2847         classes differently.
2848         (_Jv_CopyClassesToSystemLoader): New function.
2849         (SYSTEM_LOADER_INITIALIZED): New define.
2850         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
2851         (_Jv_CheckABIVersion): Use it.
2852         (_Jv_ClassForBootstrapLoader): New function.
2853         * Makefile.in: Rebuilt.
2854         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
2855
2856 2005-05-10  Tom Tromey  <tromey@redhat.com>
2857
2858         * gcj/javaprims.h: Updated.
2859         * java/lang/String.java (String(StringBuilder)): New constructor.
2860         * java/lang/natStringBuilder.cc: New file.
2861         * java/lang/StringBuilder.java: New file.
2862         * Makefile.in: Rebuilt.
2863         * Makefile.am (core_java_source_files): Added StringBuilder.java.
2864         (nat_source_files): Added natStringBuilder.cc.
2865
2866 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
2867
2868         PR java/21436
2869         * testsuite/libjava.jacks/jacks.xfail: Adjust.
2870
2871 2005-05-09  Mike Stump  <mrs@apple.com>
2872
2873         * configure: Regenerate.
2874
2875 2005-05-09  David Daney  <ddaney@avtrex.com>
2876
2877         * java/util/BitSet.java (get(int, int)): Fix breakage when
2878         requested set doesn't start on a multiple of 64.
2879
2880 2005-05-07  Matthias Klose  <doko@debian.org>
2881
2882         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
2883
2884 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
2885
2886         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
2887         * Makefile.in: Regenerate.
2888         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
2889         (createCompatibleVolatileImage(int,int)): Implement.
2890         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
2891         Likewise.
2892         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
2893         New fields.
2894         (createVolatileImage): Implement.
2895         (createBuffers): Likewise.
2896         (getBackBuffer): Likewise.
2897         (flip): Likewise.
2898         (destroyBuffers): Likewise.
2899         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
2900         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
2901         (CanvasFlipBufferStrategy): Likewise.
2902         (createBufferStrategy(int)): New method.
2903         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2904         * java/awt/Component.java (BltBufferStrategy): Implement and
2905         document class.
2906         (FlipBufferStrategy): Likewise.
2907         * java/awt/Window.java (WindowBltBufferStrategy): New class.
2908         (WindowFlipBufferStrategy): Likewise.
2909         (createBufferStrategy(int)): New method.
2910         (createBufferStrategy(int,BufferCapabilities)): Likewise.
2911         (getBufferStrategy): Likewise.
2912         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
2913         front to frontCaps and back to backCaps.
2914
2915 2005-05-06  Michael Koch  <konqueror@gmx.de>
2916
2917         * java/awt/BufferCapabilities.java
2918         (BufferCapabilities): Merged javadoc.
2919
2920 2005-05-06  Michael Koch  <konqueror@gmx.de>
2921
2922         * java/util/Locale.java
2923         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
2924         (getLocale): New methods. Use it everywhere where instances of Locales
2925         are needed.
2926         (getDisplayLanguage): Merged javadoc.
2927         (getDisplayCountry): Likewise.
2928         (getDisplayVariant): Likewise.
2929
2930 2005-05-06  Archie Cobbs  <archie@dellroad.org>
2931
2932         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2933         use DeleteLocalRef() to avoid exhausting local native references.
2934
2935 2005-05-06  Mark Wielaard  <mark@klomp.org>
2936
2937         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2938         (window_delete_cb): Don't use C++ style comments.
2939
2940 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2941
2942         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
2943         copyright header.
2944
2945 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
2946
2947         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2948         (window_delete_cb): Made the function return TRUE.
2949
2950 2005-05-06  Roman Kennke  <roman@kennke.org>
2951
2952         * javax/swing/text/PlainView.java
2953         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
2954         offset parameter.
2955         * javax/swing/text/Utilities.java
2956         (drawTabbedText): Initilialize local variable pos correctly.
2957
2958 2005-05-06  Roman Kennke  <roman@kennke.org>
2959
2960         * javax/swing/text/AbstractDocument.java
2961         (LeafElement): Made start and end package private fields for
2962         effective reindexing.
2963         * javax/swing/text/PlainDocument.java
2964         (constructor): The field rootElement is always BranchElement,
2965         so we handle it as such.
2966         (removeUpdate): Rewritten reindexing for removeUpdate so that
2967         the actual removal is taken into account.
2968
2969 2005-05-06  Roman Kennke  <roman@kennke.org>
2970
2971         * javax/swing/text/GapContent.java:
2972         Removed debugging output stuff, which I accidentally left in.
2973
2974 2005-05-06  Roman Kennke  <roman@kennke.org>
2975
2976         * javax/swing/text/GapContent.java:
2977         Implemented a real GapContent. Only the public methods have
2978         been implemented so far and still no UndoableEdit support.
2979
2980 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
2981
2982         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
2983         the typo.
2984
2985 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2986
2987         * java/awt/image/BufferStrategy.java: Document.
2988
2989         * java/awt/BufferCapabilities.java: Document.
2990
2991 2005-05-04  Tom Tromey  <tromey@redhat.com>
2992
2993         * java/nio/channels/FileLock.java (toString): Entirely avoid
2994         String "+".
2995
2996 2005-05-04  Andrew Overholt  <overholt@redhat.com>
2997
2998         * java/nio/channels/FileLock.java (toString): Re-implement using
2999         StringBuffer.
3000
3001 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3002
3003         * java/awt/ImageCapabilities.java: Document.
3004
3005         * java/awt/image/VolatileImage.java: Unindent copyright header.
3006
3007 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3008
3009         * java/awt/image/VolatileImage.java: Document.
3010
3011 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3012
3013         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3014         (init_glib_threads): Check if threading system is already
3015         initialized.
3016
3017 2005-05-03  Andrew Overholt  <overholt@redhat.com>
3018
3019         PR libgcj/21372:
3020         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
3021         could not be acquired.
3022         * java/nio/channels/FileLock.java (toString): Re-implement to be
3023         in line with other implementations.
3024
3025 2005-05-03  Tom Tromey  <tromey@redhat.com>
3026
3027         * java/lang/VMSecurityManager.java (currentClassLoader): Use
3028         'systemClasssLoader' directly.
3029
3030 2005-05-03  Tom Tromey  <tromey@redhat.com>
3031
3032         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
3033         call VMClassLoader.getSystemClassLoader.
3034
3035 2005-04-29  Michael Koch  <konqueror@gmx.de>
3036
3037         * java/net/NetworkInterface.java
3038         (static): Removed.
3039         (NetworkInterface(String,InetAddress)): Made package-private.
3040         (NetworkInterface(String,InetAddress[])): New constructor.
3041         (getRealNetworkInterfaces): Removed.
3042         (getByName): Use VMNetworkInterface.getInterfaces().
3043         (getByInetAddress): Likewise.
3044         (getNetworkInterfaces): Likewise.
3045         * java/net/VMNetworkInterface.java,
3046         java/net/natVMNetworkInterfaceNoNet.cc,
3047         java/net/natVMNetworkInterfacePosix.c,c
3048         java/net/natVMNetworkInterfaceWin32.cc: New files.
3049         * java/net/natNetworkInterfaceNoNet.cc,
3050         java/net/natNetworkInterfacePosix.cc,
3051          java/net/natNetworkInterfaceWin32.cc: Removed.
3052         * configure.ac
3053         * Makefile.am
3054         * configure, Makefile.in: Regenerated.
3055
3056 2005-04-29  Andrew Haley  <aph@redhat.com>
3057
3058         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
3059
3060 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
3061
3062         * java/nio/channels/FileChannelImpl.java
3063         (FileChannelImpl(String, int)): Removed.
3064         (FileChannelImpl(File, int)): Added. Check if opened file is a
3065         directory.
3066         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
3067         Call FileChannelImpl(File, int).
3068         * java/io/FileOutputStream.java (FileInputStream): Call
3069         FileChannelImpl(File, int).
3070         * java/io/RandomAccessFile.java (RandomAccessFile):
3071         Call FileChannelImpl(File, int). Switched constructors around.
3072
3073 2005-04-27  Andrew Haley  <aph@redhat.com>
3074
3075         PR java/19285
3076         * prims.cc (_Jv_ResolvePoolEntry): New function.
3077         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
3078         * link.cc (_Jv_Linker::find_field): New arg: found_class.
3079         (resolve_pool_entry): Initialize the class in which a field is
3080         found.
3081         (link_symbol_table): Pass new arg to found_class.
3082
3083 2005-04-29  Michael Koch  <konqueror@gmx.de>
3084
3085         * java/nio/charset/Charset.java
3086         (provider): Reformatted.
3087
3088 2005-04-29  Michael Koch  <konqueror@gmx.de>
3089
3090         * gnu/java/net/protocol/http/HTTPConnection.java:
3091         (userAgent): Initialize from system properties.
3092         (initUserAgent): Removed.
3093
3094 2005-04-29  Mark Wielaard  <mark@klomp.org>
3095
3096         * java/util/ResourceBundle.java (getObject): Clarify
3097         MissingResourceException detailed message.
3098         (tryBundle(String,ClassLoader)): Likewise.
3099
3100 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
3101
3102         * java/beans/FeatureDescriptor.java:
3103         (getShortDescription): Implemented fallback mechanism and fixed
3104         documentation (fixes bug #12637).
3105         (getDisplayName): Dito.
3106
3107 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
3108
3109         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
3110         will now be set correctly.
3111         (flushCaches): Now flushes all cached intermediate data.
3112
3113 2005-04-28  Michael Koch  <konqueror@gmx.de>
3114
3115         * java/net/InetAddress.java
3116         (aton): Fixed javadoc.
3117         (lookup): Likewise.
3118
3119 2005-04-28  Tom Tromey  <tromey@redhat.com>
3120
3121         * javax/swing/Timer.java
3122         (drainEvents, queueEvent): Now package-private.
3123
3124 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
3125
3126         * javax/swing/Timer.java
3127         (constructor): Assigning initialDelay.
3128
3129 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
3130
3131         * javax/swing/Timer.java
3132         (Waker.run): firing the first action event.
3133
3134 2005-04-28  Michael Koch  <konqueror@gmx.de>
3135
3136         * javax/swing/Timer.java: Reordered all fields and methods,
3137         Added more javadocs.
3138
3139 2005-04-28  Michael Koch  <konqueror@gmx.de>
3140
3141         * javax/swing/Timer.java: Javadocs merged
3142         from GNU classpath.
3143
3144 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
3145
3146         * gnu/java/net/protocol/file/Connection.java
3147         (StaticData): New inner class to contain statics.
3148         (connect, getHeaderField): Modified to use StaticData.
3149
3150 2005-04-28  Michael Koch  <konqueror@gmx.de>
3151
3152         * gnu/java/net/protocol/file/Connection.java
3153         (lineSeparator): Initialize with SystemProperties.getProperty().
3154
3155 2005-04-27  Chris Burdess  <dog@gnu.org>
3156
3157         * gnu/java/net/protocol/file/Connection.java: Return correct content
3158         length for directory listing.
3159         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
3160         #11285: return valid URLs for directories.i
3161
3162 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3163
3164         * Makefile.am (ordinary_java_source_files): Add
3165         gnu/java/net/protocol/https/Handler.java.
3166         * Makefile.in: Regenerate.
3167         * java/net/URL.java: Remove org.metastatic.jessie from default
3168         protocol search path.
3169
3170 2005-04-27  Chris Burdess  <dog@gnu.org>
3171
3172         * gnu/java/net/protocol/https/Handler.java: New file.
3173
3174 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
3175
3176         * javax/imageio/spi/IIORegistry.java (IIORegistry):
3177         Don't assume that awt Toolkit is always ClasspathToolkit.
3178
3179 2005-04-27  Chris Burdess  <dog@gnu.org>
3180
3181         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
3182         absolute and relative paths in Location header.
3183
3184 2005-04-27  Chris Burdess  <dog@gnu.org>
3185
3186         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
3187         FileNotFoundException and implement getErrorStream on 404.
3188
3189 2005-04-27  Sven de Marothy <sven@physto.se>
3190
3191         * java/util/TimeZone.java,
3192         (getDefaultDisplayName): Fix previous fix.
3193
3194 2005-04-27  Sven de Marothy <sven@physto.se>
3195
3196         * java/util/TimeZone.java,
3197         (getDefaultDisplayName): Don't print zero offsets.
3198
3199 2005-04-27  Roman Kennke  <roman@kennke.org>
3200
3201         * javax/swing/plaf/basic/BasicScrollBarUI
3202         (getThumbBounds): Do not make thumb smaller than
3203         minimumThumbSize.
3204         * javax/swing/plaf/metal/MetalLookAndFeel
3205         (initComponentDefaults): Added color defaults for ScrollBar.
3206         * javax/swing/plaf/metal/MetalScrollBarUI
3207         (paintThumb): Added.
3208         (getMinimumThumbSize): Added.
3209
3210 2005-04-27  Roman Kennke  <roman@kennke.org>
3211
3212         * javax/swing/plaf/metal/MetalLookAndFeel
3213         (initComponentDefaults): Added some default colors.
3214
3215 2005-04-27  Roman Kennke  <roman@kennke.org>
3216
3217         * javax/swing/plaf/basic/BasicScrollBarUI.java
3218         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
3219         to 'ScrollBar.thumbShadow'. The formes does not exist.
3220         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
3221
3222 2005-04-27  Roman Kennke  <roman@kennke.org>
3223
3224         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
3225         * javax/swing/BoxLayout.java: Likewise.
3226         * javax/swing/UIManager.java: Likewise.
3227         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3228         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
3229         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3230         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3231         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
3232         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
3233         * javax/swing/text/Document.java: Likewise.
3234         * javax/swing/text/GapContent.java: Likewise.
3235         * javax/swing/text/SimpleAttributeSet.java: Likewise.
3236         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
3237
3238 2005-04-27  Roman Kennke  <roman@kennke.org>
3239
3240         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
3241         (getPropertyPrefix): Added.
3242
3243 2005-04-27  Roman Kennke  <roman@kennke.org>
3244
3245         * javax/swing/plaf/basic/BasicButtonUI.java
3246         (getPropertyPrefix): Added.
3247         (installDefaults): Use getPropertyPrefix instead of hard-coded
3248         prefix.
3249
3250 2005-04-27  Roman Kennke  <roman@kennke.org>
3251
3252         * javax/swing/JToggleButton.java
3253         (JToggleButton): Removed horizontalAlignment setting, this
3254         was wrong. Added setting of an actionCommand, ToggleButtons
3255         have "" as default actionCommand.
3256
3257 2005-04-27  Michael Koch  <konqueror@gmx.de>
3258
3259         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
3260         to work around CNI limitation.
3261
3262 2005-04-27  Sven de Marothy  <sven@physto.se>
3263
3264         * java/nio/charset/Charset.java:
3265         (defaultCharset()): New method.
3266         Status updated to 1.5
3267
3268 2005-04-27  Sven de Marothy  <sven@physto.se>
3269
3270         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
3271
3272 2005-04-27  Sven de Marothy  <sven@physto.se>
3273
3274         * java/nio/charset/Charset.java: Reset cached de/encoders.
3275
3276 2005-04-27  Robert Schuster <thebohemian@gmx.net>
3277
3278         * java/nio/charset/Charset.java (forName): Throws
3279         IllegalArgumentException when argument is null
3280         and added documentation.
3281
3282 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3283
3284         * java/nio/charset/Charset.java (providers):
3285         New method to make an array of CharsetProviders defined in
3286         META-INF/services/java.nio.charset.spi.CharsetProvider.
3287         (charsetForName, availableCharsets): Use the
3288         new method providers().
3289
3290 2005-04-26  Michael Koch  <konqueror@gmx.de>
3291
3292         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
3293         Fixed typos in javadocs.
3294         (isSiteLocalAddress): Fixed handling of byte values.
3295         (isMCLinkLocal): Likewise.
3296         * java/net/Inet4Address.java
3297         (isMulticastAddress): Call super method.
3298         (isLoopbackAddress): Likewise.
3299         (isAnyLocalAddress): Likewise.
3300         (isLinkLocalAddress): Likewise.
3301         (isSiteLocalAddress): Likewise.
3302         (isMCGlobal): Likewise.
3303         (isMCNodeLocal): Likewise.
3304         (isMCLinkLocal): Likewise.
3305         (isMCSiteLocal): Likewise.
3306         (isMCOrgLocal): Likewise.
3307         (getHostAddress): Likewise.
3308
3309 2005-04-26  Sven de Marothy  <sven@physto.se>
3310
3311         * java/net/InetAddress.java
3312         (toString): Don't print empty hostnames.
3313
3314 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
3315
3316         PR libgcj/21136:
3317         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
3318         'false' to native lock().
3319         (lock): Pass 'true' to native lock().
3320
3321 2005-04-26  Michael Koch  <konqueror@gmx.de>
3322
3323         * java/net/InetAddress.java:
3324         Fixed typos in javadocs.
3325
3326 2005-04-26  Andrew Haley  <aph@redhat.com>
3327
3328         PR libgcj/21020:
3329         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
3330         field's type.
3331
3332 2005-04-26  Tom Tromey  <tromey@redhat.com>
3333
3334         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
3335         gnu): Now package-private.
3336         * javax/swing/text/html/parser/DocumentParser.java (parser,
3337         callBack, gnu): Now package-private.
3338         * javax/swing/text/StringContent.java (content, setOffset,
3339         checkLocation): Now package-private.
3340         * javax/swing/text/JTextComponent.java (doc): Now
3341         package-private.
3342         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
3343         lastGoodOrientation, origParent, borders, cachedBounds,
3344         cachedOrientation, DragWindow): Now package-private.
3345         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
3346         decrButton, viewport, panel, currentScrollLocation, layoutManager,
3347         tabAreaRect, contentRect, createIncreaseButton,
3348         createDecreaseButton, findPointForIndex): Now package-private.
3349         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3350         (currentDividerLocation, moveDividerTo): Now package-private.
3351         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
3352         package-private.
3353         * javax/swing/plaf/basic/BasicScrollBarUI.java
3354         (calculatePreferredSize, valueForYPosition, valueForXPosition):
3355         Now package-private.
3356         * javax/swing/plaf/basic/BasicPopupMenuUI.java
3357         (topWindowListener): Now package-private.
3358         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
3359         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
3360         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
3361         package-private.
3362         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
3363         package-private.
3364         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
3365         Now package-private.
3366         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
3367         package-private.
3368         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
3369         borderInsets): Now package-private.
3370         (arrowButtonWidth): Likewise.  Now a constant.
3371         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
3372         makeTabs, updatePreviewPanel): Now package-private.
3373         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
3374         darkShadow, highlight): Now package-private.
3375         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
3376         (addColorToQueue): Now package-private.
3377         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
3378         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
3379         GSpinner, BSpinner): Now package-private.
3380         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
3381         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
3382         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
3383         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
3384         updateTrack): Now package-private.
3385         * javax/swing/TransferHandler.java (clipboard): Now
3386         package-private.
3387         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
3388         package-private.
3389         * javax/swing/Timer.java (drainEvents, queueEvent): Now
3390         package-private.
3391         * javax/swing/RepaintManager.java (globalManager): Now
3392         package-private.
3393         * javax/swing/JFormattedTextField.java (editValid): Now
3394         package-private.
3395         * javax/swing/JColorChooser.java (makeModal): Now
3396         package-private.
3397         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
3398         index, path): Now package-private.
3399         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
3400         lineQuadIntersect, lineCubicIntersect, linesIntersect,
3401         pointEquals): Now package-private.
3402         * java/awt/geom/Arc2D.java (type): Now package-private.
3403         * java/awt/Window.java (windowFocusOwner): Now package-private.
3404         * java/awt/TextComponent.java (editable, selectionStart,
3405         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
3406         package-private.
3407         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
3408         package-private.
3409         * java/awt/MenuComponent.java (focusListener): Now
3410         package-private.
3411         * java/awt/Frame.java (state): Now package-private.
3412         * java/awt/Choice.java (pItems): Now package-private.
3413         * java/awt/Checkbox.java (state): Now package-private.
3414         * java/awt/Button.java (actionCommand, label): Now
3415         package-private.
3416         * gnu/javax/swing/text/html/parser/support/Parser.java
3417         (attributes, _handleEndTag_remaining, _handleStartTag): Now
3418         package-private.
3419         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
3420         package-private.
3421         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
3422         clip, transform, font, comp): Now package-private.
3423
3424 2005-04-26  Tom Tromey  <tromey@redhat.com>
3425
3426         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
3427         static way.
3428
3429 2005-04-26  Mark Wielaard  <mark@klomp.org>
3430
3431         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
3432         to MalformedURLException.
3433
3434 2005-04-26  Michael Koch  <konqueror@gmx.de>
3435
3436         * java/security/AccessControlContext.java:
3437         Reformated.
3438         (protectedDomains): Renamed from 'protectionDomain'.
3439         * java/security/AccessController.java:
3440         Reformatted.
3441
3442 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3443
3444         * gnu/java/security/action/GetSecurityPropertyAction.java
3445         (GetSecurityPropertyAction): Implement PrivilegedAction instead
3446         of extending GetPropertyAction.
3447         (name): New field.
3448         (value): Likewise.
3449         (setParamters): New methods.
3450         (GetSecurityPropertyAction): Use new setParameters methods.
3451
3452 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3453
3454         * java/security/Security.java,
3455         java/security/cert/X509CRLSelector.java,
3456         java/security/cert/X509CertSelector.java:
3457         Modified to use SystemProperties.
3458
3459 2005-04-26  Michael Koch  <konqueror@gmx.de>
3460
3461         * java/lang/System.java
3462         (setSecurityManager): Fixed comment.
3463         (getSecurityManager): Removed obsolete comment.
3464
3465 2005-04-25  Tom Tromey  <tromey@redhat.com>
3466
3467         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
3468
3469 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3470
3471         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3472         (connectSignals): Realize the window widget after connecting
3473         signals.
3474
3475 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
3476
3477         * java/awt/GraphicsEnvironment.java
3478         (localGraphicsEnvironment): New field.
3479         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
3480         property.
3481         (isHeadless): Added support for java.awt.headless property.
3482         (isHeadlessInstance): Call headless().
3483
3484 2005-04-25  Roman Kennke  <roman@kennke.org>
3485
3486         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
3487         (getDisplayMode): Added. Returns the current display mode.
3488         (isFullScreenSupported): Added.
3489         * java/awt/GraphicsDevice.java
3490         (setFullScreenWindow): Implemented a primitive fullscreen mode.
3491         This resizes and relocates the fullscreen window so that it uses
3492         the whole screen. This is not a fully accelerated fullscreen
3493         exclusive mode.
3494
3495 2005-04-25  Michael Koch  <konqueror@gmx.de>
3496
3497         * java/lang/Runtime.java,
3498         java/lang/SecurityManager.java,
3499         java/lang/System.java,
3500         java/lang/ThreadGroup.java:
3501         Replaced java.lang.Runtime.securityManager by
3502         java.lang.SecurityManager.current (as used in GNU classpath).
3503
3504 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
3505
3506         * java/awt/Transparency.java
3507         (getTransparency): fixed API docs.
3508
3509 2005-04-25  Archie Cobbs  <archie@dellroad.org>
3510
3511         * java/lang/Throwable.java: simplify initializing cause in constructor
3512
3513 2005-04-25  Michael Koch  <konqueror@gmx.de>
3514
3515         * gnu/classpath/SystemProperties.java: New file.
3516         * gnu/classpath/natSystemProperties.cc: New file.
3517         * java/lang/Runtime.java
3518         (defaultProperties): Removed.
3519         (static): Likewise.
3520         (): Made thrown exceptions more verbose.
3521         (insertSystemProperties): Removed.
3522         * java/lang/System.java
3523         (static): Likewise.
3524         (properties): Likewise.
3525         (setSecurityManager): Reordered modifiers.
3526         (getenv): Improved javadoc.
3527         (): Likewise.
3528         (isWordsBigEndian): Removed.
3529         * java/lang/natRuntime.cc
3530         (_Jv_SetDLLSearchPath): Likewise.
3531         (file_encoding): Likewise.
3532         (default_file_encoding): Likewise.
3533         (getpwuid_adaptor): Likewise.
3534         (insertSystemProperties): Likewise.
3535         * java/lang/natSystem.cc
3536         (isWordsBigEndian): Likewise.
3537         * Makefile.am
3538         (ordinary_java_source_files):
3539         Added gnu/classpath/SystemProperties.java.
3540         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
3541         * Makefile.in: Regenerated.
3542
3543 2005-04-25  Roman Kennke  <roman@kennke.org>
3544
3545         * javax/swing/plaf/basic/BasicScrollBarUI.java
3546         (initDefaults): Initialize thumb*Color fields correctly.
3547
3548 2005-04-25  Roman Kennke  <roman@kennke.org>
3549
3550         * javax/swing/text/GapContent.java:
3551         Added API comments.
3552
3553 2005-04-25  Roman Kennke  <roman@kennke.org>
3554
3555         * javax/swing/plaf/metal/MetalBorders.java:
3556         Added inner class ScrollPaneBorder.
3557         * javax/swing/plaf/metal/MetalLookAndFeel.java
3558         (initComponentDefaults): Added default for "ScrollPane.border"
3559         to use the new ScrollPaneBorder.
3560
3561 2005-04-25  Roman Kennke  <roman@kennke.org>
3562
3563         * javax/swing/text/AbstractDocument.java:
3564         Added FIXME comments. This class still has to be
3565         implemented thread-safe.
3566
3567 2005-04-25  Roman Kennke  <roman@kennke.org>
3568
3569         * javax/swing/tree/DefaultTreeSelectionModel.java
3570         (DefaultTreeSelectionModel): Initialize listenerList here.
3571
3572 2005-04-25  Roman Kennke  <roman@kennke.org>
3573
3574         * javax/swing/plaf/metal/MetalTextFieldUI.java
3575         (createUI): Return one instance per Component instead of a
3576         shared instance.
3577
3578 2005-04-25  Roman Kennke  <roman@kennke.org>
3579
3580         * javax/swing/text/Document.java:
3581         Added API documentation comments.
3582
3583 2005-04-25  Roman Kennke  <roman@kennke.org>
3584
3585         * javax/swing/text/AbstractDocument.java
3586         (getDocumentProperties): Implemented.
3587         (setDocumentProperties): Implemented.
3588         (getProperty): Implemented.
3589         (putProperty): Implemented.
3590
3591 2005-04-25  Roman Kennke  <roman@kennke.org>
3592
3593         * javax/swing/BoxLayout
3594         (preferredLayoutSize): Fixed computation so that it correctly
3595         adds the top and bottom insets of the container.
3596
3597 2005-04-25  Roman Kennke  <roman@kennke.org>
3598
3599         * javax/swing/plaf/basic/BasicMenuItemUI.java
3600         (paintText): Make use of the 'selectionForeground' UI default
3601         for text painting.
3602
3603 2005-04-25  Roman Kennke  <roman@kennke.org>
3604
3605         * javax/swing/plaf/basic/BasicLookAndFeel.java
3606         (initSystemColorDefaults): Modified colors to match the
3607         BasicLookAndFeel in the reference implementation.
3608         (initComponentDefaults): Likewise.
3609
3610 2005-04-25  Tom Tromey  <tromey@redhat.com>
3611
3612         * include/jni.h (_Jv_va_list): Removed.
3613         Moved configuration code...
3614         * include/jni_md.h: ... here.  New file.
3615         * include/Makefile.in: Rebuilt.
3616         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
3617
3618 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
3619
3620         * java/io/FileInputStream.java (FileInputStream(File)),
3621         java/io/FileOutputStream.java (FileOutputStream(File)):
3622         Removed unnecessary File.isDirectory() check.
3623
3624 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
3625
3626         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
3627         gij if get_multilibs fails.
3628
3629 2005-04-22  Anthony Green  <green@redhat.com>
3630
3631         * jni.cc (natrehash): Don't bother clearing memory again.
3632         * interpret.cc (do_allocate_static_fields): Ditto.
3633         * java/lang/natString.cc (rehash): Ditto.
3634
3635 2005-04-22  Roman Kennke  <roman@kennke.org>
3636
3637         * javax/swing/plaf/basic/BasicLookAndFeel.java
3638         (initComponentDefaults): Changed Button.border to be
3639         BasicBorders.getButtonBorder as it should be.
3640
3641 2005-04-22  Roman Kennke  <roman@kennke.org>
3642
3643         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3644         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
3645         should according to a mauve testcase, instead of the preferred
3646         size.
3647
3648 2005-04-22  Roman Kennke  <roman@kennke.org>
3649
3650         * javax/swing/JMenu.java
3651         (add): add(Component) now calls PopupMenu.insert(..) instead of
3652         PopupMenu.add(..). add(..) is not implemented for Component,
3653         so JComponent.add(..) is called instead, adding the component
3654         in the wrong place.
3655
3656 2005-04-22  Roman Kennke  <roman@kennke.org>
3657
3658         * javax/swing/plaf/basic/BasicButtonListener.java
3659         (mousePressed): replaced query to getModifiersEx with getModifiers.
3660         This method relied on faulty behaviour in getModifierEx.
3661         (mouseReleased): replaced query to getModifiersEx with getModifiers.
3662         This method relied on faulty behaviour in getModifierEx.
3663
3664 2005-04-22  Roman Kennke  <roman@kennke.org>
3665
3666         * javax/swing/plaf/metal/MetalLookAndFeel.java
3667         (getDefaults): Call addCustomEntriesToTable on the theme.
3668
3669 2005-04-22  Roman Kennke  <roman@kennke.org>
3670
3671         * javax/swing/tree/DefaultTreeSelectionModel.java
3672         (constructor): Added implementation.
3673         (getRowMapper): Added implementation.
3674         (setSelectionMode): Added implementation.
3675         (getSelectionMode): Added implementation.
3676         (getSelectionPath): Added implementation.
3677         (getSelectionPaths): Added implementation.
3678         (getSelectionCount): Added implementation.
3679         (isSelectionEmpty): Added implementation.
3680         (getSelectionRows): Added implementation.
3681         (getMinSelectionRow): Added implementation.
3682         (getMaxSelectionRow): Added implementation.
3683         (getLeadSelectionRow): Added implementation.
3684         (getLeadSelectionPath): Added implementation.
3685
3686 2005-04-22  Casey Marshall <csm@gnu.org>
3687
3688         * gnu/java/security/der/DERValue.java
3689         (getValueAs): new method.
3690         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
3691         (<init>): read both dates with 'DERValue.getValueAs', with
3692         'GENERALIZED_TIME' as the argument.
3693
3694 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
3695
3696         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
3697         be null, check for that case and don't deference it.
3698
3699 2005-04-22  Sven de Marothy  <sven@physto.se>
3700
3701         * java/util/logging/LogManager.java: Reformatted.
3702         (readConfiguration): If a logger for a key is not found, create one.
3703
3704 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3705
3706         * java/rmi/Naming.java:
3707         Added class documentation.
3708         (lookup(String)): Call parseURL and getName.
3709         (bind(String,java.rmi.Remote)): Likewise.
3710         (unbind(String)): Likewise.
3711         (rebind(String, java.rmi.Remote)): Likewise.
3712         (list(String)): Call parseURL.
3713         (parseURL(String)): New method to handle parsing and defaults.
3714         (getName(java.net.URL)): New method to handle finding the service name.
3715
3716 2005-04-21  Tom Tromey  <tromey@redhat.com>
3717
3718         * java/lang/natClass.cc (initializeClass): Link class.
3719
3720 2005-04-21  Tom Tromey  <tromey@redhat.com>
3721
3722         * java/lang/AssertionError.java: Typo fix.
3723
3724 2005-04-21  Tom Tromey  <tromey@redhat.com>
3725
3726         * java/lang/VMClassLoader.java (transformException): Removed.
3727         (resolveClass): No longer native.  Now does nothing.
3728         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
3729
3730 2005-04-21  Anthony Green  <green@redhat.com>
3731
3732         PR libgcj/21115
3733         * testsuite/libjava.special/special.exp,
3734         testsuite/libjava.special/pr21115I.java,
3735         testsuite/libjava.special/pr21115.java,
3736         testsuite/libjava.special/pr21115.out: New files.
3737
3738 2005-04-21  Chris Burdess  <dog@gnu.org>
3739
3740         * gnu/java/net/CRLFInputStream.java: Rewrite to return
3741         CRLF-delimited chunks.
3742
3743 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3744
3745         * java/net/URI.java:
3746         Added class documentation.
3747         (parseURI(String)): Only handle scheme-specific parts
3748         if URI is not opaque.  Allow for parts that can't be null.
3749         (toString()): Output the scheme-specific part whole, rather
3750         than as its possibly non-existent components.
3751
3752 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3753
3754         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
3755         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
3756         Adjusted to match new regexp.
3757
3758 2005-04-20  Michael Koch  <konqueror@gmx.de>
3759
3760         * gnu/java/net/protocol/file/Connection.java,
3761         gnu/java/net/protocol/jar/Connection.java:
3762         Reorganized import statements. Fixed @author tags.
3763
3764 2005-04-20  Chris Burdess  <dog@gnu.org>
3765
3766         * java/io/DataOutputStream.java (writeUTF): Use block write for
3767         output.
3768
3769 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3770
3771         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
3772         (readLine): Changed newline handling.
3773
3774 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3775
3776         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
3777         ColorModel,byte[],int,int): Fixed byte to int conversion.
3778
3779 2005-04-20  Michael Koch  <konqueror@gmx.de>
3780
3781         * java/io/FilePermission.java
3782         (serialVersionUID): Made private.
3783         (ALL_FILES): New constant.
3784         (implies): Handle '<<ALL FILES>>' case.
3785
3786 2005-04-20  Sven de Marothy  <sven@physto.se>
3787
3788         * gnu/java/awt/peer/gtk/GdkGraphics.java:
3789         (drawImage): Don't notify the image observer for offscreen images.
3790         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
3791         (setPixels): Don't notify the image observer.
3792
3793 2005-04-20  Sven de Marothy  <sven@physto.se>
3794
3795         * java/nio/ByteBufferImpl.java:
3796         (putChar): Inlined for speed.
3797         (put, get): Bulk methods can use arraycopy.
3798         * java/nio/CharBufferImpl.java:
3799         (put, get): Bulk methods can use arraycopy.
3800
3801 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3802
3803         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
3804         and field updates.
3805         * java/nio/CharBufferImpl.java
3806         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
3807         (get(), put(char)): Inlined checks and field updates. Fixed to
3808         take array_offset into account.
3809         (get(int), put(int, char)): Fixed to take array_offset into account.
3810
3811 2005-04-20  Sven de Marothy  <sven@physto.se>
3812
3813         * java/text/SimpleDateFormat.java:
3814         (formatWithAttribute): Pad year before truncating digits.
3815
3816 2005-04-20  Michael Koch  <konqueror@gmx.de>
3817
3818         * gnu/java/net/PlainDatagramSocketImpl.java:
3819         Merged copyright header.
3820         * gnu/java/net/PlainSocketImpl.java:
3821         Reorganized import statements. Fixed @author tags.
3822
3823 2005-04-20  Michael Koch  <konqueror@gmx.de>
3824
3825         * gnu/java/lang/ClassHelper.java,
3826         gnu/java/lang/reflect/TypeSignature.java:
3827         Fixed @author tag.
3828
3829 2005-04-20  Michael Koch  <konqueror@gmx.de>
3830
3831         * gnu/java/beans/IntrospectionIncubator.java:
3832         Fixed HTML tags in javadocs.
3833
3834 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
3835
3836         * gnu/java/beans/IntrospectionIncubator.java
3837         (addToPropertyHash, addToListenerHash): Don't confuse get(),
3838         set(), is(), add() and remove() with properties or events.
3839
3840 2005-04-20  Michael Koch  <konqueror@gmx.de>
3841
3842         * gnu/java/awt/image/XBMDecoder.java:
3843         Fixed modifier order.
3844
3845 2005-04-20  Roman Kennke  <roman@kennke.org>
3846
3847         * javax/swing/plaf/basic/BasicButtonUI.java
3848         (paint): This should not care about margin and insets
3849         at the same time, as insets already include the margin
3850         through the border.
3851         * javax/swing/plaf/basic/BasicGraphicsUtils.java
3852         (getPreferredButtonSize): Likewise.
3853         * javax/swing/plaf/metal/MetalBorders.java
3854         (getBorderInsets): Likewise.
3855
3856 2005-04-20  Roman Kennke  <roman@kennke.org>
3857
3858         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3859         (createMessageArea): The JPanel that holds the message area
3860         doesn't need to override getPreferredSize. This prevents some
3861         message components from rendering nicely.
3862
3863 2005-04-20  Roman Kennke  <roman@kennke.org>
3864
3865         * javax/swing/plaf/metal/MetalInternalFrameUI.java
3866         (createUI): Do not share instances between components.
3867         * javax/swing/plaf/metal/MetalSliderUI.java
3868         (createUI): Do not share instances between components.
3869
3870 2005-04-20  Roman Kennke  <roman@kennke.org>
3871
3872         * javax/swing/plaf/metal/MetalBorders:
3873         (PopupMenuBorder): Added.
3874         * javax/swing/plaf/metal/MetalLookAndFeel
3875         (initComponentDefaults): Added PopupMenuBorder.
3876
3877 2005-04-20  Roman Kennke  <roman@kennke.org>
3878
3879         * javax/swing/tree/DefaultTreeSelectionModel.java:
3880         Added API documentation all over the class.
3881
3882 2005-04-20  Roman Kennke  <roman@kennke.org>
3883
3884         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3885         (installDefaults): Link managed JScrollPane in instance field.
3886         (uninstallDefaults): Unlink managed JScrollPane in instance field.
3887
3888 2005-04-20  Roman Kennke  <roman@kennke.org>
3889
3890         * javax/swing/plaf/basic/BasicScrollBarUI.java
3891         (PropertyChangeHandler.propertyChange): Add default
3892         to switch statement to avoid errors with unusual values
3893         for orientation.
3894         (installComponents): Likewise.
3895
3896 2005-04-20  Roman Kennke  <roman@kennke.org>
3897
3898         * javax/swing/plaf/metal/MetalScrollBarUI.java:
3899         (createUI): Instances cannot be shared among JScrollPanes.
3900
3901 2005-04-20  Roman Kennke  <roman@kennke.org>
3902
3903         * javax/swing/plaf/metal/MetalLookAndFeel.java
3904         (initComponentDefaults): Added defaults for Menu, MenuBar
3905         MenuEntry fonts.
3906
3907 2005-04-20  Roman Kennke  <roman@kennke.org>
3908
3909         * javax/swing/plaf/basic/BasicScrollBarUI.java
3910         (installUI): Install listeners after everything all, otherwise
3911         we get strange NPEs in some situations, especially with
3912         custom L&Fs.
3913         (createIncreaseButton): Orientation is expected to be
3914         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3915         HORIZONTAL or VERTICAL.
3916         (createDecreaseButton): Orientation is expected to be
3917         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3918         HORIZONTAL or VERTICAL.
3919         (installComponents): Orientation for buttons is expected to be
3920         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
3921         HORIZONTAL or VERTICAL.
3922
3923 2005-04-20  Roman Kennke  <roman@kennke.org>
3924
3925         * javax/swing/JToolBar.java
3926         (addImpl): Adjust added AbstractButtons to look and feel like
3927         toolbar buttons.
3928         * javax/swing/plaf/metal/MetalBorders.java:
3929         Adjusted insets of ButtonBorder.
3930         (RolloverMarginBorder): Added class for toolbar buttons.
3931         (getButtonBorder): Adjusted factory method to return a shared
3932         instance of button border.
3933         (getToolbarButtonBorder): Added factory method to return a shared
3934         instance of toolbar button border.
3935         (getMarginBorder): Added factory method to return a shared
3936         instance of margin border.
3937         * javax/swing/plaf/metal/MetalButtonUI.java
3938         (installDefauls): If button is child of a JToolBar then set
3939         special border on this button.
3940
3941 2005-04-20  Michael Koch  <konqueror@gmx.de>
3942
3943         * java/net/URLConnection.java
3944         (getContent): Fixed javadoc comment.
3945
3946 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3947
3948         * java/net/URL.java:
3949         (toURI()): Implemented.
3950
3951 2005-04-19  Michael Koch  <konqueror@gmx.de>
3952
3953         * java/net/InetAddress.java
3954         (InetAddress): Fixed javadoc comment.
3955         (aton): Likewise.
3956         (lookup): Added javadoc.
3957         (getFamily): Likewise.
3958         * java/net/ServerSocket.java
3959         (getChannel): Improved javadoc comment.
3960
3961 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3962
3963         * gnu/xml/dom/html2/DomHTMLParser.java:
3964         Changed 'enum' references to become 'enumeration'.
3965
3966 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3967
3968         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
3969
3970 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3971
3972         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
3973         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
3974         * gnu/javax/swing/text/html/parser/htmlValidator.java:
3975         (validateParameters(TagElement,htmlAttributeSet)):
3976         Replaced 'enum' with 'enumeration'.
3977         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
3978         Likewise.
3979
3980 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3981
3982         * javax/swing/text/html/parser/Entity.java (getType): New method.
3983         * javax/swing/text/html/parser/DocumentParser.java:
3984         Inherit from javax.swing.text.html.parser.Parser.
3985
3986 2005-04-19  Chris Burdess  <dog@gnu.org>
3987
3988         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
3989         check for HTML/XHTML namespace.
3990
3991 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
3992
3993         * javax/swing/text/html/parser/Parser.java,
3994         javax/swing/text/html/parser/Entity.java:
3995         Inheriting from DTDConstants.
3996         * javax/swing/text/html/parser/AttributeList.java
3997         (getValues): Changed return type.
3998         * javax/swing/text/html/parser/DocumentParser
3999         (parse): Adding the callback parameter that receives
4000         the parsing events.
4001
4002 2005-04-19  Chris Burdess  <dog@gnu.org>
4003
4004         * gnu/xml/dom/DomImpl.java,
4005         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
4006         gnu/xml/dom/html2/DomHTMLDocument.java,
4007         gnu/xml/dom/html2/DomHTMLElement.java,
4008         gnu/xml/dom/html2/DomHTMLFormElement.java,
4009         gnu/xml/dom/html2/DomHTMLFrameElement.java,
4010         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
4011         gnu/xml/dom/html2/DomHTMLImpl.java,
4012         gnu/xml/dom/html2/DomHTMLInputElement.java,
4013         gnu/xml/dom/html2/DomHTMLObjectElement.java,
4014         gnu/xml/dom/html2/DomHTMLOptionElement.java,
4015         gnu/xml/dom/html2/DomHTMLSelectElement.java,
4016         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
4017         gnu/xml/dom/html2/DomHTMLTableElement.java,
4018         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
4019         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
4020         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
4021         UI events, and tree utility functions.
4022
4023 2005-04-19  Michael Koch  <konqueror@gmx.de>
4024
4025         * gnu/javax/swing/text/html/parser/HTML_401F.java,
4026         gnu/javax/swing/text/html/parser/gnuDTD.java,
4027         gnu/javax/swing/text/html/parser/models/node.java:
4028         Reworked import statements.
4029
4030 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
4031
4032         * javax/swing/text/html/HTMLDocument.java: New file.
4033
4034 2005-04-19  Michael Koch  <konqueror@gmx.de>
4035
4036         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
4037         Reformatted.
4038         * javax/swing/text/html/parser/AttributeList.java:
4039         Fixed order of modifiers.
4040         (AttributeList): Made final.
4041         * javax/swing/text/html/parser/ContentModel.java:
4042         Fixed html characters in javadocs.
4043         * javax/swing/text/html/parser/DTD.java
4044         (DTD): Don't implement java.io.Serializable directly.
4045         (getElement): Simplified.
4046         * javax/swing/text/html/parser/DTDConstants.java:
4047         Reformatted file.
4048         * javax/swing/text/html/parser/Element.java:
4049         Fixed order of modifiers.
4050         * javax/swing/text/html/parser/Parser.java:
4051         Reformatted. Don't use fully-qualified class names.
4052         * javax/swing/text/html/parser/ParserDelegator.java:
4053         Fixed order of modifiers.
4054         * javax/swing/text/rtf/RTFParser.java:
4055         Re-ordered import statements.
4056         * javax/swing/text/rtf/RTFScanner.java:
4057         Removed unused import statement.
4058
4059 2005-04-19  Chris Burdess  <dog@gnu.org>
4060
4061         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
4062         gnu/xml/dom/html2/DomHTMLCollection.java,
4063         gnu/xml/dom/html2/DomHTMLDocument.java,
4064         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
4065         types.
4066         * gnu/xml/dom/html2/DomHTMLDListElement.java,
4067         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
4068         gnu/xml/dom/html2/DomHTMLDivElement.java,
4069         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
4070         gnu/xml/dom/html2/DomHTMLFontElement.java,
4071         gnu/xml/dom/html2/DomHTMLFormElement.java,
4072         gnu/xml/dom/html2/DomHTMLFrameElement.java,
4073         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
4074         gnu/xml/dom/html2/DomHTMLHRElement.java,
4075         gnu/xml/dom/html2/DomHTMLHeadElement.java,
4076         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
4077         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
4078         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
4079         gnu/xml/dom/html2/DomHTMLImageElement.java,
4080         gnu/xml/dom/html2/DomHTMLInputElement.java,
4081         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
4082         gnu/xml/dom/html2/DomHTMLLIElement.java,
4083         gnu/xml/dom/html2/DomHTMLLabelElement.java,
4084         gnu/xml/dom/html2/DomHTMLLegendElement.java,
4085         gnu/xml/dom/html2/DomHTMLLinkElement.java,
4086         gnu/xml/dom/html2/DomHTMLMapElement.java,
4087         gnu/xml/dom/html2/DomHTMLMenuElement.java,
4088         gnu/xml/dom/html2/DomHTMLMetaElement.java,
4089         gnu/xml/dom/html2/DomHTMLModElement.java,
4090         gnu/xml/dom/html2/DomHTMLOListElement.java,
4091         gnu/xml/dom/html2/DomHTMLObjectElement.java,
4092         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
4093         gnu/xml/dom/html2/DomHTMLOptionElement.java,
4094         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
4095         gnu/xml/dom/html2/DomHTMLParamElement.java,
4096         gnu/xml/dom/html2/DomHTMLPreElement.java,
4097         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
4098         gnu/xml/dom/html2/DomHTMLScriptElement.java,
4099         gnu/xml/dom/html2/DomHTMLSelectElement.java,
4100         gnu/xml/dom/html2/DomHTMLStyleElement.java,
4101         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
4102         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
4103         gnu/xml/dom/html2/DomHTMLTableColElement.java,
4104         gnu/xml/dom/html2/DomHTMLTableElement.java,
4105         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
4106         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
4107         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
4108         gnu/xml/dom/html2/DomHTMLTitleElement.java,
4109         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
4110
4111 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4112
4113         * javax/swing/text/ChangedCharSetException.java,
4114         javax/swing/text/html/HTMLEditorKit.java,
4115         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
4116         javax/swing/text/html/parser/AttributeList.java,
4117         javax/swing/text/html/parser/ContentModel.java,
4118         javax/swing/text/html/parser/DocumentParser.java,
4119         javax/swing/text/html/parser/DTD.java,
4120         javax/swing/text/html/parser/DTDConstants.java,