OSDN Git Service

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