OSDN Git Service

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