OSDN Git Service

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