OSDN Git Service

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