OSDN Git Service

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