OSDN Git Service

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