OSDN Git Service

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