2006-07-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
[official-gcc.git] / libjava / ChangeLog
blob62f55a4a075820e706cd90a8c261d7a51da4fb3e
1 2006-07-12  Andrew Haley  <aph@redhat.com>
3         * Makefile.am (java/lang/Object.lo): Add -fsource-filename.
4         (java/lang/Class.lo): Likewise.
5         * Makefile.in: Regenerate.
7 2006-07-07  Tom Tromey  <tromey@redhat.com>
9         * defineclass.cc (input_data, input_offset): New fields.
10         (reflection_data, data_stream): Likewise.
11         (get_reflection_stream): New method.
12         (_Jv_ClassReader): Initialize new fields.
13         (parse): Call finish_reflection_data.
14         (finish_reflection_data): New method.
15         (handleEnclosingMethod): Likewise.
16         (handleGenericSignature): Likewise.
17         (handleAnnotationElement): Likewise.
18         (handleAnnotation): Likewise.
19         (handleAnnotations): Likewise.
20         (handleMemberAnnotations): Likewise.
21         (handleAnnotationDefault): Likewise.
22         (handleParameterAnnotations): Likewise.
23         (read_one_field_attribute): Handle new attributes.
24         (read_one_method_attribute): Likewise.
25         (read_one_class_attribute): Likewise.
26         * include/jvm.h (resolve_method_entry): New method.
27         * java/lang/Class.h (jv_attr_type, jv_attr_kind): New enums.
28         (Class): Updated for new methods.  Field, Method, Constructor now
29         friends.
30         (reflection_data): New field.
31         * java/lang/Class.java (asSubclass, cast): New methods.
32         (getEnclosingClass, getEnclosingConstructor): Now native.
33         (getEnclosingMethod): Likewise.
34         (getClassSignature): New method.
35         (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
36         Likewise.
37         (Class): Implements AnnotatedElement.
38         (getAnnotation, isAnnotationPresent, getAnnotations): New methods.
39         (getDeclaredAnnotations): New method.
40         (getDeclaredAnnotationsInternal): Likewise.
41         * java/lang/reflect/natConstructor.cc (anno_a_t, anno_aa_t): New
42         typedefs.
43         (getSignature): New method.
44         (getDeclaredAnnotationsInternal): Likewise.
45         (getParameterAnnotationsInternal): Likewise.
46         * java/lang/reflect/natField.cc (anno_a_t): New typedef.
47         (getSignature): New method.
48         (getDeclaredAnnotationsInternal): Likewise.
49         * java/lang/reflect/natMethod.cc (anno_a_t, anno_aa_t): New
50         typedefs.
51         (getSignature): New method.
52         (getDefaultValue): Likewise.
53         (getDeclaredAnnotationsInternal): Likewise.
54         (getParameterAnnotationsInternal): Likewise.
55         * java/lang/reflect/Constructor.java (addTypeParameters):
56         Genericized.
57         (getSignature): Now native.
58         (getDeclaredAnnotations, getDeclaredAnnotationsInternal,
59         getParameterAnnotations, getParameterAnnotationsInternal): New
60         methods.
61         * java/lang/reflect/Field.java (getDeclaringClass, getType):
62         Genericized.
63         (getSignature): Now native.
64         (getDeclaredAnnotations, getDeclaredAnnotationsInternal): New
65         methods.
66         * java/lang/reflect/Method.java (getReturnType): Genericized.
67         (getParameterTypes, getExceptionTypes, getTypeParameters):
68         Likewise.
69         (getSignature): Now native.
70         (getDefaultValue, getDeclaredAnnotations,
71         getParameterAnnotations, getDeclaredAnnotationsInternal,
72         getParameterAnnotationsInternal): New methods.
73         * java/lang/natClass.cc (read_u1): New functions.
74         (read_u2): Likewise.
75         (read_4): New function.
76         (getReflectionSignature): New methods.
77         (getClassSignature): New method.
78         (getEnclosingMethodData): Likewise.
79         (getEnclosingClass): Likewise.
80         (getEnclosingMethod): Likewise.
81         (getEnclosingConstructor): Likewise.
82         (check_constant): New function.
83         (parseAnnotationElement): Likewise.
84         (parseAnnotation): Likewise.
85         (parseAnnotations): Likewise.
86         (parseParameterAnnotations): Likewise.
87         (getMethodDefaultValue): New method.
88         (getDeclaredAnnotations): New methods.
89         (getDeclaredAnnotationsInternal): New method.
90         * boehm.cc (_Jv_MarkObj): Mark 'reflection_data' field.
91         * link.cc (resolve_method_entry): New method.
92         (resolve_pool_entry): Use it.
94 2006-07-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
96         * sources.am, Makefile.in: Rebuilt.
97         * gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
98         * gnu/java/lang/management/natVMRuntimeMXBeanImpl.cc:
99         New files.
100         * include/jvm.h:
101         Add new variables used in prims.cc.
102         * Makefile.am:
103         Add natVMRuntimeMXBeanImpl.cc.
104         * prims.cc:
105         (_Jv_CreateJavaVM): Retain start time and input
106         arguments.
108 2006-07-07  Andrew Haley  <aph@redhat.com>
110         * Makefile.am: Use -fsource-filename when compiling libgcj.
111         * Makefile.in: Regenerate.
113 2006-06-23  Tom Tromey  <tromey@redhat.com>
115         Merged in classpath-generics.
116         * sources.am, Makefile.in: Rebuilt.
117         * Makefile.am (generic_header_files): Don't filter out omitted
118         headers.
119         (generic_header_files): Rewrote.
120         (MYGCJH): New variable.
121         Removed all .h rules.
122         * headers.txt: New file.
123         * java/io/PrintStream.java (PrintStream): Implement Appendable.
124         * java/lang/Class.java: Genericized.
125         (getEnumConstants): New method.
126         (isEnum): Likewise.
127         (isSynthetic): Likewise.
128         (isAnnotation): Likewise.
129         * java/lang/reflect/Constructor.java (getDeclaringClass,
130         getTypeParameters, declaringClass): Genericized.
131         * java/lang/reflect/Method.java (invoke): Now varargs.
132         * java/lang/ref/Reference.java (Reference): Imported genericized
133         version from Classpath.
134         (get): Now native.
135         * java/lang/ref/natReference.cc (get): New method.
136         * java/lang/ProcessBuilder.java: New file.
137         * java/lang/System.java (environmentMap): New field.
138         (clearProperty): New method.
139         (getenv): Likewise.
140         (EnvironmentCollection): New class.
141         (EnvironmentMap): Likewise.
142         (EnvironmentSet): Likewise.
143         * java/lang/StringBuilder.java (StringBuilder): Implements
144         Appendable.
145         * gnu/classpath/SystemProperties.java (remove): New method.
147 2006-06-23  Tom Tromey  <tromey@redhat.com>
149         * testsuite/libjava.loader/TestLeak.java: Don't use wildcard
150         import for java.lang.reflect.
152 2006-06-21  Tom Tromey  <tromey@redhat.com>
154         * gnu/classpath/natSystemProperties.cc (insertSystemProperties):
155         Set java.class.version to 49.
157 2006-06-21  Tom Tromey  <tromey@redhat.com>
159         * link.cc (resolve_pool_entry): Initialize field's declaring
160         class, not its qualifying class.
162 2006-06-21  Tom Tromey  <tromey@redhat.com>
164         * testsuite/libjava.jacks/jacks.xfail: Updated for ecj.
166 2006-06-20  Tom Tromey  <tromey@redhat.com>
168         * testsuite/libjava.compile/Where.xfail: Now 'no-link'.
170 2006-06-19  Tom Tromey  <tromey@redhat.com>
172         * gnu/java/lang/natMainThread.cc (call_main): Link main class.
174 2006-06-19  Tom Tromey  <tromey@redhat.com>
176         * testsuite/lib/libjava.exp (test_libjava): Don't compile via
177         bytecode.  Run BC compilations from source.
179 2006-06-19  Tom Tromey  <tromey@redhat.com>
181         * testsuite/libjava.lang/TestProxy.java: Don't use wildcard
182         imports for java.lang.reflect.
184 2006-06-13  Tom Tromey  <tromey@redhat.com>
186         * testsuite/libjava.lang/stringconst.xfail: Removed.
187         * testsuite/libjava.lang/ArrayStore2.xfail: Removed.
189 2006-06-08  Tom Tromey  <tromey@redhat.com>
191         * sources.am, Makefile.in: Rebuilt.
192         * Makefile.am (libgcj_la_LIBADD): Add Object.lo and Class.lo.
193         (java/lang/Object.lo): New target.
194         (java/lang/Class.lo): Likewise.
195         * scripts/makemake.tcl (emit_package_rule): Add special case for
196         Object and Class.
198 2006-06-06  Tom Tromey  <tromey@redhat.com>
200         * Makefile.in: Rebuilt.
201         * Makefile.am (gcj_dbtool_DEPENDENCIES): Add gcj_dbtool.lo.
203 2006-06-06  Tom Tromey  <tromey@redhat.com>
205         * Makefile.in: Rebuilt.
206         * Makefile.am (nat_headers): Don't list Main.h.
207         (generic_header_files): Likewise.
209 2006-06-05  Tom Tromey  <tromey@redhat.com>
211         * testsuite/libjava.loader/TestLeak.java (MyLoader): Now static.
212         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Use -w.
213         * testsuite/lib/libjava.exp (libjava_arguments): Add -w.
214         * testsuite/libjava.compile/G19990210_2.java: Removed.
215         * testsuite/libjava.compile/PR208.java: Removed.
216         * testsuite/libjava.compile/PR208.xfail: Removed.
217         * testsuite/libjava.compile/support/Case.java: Removed.
218         * testsuite/libjava.compile/Case.java: Removed.
220 2006-06-04  Tom Tromey  <tromey@redhat.com>
222         * sources.am, Makefile.in: Rebuilt.
223         * Makefile.am (gcj_dbtool_LDADD): Add
224         gnu-gcj-tools-gcj_dbtool.lo.
225         (gcj_dbtool_SOURCES): Updated.
226         (EXTRA_libgcj_la_SOURCES): New macro.
227         * scripts/makemake.tcl (emit_package_rule): Compile class files
228         from the package.
229         (gcj_dbtool/Main.java, Class.java, Object.java): Removed
230         package_map settings.
231         (emit_package_rule): Special case gnu.gcj.tools.gcj_dbtool.
233 2006-06-04  Tom Tromey  <tromey@redhat.com>
235         * java/lang/Class.java (getClassLoaderInternal): Now native.
237 2006-06-03  Paolo Bonzini  <bonzini@gnu.org>
239         * scripts/jar.in: Ensure return with argument has non-empty argument.
241 2006-06-01  Paolo Bonzini  <bonzini@gnu.org>
243         * configure.ac (ZIP, UNZIP): New programs.
244         (JAR): Fall back to bash script.  Generate it.
245         (BASH_JAR): New conditional.
246         * Makefile.am (bin_SCRIPTS): New.
247         * scripts/jar.in: New file.
249 2006-06-01  Bryce McKinlay  <mckinlay@redhat.com>
251         * gnu/java/lang/MainThread (run): Revert exception chaining change.
253 2006-05-31  Bryce McKinlay  <mckinlay@redhat.com>
255         * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
256         name, not Latin1.
257         * gnu/java/lang/MainThread.java (run): Allow file separator char to
258         be used in place of '.' as class-name separator. Don't chain
259         ClassNotFoundException.
261 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
263         * java/lang/VMClassLoader.java (initialize): Set default library
264         control to LIB_NEVER.
266 2006-05-31  Alan Modra  <amodra@bigpond.net.au>
268         * stacktrace.cc (_Jv_StackTrace::UpdateNCodeMap): Don't add
269         interpreted classes.
271 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
273         * scripts/makemake.tcl (emit_bc_rule): Do not skip
274         gnu-java-awt-peer-gtk.lo.
275         Include gnu/java/awt/peer/gtk Java objects in libgcj.so.  Use C++
276         ABI for gnu/java/awt/peer/gtk package.
277         * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir):
278         New function.
279         (insertSystemProperties): Only set java.ext.dirs if it is not
280         already defined.  Prepend GCJ_VERSIONED_LIBDIR to module search
281         path where necessary.
282         * configure.ac (GTK_AWT): Remove automake conditional.
283         Do not add gnu/java/awt/peer/gtk to standard.omit.
284         * include/jvm.h (_Jv_PrependVersionedLibdir): New function
285         declaration.
286         * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR
287         and re-exec self.
288         * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR and
289         PATH_SEPARATOR macros.
290         Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic.
291         * prims.cc (_Jv_PrependVersionedLibdir): New function.
293 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
295         * java/lang/natThread.cc (countStackFrames): Do not throw
296         UnsupportedOperationException.
297         (resume): Likewise.
298         (stop): Likewise.
299         (suspend): Likewise.
301 2006-05-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
303         * configure.ac: Add sys/rw_lock.h to AC_CHECK_HEADERS.
304         * configure: Rebuilt.
305         * include/config.h.in: Likewise.
306         * include/posix.h: If HAVE_SYS_RW_LOCK_H is defined, include
307         <sys/rw_lock.h>.
309 2006-05-24  Tom Tromey  <tromey@redhat.com>
311         PR libgcj/27024:
312         * sources.am, Makefile.in: Rebuilt.
313         * gnu/java/net/DefaultContentHandlerFactory.java: Removed.
314         * java/net/URLConnection.java: Removed.
316 2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
318         * Makefile.am: Add install-html target. Add install-html to .PHONY
319         * Makefile.in: Regenerate.
320         * aclocal.m4: Regenerate.
321         * gcj/Makefile.in: Regenerate.
322         * include/Makefile.in: Regenerate.
323         * testsuite/Makefile.in: Regenerate.
325 2006-05-24  Andreas Tobler  <a.tobler@schweiz.ch>
327         * testsuite/libjava.lang/stacktrace.java: New file.
328         * testsuite/libjava.lang/stacktrace.out: Likewise.
330 2006-05-24  Tom Tromey  <tromey@redhat.com>
332         * sources.am, Makefile.in: Rebuilt.
333         * scripts/makemake.tcl: Accept -verbose command-line option.
334         (is_verbose): New global.
335         (verbose): Use it.
336         (classify_source_file): Don't special case '.' for 'package'
337         type.
339 2006-05-24  Tom Tromey  <tromey@redhat.com>
341         PR libgcj/27729:
342         * java/lang/reflect/natField.cc (getAddr): Added parens.
343         * java/lang/reflect/natConstructor.cc (getModifiersInternal):
344         Renamed.  Don't mask flags.
345         * java/lang/reflect/Constructor.java (CONSTRUCTOR_MODIFIERS): New
346         constant.
347         (getModifiersInternal): Renamed.
348         (getModifiers): Rewrote.
349         (isSynthetic, isVarArgs): New methods.
350         (hashCode): Rewrote.
351         (addTypeParameters, toGenericString): New methods.
352         (getTypeParameters): Rewrote.
353         (getSignature): New method.
354         (getGenericParameterTypes, getGenericExceptionTypes): Likewise.
355         * java/lang/reflect/natMethod.cc (getModifiersInternal):
356         Renamed.  Don't mask flags.
357         * java/lang/reflect/natField.cc (getModifiersInternal): Renamed.
358         Don't mask flags.
359         * java/lang/reflect/Modifier.java (BRIDGE, VARARGS, SYNTHETIC,
360         ENUM): New constants.
361         (INVISIBLE): Changed value.
362         * java/lang/reflect/Method.java: Mostly merged with Classpath.
363         (getModifiersInternal): Renamed.
364         (getModifiers): Rewrote.
365         (isBridge, isSynthetic, isVarArgs): New methods.
366         (toGenericString): Likewise.
367         (getTypeParameters): Likewise.
368         (getSignature): Likewise.
369         (getGenericExceptionTypes, getGenericParameterTypes,
370         getGenericReturnType): Likewise.
371         (METHOD_MODIFIERS): New constant.
372         * java/lang/reflect/Field.java: Mostly merged with Classpath.
373         Added javadoc everywhere.
374         (getModifiersInternal): Renamed.
375         (getModifiers, isSynthetic, isEnumConstant): Rewrote.
376         (toGenericString): New method.
377         (getGenericType, getSignature): Likewise.
378         (FIELD_MODIFIERS): New constant.
380 2006-05-24  Tom Tromey  <tromey@redhat.com>
382         PR libgcj/27731:
383         * java/lang/natMath.cc (cbrt, cosh, expm1, hypot, log1p, sinh,
384         tanh): New methods.
385         * java/lang/Math.java (cbrt, cosh, expm1, hypot, log1p, sinh,
386         tanh): Declare.
388 2006-05-22  Mark Wielaard  <mark@klomp.org>
390         * HACKING: Update GNU Classpath import instructions.
392 2006-05-21  Andreas Tobler  <a.tobler@schweiz.ch>
394         * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
395         signature as MAYBE_UNUSED for HAVE_TLS == 0.
396         (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
397         HAVE_TLS == 0.
399 2006-05-20  Andreas Tobler  <a.tobler@schweiz.ch>
400             John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
402         * configure.ac: Add the POSIX thread libs to the HP-UX PA
403         configuration. Add signal specification for HP-UX PA.
404         * configure: Rebuilt.
405         * configure.host: Add defaults for the HP-UX PA architecture.
406         Add descriptor files for HP-UX PA 32-bit and 64-bit.
407         * include/hppa-signal.h: New file.
408         * include/posix.h: Add shared library suffix for HP-UX.
409         * sysdep/pa/descriptor-pa32-hpux.h: New file.
410         * sysdep/pa/descriptor-pa64-hpux.h: Likewise.
412 2006-05-19  Ranjit Mathew  <rmathew@gcc.gnu.org>
414         * ChangeLog: Correct incorrect GNU Classpath version in the
415         entry for the latest import.
417 2006-05-18  Tom Tromey  <tromey@redhat.com>
419         * source.am, Makefile.in: Rebuilt.
420         * Makefile.am (property_files): Removed.
421         * scripts/makemake.tcl (properties_map): New global.
422         (properties_files): Likewise.
423         (emit_property_files): New proc.
424         (scan_packages): Scan META-INF.
425         Print property_files variable.  Scan classpath/resource.
427 2006-05-18  Tom Tromey  <tromey@redhat.com>
429         * testsuite/libjava.special/special.exp (gcj_special_pr21115):
430         Renamed.
431         (gcj_write_and_byte_compile): New proc.
432         (gcj_special_lazy_illegal_access): Likewise.
434 2006-05-18  Mark Wielaard  <mark@klomp.org>
436         Imported GNU Classpath 0.91
437         * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
439         * sources.am: Regenerated.
440         * gcj/javaprims.h: Regenerated.
441         * Makefile.in: Regenerated.
442         * gcj/Makefile.in: Regenerated.
443         * include/Makefile.in: Regenerated.
444         * testsuite/Makefile.in: Regenerated.
446         * gnu/java/lang/VMInstrumentationImpl.java: New override.
447         * gnu/java/net/local/LocalSocketImpl.java: Likewise.
448         * gnu/classpath/jdwp/VMMethod.java: Likewise.
449         * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
450         interface.
451         * java/lang/Thread.java: Add UncaughtExceptionHandler.
452         * java/lang/reflect/Method.java: Implements GenericDeclaration and
453         isSynthetic(),
454         * java/lang/reflect/Field.java: Likewise.
455         * java/lang/reflect/Constructor.java
456         * java/lang/Class.java: Implements Type, GenericDeclaration,
457         getSimpleName() and getEnclosing*() methods.
458         * java/lang/Class.h: Add new public methods.
459         * java/lang/Math.java: Add signum(), ulp() and log10().
460         * java/lang/natMath.cc (log10): New function.
461         * java/security/VMSecureRandom.java: New override.
462         * java/util/logging/Logger.java: Updated to latest classpath
463         version.
464         * java/util/logging/LogManager.java: New override.
466 2006-05-15  Bryce McKinlay  <mckinlay@redhat.com>
468         PR libgcj/27352
469         * java/lang/Class.java (getClassLoaderInternal): New method.
470         (forName (String, Class)): Use getClassLoaderInternal.
471         (getPackage): Likewise.
472         (getResource): Likewise.
473         (getResourceAsStream): Likewise.
474         (desiredAssertionStatus): Likewise.
476 2006-05-15  Andreas Tobler  <a.tobler@schweiz.ch>
478         * stacktrace.cc (StackTrace::FillInFrameInfo): Use
479         UNWRAP_FUNCTION_DESCRIPTOR to compare frame->start_ip against the
480         klass->methods[j].ncode.
482 2006-05-13  Tom Tromey  <tromey@redhat.com>
484         * sources.am, Makefile.in: Rebuilt.
485         * Makefile.am (nat_source_files): Mention natVMChannels.cc, not
486         natChannels.cc.
487         * java/nio/channels/natVMChannels.cc: Renamed from
488         natChannels.cc.
489         * java/nio/channels/Channels.java: Removed.
490         * java/nio/channels/natChannels.cc: Removed.
491         * java/nio/channels/VMChannels.java: New file.
493 2006-05-13  Tom Tromey  <tromey@redhat.com>
495         * sources.am, Makefile.in: Rebuilt.
496         * java/text/DateFormat.java: Removed.
498 2006-05-13  Tom Tromey  <tromey@redhat.com>
500         * sources.am, Makefile.in: Rebuilt.
501         * gnu/java/net/protocol/jar/Connection.java: Removed.
502         * java/net/JarURLConnection.java: Removed.
504 2006-05-13  Tom Tromey  <tromey@redhat.com>
506         * include/java-interp.h (_Jv_InterpMethod::dump_object): Removed
507         declaration.
509 2006-05-12  Tom Tromey  <tromey@redhat.com>
511         * sources.am, Makefile.in: Rebuilt.
512         * java/util/logging/LogManager.java: Removed.
513         * java/util/logging/Logger.java (resetLogger): New method, from
514         Classpath.
515         * java/io/RandomAccessFile.java: Removed.
516         * gnu/java/nio/channels/FileChannelImpl.java (create): New
517         method.
518         (FileChannelImpl): Now private.
519         * java/io/FileInputStream.java: Removed.
520         * java/io/FileOutputStream.java: Removed.
521         * java/security/AccessControlContext.java: Removed.
522         * java/lang/ThreadLocal.java: Removed.
523         * java/lang/InheritableThreadLocal.java: Removed.
524         * java/lang/Thread.java (locals): New field.
525         (getThreadLocals): New method.
526         * java/lang/natThread.cc (finish_): Clear 'locals'.
528 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
530         * gnu/gcj/runtime/NameFinder.java (lookup): If exec'ing addr2line
531         fails, don't try again.
532         (use_addr2line): Field no longer final.
534 2006-05-11  Bryce McKinlay  <mckinlay@redhat.com>
536         * gnu/gcj/runtime/NameFinder.java (blacklist): New static field.
537         (lookup): If addr2line fails to find an address, flag the binary as
538         having no debug info and avoid calling addr2line on it again.
540 2006-05-11  David Daney  <ddaney@avtrex.com>
542         * testsuite/libjava.compile/PR20418.java: New.
543         * testsuite/libjava.compile/PR20418.xfail: New.
545 2006-05-11  Andrew Haley  <aph@redhat.com>
547         * gnu/gcj/runtime/natSharedLibLoader.cc (init): Remove debugging
548         line.
550 2006-05-10  Andrew Haley  <aph@redhat.com>
552         * java/lang/natClassLoader.cc: Add comments.
554 2006-05-09  Andrew Haley  <aph@redhat.com>
556         * prims.cc (_Jv_soleIndirectCompiledEngine): New.
557         * include/execution.h (Jv_CompiledEngine::do_allocate_static_fields):
558         Remove body.
559         (_Jv_CompiledEngine::allocate_field_initializers): New.
560         (_Jv_CompiledEngine::_Jv_CompiledEngine): Initialize
561         allocate_field_initializers.
562         (class _Jv_IndirectCompiledClass): New.
563         (struct _Jv_IndirectCompiledEngine): New.
564         * java/lang/Class.h: (IndirectCompiledEngine): New.
565         * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Set
566         engine to _Jv_soleIndirectCompiledEngine
567         * link.cc (ensure_fields_laid_out): Call
568         engine->allocate_field_initializers().
570 2006-05-06  Andreas Tobler  <a.tobler@schweiz.ch>
572         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Add check for
573         HP-UX and add appropriate extension for shared libraries, sl.
574         (gcj_jni_test_one): Likewise.
576         * testsuite/lib/libjava.exp (libjava_find_lib): Add sl to the shared
577         library extensions.
579 2006-05-05  Tom Tromey  <tromey@redhat.com>
581         PR libgcj/27294:
582         * java/lang/natVMClassLoader.cc (defineClass): Throw
583         VirtualMachineError if no interpreter configured.
585 2006-05-03  Andrew Haley  <aph@redhat.com>
587         PR libgcj/27352
588         * java/lang/Class.java (getClassLoader(Class)): New.
589         forName(String, Class): New.
590         * java/lang/natClass.cc (getClassLoader(Class)): New.
592 2006-05-02  Andrew Haley  <aph@redhat.com>
594         * prims.cc (_Jv_NewMultiArray): Check for phantom class.
596 2006-05-04  Tom Tromey  <tromey@redhat.com>
598         PR libgcj/26861:
599         * interpret.cc (run) <insn_getfield>: Removed 0xffff check.
600         <insn_putfield>: Likewise.
601         (NULLCHECK): Define unconditionally.
602         * link.cc (ensure_class_linked): Removed dead code.
604 2006-05-04  Tom Tromey  <tromey@redhat.com>
606         * java/lang/Class.h (JV_STATE_LOADING): Added comment.
607         * Makefile.in: Rebuilt.
608         * Makefile.am (nat_source_files): Added natSystemClassLoader.cc.
609         * gnu/gcj/runtime/natSystemClassLoader.cc: New file.
610         * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses):
611         New field.
612         (loadedClasses): Removed.
613         (findClass): Declare.
614         (addClass): Add to nativeClasses, not loadedClasses.
616 2006-05-04  Andrew Haley  <aph@redhat.com>
618         PR java/26858
619         * testsuite/libjava.lang/PR26858.xfail: Delete.
621 2006-05-02  Bryce McKinlay  <mckinlay@redhat.com>
623         * testsuite/lib/libjava.exp (test_libjava): Test bytecode->native
624         -findirect-dispatch compilation.
626 2006-05-01  Andreas Tobler  <a.tobler@schweiz.ch>
628         * configure.ac: Simplify the mmap check a bit more.
629         * configure: Rebuilt.
630         * include/config.h.in: Likewise.
632 2006-05-01  Roger Sayle  <roger@eyesopen.com>
633             Andrew Haley  <aph@redhat.com>
635         * boehm.cc (_Jv_InitGC): Check both HAVE_DLFCN_H and HAVE_DLADDR
636         before calling GC_register_has_static_roots_callback.
637         (_Jv_RegisterLibForGc): Likewise, test for both HAVE_DLFCN_H and
638         HAVE_DLADDR before calling dladdr.
640 2006-04-28  Bryce McKinlay  <mckinlay@redhat.com>
642         * link.cc (_Jv_Linker::resolve_pool_entry): Don't pass vtable_index
643         to resolve_method.
644         * interpret.cc (insn_invokevirtual): Use method->index, not
645         vtable_index. Check accflag FINAL to determine finals. Only do
646         explicit null check if calling a final method. Use
647         throw_null_pointer_exception.
648         (invokevirtual_resolved): Likewise.
649         (null_pointer_exc): Remove static field.
650         (throw_null_pointer_exception): Always define. Throw a new
651         NullPointerException every time.
652         * include/java-interp.h (_Jv_ResolvedMethod): Remove vtable_index
653         field.
654         * include/execution.h (resolve_method): Remove vtable_index argument.
656 2006-04-28  Andreas Tobler  <a.tobler@schweiz.ch>
658         * configure.ac: Add an additional checks for dladdr and dlopen on dld.
659         * configure: Rebuilt.
661 2006-04-25  Tom Tromey  <tromey@redhat.com>
663         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h later.
664         Include platform.h.  Set GC_DEBUG before including gc.h, if
665         needed.
667 2006-04-25  Andrew Haley  <aph@redhat.com>
669         * java/lang/natClassLoader.cc: Don't include link.h or dladdr.h.
670         * boehm.cc: Don't include link.h.
671         (_Jv_RegisterLibForGc): Cast away const when calling dladdr().
673 2006-04-24  Tom Tromey  <tromey@redhat.com>
675         * java/lang/natClass.cc (_Jv_getInterfaceMethod): Skip <clinit>.
677 2006-04-21  Andrew Haley  <aph@redhat.com>
679         * include/execution.h (struct _Jv_CompiledEngine): Define for
680         compiled classes.
681         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Call
682         _Jv_RegisterLibForGc.
683         (_Jv_RegisterClasses_Counted): Likewise.
684         (_Jv_NewClassFromInitializer): New.
685         (_Jv_RegisterNewClasses): New.
686         * sources.am: Regenerate.
687         * boehm.cc (_Jv_GC_has_static_roots): new.
688         (_Jv_InitGC): Call GC_register_has_static_roots_callback.
689         (filename_node, find_file, _Jv_print_gc_store, new_node,
690         _Jv_GC_has_static_roots, _Jv_RegisterLibForGc): New.
691         * scripts/makemake.tcl: Add -fno-indirect-classes.
692         * Makefile.in: Regenerate.
693         * link.cc (resolve_pool_entry): Allocate constant pool.
694         Allocate fields.
695         
696 2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>
698         * configure.ac: Weaken the check for MMAP.
699         * configure: Rebuilt.
700         * include/config.h.in: Likewise.
702 2006-04-20  Bryce McKinlay  <mckinlay@redhat.com>
704         PR libgcj/27170
705         * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
706         dlopen(). From Anthony Green.
708 2006-04-20  Tom Tromey  <tromey@redhat.com>
710         PR libgcj/21941:
711         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
712         UnknownHostException if needed.
713         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
714         UnknownHostException if needed.
716 2006-04-19  Tom Tromey  <tromey@redhat.com>
718         * Makefile.in: Rebuilt.
719         * Makefile.am (CLEANFILES): Removed all_java_filelist_files,
720         all_java_deps_files.
722 2006-04-19  Tom Tromey  <tromey@redhat.com>
724         * gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
725         handle EINTR.
727 2006-04-17  Tom Tromey  <tromey@redhat.com>
729         PR libgcj/27171:
730         * testsuite/libjava.lang/pr27171.java: New file.
731         * testsuite/libjava.lang/pr27171.out: New file.
732         * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return
733         true if we've seen a high surrogate.
734         (write): Handle high surrogates at the end of the stream.
735         Properly emit isolated low surrogates.
737 2006-04-17  Andreas Tobler  <a.tobler@schweiz.ch>
739         * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case
740         of failure.
742 2006-04-13  Tom Tromey  <tromey@redhat.com>
744         PR libgcj/26522:
745         * Makefile.in: Rebuilt.
746         * Makefile.am (libsubdir): New variable.
748 2006-04-12  NAKATA Maho  <maho@FreeBSD.org> 
750         PR libgcj/23829
751         * configure.ac: Link against -lpthread rather than -lc_r on
752         FreeBSD 5 and above.
753         * configure: Regenerate.
755 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
757         * gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
758         of package-private field "loadedClasses" using reflection.
759         * java/lang/VMCompiler.java (compileClass): Remove unreachable catch
760         block.
762 2006-04-10  Matthias Klose  <doko@debian.org>
764         * testsuite/lib/libjava.exp (libjava_init): Recognize multilib
765         directory names containing underscores.
767 2006-04-10  Andrew Haley  <aph@redhat.com>
769         * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): New.
770         (SIGNAL_HANDLER): Mark arg as unused.
771         * configure.host (x86_64-* DIVIDESPEC): Use
772         fno-use-divide-subroutine.
774 2006-04-07  Andrew Haley  <aph@redhat.com>
776         * java/net/InetAddress.java: Throw an UnknownHostException if
777         lookup fails.
779 2006-04-05  Tom Tromey  <tromey@redhat.com>
781         PR libgcj/26625:
782         * Makefile.in: Rebuilt.
783         * Makefile.am (libgcj-$(gcc_version).jar): Depend on
784         classpath/lib/compile-classes.
786 2006-04-05  Ranjit Mathew  <rmathew@gcc.gnu.org>
788         * configure.host: Add -fno-omit-frame-pointer to libgcj_flags for
789         MinGW since EBP is used for backtracking through call frames on this
790         platform.
792 2006-04-05  Archit Shah  <ashah@redhat.com>
794         PR java/25414
795         * gnu/java/rmi/rmic/CompilerProcess.java (computeTypicalArguments):
796         Add classpath argument.
797         * gnu/java/rmi/rmic/Compile_gcj.java (computeArguments): Adjust
798         caller.
799         * gnu/java/rmi/rmic/Compile_jikes.java (computeArguments): Likewise.
800         * gnu/java/rmi/rmic/Compile_kjc.java (computeArguments): Likewise.
801         * gnu/java/rmi/rmic/Compiler.java (getClasspath, setClasspath): New.
802         * gnu/java/rmi/rmic/RMIC.java: Set classpath for compiler, call
803         mkdirs for destination directory, correct handling of superclasses
804         and interfaces of the remote class, correct handling of exceptions
805         declared by remote methods.
807 2006-04-04  Tom Tromey  <tromey@redhat.com>
809         PR libgcj/26990:
810         * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
811         * gnu/java/lang/natMainThread.cc (call_main): Use
812         exitNoChecksAccessor.
813         * testsuite/libjava.lang/pr26990.out: New file.
814         * testsuite/libjava.lang/pr26990.java: New file.
815         * java/lang/Runtime.java (exitNoChecks): New method.
816         (exitNoChecksAccessor): Likewise.
817         (exit): Call exitNoChecks.
819 2006-04-03  Tom Tromey  <tromey@redhat.com>
821         * Makefile.in: Rebuilt.
822         * Makefile.am (ZIP): Removed.
823         (libgcj-$(gcc_version).jar): Use $(JAR).
824         (src.zip): Likewise.
825         * configure: Rebuilt.
826         * configure.ac: Check for jar.  Removed code to set ZIP.
828 2006-04-03  Andrew Haley  <aph@redhat.com>
830         * testsuite/libjava.lang/Float_2.java: New file.
832 2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>
834         * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
836 2006-03-30  Tom Tromey  <tromey@redhat.com>
838         PR java/26042:
839         * testsuite/libjava.compile/pr26042.java: New file.
841 2006-03-29  Tom Tromey  <tromey@redhat.com>
843         * sources.am, Makefile.in: Rebuilt.
844         * scripts/makemake.tcl: Scan classpath/external/relaxngDatatype.
846 2006-03-29  Tom Tromey  <tromey@redhat.com>
848         PR java/26390:
849         * testsuite/libjava.lang/pr26390.out: New file.
850         * testsuite/libjava.lang/pr26390.java: New file.
851         * sources.am, Makefile.in: Rebuilt.
852         * scripts/makemake.tcl: Compile gnu/java/awt/peer/swing.
854 2006-03-29  Tom Tromey  <tromey@redhat.com>
856         * posix.cc (_Jv_platform_nanotime): Look for CLOCK_MONOTONIC and
857         CLOCK_HIGHRES.
859 2006-03-28  Anthony Balkissoon  <abalkiss@redhat.com>
861         * scripts/unicode-muncher.pl: Removed this file.
862         * scripts/MakeCharTables.java: Likewise.
863         * scripts/unicode-to-chartables.pl: New file.
864         * java/lang/natCharacter.cc: 
865         (UNASSIGNED_TYPE): New field.
866         (UNASSIGNED_DIGIT): Likewise.
867         (UNASSIGNED_DIRECTION): Likewise.
868         (UNASSIGNED_NUMERIC_VALUE): Likewise.
869         (PRIVATE_TYPE): Likewise.
870         (PRIVATE_DIRECTION): Likewise.
871         (readCodePoint): New method.
872         (getType(jint)): Likewise.
873         (toLowerCase(jint)): Likewise.
874         (toUpperCase(jint)): Likewise.
875         (toTitleCase(jint)): Likewise.
876         (digit(jint, jint)): Likewise.
877         (getNumericValue(jint)): Likewise.
878         (getDirectionality(jint)): Likewise.
879         (readChar),
880         (getType(jchar)),
881         (toLowerCase(jchar)),
882         (toUpperCase(jchar)),
883         (toTitleCase(jchar)),
884         (digit(jchar, jint)),
885         (getNumericValue(jchar)),
886         (getDirectionality(jchar)): Changed references from data to data[0], 
887         blocks to blocks[0], direction to direction[0], numValue to 
888         numValue[0], upper to upper[0], lower to lower[0], and shift to 
889         shift[0] to reflect the new structures in java-chartables.h.    
890         * java/lang/Character.java:
891         (readCodePoint): Declared new native method.
892         (getType(int)): Likewise.
893         (toLowerCase(int)): Likewise.
894         (toUpperCase(int)): Likewise.
895         (toTitleCase(int)): Likewise.
896         (digit(int, int)): Likewise.
897         (getNumericValue(int)): Likewise.
898         (getDirectionality(int)): Likewise.
899         (isLowerCase(int)): New method.
900         (isUpperCase(int)): Likewise.
901         (itTitleCase(int)): Likewise.
902         (isDigit(int)): Likewise.
903         (isDefined(int)): Likewise.
904         (isLetter(int)): Likewise.
905         (isLetterOrDigit(int)): Likewise.
906         (isJavaIdentifierStart(int)): Likewise.
907         (isJavaIdentifierPart(int)): Likewise.
908         (isUnicodeIdentifierStart(int)): Likewise.
909         (isUnicodeIdentifierPart(int)): Likewise.
910         (isIdentifierIgnorable(int)): Likewise.
911         (isSpaceChar(int)): Likewise.
912         (isWhitespace(int)): Likewise.
913         (isISOControl(int)): Likewise.
914         (isMirrored(int)): Likewise.
915         * include/java-chartables.h: Generated from 
916         scripts/unicode-to-chartables.h.
918 2006-03-24  David Daney  <ddaney@avtrex.com)
920         * testsuite/libjava.lang/PR26858.java: New test.
921         * testsuite/libjava.lang/PR26858.out: Ditto.
922         * testsuite/libjava.lang/PR26858.xfail: Ditto.
924 2006-03-16  Kaz Kojima  <kkojima@gcc.gnu.org>
926         * include/sh-signal.h (MAKE_THROW_FRAME): Change into empty
927         macro.
928         
929 2006-03-15  Tom Tromey  <tromey@redhat.com>
931         * testsuite/libjava.jacks/jacks.xfail: Removed
932         13.1-runtime-method-5.
934 2006-03-15  Tom Tromey  <tromey@redhat.com>
936         PR java/26638:
937         * link.cc (get_interfaces): Skip <clinit>.
938         (append_partial_itable): Likewise.
940 2006-03-10  Tom Tromey  <tromey@redhat.com>
942         PR libgcj/25713:
943         * java/util/zip/Deflater.java (flush): New method.
944         * sources.am, Makefile.in: Rebuilt.
945         * java/util/zip/DeflaterOutputStream.java: Removed.
946         * java/util/zip/InflaterInputStream.java: Likewise.
947         * java/util/zip/GZIPInputStream.java: Likewise.
948         * java/util/zip/GZIPOutputStream.java: Likewise.
950 2006-03-10  Andreas Tobler  <a.tobler@schweiz.ch>
952         * include/powerpc-signal.h: Fix typo in comment.
954 2006-03-09  Mark Wielaard  <mark@klomp.org>
956         Imported GNU Classpath 0.90
957         * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
958         * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
959         * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
960         * java/lang/Math.java: New override file.
961         * java/lang/Character.java: Merged from Classpath.
962         (start, end): Now 'int's.
963         (canonicalName): New field.
964         (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
965         (UnicodeBlock): Added argument.
966         (of): New overload.
967         (forName): New method.
968         Updated unicode blocks.
969         (sets): Updated.
970         * sources.am: Regenerated.
971         * Makefile.in: Likewise.
973 2006-03-09  Tom Tromey  <tromey@redhat.com>
975         PR libgcj/23495:
976         * java/lang/natString.cc (_Jv_NewString): Use memcpy.
977         (equals): Use memcmp.
978         (contentEquals): Likewise.
979         (getChars): Use memcpy.
980         (toCharArray): Likewise.
981         (regionMatches): Use memcmp.
982         (regionMatches): Likewise.
983         (startsWith): Likewise.
984         (concat): Use memcpy.
985         (valueOf): Likewise.
987 2006-03-09  Tom Tromey  <tromey@redhat.com>
989         * configure: Rebuilt.
990         * configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
991         well.
993 2006-03-09  Tom Tromey  <tromey@redhat.com>
995         PR libgcj/24461:
996         * java/util/zip/InflaterInputStream.java (fill): Throw exception
997         if stream is truncated.
999 2006-03-09  Tom Tromey  <tromey@redhat.com>
1001         * win32.cc (_Jv_platform_nanotime): New function.
1002         * include/win32.h (_Jv_platform_nanotime): Declare.
1003         * posix.cc (_Jv_platform_nanotime): New function.
1004         * include/posix.h (_Jv_platform_nanotime): Declare.
1005         * java/lang/natSystem.cc (nanoTime): New method.
1006         * java/lang/System.java (nanoTime): Declare.
1007         * include/config.h.in, configure: Rebuilt.
1008         * configure.ac: Check for clock_gettime.
1010 2006-03-08  David Daney  <ddaney@avtrex.com>
1012         * configure.ac (LD): Add AC_CHECK_TOOL for ld.
1013         (LD_START_STATIC_SPEC): New AC_SUBST, set with ld check.
1014         (LD_FINISH_STATIC_SPEC): Ditto
1015         * configure: Regenerated.
1016         * libgcj.spec.in: Wrap -lgcj in LD_START_STATIC_SPEC and
1017         LD_FINISH_STATIC_SPEC.
1018         
1019 2006-03-07  Tom Tromey  <tromey@redhat.com>
1021         PR libgcj/26103:
1022         * java/lang/ClassLoader.java (loadClass): Don't throw
1023         StringIndexOutOfBoundsException if name is empty.
1024         * java/lang/natClassLoader.cc (loadClassFromSig): Throw exception
1025         if class not found.
1027 2006-03-07  David Daney  <ddaney@avtrex.com>
1029         * include/java-interp.h: Removed extern "C" around #include <ffi.h>.
1031 2006-03-07  David Daney  <ddaney@avtrex.com>
1033         * link.cc: Include ffi.h if USE_LIBFFI defined.
1034         
1035 2006-03-03  Tom Tromey  <tromey@redhat.com>
1037         * interpret.cc (do_allocate_static_fields): Added comment.
1039 2006-03-01  Tom Tromey  <tromey@redhat.com>
1041         PR java/24321:
1042         * testsuite/libjava.lang/pr24321.java: New file.
1043         * testsuite/libjava.lang/pr24321.out: New file.
1044         * java/lang/natClass.cc (isInstance): Don't initialize class.
1045         (isAssignableFrom): Likewise.
1047 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
1049         PR other/26208
1050         * exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
1051         of _Unwind_GetIP.
1052         * include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
1053         (HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
1054         to throw.
1055         * include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
1056         macro.
1057         * include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
1058         macro.
1060 2006-02-23  Scott Gilbertson  <scottg@mantatest.com>
1062         * gnu/awt/j2d/IntegerGraphicsState.java (getClip): Clone clip
1063         before returning, handle null clip.
1064         (getClipBounds): Handle null clip.
1065         * gnu/awt/j2d/Graphics2DImpl.java (clipRect): Handle null clip.
1066         * gnu/awt/xlib/XCanvasPeer.java (): 
1067         (getLocationOnScreen): Implement.
1068         * classpath/gnu/java/awt/peer/GLightweightPeer.java
1069         (repaint): Merged with Classpath.
1070         * classpath/java/awt/Graphics.java (hitClip): Merged with
1071         Classpath.
1073 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
1075         * link.cc: Added variant of create_error_method that
1076         will not complain about unused parameter if compiled with
1077         USE_LIBFFI not being defined.
1078         (_Jv_Linker::find_field_helper): Fixed indentation.
1079         (_Jv_Linker::create_error_method): Fixed indentation.
1080         (_Jv_Linker::link_symbol_table): Fixed indentation.
1082 2006-02-16  Andrew Haley  <aph@redhat.com>
1084         * stacktrace.cc (GetStackTraceElements): Call
1085         gnu::gcj::runtime::NameFinder::removeUnknown() to determine if
1086         non-Java frames should be removed from a printed stack trace.
1087         Pass methodName to getLineNumberForFrame().
1088         (getLineNumberForFrame): Set method_name from info.dli_sname.
1089         * gnu/gcj/runtime/NameFinder.java (removeUnknown): New method.
1090         (remove_unknown): New variable.
1091         * include/java-stack.h (_Jv_StackTrace::getLineNumberForFrame):
1092         Add methodName arg.
1094 2006-02-15  Matthias Klose  <doko@debian.org>
1096         * gnu/java/nio/charset, gnu/java/net/protocol/file,
1097         gnu/regexp: Remove empty directories.
1099 2006-02-09  Bryce McKinlay  <mckinlay@redhat.com>
1101         * java/lang/Class.h (_Jv_IDispatchTable): Make it a struct. Put 
1102         'itable' inline, instead of as a pointer.
1103         (java::lang::Class): Put 'idt' in anonymous union with 'ioffsets'.
1104         * link.cc (null_idt): Update definition.
1105         (_Jv_Linker::prepare_constant_time_tables): Allocate klass->idt
1106         as a single struct. Use _Jv_AllocBytes, not _Jv_AllocRawObj.
1107         (_Jv_Linker::generate_itable): Update to use 'ioffsets'.
1108         (_Jv_Linker::find_iindex): Likewise. Update comment.
1109         * java/lang/natClass.cc (_Jv_LookupInterfaceMethodIdx): Update for
1110         _Jv_IDispatchTable change.
1111         (_Jv_IsAssignableFrom): Likewise.
1113 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
1115         PR libgcj/25187:
1116         * gnu/gcj/io/natSimpleSHSStream.cc
1117         (gnu::gcj::io::SimpleSHSStream::shsFinal): Remove bogus cast.
1118         * interpret.cc (_Jv_InterpMethod::run): Simplify arguments to
1119         _Jv_InterpFrame(). 
1120         * boehm.cc: #undef some autoconf macros before including gc-config.h.
1121         (_Jv_MarkObject): Don't mark the class, it is reachable via the vtable.
1122         (_Jv_MarkArray): Likewise.
1123         * java/lang/ref/natReference.cc (java::lang::ref::Reference::create):
1124         Simplify _Jv_GCRegisterDisappearingLink() call.
1125         * java/lang/Class.h (getComponentType): Use element_type.
1126         (element_type): New field declaration, as a union with "methods".
1127         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Use "element_type".
1128         * java/net/natVMNetworkInterfacePosix.cc
1129         (java::net::VMNetworkInterface::getInterfaces): Add "int" cast to
1130         avoid sign comparison warning.  
1131         * include/java-interp.h (_Jv_InterpFrame): Take thread as second
1132         argument, not parent call frame.
1133         * include/x86_64-signal.h (MAKE_THROW_FRAME): Use "gregs" directly,
1134         without a cast.
1135         (restore_rt): Declare with hidden visibility, not "static".
1136         * posix.cc (_Jv_platform_initProperties): Make "tmpdir" a string
1137         constant.
1138         * jni.cc (_Jv_JNI_DestroyJavaVM): Use a union to avoid strict alias
1139         warning.
1141 2006-02-08  Bryce McKinlay  <mckinlay@redhat.com>
1143         PR libgcj/26113:
1144         * link.cc (_Jv_Linker::print_class_loaded): Declare string constants
1145         as "const char *".
1146         * verify.cc (verify_fail): Likewise.
1147         * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise.
1148         * interpret.cc (throw_internal_error, throw_class_format_error):
1149         Likewise.
1150         * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, 
1151         _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise.
1152         * java/lang/Class.h (_Jv_InitPrimClass): Likewise.
1153         * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise.
1154         * defineclass.cc (throw_internal_error, throw_no_class_def_found_error,
1155         is_attribute_name): Likewise.
1156         * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init,
1157         _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise.
1159 2006-02-08  Tom Tromey  <tromey@redhat.com>
1161         PR libgcj/26063, PR libgcj/17978, PR libgcj/10598:
1162         * defineclass.cc (parse): Use _Jv_AllocRawObj.
1163         (read_constpool): Likewise.
1164         (read_one_code_attribute): Use internal function name.
1165         (handleConstantPool): Use _Jv_AllocRawObj.
1166         (handleInterfacesBegin): Likewise.
1167         (handleFieldsBegin): Likewise.
1168         (handleMethodsBegin): Likewise.
1169         (handleCodeAttribute): Likewise.
1170         (handleMethodsEnd): Likewise.
1171         * include/jvm.h (new_vtable): Use _Jv_AllocRawObj.
1172         * interpret.cc (do_allocate_static_fields): Use _Jv_AllocRawObj.
1173         Allocate reference fields separately.
1174         * link.cc (prepare_constant_time_tables): Use _Jv_AllocRawObj.
1175         (add_miranda_methods): Likewise.
1176         (generate_itable): Use _Jv_AllocBytes.
1177         (find_iindex): Likewise.
1178         (struct method_closure): New structure.
1179         (create_error_method): Use struct method_closure; allocate with
1180         _Jv_AllocBytes.
1181         (ensure_fields_laid_out): Separate reference fields from
1182         non-reference fields.
1183         * boehm.cc (_Jv_MarkObj): Mark vtable.  Only mark direct fields
1184         of Class.
1185         (_Jv_MarkArray): Mark vtable.
1186         (_Jv_AllocRawObj): Don't allocate objects of size 0.
1187         * include/execution.h
1188         (_Jv_ExecutionEngine::allocate_static_fields): Added 'int'
1189         parameter.
1190         (struct _Jv_CompiledEngine): Updated.
1191         (class _Jv_InterpreterEngine): Updated.
1193 2006-02-08  Tom Tromey  <tromey@redhat.com>
1195         PR java/22578:
1196         * gcj/javaprims.h: Updated.
1197         * sources.am, Makefile.in: Rebuilt.
1198         * java/lang/natDouble.cc (doubleToLongBits): Moved to VMDouble.
1199         (doubleToRawLongBits): Likewise.
1200         (longBitsToDouble): Likewise.
1201         (toString): Likewise.
1202         (parseDouble): Likewise.
1203         * java/lang/natFloat.cc (floatToIntBits): Moved to VMFloat.
1204         (floatToRawIntBits): Likewise.
1205         (intBitsToFloat): Likewise.
1206         * java/lang/VMDouble.java: New file.
1207         * java/lang/VMFloat.java: New file.
1208         * java/lang/Float.java, java/lang/Double.java: Removed.
1210 2006-02-06  Tom Tromey  <tromey@redhat.com>
1212         * gij.cc (version): Use 2006.
1213         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Use 2006.
1214         * gnu/gcj/convert/Convert.java (version): Use 2006.
1215         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Use 2006.
1217 2006-02-04  Tom Tromey  <tromey@redhat.com>
1219         PR java/25676:
1220         * testsuite/libjava.lang/pr25676.out: New file.
1221         * testsuite/libjava.lang/pr25676.java: New file.
1223 2006-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1225         * Makefile.am (src.zip): Update src.zip file search to look in
1226         classpath directory.
1227         * Makefile.in: Regenerate.
1229 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
1231         * link.cc:
1232         (_Jv_Linker::create_error_method): Added missing (void *) cast.
1234 2006-02-03  Robert Schuster  <robertschuster@fsfe.org>
1236         * include/jvm.h:
1237         (_Jv_Linker::create_error_method): New method declaration.
1238         * link.cc:
1239         (_Jv_Linker::create_error_method): New method.
1240         (_Jv_Linker::link_symbol_table): Use new method above.
1242 2006-02-01  Robert Schuster  <robertschuster@fsfe.org>
1244         * link.cc:
1245         (_Jv_Linker::find_field_helper): Added checks.
1246         (_Jv_Linker::find_field): Use exception swallowing class resolution
1247         and added early return.
1248         (_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
1249         (_Jv_Linker::link_symbol_table):  Use exception swallowing class
1250         resolution, added ffi_closure installation routine, use
1251         _Jv_ThrowNoClassDefFoundError for missing static method.
1252         (_Jv_Linker::ensure_class_linked): Added string check which does
1253         not trigger class resolution.
1254         * java/lang/natClassLoader.cc:
1255         (_Jv_FindClassNoException): New method.
1256         * java/lang/Class.h:
1257         (_Jv_FindClassNoException): New method declaration.
1258         * include/jvm.h:
1259         (_Jv_FindClassNoException): New method declaration.
1260         (_Jv_FindClassFromSignatureNoException): New method declaration.
1261         * prims.cc:
1262         (_Jv_FindClassFromSignatureNoException): New method.
1263         * gcj/javaprims.h:
1264         (_Jv_equalsUtf8Classname): New method declaration.
1265         (_Jv_isPrimitiveOrDerived): Dito.
1266         * prims.cc:
1267         (_Jv_equalsUtf8Classnames): New method.
1268         (_Jv_isPrimitiveOrDerived): New method.
1269         * verify.cc:
1270         (ref_intersection::equals): Use new classname comparison method.
1271         (type::compatible): Use new classname comparison method. Added
1272         check whether LHS' type is java.lang.Object .
1273         (type::resolve): Added new optional debug message and simplified
1274         if-expression.
1275         (type::to_array): Added codepath that generates an array type
1276         without resolving the element type.
1278 2006-01-31  Mark Wielaard  <mark@klomp.org>
1280         * NEWS: Add 4.1 updates.
1282 2006-01-30  Keith Seitz  <keiths@redhat.com>
1284         * include/java-interp.h (insn_index): New declaration.
1285         (num_insn_slots): New private variable.
1286         (get_line_table): New declaration.
1287         * interpret.cc (insn_index): New function.
1288         (get_line_table): New function.
1290 2006-01-24  Archit Shah  <ashah@redhat.com>
1291             Tom Tromey  <tromey@redhat.com>
1293         * prims.cc (next_property_value): Never return NULL.
1294         (process_gcj_properties): Copy 'props' before using it.
1296 2006-01-23  Keith Seitz  <keiths@redhat.com>
1298         * java/lang/Class.h (_Jv_FindInterpreterMethod): Add new declaration.
1299         * java/lang/natClass.cc (_Jv_FindInterpreterMethod): New function.
1301 2006-01-23  David Daney  <ddaney@avtrex.com>
1303         * configure.host (disable_dladdr): Remove variable and its
1304         documentation.
1305         * configure.ac: Do not test for disable_dladdr.
1306         * configure: Regenerate.
1307         * include/config.h.in: Regenerate.
1309 2006-01-18  Tom Tromey  <tromey@redhat.com>
1311         * jni.cc (_Jv_JNI_AttachCurrentThread): Return environment if it
1312         already exists.
1314 2006-01-18  Keith Seitz  <keiths@redhat.com>
1316         * include/java-interp.h (_Jv_CompileMethod): Add declaration.
1317         (class _Jv_InterpMethod): Add _Jv_CompileMethod as a friend.
1318         * interpret.cc (_Jv_CompileMethod): New function.
1319         (run):  Massage code to allow for NULL args.
1320         Update comments to explain NULL args.
1321         Return if compiling the method and args is NULL.
1323 2006-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1325         PR libgcj/25840
1326         * include/x86_64-signal.h (RESTORE2): Add ".text\n".
1328 2006-01-17  Tom Tromey  <tromey@redhat.com>
1330         PR classpath/20198:
1331         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
1332         (JarURLLoader): Likewise.
1333         (addURLImpl): Canonicalize file URLs.
1335 2006-01-16  Mark Wielaard  <mark@klomp.org>
1337         Imported GNU Classpath 0.20
1338         * Makefile.am (AM_CPPFLAGS): Add classpath/include.
1339         * java/nio/charset/spi/CharsetProvider.java: New override file.
1340         * java/security/Security.java: Likewise.
1341         * sources.am: Regenerated.
1342         * Makefile.in: Likewise.
1344 2006-01-17  Jakub Jelinek  <jakub@redhat.com>
1346         * configure.ac (dbexecdir): New substituted var.
1347         * configure: Rebuilt.
1348         * Makefile.am (dbexecdir): Remove.
1349         * Makefile.in: Rebuilt.
1351 2006-01-13  Tom Tromey  <tromey@redhat.com>
1353         * gnu/regexp/MessagesBundle_fr.properties: Removed.
1354         * gnu/regexp/MessagesBundle.properties: Removed.
1356 2006-01-13  Tom Tromey  <tromey@redhat.com>
1358         * java/security/classpath.security: Removed.
1359         * Makefile.in: Rebuilt.
1360         * Makefile.am (install-data-local): Don't install
1361         classpath.security.
1363 2006-01-08  Chris Burdess  <dog@gnu.org>
1365         * java/lang/Character.java (toChars,toCodePoint): Correct these
1366           methods to use algorithms from Unicode specification.
1368 2006-01-08  Tom Tromey  <tromey@redhat.com>
1370         * java/lang/StringBuilder.java (appendCodePoint): New method.
1371         (insert): New overloads.
1372         * java/lang/StringBuffer.java (StringBuffer): New constructor.
1373         (charAt): Remerged javadoc.
1374         (codePointAt, codePointBefore): New methods.
1375         (appendCodePoint): New method.
1376         (append): New overloads.
1377         (insert): Likewise.
1378         (trimToSize, codePointCount, offsetByCodePoints): New methods.
1379         * java/lang/Float.java (SIZE): New field.
1380         (valueOf): New method.
1381         * java/lang/natDouble.cc (initIDs): Removed.
1382         * java/lang/Double.java (static initializer): Removed.
1383         (SIZE): New field.
1384         (valueOf): New method.
1385         (initIDs): Removed.
1387 2006-01-07  Jakub Jelinek  <jakub@redhat.com>
1389         PR libgcj/24940
1390         * shlibpath.m4: Replace $SED with sed.
1391         * configure: Rebuilt.
1393 2006-01-06  Tom Tromey  <tromey@redhat.com>
1395         * java/lang/Character.java (SIZE, MAX_CACHE, charCache,
1396         MIN_SURROGATE, MAX_SURROGATE): New fields from Classpath.
1397         (MIN_HIGH_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE,
1398         MAX_LOW_SURROGATE): Javadoc fixes.
1399         (valueOf, reverseBytes, isHighSurrogate, isLowSurrogate,
1400         isSurrogatePair, toCodePoint, codePointAt, codePointBefore): New
1401         methods from Classpath.
1402         * java/lang/String.java (codePointAt, codePointBefore,
1403         codePointCount, contains, replace): New methods from Classpath.
1404         (contentEquals): Declare.
1405         * java/lang/natString.cc (contentEquals): New method.
1407 2005-12-26  Anthony Green  <green@redhat.com>
1409         * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
1410         of data to read (dst.remaining()).
1411         * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.
1413 2005-11-11  Mark Wielaard  <mark@klomp.org>
1415         Reported by john.zigman@anu.edu.au as bug #24608.
1416         * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in
1417         destination ByteBuffer when it doesn't have an array instead of len
1418         bytes.
1420 2006-01-05  Tom Tromey  <tromey@redhat.com>
1422         * java/lang/natThread.cc (finish_): Don't clear 'group'.
1423         * sources.am, Makefile.in: Rebuilt.
1424         * java/lang/Runtime.java (exit): Merged with Classpath.
1425         (runShutdownHooks): New method from Classpath.
1426         * java/io/File.java (deleteOnExit): Use DeleteFileHelper, not
1427         FileDeleter.
1428         * gnu/gcj/runtime/FileDeleter.java: Removed.
1429         * java/lang/natRuntime.cc (runFinalizationForExit): New method.
1430         (exitInternal): Don't run finalizers or delete files.
1432 2006-01-05  Tom Tromey  <tromey@redhat.com>
1434         * java/lang/natPosixProcess.cc (reap): Ignore unknown children.
1436 2006-01-04  Krister Walfridsson  <cato@df.lth.se>
1438         * posix-threads.cc (_Jv_InitThreads): #ifdef PTHREAD_STACK_MIN
1440 2006-01-04  Tom Tromey  <tromey@redhat.com>
1442         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Updated.
1443         * java/lang/natClassLoader.cc (_Jv_CopyClassesToSystemLoader):
1444         Changed argument type.  Use SystemClassLoader.addClass.
1445         * gnu/gcj/runtime/SystemClassLoader.java (addClass): New method.
1447 2005-12-24  David Daney <ddaney@avtrex.com>
1448             Tom Tromey  <tromey@redhat.com>
1450         PR libgcj/9715, PR libgcj/19132:
1451         * java/nio/charset/Charset.java (charsetForName): Try default
1452         provider first.
1453         (availableCharsets): Re-merged.
1454         (providers2): Likewise.
1455         (defaultCharset): Likewise.
1456         * sources.am, Makefile.in: Rebuilt.
1457         * gnu/java/nio/charset/Provider.java: Removed.
1458         * java/io/OutputStreamWriter.java
1459         (OutputStreamWriter(OutputStream,Charset)): New constructor.
1460         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
1461         * java/io/InputStreamReader.java
1462         (InputStreamReader(InputStream,CharsetDecoder)): New constructor.
1463         (InputStreamReader(InputStream,Charset)): Likewise.
1464         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Try a
1465         BytesToCharsetAdaptor.
1466         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Try a
1467         CharsetToBytesAdaptor.
1468         * gnu/gcj/convert/CharsetToBytesAdaptor.java: New file.
1469         * gnu/gcj/convert/BytesToCharsetAdaptor.java: New file.
1470         * mauve-libgcj: Remove getEncoding exclusion.
1472 2005-12-28  Anthony Green  <green@redhat.com>
1474         * gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
1475         as previous patch, but for win32.
1477 2005-12-28  Anthony Green  <green@redhat.com>
1479         * gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
1480         address and port before attempting anything.
1482 2005-12-28  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1484         * sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
1485         operation atomic.
1487 2005-12-22  Andrew Haley  <aph@redhat.com>
1489         PR java/25535
1490         * testsuite/libjava.lang/PR25535.java: New test.
1492 2005-12-22  Tom Tromey  <tromey@redhat.com>
1494         * java/lang/natClassLoader.cc (_Jv_NewArrayClass): Don't
1495         reference NUM_OBJECT_METHODS.
1496         * include/jvm.h (NUM_OBJECT_METHODS): Removed.
1498 2005-12-18  Anthony Green  <green@redhat.com>
1500         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getLocalAddress): 
1501         New helper function.
1502         (setOption): Use getLocalAddress.  Don't downcast value to
1503         InetAddress.
1504         (getOption): Use getLocalAddress.
1506 2005-12-16  Tom Tromey  <tromey@redhat.com>
1508         * java/lang/Class.java (getPackage): Get package from
1509         VMClassLoader if needed.
1511 2005-12-16  Tom Tromey  <tromey@redhat.com>
1513         * testsuite/libjava.jacks/jacks.xfail
1514         (8.5.2-accessible-static-member-usage-3): Removed.
1516 2005-12-15  Tom Tromey  <tromey@redhat.com>
1518         * testsuite/libjava.compile/rh175833.java: New file.
1519         * testsuite/libjava.compile/pr25429.java: New file.
1521 2005-12-15  Alan Modra  <amodra@bigpond.net.au>
1523         * testsuite/lib/libjava.exp: Revert 2005-12-01.
1524         * testsuite/libjava.lang/Array_3.xfail: Delete.
1526 2005-12-14  Andrew Haley  <aph@redhat.com>
1528         * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
1529         handle stdout from the child process.
1531 2005-12-14  Tom Tromey  <tromey@redhat.com>
1533         PR classpath/25389:
1534         * java/io/File.java (File): Throw IllegalArgumentException if URI is
1535         non-hierarchical.
1537 2005-12-12  Andrew Haley  <aph@redhat.com>
1539         * java/lang/VMCompiler.java: Directly generate a new instance of
1540         gnu.java.security.provider.MD5.
1542 2005-12-08  Andrew Haley  <aph@redhat.com>
1544         PR libgcj/25265
1545         * java/lang/Object.h (throwNoSuchMethodError): New method.
1546         * java/lang/Object.java (throwNoSuchMethodError): New method.
1547         * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
1548         * link.cc (_Jv_ThrowNoSuchFieldError): New.
1549         (link_symbol_table): Don't throw a NoSuchFieldError if a field is
1550         missing.  Instead, set the otable entry to zero.
1551         (link_symbol_table): If we don't find a nonstatic method, insert
1552         the vtable offset of Object.throwNoSuchMethodError() into the
1553         otable.
1555 2005-12-05  Tom Tromey  <tromey@redhat.com>
1557         * testsuite/libjava.compile/rh174912.java: New file.
1559 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
1561         * testsuite/lib/libjava.exp (test_libjava_from_javac): Support
1562         xfail-byte-exec.
1563         * testsuite/libjava.lang/Array_3.xfail: New file.
1565 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
1567         * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
1568         to compare _Jv_InterpMethod::run against current func.
1570 2005-11-30  Andrew Haley  <aph@redhat.com>
1572         * classpath/lib/Makefile.am (resources): Use `cp -p'.
1573         Remove `@' from start of line.
1575 2005-11-28  Tom Tromey  <tromey@redhat.com>
1577         PR java/18278:
1578         * testsuite/libjava.jni/pr18278.out: New file.
1579         * testsuite/libjava.jni/pr18278.c: New file.
1580         * testsuite/libjava.jni/pr18278.java: New file.
1581         * include/jvm.h (_Jv_UnwrapJNIweakReference): Declare.
1582         * jni.cc (_Jv_UnwrapJNIweakReference): New function.
1583         (call): Unwrap return value if needed.
1585 2005-11-25  Mark Wielaard  <mark@klomp.org>
1587         * standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and
1588         gnu/javax/rmi.
1589         * scripts/makemake.tcl: Set javax/rmi, org/omg, gnu/CORBA and
1590         gnu/javax/rmi to bc.
1591         * gnu/CORBA/ObjectCreator.java: New override file for missing
1592         VMStackWalker issue.
1593         * gnu/CORBA/DynAn/gnuDynValue.java: New override file for bug #24938
1594         * gnu/CORBA/DynAn/RecordAny.java: Likewise
1595         * sources.am: Regenerated.
1596         * Makefile.in: Regenerated
1598 2005-11-25  Andrew Haley  <aph@redhat.com>
1600         PR libgcj/25016
1601         * posix-threads.cc (_Jv_CondWait): Rewrite calculation of the
1602         struct timespec we pass to pthread_cond_timedwait.
1604 2005-11-25  Ranjit Mathew  <rmathew@gcc.gnu.org>
1606         * testsuite/libjava.jacks/jacks.xfail: Remove
1607         non-jls-argument-expansion-13 and add
1608         non-jls-argument-expansion-error-1 in response to the @file support
1609         patch in the main GCC driver.
1611 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1613         * sysdep/ia64-frame.h: Removed.
1614         * sysdep/ia64.c: Removed.
1615         * sysdep/dwarf2-backtrace.cc: Removed.
1616         * configure.ac: Remove references to HAVE_BACKTRACE and
1617         SUPPLY_BACKTRACE.
1618         * Makefile.am: Remove SUPPLY_BACKTRACE support.
1619         * configure: Rebuilt.
1620         * Makefile.in: Rebuilt.
1622 2005-11-24  Bryce McKinlay  <mckinlay@redhat.com>
1624         * gij.cc (nonstandard_opts_help): Add entry for -Xss.
1626 2005-11-17  Mark Wielaard  <mark@klomp.org>
1628         Imported GNU Classpath gcj-import-20051117.
1629         * gnu/java/net/protocol/file/Connection.java: Removed, fully merged.
1630         * sources.am: Regenerated.
1631         * Makefile.in: Likewise.
1633 2005-11-17  Mark Wielaard  <mark@klomp.org>
1635         * gnu/java/net/protocol/file/Handler.java: Removed, fully merged now.
1636         * java/net/ServerSocket.java: Likewise.
1637         * sources.am: Regenerated.
1638         * Makefile.in: Regenerated.
1640 2005-11-17  Mark Wielaard  <mark@klomp.org>
1642         Fixes bug #24006
1643         * java/net/ServerSocket.java (implAccept): Set Socket.bound to true.
1645 2005-11-17  Tom Tromey  <tromey@redhat.com>
1647         * java/net/ServerSocket.java (accept): Use correct security manager
1648         call.
1650 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1652         * java/net/ServerSocket.java
1653         (bound): Removed.
1654         (local): New field.
1655         (bind): Cache local socket address.
1656         (getInetAddress, getLocalPort, getLocalSocketAddress, isBound):
1657         Use cached local socket address.
1658         (close): bound field was removed.
1660 2005-11-17  Tom Tromey  <tromey@redhat.com>
1662         * java/net/URLConnection.java (setDoInput): Javadoc fix.
1663         (setDoOutput): Likewise.
1664         (setContentHandlerFactory): Likewise.
1665         (setFileNameMap): Likewise.
1667 2005-11-17  Mark Wielaard  <mark@klomp.org>
1669         * java/net/URLClassloader.java (addURLs): Add comment about jboss.
1671 2005-11-17  Mark Wielaard  <mark@klomp.org>
1673         * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but
1674         call urls.add() and addURLImpl() directly on each URL.
1676 2005-11-17  Tom Tromey  <tromey@redhat.com>
1678         * java/net/URLClassLoader.java (definePackage): Javadoc fixes.
1680 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1682         * java/net/URLClassLoader.java
1683         (Resource.name): Removed field.
1684         (JarURLResource.name): Added field.
1685         (FileResource.getURL): Use File.toURL() instead of doing it in
1686         a way that breaks on Windows.
1688 2005-11-17  Roman Kennke  <roman@kennke.org>
1690         Reported by: Ingo Proetel  <proetel@aicas.com>
1691         * java/net/URLClassLoader.java
1692         (findClass): Added null check to avoid NullPointerException.
1694 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1696         * java/net/URLClassLoader.java: reordered some API doc comments to
1697         suppress Eclipse warnings, and fixed API doc link.
1699 2005-11-17  Tom Tromey  <tromey@redhat.com>
1701         * java/net/URLClassLoader.java (URLClassLoader): Removed
1702         unused constructor.
1704 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1706         * java/net/URLClassLoader (findClass): Close InputStream after we're
1707         done with it.
1709 2005-11-17  Bryce McKinlay  <mckinlay@redhat.com>
1711         Implement -Xss.
1712         * include/jvm.h (gcj::stack_size): Declare.
1713         (_Jv_StackSize): Declare.
1714         * posix-threads.cc (_Jv_InitThreads): Validate gcj::stack_size.
1715         (_Jv_ThreadStart): Set stack size if specified.
1716         * prims.cc (gcj::stack_size): Define.
1717         (parse_memory_size): Renamed from parse_heap_size.
1718         (_Jv_SetStackSize): Parse stack size argument and set 
1719         gcj::stack_size.
1721 2005-11-17  Mark Wielaard  <mark@klomp.org>
1723         * java/text/SimpleDateFormat.java: Removed, fully merged now.
1724         * sources.am: Regenerated.
1725         * Makefile.in: Regenerated.
1727 2005-11-17  Sven de Marothy  <sven@physto.se>
1729         * java/text/SimpleDateFormat.java
1730         (computeOffset): Allow timezone to be first in the parsed String.
1732 2005-11-17  Mark Wielaard  <mark@klomp.org>
1734         * java/text/SimpleDateFormat.java (field, size): Make package private.
1736 2005-11-17  Tom Tromey  <tromey@redhat.com>
1738         * java/text/SimpleDateFormat.java (compileFormat): Correctly
1739         handle quoted single quotes.  PR classspath/23183.
1741 2005-11-17  Tom Tromey  <tromey@redhat.com>
1743         * java/text/SimpleDateFormat.java (compileFormat): Reformatted.
1745 2005-11-17  Tom Tromey  <tromey@redhat.com>
1747         * java/text/DateFormat.java (serialVersionUID): New field.
1749 2005-11-17  Mark Wielaard  <mark@klomp.org>
1751         * java/text/DateFormat.java (equals): Reimplement.
1753 2005-11-17  David Gilbert  <david.gilbert@object-refinery.com>
1755         * java/text/Collator.java: API doc fixes,
1756         * java/text/DateFormat.java: likewise,
1757         * java/text/DecimalFormatSymbols.java: likewise,
1758         * java/text/DateFormatSymbols.java: likewise,
1759         * java/text/SimpleDateFormat.java: likewise.
1761 2005-11-17  Jeroen Frijters  <jeroen@frijters.net>
1763         * java/text/Collator.java (getInstance(Locale)):
1764         Added default collation pattern to handle case when resource
1765         is missing and throw InternalError instead of returning null
1766         should parsing fail.
1768 2005-11-15  Mark Wielaard  <mark@klomp.org>
1770         * java/util/zip/ZipEntry.java: Removed, fully merged now.
1771         * java/util/zip/ZipFile.java: Likewise.
1772         * sources.am: Regenerated.
1773         * Makefile.in: Regenerated.
1775 2005-11-15  Tom Tromey  <tromey@redhat.com>
1777         classpath/23890:
1778         * java/util/Calendar.java (equals): Include other calendar
1779         attributes.
1780         (hashCode): Updated.
1781         * java/util/GregorianCalendar.java (hashCode): New method.
1782         (equals): Use super.equals().
1784 2005-11-15  Sven de Marothy  <sven@physto.se>
1786         * java/util/Calendar (setTimeInMillis): Recompute time fields.
1788 2005-11-15  Mark Wielaard  <mark@klomp.org>
1790         * java/util/SimpleTimeZone.java: Removed, fully merged now.
1791         * java/util/Date.java: Likewise.
1792         * sources.am: Regenerated.
1793         * Makefile.in: Regenerated.
1795 2005-11-15  David Gilbert  <david.gilbert@object-refinery.com>
1797         * java/util/Calendar.java: fixed minor problems in API docs,
1798         * java/util/Date.java: likewise,
1799         * java/util/ResourceBundle.java: likewise,
1800         * java/util/SimpleTimeZone.java: likewise,
1802 2005-11-15  Jeroen Frijters  <jeroen@frijters.net>
1804         * java/io/ObjectInputStream.java
1805         (parseContent): Removed bogus println and fixed bug #24422.
1806                 
1807 2005-11-15  Mark Wielaard  <mark@klomp.org>
1809         * java/io/ObjectStreamClass.java: Removed, fully merged now.
1810         * sources.am: Regenerated.
1811         * Makefile.in: Regenerated.
1813 2005-11-15  Wolfgang Baer  <WBaer@gmx.de>
1815         * java/io/ObjectInputStream.java
1816         (processResolution): Pass Error, RuntimeException and
1817         ObjectStreamException through to the caller.
1818         (readObject): Documentation update.
1820 2005-11-15  Mark Wielaard  <mark@klomp.org>
1822         Imported GNU Classpath 0.19 + gcj-import-20051115.
1823         * sources.am: Regenerated.
1824         * Makefile.in: Likewise.
1825         * scripts/makemake.tcl: Use glob -nocomplain.
1827 2005-11-15  Scott Gilbertson  <scottg@mantatest.com>
1829         * Makefile.in: Re-generated.
1830         * gnu/awt/xlib/XGraphicsDevice.java: New file.
1831         * gnu/awt/xlib/XToolkit.java
1832         (getLocalGraphicsEnvironment): Implemented. 
1833         * gnu/awt/xlib/XGraphicsEnvironment.java: New file.
1834         * sources.am: Re-generated.
1836 2005-15-09  David Daney <ddaney@avtrex.com>
1838         PR libgcj/15430
1839         * gnu/java/net/natPlainSocketImplPosix.cc (throw_on_sock_closed): New
1840         function.
1841         (accept): Call it.
1842         (close): Call shutdown before closing.
1843         (read()): Call read_helper with proper parameters.
1844         (read(buffer, int, int)): Likewise.
1845         (read_helper):  Pass pointer to the PlainSocketImpl, remove native_fd
1846         and timeout parameters.  Make prototype to match. Use 
1847         pointer to PlainSocketImpl to access members. Call throw_on_sock_closed
1848         in two places.
1850 2005-11-15  Andrew Haley  <aph@redhat.com>
1852         * Merge from Classpath head:
1854    2005-09-16  Andrew Haley  <aph@redhat.com>
1855    
1856            * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow
1857            protected readResolve().  Rewrite accessibility check.
1858    
1859    2005-07-07  Jeroen Frijters  <jeroen@frijters.net>
1860    
1861            * java/io/ObjectStreamClass.java
1862            (findAccessibleMethod): Added code to make method accessible.
1863    
1864    2005-07-03  Daniel Bonniot  <bonniot@users.sf.net>
1865    
1866            * java/io/ObjectStreamClass.java (inSamePackage): New private method.
1867            (findAccessibleMethod): Likewise.
1868            (cacheMethods): Lookup readResolve and writeReplace using the new
1869            findAccessibleMethod().
1870    
1871 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1873         * java/net/natVMNetworkInterfaceWin32.cc: Include
1874         java/net/VMNetworkInterface.h.
1876 2005-11-14  Mohan Embar  <gnustuff@thisiscool.com>
1877             David Daney  <ddaney@avtrex.com>
1879         * gnu/java/net/natPlainSocketImplWin32.cc: Updated copyright.
1880         (read): Handle count == 0 case.
1882 2005-11-09  Tom Tromey  <tromey@redhat.com>
1884         * testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now
1885         passes.
1887 2005-11-08  Tom Tromey  <tromey@redhat.com>
1889         PR libgcj/24587:
1890         * gnu/classpath/SystemProperties.java: Set gnu.classpath.version.
1892 2005-11-08  Tom Tromey  <tromey@redhat.com>
1894         PR libgcj/23763.  From aeby@graeff.com.
1895         * java/lang/natPosixProcess.cc (nativeSpawn): Unblock SIGCHLD
1896         before exec.
1898 2005-11-08  Mark Wielaard  <mark@klomp.org>
1900         * scripts/makemake.tcl: Set package gnu/javax/sound/midi to bc.
1902 2005-11-07  David Daney  <ddaney@avtrex.com>
1904         * mauve-libgcj: Disable javax.rmi.* and
1905         java.io.InputStreamReader.getEncoding.
1907 2005-11-04  Tom Tromey  <tromey@redhat.com>
1909         PR libgcj/14358, libgcj/24552:
1910         * gnu/gcj/convert/IOConverter.java: Regenerate aliases.  Add
1911         aliases for 'euc_jp' and 'eucjp'.
1912         * scripts/encodings.pl: Recognize 'none', not 'NONE'.  Include
1913         canonical names in output.
1914         (%map): Added UnicodeLittle and UnicodeBig.
1916 2005-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1918         * include/sh-signal.h (MAKE_THROW_FRAME): Remove trailing whitespace.
1920 2005-11-02  Andreas Tobler  <a.tobler@schweiz.ch>
1922         * testsuite/lib/libjava.exp (libjava_find_lib): Add dylib to the shared
1923         library extensions.
1925 2005-10-12  Andrew Haley  <aph@redhat.com>
1927         PR java/24251
1928         * link.cc (ensure_method_table_complete): Install Miranda methods
1929         for interfaces too.
1931 2005-10-10  Tom Tromey  <tromey@redhat.com>
1933         * testsuite/libjava.lang/ExtraClassLoader.out: New file.
1934         * testsuite/libjava.lang/TestProxy.java (MyInvocationHandler):
1935         Now static.
1937 2005-10-05  Richard Henderson  <rth@redhat.com>
1939         PR target/23602
1940         * configure.host (i?86-*): Set -fomit-frame-pointer in libgcj_flags,
1941         but not BACKTRACESPEC.
1942         (x86_64-*): Similarly.  Don't set -ffloat-store in 64-bit mode.
1944 2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
1946         * testsuite/lib/jni.exp (gcj_jni_test_one): For
1947         darwin, use -shared-libgcc not -lgcc_s, and explain why.
1948         (gcj_jni_invocation_test_one): Likewise.
1950 2005-09-30  Tom Tromey  <tromey@redhat.com>
1952         PR libgcj/24051:
1953         * Makefile.in: Rebuilt.
1954         * Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
1955         requested.
1956         (lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
1957         (lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
1958         (lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
1959         (lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
1960         (lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
1961         * configure: Rebuilt.
1962         * configure.ac: Pass --enable-qt-peers when qt is requested.
1964 2005-09-29  Andreas Tobler  <a.tobler@schweiz.ch>
1966         * configure.ac: Fix typo.
1967         * configure: Regenerate.
1969 2005-09-28  Geoffrey Keating  <geoffk@apple.com>
1971         * sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
1972         __LP64__ is defined rather than __powerpc64__.
1973         (compare_and_swap): 'ret' is an obj_addr_t not just an int.
1974         (compare_and_swap_release): Likewise.
1976 2005-09-28  David Daney  <ddaney@avtrex.com>
1978         * HACKING: Update instructions for classpath import.
1980 2005-09-27  Tom Tromey  <tromey@redhat.com>
1982         PR libgcj/23367:
1983         * include/jvm.h (_Jv_FreeMethodCache): Declare.
1984         * java/lang/natClass.cc (MCACHE_SIZE): Conditional on HAVE_TLS.
1985         (struct _Jv_mcache): Likewise.
1986         (method_cache): Likewise.
1987         (_Jv_FindMethodInCache): Do nothing unless TLS is available.
1988         (_Jv_AddMethodToCache): Likewise.
1989         (_Jv_FreeMethodCache): New function.
1990         * java/lang/natThread.cc (finish_): Call _Jv_FreeMethodCache.
1991         * aclocal.m4, configure, include/config.h.in: Rebuilt.
1992         * configure.ac: Invoke GCC_CHECK_TLS.
1994 2005-09-27  Tom Tromey  <tromey@redhat.com>
1996         * configure, Makefile.in: Rebuilt.
1997         * sources.am: Rebuilt.
1998         * scripts/makemake.tcl (emit_bc_rule): Special-case qt.
1999         * configure.ac (TOOLKIT): Handle Qt peers properly.
2001 2005-09-23  Tom Tromey  <tromey@redhat.com>
2003         Imported Classpath 0.18.
2004         * sources.am, Makefile.in: Updated.
2005         * Makefile.am (nat_source_files): Removed natProxy.cc.
2006         * java/lang/reflect/natProxy.cc: Removed.
2007         * gnu/classpath/jdwp/VMFrame.java,
2008         gnu/classpath/jdwp/VMIdManager.java,
2009         gnu/classpath/jdwp/VMVirtualMachine.java,
2010         java/lang/reflect/VMProxy.java: New files.
2012 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2014         * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
2015         list.
2017 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2019         * gnu/java/net/DefaultContentHandlerFactory.java (getContent):
2020         Remove ClasspathToolkit references.
2022 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2024         * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
2025         * gnu/awt/xlib/XFramePeer.java: Likewise.
2026         * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
2028 2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2030         * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
2031         classpath/native/jawt/jawt.c.
2032         * Makefile.in: Regenerate.
2033         * jawt.c: Remove file.
2034         * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
2035         jawt_md.h.  Add ../classpath/include/jawt.h and
2036         ../classpath/include/jawt_md.h.
2037         * include/Makefile.in: Regenerate.
2038         * include/jawt.h: Regenerate.
2039         * include/jawt_md.h: Regenerate.
2041 2005-09-21  Bryce McKinlay  <mckinlay@redhat.com>
2043         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Pass
2044         `null' parent ClassLoader to parent constructor.
2045         * gnu/gcj/runtime/HelperClassLoader.java (HelperClassLoader): New
2046         constructor.
2048 2005-09-21  Ranjit Mathew  <rmathew@gcc.gnu.org>
2050         * testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.
2052 2005-09-17  H.J. Lu  <hongjiu.lu@intel.com>
2054         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one):
2055         Use libjava_find_lib to find the proper libgcj.
2057 2005-09-16  Anthony Green  <green@redhat.com>
2059         PR libgcj/20198
2060         * java/net/URLClassLoader.java (FileURLLoader.getResource): File
2061         resources should all have canonicalized names.
2063 2005-09-15  Tom Tromey  <tromey@redhat.com>
2065         PR libgcj/16032:
2066         * interpret.cc (AVAL1U): Resolve pool entry when not direct
2067         threaded.
2068         (AVAL2U): Likewise.
2069         (compile): Handle 'ldc class' specially.
2070         (_Jv_InterpMethod::run): Added special 'ldc class' instruction.
2071         * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes.
2072         * defineclass.cc (handleCodeAttribute): Set new field.
2073         (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3,
2074         MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines.
2075         (parse): Check version numbers.
2076         (_Jv_ClassReader::is_15): New field.
2077         (_Jv_ClassReader): Initialize it.
2078         * include/java-interp.h (_Jv_InterpMethod::is_15): New field.
2080 2005-09-15  Tom Tromey  <tromey@redhat.com>
2082         For PR libgcj/23288:
2083         * java/net/URLClassLoader.java (definePackage): Correctly order
2084         arguments to definePackage.  Look up per-entry Attributes.
2085         (getAttributeValue): New method.
2087 2005-09-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2089         PR libgcj/23762
2090         * shlibpath.m4: New file.
2091         * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH
2092         macro.
2093         * gnu/classpath/natSystemProperties.cc (insertSystemProperties)
2094         [USE_LTDL]: If it was not defined with -D set java.library.path to
2095         the value of LTDL_SHLIBPATH_VAR.
2097 2005-09-08  Andrew Haley  <aph@redhat.com>
2099         * java/net/URLClassLoader.java (addURLImpl): Synchronize on the
2100         loader.
2101         (toString): Likewise.
2103 2005-09-08  Andrew Haley  <aph@redhat.com>
2105         PR java/22084
2106         * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Bump IP by 1 if
2107         R/M field in instruction is 100.
2109 2005-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
2111         PR libgcj/23761
2112         * include/java-props.h (_Jv_Module_Load_Path): Declare variable.
2113         * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
2114         lt_dlinit.
2115         * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
2116         Define variable.
2117         (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath.  Set
2118         _Jv_Module_Load_Path.
2120 2005-09-06  Tom Tromey  <tromey@redhat.com>
2122         PR libgcj/23739:
2123         * testsuite/libjava.jni/pr23739.c: New file.
2124         * testsuite/libjava.jni/pr23739.java: New file.
2125         * testsuite/libjava.jni/pr23739.out: New file.
2126         * jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
2127         * java/lang/reflect/natMethod.cc (invoke): Updated.
2128         * java/lang/natClass.cc (isAssignableFrom): Updated.
2129         (isInstance): Likewise.
2130         (_Jv_IsAssignableFrom): Reversed arguments.
2131         (_Jv_IsInstanceOf): Updated.
2132         (_Jv_CheckCast): Likewise.
2133         (_Jv_CheckArrayStore): Likewise.
2134         (_Jv_IsAssignableFromSlow): Reversed arguments.
2135         (_Jv_InterfaceAssignableFrom): Likewise.
2136         * link.cc (verify_type_assertions): Updated.
2137         * prims.cc (_Jv_CheckAccess): Updated.
2139 2005-09-05  Ranjit Mathew  <rmathew@hotmail.com>
2141         Testsuite changes for PR java/23431.
2142         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and
2143         8.4.6.2-hiding-5.
2144         * testsuite/libjava.compile/PR23431_1.java: New testcase.
2145         * testsuite/libjava.compile/PR23431_2.java: Likewise.
2146         * testsuite/libjava.compile/PR23431_1.xfail: New file.
2147         * testsuite/libjava.compile/PR23431_2.xfail: Likewise.
2149 2005-08-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
2151         PR libgcj/23549
2152         * gij.cc (main): Don't expect arguments to -enableassertions, -ea,
2153         -disableassertions and -da.
2155 2005-08-29  Andrew Pinski  <pinskia@physics.uc.edu>
2157         * configure.ac: Replace "*-*-darwin[0-7].*" with
2158         "*-*-darwin[[0-7]].*"
2159         * configure: Regenerate.
2161 2005-08-24  Andreas Tobler  <a.tobler@schweiz.ch>
2163         * configure.ac (extra_ldflags_libjava): Enable -single_module only for
2164         darwin < 8.
2165         * configure: Regenerate.
2167 2005-08-23  Roman Kennke  <roman@kennke.org>
2169         * java/lang/Character.java
2170         (toChars(int)): New JDK1.5 method.
2171         (toChars(int, char[], int)): New JDK1.5 method.
2172         (charCount): New JDK1.5 method.
2173         (isSupplementaryCodePoint): New JDK1.5 method.
2174         (isValidCodePoint): New JDK1.5 method.
2176 2005-08-23  Tom Tromey  <tromey@redhat.com>
2178         * aclocal.m4, Makefile.in: Rebuilt.
2179         * Makefile.am (property_files): Added META-INF files.
2180         (propertyo_files): Changed definition.
2181         ($(propertyo_files)): Updated patterns.
2183 2005-08-22  Tom Tromey  <tromey@redhat.com>
2185         PR libgcj/22622:
2186         * configure: Rebuilt.
2187         * configure.ac: Correctly create Configuration.java (for
2188         temporary use).
2190 2005-08-22  Kelley Cook  <kcook@gcc.gnu.org>
2192         * Makefile.am (ACLOCAL_AMFLAGS): Also include "..".
2193         * acinclude.m4: Delete.  Extract CHECK_FOR_BROKEN_MINGW_LD to ...
2194         * mingwld.m4: ... this new file.
2195         * aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate. 
2196         * include/Makefile.in, testsuite/Makfile.in: Regenerate.
2198 2005-08-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2200         PR libgcj/23507
2201         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Fix typo in newLength
2202         assignment.  Cast operands of compare to function pointer type.
2204 2005-08-21  Tom Tromey  <tromey@redhat.com>
2206         * HACKING: Updated for hacking classpath in libgcj.
2208 2005-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2210         PR libgcj/21692
2211         * sysdep/pa/descriptor.h: New file.
2212         * configure.host: Use sysdep/pa/descriptor.h on hppa*-*.
2214 2005-08-19  Andrew Pinski  <pinskia@physics.uc.edu>
2216         * Makefile.am (extra_ldflags_libjava): New variable to
2217         substitute in.
2218         (LIBLINK): Add extra_ldflags_libjava to it.
2219         * configure.ac (extra_ldflags_libjava): Set for *-darwin* to
2220         "-Wl,-single_module".
2221         * Makefile.in: Regenerate.
2222         * aclocal.m4: Regenerate.
2223         * configure: Regenerate.
2224         * gcj/Makefile.in: Regenerate.
2225         * include/Makefile.in: Regenerate.
2226         * testsuite/Makefile.in: Regenerate.
2228 2005-08-17  Tom Tromey  <tromey@redhat.com>
2230         * java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
2231         friend.
2232         * include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
2233         * testsuite/libjava.lang/bclink.java: New file.
2234         * testsuite/libjava.lang/bclink.out: New file.
2235         * link.cc (print_class_loaded): Changed ABI test to look at
2236         various _syms fields.
2238 2005-08-17  Andreas Tobler  <a.tobler@schweiz.ch>
2240         * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7,
2241         15.21-assoc-8, 15.21-equal-3, 15.28-string-11.
2243 2005-08-16  Ranjit Mathew  <rmathew@hotmail.com>
2245         More testsuite adjustments for PR java/19870.
2246         * testsuite/libjava.lang/PR19870_2.java: New testcase.
2247         * testsuite/libjava.lang/PR19870_2.out: Expected output for the
2248         new testcase.
2249         * testsuite/libjava.jacks/jacks.xfail: Remove
2250         8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9.
2252 2005-08-16  Tom Tromey  <tromey@redhat.com>
2254         * gnu/xml/xpath/XPathParser.y: Removed.
2256 2005-08-12  Morgan Deters  <mdeters@morgandeters.com>
2258         PR libgcj/23353:
2259         * java/lang/natObject.cc (clone): Clear sync_info.
2261 2005-07-26  Tom Tromey  <tromey@redhat.com>
2263         * gnu/java/net/protocol/ftp/package.html,
2264         gnu/javax/swing/text/html/package.html,
2265         gnu/javax/swing/text/html/parser/package.html,
2266         gnu/javax/swing/text/html/parser/models/package.html,
2267         gnu/javax/swing/text/html/parser/support/package.html,
2268         gnu/javax/swing/text/html/parser/support/low/package.html,
2269         gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
2270         gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
2271         gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
2272         java/awt/geom/doc-files/CubicCurve2D-1.png,
2273         java/awt/geom/doc-files/CubicCurve2D-2.png,
2274         java/awt/geom/doc-files/CubicCurve2D-3.png,
2275         java/awt/geom/doc-files/CubicCurve2D-4.png,
2276         java/awt/geom/doc-files/CubicCurve2D-5.png,
2277         java/awt/geom/doc-files/Ellipse-1.png,
2278         java/awt/geom/doc-files/FlatteningPathIterator-1.html,
2279         java/awt/geom/doc-files/GeneralPath-1.png,
2280         java/awt/geom/doc-files/QuadCurve2D-1.png,
2281         java/awt/geom/doc-files/QuadCurve2D-2.png,
2282         java/awt/geom/doc-files/QuadCurve2D-3.png,
2283         java/awt/geom/doc-files/QuadCurve2D-4.png,
2284         java/awt/geom/doc-files/QuadCurve2D-5.png,
2285         javax/imageio/package.html, javax/imageio/event/package.html,
2286         javax/imageio/metadata/package.html,
2287         javax/imageio/spi/package.html, javax/imageio/stream/package.html,
2288         javax/swing/border/doc-files/BevelBorder-1.png,
2289         javax/swing/border/doc-files/BevelBorder-2.png,
2290         javax/swing/border/doc-files/BevelBorder-3.png,
2291         javax/swing/border/doc-files/EmptyBorder-1.png,
2292         javax/swing/border/doc-files/EtchedBorder-1.png,
2293         javax/swing/border/doc-files/EtchedBorder-2.png,
2294         javax/swing/border/doc-files/LineBorder-1.png,
2295         javax/swing/border/doc-files/MatteBorder-1.png,
2296         javax/swing/border/doc-files/MatteBorder-2.png,
2297         javax/swing/border/doc-files/MatteBorder-3.png,
2298         javax/swing/border/doc-files/MatteBorder-4.png,
2299         javax/swing/border/doc-files/MatteBorder-5.png,
2300         javax/swing/border/doc-files/MatteBorder-6.png,
2301         javax/swing/border/doc-files/SoftBevelBorder-1.png,
2302         javax/swing/border/doc-files/SoftBevelBorder-2.png,
2303         javax/swing/border/doc-files/SoftBevelBorder-3.png,
2304         javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2305         javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2306         javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
2307         javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2308         javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2309         javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2310         javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2311         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2312         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2313         javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2314         javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
2315         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2316         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2317         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2318         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2319         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2320         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2321         javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
2322         javax/swing/plaf/doc-files/ComponentUI-1.dia,
2323         javax/swing/plaf/doc-files/ComponentUI-1.png,
2324         javax/swing/plaf/doc-files/TreeUI-1.png,
2325         javax/xml/datatype/package.html, javax/xml/namespace/package.html,
2326         javax/xml/parsers/package.html, javax/xml/transform/package.html,
2327         javax/xml/transform/dom/package.html,
2328         javax/xml/transform/sax/package.html,
2329         javax/xml/transform/stream/package.html,
2330         javax/xml/validation/package.html, javax/xml/xpath/package.html:
2331         Removed.
2333 2005-07-22  Tom Tromey  <tromey@redhat.com>
2335         * include/Makefile.in: Rebuilt.
2336         * include/Makefile.am (tool_include__HEADERS): Include
2337         classpath's jni.h.
2339 2005-07-20  Tom Tromey  <tromey@redhat.com>
2341         * sources.am, Makefile.in: Rebuilt.
2342         * Makefile.am (all_xlib_lo_files): Removed.
2343         (all_libgcj_lo_files): Likewise.
2344         (lib_gnu_awt_xlib_la_LIBADD): List correct .lo files.
2345         (xlib_java_source_files): Removed.
2346         (xlib_nat_headers): Updated.
2347         * configure: Rebuilt.
2348         * configure.ac: Create standard.omit.
2349         * standard.omit.in: New file.
2350         * standard.omit: Removed.
2351         * scripts/makemake.tcl (gnu/gcj/xlib, gnu/awt/xlib): Now
2352         'package'.
2353         (emit_package_rule): Special case xlib peers.
2354         (emit_source_var): Likewise.
2355         Read standard.omit.in.
2356         * gnu/awt/xlib/XToolkit.java (createEmbeddedWindow): New method.
2358 2005-07-18  Tom Tromey  <tromey@redhat.com>
2360         * HACKING: Updated.
2362 2005-07-19  Matthias Klose  <doko@debian.org>
2364         * classpath/java/awt/im/InputContext.java (clinit): Initialize
2365           line, im.
2367 2005-07-18  Tom Tromey  <tromey@redhat.com>
2369         PR libgj/21058:
2370         * sources.am, Makefile.in: Rebuilt.
2371         * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
2372         file.
2373         (emit_source_var): Don't emit patsubst with './'.
2375 2005-07-18  Tom Tromey  <tromey@redhat.com>
2377         * Makefile.in: Rebuilt.
2378         * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
2380 2005-07-17  Andreas Jaeger  <aj@suse.de>
2382         * defineclass.cc (handleClassBegin): Remove unused variable.
2384 2005-07-16  Andreas Schwab  <schwab@suse.de>
2386         * scripts/makemake.tcl (emit_package_rule): Emit command to create
2387         target directory.
2388         * Makefile.am (%.lo): Don't create it here.
2389         * sources.am, Makefile.in: Regenerated.
2391 2005-07-15  Tom Tromey  <tromey@redhat.com>
2393         Major merge with Classpath.
2394         Removed many duplicate files.
2395         * HACKING: Updated.x
2396         * classpath: Imported new directory.
2397         * standard.omit: New file.
2398         * Makefile.in, aclocal.m4, configure: Rebuilt.
2399         * sources.am: New file.
2400         * configure.ac: Run Classpath configure script.  Moved code around
2401         to support.  Disable xlib AWT peers (temporarily).
2402         * Makefile.am (SUBDIRS): Added 'classpath'
2403         (JAVAC): Removed.
2404         (AM_CPPFLAGS): Added more -I options.
2405         (BOOTCLASSPATH): Simplified.
2406         Completely redid how sources are built.
2407         Include sources.am.
2408         * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
2409         * include/jni.h: Removed (in Classpath).
2410         * scripts/classes.pl: Updated to look at built classes.
2411         * scripts/makemake.tcl: New file.
2412         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
2413         -I options.
2414         (gcj_jni_invocation_compile_c_to_binary): Likewise.
2416 2005-07-15  Scott Gilbertson  <scottg@mantatest.com>
2418         * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
2419         (eventMask): New field.
2420         (XCanvasPeer(Component)): Use attributes field.
2421         (setBackground): Implemented.
2422         (setEventMask): Process mask only if changed.
2423         * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
2424         (eventLoopThread): New field.
2425         (XEventLoop(Display,EventQueue)): Start eventLoopThread.
2426         (interrupt): Removed.
2427         (run): New method.
2428         * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
2429         and Component events.
2430         * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
2431         field.
2432         (configureNotify): Set and clear processingConfigureNotify.
2433         (setBounds): Process only if processingConfigureNotify is false.
2434         (toBack): Implemented.
2435         (toFront): Implemented.
2436         * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
2437         * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
2438         color.
2439         * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
2440         (wakeNativeQueue): Do nothing.
2441         (iterateNativeQueue): Do queue.wait if blocking.
2442         * gnu/gcj/xlib/Font.java (loadFont): New method.
2443         (loadFontImpl): Renamed native method, was loadFont. 
2444         * gnu/gcj/xlib/Window.java (toFront): New method.
2445         (toBack): New method.
2446         * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was 
2447         loadFont.
2448         * gnu/gcj/xlib/natWindow.cc (toBack): New method.
2449         (toFront): New method. 
2450         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
2452 2005-07-14  Andrew Haley  <aph@redhat.com>
2454         * gnu/java/net/protocol/file/Connection.java (unquote): New
2455         method.
2456         (connect): Unquote filename.
2457         gnu/java/net/protocol/jar/Connection.java (getInputStream):
2458         Likewise.  
2459         (getJarFile): Likewise.
2461         * java/net/URLConnection.java (getContentHandler): Guard cast with
2462         instaceof.
2464         * java/net/URL.java (URL): If the file part of a spec is absolute,
2465         ignore the file part of its context.
2467 2005-07-14  Aaron Luchko  <aluchko@redhat.com>
2469         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
2470         Implemented VirtualMachine Command Set.
2472 2005-07-14  Tom Tromey  <tromey@redhat.com>
2474         * java/lang/Class.java (getProtectionDomain): Merged javadoc from
2475         Classpath.
2477 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2479         * gnu/classpath/jdwp/processor/FieldCommandSet.java:
2480         Implemented the Field CommandSet.
2481         * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
2482         Implemented the InterfaceType CommandSet.
2484 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2486         * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
2487         shutdown to jdwp instead of connection.
2489 2005-07-12  Aaron Luchko  <aluchko@redhat.com>
2491         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
2492         New file.
2494 2005-07-08  Colin Walters  <walters@verbum.org>
2496         * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
2497         check for abstract classes or interfaces here; JVM spec
2498         says it should throw an exception, so we'll do so later.
2499         * interpret.cc (run): Throw an InstantiationException for
2500         abstract classes and interfaces.
2502 2005-07-08  Andrew Haley  <aph@redhat.com>
2504         * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
2505         (regular, non-realtime scheduling), not SCHED_RR (realtime,
2506         round-robin).
2508 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2510         * gnu/classpath/jdwp/util/Signature.java
2511         (computeFieldSignature): New Method.
2513 2005-07-07  Aaron Luchko  <aluchko@redhat.com>
2515         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
2516         file.
2518 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2520         * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
2521         6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
2523 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
2525         * testsuite/libjava.compile/PR21045.java: New test.
2526         * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
2527         15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
2529 2005-07-06  Tom Tromey  <tromey@redhat.com>
2531         * java/io/InputStreamReader.java (refill): Handle no-progress
2532         case correctly.
2533         * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
2535 2005-07-06  Tom Tromey  <tromey@redhat.com>
2537         * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
2539 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2541         * testsuite/libjava.compile/PR19674.java: New test.
2543 2005-07-05  Aaron Luchko  <aluchko@redhat.com>
2545         * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
2546         New file.
2548 2005-07-04  Aaron Luchko  <aluchko@redhat.com>
2550         * gnu/classpath/jdwp/processor/CommandSet.java: New file.
2551         * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
2552         CommandSets to handle JdwpCommandPackets.
2553         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
2554         Constructor.
2556 2005-07-01  Tom Tromey  <tromey@redhat.com>
2558         * libtool-version: Updated.
2560 2005-06-30  Aaron Luchko  <aluchko@redhat.com>
2562         * gnu/classpath/jdwp/util/JdwpString.java: New file.
2564 2005-06-30  Keith Seitz  <keiths@redhat.com>
2566         * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
2567         (myWrite): New abstract method.
2568         (toBytes): Remove.
2569         (myToBytes): Remove.
2570         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
2571         method.
2572         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
2573         method.
2574         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
2575         JdwpPacket.write instead of JdwpPacket.toBytes.
2577 2005-06-30  Keith Seitz  <keiths@redhat.com>
2579         * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
2580         method.
2581         (_bytes): New member.
2582         (_doStream): New member.
2583         (JdwpConnection): Initialize new members.
2585 2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
2587         * all files: Update for new FSF address.
2589 2005-06-29  Tom Tromey  <tromey@redhat.com>
2591         PR libgcj/22211:
2592         * testsuite/libjava.lang/pr22211.java: New file.
2593         * java/lang/natThread.cc (finish_): Synchronize when updating
2594         alive_flag.
2595         (_Jv_AttachCurrentThread): Likewise.
2596         (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
2597         * java/lang/Thread.java (isAlive): Now synchronized.
2599 2005-06-29  Tom Tromey  <tromey@redhat.com>
2601         * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
2602         _Jv_CheckCast.
2604 2005-06-28  Robin Green  <greenrd@greenrd.org>
2606         PR java/22189
2607         * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
2608         error.
2610 2005-06-27  Tom Tromey  <tromey@redhat.com>
2612         PR java/21540, PR java/13788:
2613         * testsuite/libjava.compile/pr21540.java: New file.
2614         * testsuite/libjava.compile/pr13788.java: New file.
2615         * testsuite/libjava.jacks/jacks.xfail: Updated.
2617 2005-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2619         * testsuite/libjava.mauve/xfails: Updated to reflect current state
2620         of mauve and libjava. 
2622 2005-06-24  Tom Tromey  <tromey@redhat.com>
2624         * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
2625         where class' name is NULL.
2626         (_Jv_FindClass): Don't wait for class state.
2627         * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
2628         name found.
2629         * include/java-interp.h (_Jv_DefineClass): Updated.
2630         * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
2631         (struct _Jv_ClassReader): Likewise.
2632         (found_name): New field.
2633         (handleClassBegin): Set *found_name.
2634         (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
2635         (handleClassBegin): Throw error if super class not set.
2636         (read_methods): Correctly call check_tag and prepare_pool_entry.
2638 2005-06-24  Tom Tromey  <tromey@redhat.com>
2640         * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
2642 2005-06-24  Tom Tromey  <tromey@redhat.com>
2644         * verify.cc (verify_instructions_0): Correctly handle situation
2645         where PC falls off end.
2647 2005-06-24  Tom Tromey  <tromey@redhat.com>
2649         * interpret.cc (compile): Handle case where table entry is
2650         outside of PC range.
2652 2005-06-23  Bryce McKinlay  <mckinlay@redhat.com>
2654         * testsuite/libjava.compile/PR20697.java: New test-case.
2656 2005-06-22  Kelley Cook  <kcook@gcc.gnu.org>
2658         * Makefile.am (SUBDIRS): Use append for conditional.
2659         (toolexeclib_LTLIBRARIES): Likewise.
2660         (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
2661         a conditional append.
2662         * Makefile.in: Regenerate.
2664 2005-06-17  Keith Seitz  <keiths@redhat.com>
2666         * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
2667         * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
2668         * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
2669         file.
2670         * gnu/classpath/jdwp/exception/JdwpException.java: New file.
2671         * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
2672         file.
2673         * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
2674         * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
2675         * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
2676         * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
2677         file.
2678         * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
2679         * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
2681 2005-06-16  Kelley Cook  <kcook@gcc.gnu.org>
2683         * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
2684         (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
2685         (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
2686         USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
2687         USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
2688         * Makefile.in: Regenerate.
2690 2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>
2692         * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
2693         (USING_POSIX_PLATFORM): ... here.
2694         * Makefile.am: Delete USING_ECOS_PLATFORM.
2695         * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
2696         external/Makefile.in, external/sax/Makefile.in,
2697         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
2699 2005-06-15  Tom Tromey  <tromey@redhat.com>
2701         PR libgcj/17536:
2702         * testsuite/libjava.lang/pr17536.java: New file.
2703         * testsuite/libjava.lang/pr17536.out: New file.
2705 2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>
2707         PR libgcj/21074:
2708         * gnu/java/net/protocol/http/HTTPURLConnection.java
2709         (getHeaderFieldKey): Check index.
2711 2005-06-15  Tom Tromey  <tromey@redhat.com>
2713         PR libgcj/21906:
2714         * defineclass.cc (handleMethodsEnd): Set ncode for abstract
2715         methods.
2716         * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
2717         * link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
2718         static.
2719         (append_partial_itable): Use it.
2720         (set_vtable_entries): Likewise.
2722 2005-06-15  Tom Tromey  <tromey@redhat.com>
2724         * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
2725         last_was_sep in loop.
2727 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2729         * configure.host: Handle Solaris 10/x86.
2731 2005-06-14  Keith Seitz  <keiths@redhat.com>
2733         * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
2734         * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
2736 2005-06-14  Keith Seitz  <keiths@redhat.com>
2738         * gnu/classpath/jdwp/id/ArrayId.java: New file.
2739         * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
2740         * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
2741         * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
2742         * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
2743         * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
2744         * gnu/classpath/jdwp/id/JdwpId.java: New file.
2745         * gnu/classpath/jdwp/id/ObjectId.java: New file.
2746         * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
2747         * gnu/classpath/jdwp/id/StringId.java: New file.
2748         * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
2749         * gnu/classpath/jdwp/id/ThreadId.java: New file.
2751 2005-06-14  Tom Tromey  <tromey@redhat.com>
2753         PR libgcj/19877:
2754         * configure, aclocal.m4, Makefile.in: Rebuilt.
2756 2005-06-14  Tom Tromey  <tromey@redhat.com>
2758         * java/lang/Class.java (getClasses): New method.
2759         (internalGetClasses): Likewise.
2760         (getClassLoader): Updated documentation.
2761         (getDeclaredClasses): New overload; old overload no longer
2762         native.
2763         (_getConstructors): Removed.
2764         (resourcePath): Updated.
2765         * java/lang/natClass.cc (getClasses): Removed.
2766         * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
2767         Updated.
2768         (_getConstructors): Removed.
2770 2005-06-13  Jim Huang  <jserv@kaffe.org>
2772         PR libgcj/22036:
2773         * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
2774         (_Jv_JNI_NewObject): Likewise.
2776 2005-06-13  Tom Tromey  <tromey@redhat.com>
2778         PR java/21844:
2779         * testsuite/libjava.lang/pr21844.java: New file.
2780         * testsuite/libjava.lang/pr21844.out: New file.
2782 2005-06-08  Bryce McKinlay  <mckinlay@redhat.com>
2784         PR libgcj/21949
2785         * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
2786         From Gary Benson.
2788 2005-06-08  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2790         * java/text/MessageFormat.java (parse): When parsing strings, check
2791         for an empty pattern trailer.
2793 2005-06-06  Keith Seitz  <keiths@redhat.com>
2795         * gnu/classpath/jdwp/util/Signature.java: New file.
2796         * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
2798 2005-06-05  Anthony Green  <green@redhat.com>
2800         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
2801         fall-through bug.
2803 2005-06-04  Anthony Green  <green@redhat.com>
2805         * java/net/URLClassLoader.java: import gnu.gcj.Core,
2806         and gnu.java.net.protocol.core.CoreInputStream.
2807         (CureURLLoader): New class.
2808         (CoreResource): New class.
2809         (addURLImpl): Add special treatment for the "core" protocol.
2810         * gnu/gcj/natCore.cc (find): New method.
2811         * gnu/gcj/Core.java (find): New method.
2813 2005-06-03  Keith Seitz  <keiths@redhat.com>
2815         * gnu/classpath/jdwp/transport/ITransport.java: New file.
2816         * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
2817         * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
2819 2005-06-03  Andreas Tobler  <a.tobler@schweiz.ch>
2821         * jawt.c: Remove malloc.h, covered by stdlib.h.
2823         * testsuite/libjava.jni/jni.exp
2824         (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
2825         the build process.
2827 2005-06-02  Keith Seitz  <keiths@redhat.com>
2829         * gnu/classpath/jdwp/transport/TransportException.java: New file.
2831 2005-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
2833         * mauve-libgcj: Remove implemented classes from the fail section.
2834         Add two new not implemented to it.
2836 2005-06-01  Bryce McKinlay  <mckinlay@redhat.com>
2838         * configure.ac (BACKTRACESPEC): Remove definition, but continue to
2839         AC_SUBST definition from configure.host.
2840         * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
2841         to -fomit-frame-pointer on 32-bit x86 targets.
2843 2005-06-01  Tom Tromey  <tromey@redhat.com>
2845         * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
2847 2005-06-01  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2849         PR libgcj/20435:
2850         * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
2851         (static): Add possessive matching to JAVA_1_4 syntax.
2852         * gnu/regexp/RETokenRepeated.java (possessive): New field.
2853         (makePossessive, isPossessive): New methods.
2854         (match): Don't back off during possessive matching.
2855         * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
2856         * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
2857         to JAVA_1_4.
2859 2005-06-01  Keith Seitz  <keiths@redhat.com>
2861         * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
2862         * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
2863         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
2865 2005-06-01  Tom Tromey  <tromey@redhat.com>
2867         PR libgcj/21785:
2868         * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
2869         (currentLoader): New method.
2870         * java/io/ObjectInputStream.java (resolveProxyClass): Use
2871         currentLoader.
2872         (currentLoader): Now native.
2873         (currentClassLoader): Removed.
2874         * testsuite/libjava.lang/pr21785.java: New file.
2875         * testsuite/libjava.lang/pr21785.out: New file.
2877 2005-06-01  Tom Tromey  <tromey@redhat.com>
2879         PR libgcj/21753:
2880         * java/lang/natString.cc (substring): Changed sharing heuristic.
2882 2005-05-30  Bryce McKinlay  <mckinlay@redhat.com>
2884         PR libgcj/21821
2885         * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
2886         MAXPATHLEN. Format exception message using a StringBuffer instead.
2888 2005-05-29  Michael Koch  <konqueror@gmx.de>
2890         PR libgcj/20273:
2891         * java/util/LinkedHashMap.java (access): Set 'root.pred'.
2893 2005-05-27  Ziga Mahkovec  <ziga.mahkovec@klika.si>
2895         * ChangeLog: Fix typo.
2897 2005-05-26  Ranjit Mathew  <rmathew@hotmail.com>
2899         Testsuite adjustments for PR java/19870.
2900         * testsuite/libjava.lang/PR19870.java: New testcase.
2901         * testsuite/libjava.lang/PR19870.out: Expected output for the
2902         testcase.
2903         * testsuite/libjava.jacks/jacks.xfail: Add
2904         8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
2907 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
2909         * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
2910         (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
2911         (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
2912         classes.
2913         (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
2914         (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
2915         (_Jv_CheckABIVersion): Check for both old and new style version IDs.
2916         (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. 
2918 2005-05-25  Richard Henderson  <rth@redhat.com>
2920         PR libgcj/21692
2921         * sysdep/descriptor-n.h: New file.
2922         * sysdep/descriptor-y.h: New file.
2923         * sysdep/powerpc/descriptor.h: New file.
2924         * configure.host: Set $descriptor_h appropriate for the host.
2925         * configure.ac: Link it.
2926         * configure: Regenerate.
2927         * stacktrace.cc: Include sysdep/descriptor.h.
2928         (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
2930 2005-05-25  Chris Burdess  <dog@gnu.org>
2932         * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
2933         end entity callbacks.
2935 2005-05-24  Gary Benson  <gbenson@redhat.com>
2937         PR libgcj/21736:
2938         * java/text/MessageFormat.java (MessageFormatElement.setLocale):
2939         Handle DateFormat.DEFAULT case correctly.
2941 2005-05-21  Tom Tromey  <tromey@redhat.com>
2943         PR libgcj/21703:
2944         * java/lang/ref/natReference.cc (find_slot): Handle case where
2945         table has no NULL entries.
2946         * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
2947         table has no NULL entries.
2949 2005-05-22  Andreas Jaeger  <aj@suse.de>
2951         * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
2952         avoid warnings.
2954 2005-05-21  Ranjit Mathew  <rmathew@hotmail.com>
2956         * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
2958 2005-05-19  Richard Henderson  <rth@redhat.com>
2960         * exception.cc: Revert 05-17 gcc_unreachable change.
2962 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2964         * java/lang/natClassLoader.cc (_Jv_NewClass): Use
2965         _Jv_RegisterInitiatingLoader to register array classes, not
2966         _Jv_RegisterClass.
2967         (_Jv_RegisterInitiatingLoader): Give up if called very early during
2968         bootstrapping. Add a FIXME to handle this case better.
2970 2005-05-19  Bryce McKinlay  <mckinlay@redhat.com>
2972         * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
2973         convenience library.
2974         (libgcj_la_SOURCES): New. Move sources here.
2975         (libgcj.la): Remove rule.
2977 2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2979         PR libgcj/19729
2980         * gnu/java/security/provider/DSASignature.java: Import updates
2981         from GNU Crypto.
2983 2005-05-18  Anthony Green  <green@redhat.com>
2985         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
2986         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2987         classpath_jawt_destroy_lock): New functions.
2988         * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
2989         classpath_jawt_object_unlock, classpath_jawt_create_lock,
2990         classpath_jawt_destroy_lock): New functions.
2991         * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
2992         field.
2993         * jawt.c: #include malloc.h.
2994         (_Jv_Lock): Use lock.
2995         (_Jv_Unlock): Ditto.
2996         (_Jv_GetDrawingSurface): Initialize lock.
2997         (_Jv_FreeDrawingSurface): Destroy lock.
2998         (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
3000 2005-05-18  Paolo Bonzini  <bonzini@gnu.org>
3002         * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
3003         * Makefile.in: Regenerate.
3005 2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
3007         * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
3008         Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
3009         * aclocal.m4, configure, config.h.in, include/config.h.in,
3010         Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3011         external/Makefile.in, external/sax/Makefile.in,
3012         external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
3014 2005-05-17  David Daney  <ddaney@avtrex.com>
3016         PR libgcj/18220
3017         * testsuite/libjava.lang/Process_3.java (run):  Exit on error.
3019 2005-05-17  Nathan Sidwell  <nathan@codesourcery.com>
3021         * exception.cc (abort): Remove std::abort hack.
3022         (gcc_unreacheable): Define.
3024 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
3026         * Makefile.am (Makefile.deps): Do not create native.list and
3027         bytecodes.list.
3028         (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
3029         * Makefile.in: Regenerate.
3031 2005-05-17  Paolo Bonzini  <bonzini@gnu.org>
3033         * configure.ac (--enable-libgcj-multifile): Remove.
3035         * Makefile.am (all_native_compiled_source_files,
3036         (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
3037         all_libgcj_lo_files, all_xlib_lo_files,
3038         all_java_deps_files, all_java_stamp_files,
3039         all_java_filelist_files): New variables.
3040         (EXTRA_DIST): New Automake variable.
3041         (CLEANFILES): Add .stamp, .list and .lo files.
3042         (%.list, %.lo, %.stamp, Makefile.deps): New rules.
3043         (classes.stamp): Depend on $(all_java_stamp_files).
3044         (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
3045         going through write_entries_to_file.
3047         (all_java_source_files, all_property_files): Move earlier.
3048         (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
3049         all_java_class_files): Remove.
3050         (gtk_awt_peer_sources): Rename to...
3051         (gtk_awt_peer_source_files): ... this.  Adjust throughout.
3053         (ONESTEP): Remove.
3054         (libgcj0_convenience_la_SOURCES): Remove Java source files.
3055         (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
3056         (libgcj0_convenience_la_DEPENDENCIES): Likewise.
3057         (libgcj_la_SOURCES): Remove.
3058         (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
3059         (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
3060         (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
3062         * configure: Regenerate.
3063         * Makefile.in: Regenerate.
3064         * external/Makefile.in: Regenerate.
3065         * external/sax/Makefile.in: Regenerate.
3066         * external/w3c_dom/Makefile.in: Regenerate.
3067         * gcj/Makefile.in: Regenerate.
3068         * include/Makefile.in: Regenerate.
3069         * libltdl/Makefile.in: Regenerate.
3070         * testsuite/Makefile.in: Regenerate.
3072 2005-05-16  Tom Tromey  <tromey@redhat.com>
3074         * java/nio/charset/Charset.java (encode, decode): Synchronize on
3075         'this', not the class.
3077 2005-05-16  Tom Tromey  <tromey@redhat.com>
3079         * gnu/java/net/protocol/http/Headers.java (parse): Include final
3080         character of line.
3082 2005-05-16  Tom Tromey  <tromey@redhat.com>
3084         PR libgcj/21606:
3085         * java/net/URI.java (unquote): Handle lower-case letters as well.
3087 2005-05-16  Ziga Mahkovec  <ziga.mahkovec@klika.si>
3089         PR libgcj/20504
3090         * gnu/regexp/RE.java: Add support for quoting constructs.
3092 2005-05-15  Tom Tromey  <tromey@redhat.com>
3094         * java/lang/String.java (startsWith): Fixed javadoc.
3096 2005-05-15  Tom Tromey  <tromey@redhat.com>
3098         PR java/21519:
3099         * testsuite/libjava.compile/pr21519.java: New file.
3100         * testsuite/libjava.compile/pr21519.no-link: New file.
3102 2005-05-15  Tom Tromey  <tromey@redhat.com>
3104         * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
3106 2005-05-13  Bryce McKinlay  <mckinlay@redhat.com>
3108         PR libgcj/21557
3109         * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
3110         interrupt status flag if _Jv_CondWait is interrupted.
3112 2005-05-13  Tom Tromey  <tromey@redhat.com>
3114         * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
3115         element in path.
3117 2005-05-12  Bryce McKinlay  <mckinlay@redhat.com>
3119         * include/jvm.h (gcj::verifyClasses): Declare.
3120         * link.cc (gcj::verbose_class_flag): Moved.
3121         * prims.cc (gcj::verifyClasses): Define here.
3122         (gcj::verbose_class_flag): Move definition here.
3123         (_Jv_Linker::wait_for_state): Don't call verify_class
3124         if gcj::verifyClasses is not set.
3125         * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
3127 2005-05-12  Aaron Luchko  <aluchko@redhat.com>
3129         * gij.cc (main): Recognize '-verify', '-noverify', and
3130         '-verifyremote'
3132 2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
3134         * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
3136 2005-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
3138         * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
3139         libgcjawt.la.
3141 2005-05-11  Tom Tromey  <tromey@redhat.com>
3143         * external/w3c_dom/Makefile.in: Rebuilt.
3144         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
3145         -fbootstrap-classes.
3146         * external/sax/Makefile.in: Rebuilt.
3147         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
3148         -fbootstrap-classes.
3149         * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
3150         friend.
3151         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
3152         Call _Jv_CopyClassesToSystemLoader.
3153         * java/lang/natClassLoader.cc (system_class_list): New global.
3154         (_Jv_RegisterClassHookDefault): Handle bootstrap and system
3155         classes differently.
3156         (_Jv_CopyClassesToSystemLoader): New function.
3157         (SYSTEM_LOADER_INITIALIZED): New define.
3158         * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
3159         (_Jv_CheckABIVersion): Use it.
3160         (_Jv_ClassForBootstrapLoader): New function.
3161         * Makefile.in: Rebuilt.
3162         * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
3164 2005-05-10  Tom Tromey  <tromey@redhat.com>
3166         * gcj/javaprims.h: Updated.
3167         * java/lang/String.java (String(StringBuilder)): New constructor.
3168         * java/lang/natStringBuilder.cc: New file.
3169         * java/lang/StringBuilder.java: New file.
3170         * Makefile.in: Rebuilt.
3171         * Makefile.am (core_java_source_files): Added StringBuilder.java.
3172         (nat_source_files): Added natStringBuilder.cc.
3174 2005-05-10  Paolo Bonzini  <bonzini@gnu.org>
3176         PR java/21436
3177         * testsuite/libjava.jacks/jacks.xfail: Adjust.
3179 2005-05-09  Mike Stump  <mrs@apple.com>
3181         * configure: Regenerate.
3183 2005-05-09  David Daney  <ddaney@avtrex.com>
3185         * java/util/BitSet.java (get(int, int)): Fix breakage when
3186         requested set doesn't start on a multiple of 64.
3188 2005-05-07  Matthias Klose  <doko@debian.org>
3190         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
3192 2005-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
3194         * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
3195         * Makefile.in: Regenerate.
3196         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
3197         (createCompatibleVolatileImage(int,int)): Implement.
3198         (createCompatibleVolatileImage(int,int,ImageCapabilities)):
3199         Likewise.
3200         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
3201         New fields.
3202         (createVolatileImage): Implement.
3203         (createBuffers): Likewise.
3204         (getBackBuffer): Likewise.
3205         (flip): Likewise.
3206         (destroyBuffers): Likewise.
3207         * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
3208         * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
3209         (CanvasFlipBufferStrategy): Likewise.
3210         (createBufferStrategy(int)): New method.
3211         (createBufferStrategy(int,BufferCapabilities)): Likewise.
3212         * java/awt/Component.java (BltBufferStrategy): Implement and
3213         document class.
3214         (FlipBufferStrategy): Likewise.
3215         * java/awt/Window.java (WindowBltBufferStrategy): New class.
3216         (WindowFlipBufferStrategy): Likewise.
3217         (createBufferStrategy(int)): New method.
3218         (createBufferStrategy(int,BufferCapabilities)): Likewise.
3219         (getBufferStrategy): Likewise.
3220         * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
3221         front to frontCaps and back to backCaps.
3223 2005-05-06  Michael Koch  <konqueror@gmx.de>
3225         * java/awt/BufferCapabilities.java
3226         (BufferCapabilities): Merged javadoc.
3228 2005-05-06  Michael Koch  <konqueror@gmx.de>
3230         * java/util/Locale.java
3231         (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
3232         (getLocale): New methods. Use it everywhere where instances of Locales
3233         are needed.
3234         (getDisplayLanguage): Merged javadoc.
3235         (getDisplayCountry): Likewise.
3236         (getDisplayVariant): Likewise.
3238 2005-05-06  Archie Cobbs  <archie@dellroad.org>
3240         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
3241         use DeleteLocalRef() to avoid exhausting local native references.
3243 2005-05-06  Mark Wielaard  <mark@klomp.org>
3245         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3246         (window_delete_cb): Don't use C++ style comments.
3248 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
3250         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
3251         copyright header.
3253 2005-05-06  Robert Schuster  <thebohemian@gmx.net>
3255         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3256         (window_delete_cb): Made the function return TRUE.
3258 2005-05-06  Roman Kennke  <roman@kennke.org>
3260         * javax/swing/text/PlainView.java
3261         (drawUnselectedText): Call Utilities.drawTabbedText() with correct
3262         offset parameter.
3263         * javax/swing/text/Utilities.java
3264         (drawTabbedText): Initilialize local variable pos correctly.
3266 2005-05-06  Roman Kennke  <roman@kennke.org>
3268         * javax/swing/text/AbstractDocument.java
3269         (LeafElement): Made start and end package private fields for
3270         effective reindexing.
3271         * javax/swing/text/PlainDocument.java
3272         (constructor): The field rootElement is always BranchElement,
3273         so we handle it as such.
3274         (removeUpdate): Rewritten reindexing for removeUpdate so that
3275         the actual removal is taken into account.
3277 2005-05-06  Roman Kennke  <roman@kennke.org>
3279         * javax/swing/text/GapContent.java:
3280         Removed debugging output stuff, which I accidentally left in.
3282 2005-05-06  Roman Kennke  <roman@kennke.org>
3284         * javax/swing/text/GapContent.java:
3285         Implemented a real GapContent. Only the public methods have
3286         been implemented so far and still no UndoableEdit support.
3288 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
3290         * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
3291         the typo.
3293 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3295         * java/awt/image/BufferStrategy.java: Document.
3297         * java/awt/BufferCapabilities.java: Document.
3299 2005-05-04  Tom Tromey  <tromey@redhat.com>
3301         * java/nio/channels/FileLock.java (toString): Entirely avoid
3302         String "+".
3304 2005-05-04  Andrew Overholt  <overholt@redhat.com>
3306         * java/nio/channels/FileLock.java (toString): Re-implement using
3307         StringBuffer.
3309 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3311         * java/awt/ImageCapabilities.java: Document.
3313         * java/awt/image/VolatileImage.java: Unindent copyright header.
3315 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3317         * java/awt/image/VolatileImage.java: Document.
3319 2005-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
3321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3322         (init_glib_threads): Check if threading system is already
3323         initialized.
3325 2005-05-03  Andrew Overholt  <overholt@redhat.com>
3327         PR libgcj/21372:
3328         * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
3329         could not be acquired.
3330         * java/nio/channels/FileLock.java (toString): Re-implement to be
3331         in line with other implementations.
3333 2005-05-03  Tom Tromey  <tromey@redhat.com>
3335         * java/lang/VMSecurityManager.java (currentClassLoader): Use
3336         'systemClasssLoader' directly.
3338 2005-05-03  Tom Tromey  <tromey@redhat.com>
3340         * java/lang/VMSecurityManager.java (currentClassLoader): Don't
3341         call VMClassLoader.getSystemClassLoader.
3343 2005-04-29  Michael Koch  <konqueror@gmx.de>
3345         * java/net/NetworkInterface.java
3346         (static): Removed.
3347         (NetworkInterface(String,InetAddress)): Made package-private.
3348         (NetworkInterface(String,InetAddress[])): New constructor.
3349         (getRealNetworkInterfaces): Removed.
3350         (getByName): Use VMNetworkInterface.getInterfaces().
3351         (getByInetAddress): Likewise.
3352         (getNetworkInterfaces): Likewise.
3353         * java/net/VMNetworkInterface.java,
3354         java/net/natVMNetworkInterfaceNoNet.cc,
3355         java/net/natVMNetworkInterfacePosix.c,c
3356         java/net/natVMNetworkInterfaceWin32.cc: New files.
3357         * java/net/natNetworkInterfaceNoNet.cc,
3358         java/net/natNetworkInterfacePosix.cc,
3359          java/net/natNetworkInterfaceWin32.cc: Removed.
3360         * configure.ac
3361         * Makefile.am
3362         * configure, Makefile.in: Regenerated.
3364 2005-04-29  Andrew Haley  <aph@redhat.com>
3366         * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
3368 2005-04-29  Dalibor Topic  <robilad@kaffe.org>
3370         * java/nio/channels/FileChannelImpl.java
3371         (FileChannelImpl(String, int)): Removed.
3372         (FileChannelImpl(File, int)): Added. Check if opened file is a
3373         directory.
3374         * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
3375         Call FileChannelImpl(File, int).
3376         * java/io/FileOutputStream.java (FileInputStream): Call
3377         FileChannelImpl(File, int).
3378         * java/io/RandomAccessFile.java (RandomAccessFile):
3379         Call FileChannelImpl(File, int). Switched constructors around.
3381 2005-04-27  Andrew Haley  <aph@redhat.com>
3383         PR java/19285
3384         * prims.cc (_Jv_ResolvePoolEntry): New function.
3385         * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
3386         * link.cc (_Jv_Linker::find_field): New arg: found_class.
3387         (resolve_pool_entry): Initialize the class in which a field is
3388         found.
3389         (link_symbol_table): Pass new arg to found_class.
3391 2005-04-29  Michael Koch  <konqueror@gmx.de>
3393         * java/nio/charset/Charset.java
3394         (provider): Reformatted.
3396 2005-04-29  Michael Koch  <konqueror@gmx.de>
3398         * gnu/java/net/protocol/http/HTTPConnection.java:
3399         (userAgent): Initialize from system properties.
3400         (initUserAgent): Removed.
3402 2005-04-29  Mark Wielaard  <mark@klomp.org>
3404         * java/util/ResourceBundle.java (getObject): Clarify
3405         MissingResourceException detailed message.
3406         (tryBundle(String,ClassLoader)): Likewise.
3408 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
3410         * java/beans/FeatureDescriptor.java:
3411         (getShortDescription): Implemented fallback mechanism and fixed
3412         documentation (fixes bug #12637).
3413         (getDisplayName): Dito.
3415 2005-04-29  Robert Schuster  <thebohemian@gmx.net>
3417         * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
3418         will now be set correctly.
3419         (flushCaches): Now flushes all cached intermediate data.
3421 2005-04-28  Michael Koch  <konqueror@gmx.de>
3423         * java/net/InetAddress.java
3424         (aton): Fixed javadoc.
3425         (lookup): Likewise.
3427 2005-04-28  Tom Tromey  <tromey@redhat.com>
3429         * javax/swing/Timer.java
3430         (drainEvents, queueEvent): Now package-private.
3432 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
3434         * javax/swing/Timer.java
3435         (constructor): Assigning initialDelay.
3437 2005-04-28  Audrius Meskauskas  <audriusa@bluewin.ch>
3439         * javax/swing/Timer.java
3440         (Waker.run): firing the first action event.
3442 2005-04-28  Michael Koch  <konqueror@gmx.de>
3444         * javax/swing/Timer.java: Reordered all fields and methods,
3445         Added more javadocs.
3447 2005-04-28  Michael Koch  <konqueror@gmx.de>
3449         * javax/swing/Timer.java: Javadocs merged
3450         from GNU classpath.
3452 2005-04-28  Jeroen Frijters  <jeroen@frijters.net>
3454         * gnu/java/net/protocol/file/Connection.java
3455         (StaticData): New inner class to contain statics.
3456         (connect, getHeaderField): Modified to use StaticData.
3458 2005-04-28  Michael Koch  <konqueror@gmx.de>
3460         * gnu/java/net/protocol/file/Connection.java
3461         (lineSeparator): Initialize with SystemProperties.getProperty().
3463 2005-04-27  Chris Burdess  <dog@gnu.org>
3465         * gnu/java/net/protocol/file/Connection.java: Return correct content
3466         length for directory listing.
3467         * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
3468         #11285: return valid URLs for directories.i
3470 2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3472         * Makefile.am (ordinary_java_source_files): Add
3473         gnu/java/net/protocol/https/Handler.java.
3474         * Makefile.in: Regenerate.
3475         * java/net/URL.java: Remove org.metastatic.jessie from default
3476         protocol search path.
3478 2005-04-27  Chris Burdess  <dog@gnu.org>
3480         * gnu/java/net/protocol/https/Handler.java: New file.
3482 2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
3484         * javax/imageio/spi/IIORegistry.java (IIORegistry):
3485         Don't assume that awt Toolkit is always ClasspathToolkit.
3487 2005-04-27  Chris Burdess  <dog@gnu.org>
3489         * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
3490         absolute and relative paths in Location header.
3492 2005-04-27  Chris Burdess  <dog@gnu.org>
3494         * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
3495         FileNotFoundException and implement getErrorStream on 404.
3497 2005-04-27  Sven de Marothy <sven@physto.se>
3499         * java/util/TimeZone.java,
3500         (getDefaultDisplayName): Fix previous fix.
3502 2005-04-27  Sven de Marothy <sven@physto.se>
3504         * java/util/TimeZone.java,
3505         (getDefaultDisplayName): Don't print zero offsets.
3507 2005-04-27  Roman Kennke  <roman@kennke.org>
3509         * javax/swing/plaf/basic/BasicScrollBarUI
3510         (getThumbBounds): Do not make thumb smaller than
3511         minimumThumbSize.
3512         * javax/swing/plaf/metal/MetalLookAndFeel
3513         (initComponentDefaults): Added color defaults for ScrollBar.
3514         * javax/swing/plaf/metal/MetalScrollBarUI
3515         (paintThumb): Added.
3516         (getMinimumThumbSize): Added.
3518 2005-04-27  Roman Kennke  <roman@kennke.org>
3520         * javax/swing/plaf/metal/MetalLookAndFeel
3521         (initComponentDefaults): Added some default colors.
3523 2005-04-27  Roman Kennke  <roman@kennke.org>
3525         * javax/swing/plaf/basic/BasicScrollBarUI.java
3526         (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
3527         to 'ScrollBar.thumbShadow'. The formes does not exist.
3528         (paintThumb): Use BasicGraphicsUtils for painting the thumb.
3530 2005-04-27  Roman Kennke  <roman@kennke.org>
3532         * java/awt/MediaTracker.java: Added 2005 to copyright statement.
3533         * javax/swing/BoxLayout.java: Likewise.
3534         * javax/swing/UIManager.java: Likewise.
3535         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3536         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
3537         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3538         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3539         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
3540         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
3541         * javax/swing/text/Document.java: Likewise.
3542         * javax/swing/text/GapContent.java: Likewise.
3543         * javax/swing/text/SimpleAttributeSet.java: Likewise.
3544         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
3546 2005-04-27  Roman Kennke  <roman@kennke.org>
3548         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
3549         (getPropertyPrefix): Added.
3551 2005-04-27  Roman Kennke  <roman@kennke.org>
3553         * javax/swing/plaf/basic/BasicButtonUI.java
3554         (getPropertyPrefix): Added.
3555         (installDefaults): Use getPropertyPrefix instead of hard-coded
3556         prefix.
3558 2005-04-27  Roman Kennke  <roman@kennke.org>
3560         * javax/swing/JToggleButton.java
3561         (JToggleButton): Removed horizontalAlignment setting, this
3562         was wrong. Added setting of an actionCommand, ToggleButtons
3563         have "" as default actionCommand.
3565 2005-04-27  Michael Koch  <konqueror@gmx.de>
3567         * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
3568         to work around CNI limitation.
3570 2005-04-27  Sven de Marothy  <sven@physto.se>
3572         * java/nio/charset/Charset.java:
3573         (defaultCharset()): New method.
3574         Status updated to 1.5
3576 2005-04-27  Sven de Marothy  <sven@physto.se>
3578         * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
3580 2005-04-27  Sven de Marothy  <sven@physto.se>
3582         * java/nio/charset/Charset.java: Reset cached de/encoders.
3584 2005-04-27  Robert Schuster <thebohemian@gmx.net>
3586         * java/nio/charset/Charset.java (forName): Throws
3587         IllegalArgumentException when argument is null
3588         and added documentation.
3590 2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3592         * java/nio/charset/Charset.java (providers):
3593         New method to make an array of CharsetProviders defined in
3594         META-INF/services/java.nio.charset.spi.CharsetProvider.
3595         (charsetForName, availableCharsets): Use the
3596         new method providers().
3598 2005-04-26  Michael Koch  <konqueror@gmx.de>
3600         * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
3601         Fixed typos in javadocs.
3602         (isSiteLocalAddress): Fixed handling of byte values.
3603         (isMCLinkLocal): Likewise.
3604         * java/net/Inet4Address.java
3605         (isMulticastAddress): Call super method.
3606         (isLoopbackAddress): Likewise.
3607         (isAnyLocalAddress): Likewise.
3608         (isLinkLocalAddress): Likewise.
3609         (isSiteLocalAddress): Likewise.
3610         (isMCGlobal): Likewise.
3611         (isMCNodeLocal): Likewise.
3612         (isMCLinkLocal): Likewise.
3613         (isMCSiteLocal): Likewise.
3614         (isMCOrgLocal): Likewise.
3615         (getHostAddress): Likewise.
3617 2005-04-26  Sven de Marothy  <sven@physto.se>
3619         * java/net/InetAddress.java
3620         (toString): Don't print empty hostnames.
3622 2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>
3624         PR libgcj/21136:
3625         * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
3626         'false' to native lock().
3627         (lock): Pass 'true' to native lock().
3629 2005-04-26  Michael Koch  <konqueror@gmx.de>
3631         * java/net/InetAddress.java:
3632         Fixed typos in javadocs.
3634 2005-04-26  Andrew Haley  <aph@redhat.com>
3636         PR libgcj/21020:
3637         * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
3638         field's type.
3640 2005-04-26  Tom Tromey  <tromey@redhat.com>
3642         * javax/swing/text/html/parser/ParserDelegator.java (callBack,
3643         gnu): Now package-private.
3644         * javax/swing/text/html/parser/DocumentParser.java (parser,
3645         callBack, gnu): Now package-private.
3646         * javax/swing/text/StringContent.java (content, setOffset,
3647         checkLocation): Now package-private.
3648         * javax/swing/text/JTextComponent.java (doc): Now
3649         package-private.
3650         * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
3651         lastGoodOrientation, origParent, borders, cachedBounds,
3652         cachedOrientation, DragWindow): Now package-private.
3653         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
3654         decrButton, viewport, panel, currentScrollLocation, layoutManager,
3655         tabAreaRect, contentRect, createIncreaseButton,
3656         createDecreaseButton, findPointForIndex): Now package-private.
3657         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3658         (currentDividerLocation, moveDividerTo): Now package-private.
3659         * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
3660         package-private.
3661         * javax/swing/plaf/basic/BasicScrollBarUI.java
3662         (calculatePreferredSize, valueForYPosition, valueForXPosition):
3663         Now package-private.
3664         * javax/swing/plaf/basic/BasicPopupMenuUI.java
3665         (topWindowListener): Now package-private.
3666         * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
3667         OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
3668         (messageAreaContainer, buttonContainer, resetSelectedValue): Now
3669         package-private.
3670         * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
3671         package-private.
3672         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
3673         Now package-private.
3674         * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
3675         package-private.
3676         * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
3677         borderInsets): Now package-private.
3678         (arrowButtonWidth): Likewise.  Now a constant.
3679         * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
3680         makeTabs, updatePreviewPanel): Now package-private.
3681         * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
3682         darkShadow, highlight): Now package-private.
3683         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
3684         (addColorToQueue): Now package-private.
3685         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
3686         (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
3687         GSpinner, BSpinner): Now package-private.
3688         * javax/swing/colorchooser/DefaultHSBChooserPanel.java
3689         (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
3690         hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
3691         spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
3692         updateTrack): Now package-private.
3693         * javax/swing/TransferHandler.java (clipboard): Now
3694         package-private.
3695         * javax/swing/ToolTipManager.java (showTip, hideTip): Now
3696         package-private.
3697         * javax/swing/Timer.java (drainEvents, queueEvent): Now
3698         package-private.
3699         * javax/swing/RepaintManager.java (globalManager): Now
3700         package-private.
3701         * javax/swing/JFormattedTextField.java (editValid): Now
3702         package-private.
3703         * javax/swing/JColorChooser.java (makeModal): Now
3704         package-private.
3705         * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
3706         index, path): Now package-private.
3707         * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
3708         lineQuadIntersect, lineCubicIntersect, linesIntersect,
3709         pointEquals): Now package-private.
3710         * java/awt/geom/Arc2D.java (type): Now package-private.
3711         * java/awt/Window.java (windowFocusOwner): Now package-private.
3712         * java/awt/TextComponent.java (editable, selectionStart,
3713         selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
3714         package-private.
3715         * java/awt/MenuItem.java (actionCommand, enabled, label): Now
3716         package-private.
3717         * java/awt/MenuComponent.java (focusListener): Now
3718         package-private.
3719         * java/awt/Frame.java (state): Now package-private.
3720         * java/awt/Choice.java (pItems): Now package-private.
3721         * java/awt/Checkbox.java (state): Now package-private.
3722         * java/awt/Button.java (actionCommand, label): Now
3723         package-private.
3724         * gnu/javax/swing/text/html/parser/support/Parser.java
3725         (attributes, _handleEndTag_remaining, _handleStartTag): Now
3726         package-private.
3727         * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
3728         package-private.
3729         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
3730         clip, transform, font, comp): Now package-private.
3732 2005-04-26  Tom Tromey  <tromey@redhat.com>
3734         * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
3735         static way.
3737 2005-04-26  Mark Wielaard  <mark@klomp.org>
3739         * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
3740         to MalformedURLException.
3742 2005-04-26  Michael Koch  <konqueror@gmx.de>
3744         * java/security/AccessControlContext.java:
3745         Reformated.
3746         (protectedDomains): Renamed from 'protectionDomain'.
3747         * java/security/AccessController.java:
3748         Reformatted.
3750 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3752         * gnu/java/security/action/GetSecurityPropertyAction.java
3753         (GetSecurityPropertyAction): Implement PrivilegedAction instead
3754         of extending GetPropertyAction.
3755         (name): New field.
3756         (value): Likewise.
3757         (setParamters): New methods.
3758         (GetSecurityPropertyAction): Use new setParameters methods.
3760 2005-04-26  Jeroen Frijters  <jeroen@frijters.net>
3762         * java/security/Security.java,
3763         java/security/cert/X509CRLSelector.java,
3764         java/security/cert/X509CertSelector.java:
3765         Modified to use SystemProperties.
3767 2005-04-26  Michael Koch  <konqueror@gmx.de>
3769         * java/lang/System.java
3770         (setSecurityManager): Fixed comment.
3771         (getSecurityManager): Removed obsolete comment.
3773 2005-04-25  Tom Tromey  <tromey@redhat.com>
3775         * java/awt/AWTKeyStroke.java (vktable): Now package-private.
3777 2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
3779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3780         (connectSignals): Realize the window widget after connecting
3781         signals.
3783 2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
3785         * java/awt/GraphicsEnvironment.java
3786         (localGraphicsEnvironment): New field.
3787         (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
3788         property.
3789         (isHeadless): Added support for java.awt.headless property.
3790         (isHeadlessInstance): Call headless().
3792 2005-04-25  Roman Kennke  <roman@kennke.org>
3794         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
3795         (getDisplayMode): Added. Returns the current display mode.
3796         (isFullScreenSupported): Added.
3797         * java/awt/GraphicsDevice.java
3798         (setFullScreenWindow): Implemented a primitive fullscreen mode.
3799         This resizes and relocates the fullscreen window so that it uses
3800         the whole screen. This is not a fully accelerated fullscreen
3801         exclusive mode.
3803 2005-04-25  Michael Koch  <konqueror@gmx.de>
3805         * java/lang/Runtime.java,
3806         java/lang/SecurityManager.java,
3807         java/lang/System.java,
3808         java/lang/ThreadGroup.java:
3809         Replaced java.lang.Runtime.securityManager by
3810         java.lang.SecurityManager.current (as used in GNU classpath).
3812 2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>
3814         * java/awt/Transparency.java
3815         (getTransparency): fixed API docs.
3817 2005-04-25  Archie Cobbs  <archie@dellroad.org>
3819         * java/lang/Throwable.java: simplify initializing cause in constructor
3821 2005-04-25  Michael Koch  <konqueror@gmx.de>
3823         * gnu/classpath/SystemProperties.java: New file.
3824         * gnu/classpath/natSystemProperties.cc: New file.
3825         * java/lang/Runtime.java
3826         (defaultProperties): Removed.
3827         (static): Likewise.
3828         (): Made thrown exceptions more verbose.
3829         (insertSystemProperties): Removed.
3830         * java/lang/System.java
3831         (static): Likewise.
3832         (properties): Likewise.
3833         (setSecurityManager): Reordered modifiers.
3834         (getenv): Improved javadoc.
3835         (): Likewise.
3836         (isWordsBigEndian): Removed.
3837         * java/lang/natRuntime.cc
3838         (_Jv_SetDLLSearchPath): Likewise.
3839         (file_encoding): Likewise.
3840         (default_file_encoding): Likewise.
3841         (getpwuid_adaptor): Likewise.
3842         (insertSystemProperties): Likewise.
3843         * java/lang/natSystem.cc
3844         (isWordsBigEndian): Likewise.
3845         * Makefile.am
3846         (ordinary_java_source_files):
3847         Added gnu/classpath/SystemProperties.java.
3848         (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
3849         * Makefile.in: Regenerated.
3851 2005-04-25  Roman Kennke  <roman@kennke.org>
3853         * javax/swing/plaf/basic/BasicScrollBarUI.java
3854         (initDefaults): Initialize thumb*Color fields correctly.
3856 2005-04-25  Roman Kennke  <roman@kennke.org>
3858         * javax/swing/text/GapContent.java:
3859         Added API comments.
3861 2005-04-25  Roman Kennke  <roman@kennke.org>
3863         * javax/swing/plaf/metal/MetalBorders.java:
3864         Added inner class ScrollPaneBorder.
3865         * javax/swing/plaf/metal/MetalLookAndFeel.java
3866         (initComponentDefaults): Added default for "ScrollPane.border"
3867         to use the new ScrollPaneBorder.
3869 2005-04-25  Roman Kennke  <roman@kennke.org>
3871         * javax/swing/text/AbstractDocument.java:
3872         Added FIXME comments. This class still has to be
3873         implemented thread-safe.
3875 2005-04-25  Roman Kennke  <roman@kennke.org>
3877         * javax/swing/tree/DefaultTreeSelectionModel.java
3878         (DefaultTreeSelectionModel): Initialize listenerList here.
3880 2005-04-25  Roman Kennke  <roman@kennke.org>
3882         * javax/swing/plaf/metal/MetalTextFieldUI.java
3883         (createUI): Return one instance per Component instead of a
3884         shared instance.
3886 2005-04-25  Roman Kennke  <roman@kennke.org>
3888         * javax/swing/text/Document.java:
3889         Added API documentation comments.
3891 2005-04-25  Roman Kennke  <roman@kennke.org>
3893         * javax/swing/text/AbstractDocument.java
3894         (getDocumentProperties): Implemented.
3895         (setDocumentProperties): Implemented.
3896         (getProperty): Implemented.
3897         (putProperty): Implemented.
3899 2005-04-25  Roman Kennke  <roman@kennke.org>
3901         * javax/swing/BoxLayout
3902         (preferredLayoutSize): Fixed computation so that it correctly
3903         adds the top and bottom insets of the container.
3905 2005-04-25  Roman Kennke  <roman@kennke.org>
3907         * javax/swing/plaf/basic/BasicMenuItemUI.java
3908         (paintText): Make use of the 'selectionForeground' UI default
3909         for text painting.
3911 2005-04-25  Roman Kennke  <roman@kennke.org>
3913         * javax/swing/plaf/basic/BasicLookAndFeel.java
3914         (initSystemColorDefaults): Modified colors to match the
3915         BasicLookAndFeel in the reference implementation.
3916         (initComponentDefaults): Likewise.
3918 2005-04-25  Tom Tromey  <tromey@redhat.com>
3920         * include/jni.h (_Jv_va_list): Removed.
3921         Moved configuration code...
3922         * include/jni_md.h: ... here.  New file.
3923         * include/Makefile.in: Rebuilt.
3924         * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
3926 2005-04-23  Jeroen Frijters  <jeroen@frijters.net>
3928         * java/io/FileInputStream.java (FileInputStream(File)),
3929         java/io/FileOutputStream.java (FileOutputStream(File)):
3930         Removed unnecessary File.isDirectory() check.
3932 2005-04-22  Bryce McKinlay  <mckinlay@redhat.com>
3934         * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
3935         gij if get_multilibs fails.
3937 2005-04-22  Anthony Green  <green@redhat.com>
3939         * jni.cc (natrehash): Don't bother clearing memory again.
3940         * interpret.cc (do_allocate_static_fields): Ditto.
3941         * java/lang/natString.cc (rehash): Ditto.
3943 2005-04-22  Roman Kennke  <roman@kennke.org>
3945         * javax/swing/plaf/basic/BasicLookAndFeel.java
3946         (initComponentDefaults): Changed Button.border to be
3947         BasicBorders.getButtonBorder as it should be.
3949 2005-04-22  Roman Kennke  <roman@kennke.org>
3951         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3952         (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
3953         should according to a mauve testcase, instead of the preferred
3954         size.
3956 2005-04-22  Roman Kennke  <roman@kennke.org>
3958         * javax/swing/JMenu.java
3959         (add): add(Component) now calls PopupMenu.insert(..) instead of
3960         PopupMenu.add(..). add(..) is not implemented for Component,
3961         so JComponent.add(..) is called instead, adding the component
3962         in the wrong place.
3964 2005-04-22  Roman Kennke  <roman@kennke.org>
3966         * javax/swing/plaf/basic/BasicButtonListener.java
3967         (mousePressed): replaced query to getModifiersEx with getModifiers.
3968         This method relied on faulty behaviour in getModifierEx.
3969         (mouseReleased): replaced query to getModifiersEx with getModifiers.
3970         This method relied on faulty behaviour in getModifierEx.
3972 2005-04-22  Roman Kennke  <roman@kennke.org>
3974         * javax/swing/plaf/metal/MetalLookAndFeel.java
3975         (getDefaults): Call addCustomEntriesToTable on the theme.
3977 2005-04-22  Roman Kennke  <roman@kennke.org>
3979         * javax/swing/tree/DefaultTreeSelectionModel.java
3980         (constructor): Added implementation.
3981         (getRowMapper): Added implementation.
3982         (setSelectionMode): Added implementation.
3983         (getSelectionMode): Added implementation.
3984         (getSelectionPath): Added implementation.
3985         (getSelectionPaths): Added implementation.
3986         (getSelectionCount): Added implementation.
3987         (isSelectionEmpty): Added implementation.
3988         (getSelectionRows): Added implementation.
3989         (getMinSelectionRow): Added implementation.
3990         (getMaxSelectionRow): Added implementation.
3991         (getLeadSelectionRow): Added implementation.
3992         (getLeadSelectionPath): Added implementation.
3994 2005-04-22  Casey Marshall <csm@gnu.org>
3996         * gnu/java/security/der/DERValue.java
3997         (getValueAs): new method.
3998         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
3999         (<init>): read both dates with 'DERValue.getValueAs', with
4000         'GENERALIZED_TIME' as the argument.
4002 2005-04-22  Andrew Pinski  <pinskia@physics.uc.edu>
4004         * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
4005         be null, check for that case and don't deference it.
4007 2005-04-22  Sven de Marothy  <sven@physto.se>
4009         * java/util/logging/LogManager.java: Reformatted.
4010         (readConfiguration): If a logger for a key is not found, create one.
4012 2005-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4014         * java/rmi/Naming.java:
4015         Added class documentation.
4016         (lookup(String)): Call parseURL and getName.
4017         (bind(String,java.rmi.Remote)): Likewise.
4018         (unbind(String)): Likewise.
4019         (rebind(String, java.rmi.Remote)): Likewise.
4020         (list(String)): Call parseURL.
4021         (parseURL(String)): New method to handle parsing and defaults.
4022         (getName(java.net.URL)): New method to handle finding the service name.
4024 2005-04-21  Tom Tromey  <tromey@redhat.com>
4026         * java/lang/natClass.cc (initializeClass): Link class.
4028 2005-04-21  Tom Tromey  <tromey@redhat.com>
4030         * java/lang/AssertionError.java: Typo fix.
4032 2005-04-21  Tom Tromey  <tromey@redhat.com>
4034         * java/lang/VMClassLoader.java (transformException): Removed.
4035         (resolveClass): No longer native.  Now does nothing.
4036         * java/lang/natVMClassLoader.cc (resolveClass): Removed.
4038 2005-04-21  Anthony Green  <green@redhat.com>
4040         PR libgcj/21115
4041         * testsuite/libjava.special/special.exp,
4042         testsuite/libjava.special/pr21115I.java,
4043         testsuite/libjava.special/pr21115.java,
4044         testsuite/libjava.special/pr21115.out: New files.
4046 2005-04-21  Chris Burdess  <dog@gnu.org>
4048         * gnu/java/net/CRLFInputStream.java: Rewrite to return
4049         CRLF-delimited chunks.
4051 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4053         * java/net/URI.java:
4054         Added class documentation.
4055         (parseURI(String)): Only handle scheme-specific parts
4056         if URI is not opaque.  Allow for parts that can't be null.
4057         (toString()): Output the scheme-specific part whole, rather
4058         than as its possibly non-existent components.
4060 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4062         * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
4063         (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
4064         Adjusted to match new regexp.
4066 2005-04-20  Michael Koch  <konqueror@gmx.de>
4068         * gnu/java/net/protocol/file/Connection.java,
4069         gnu/java/net/protocol/jar/Connection.java:
4070         Reorganized import statements. Fixed @author tags.
4072 2005-04-20  Chris Burdess  <dog@gnu.org>
4074         * java/io/DataOutputStream.java (writeUTF): Use block write for
4075         output.
4077 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4079         * java/io/DataInputStream.java (ignoreInitialNewline): Removed
4080         (readLine): Changed newline handling.
4082 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4084         * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
4085         ColorModel,byte[],int,int): Fixed byte to int conversion.
4087 2005-04-20  Michael Koch  <konqueror@gmx.de>
4089         * java/io/FilePermission.java
4090         (serialVersionUID): Made private.
4091         (ALL_FILES): New constant.
4092         (implies): Handle '<<ALL FILES>>' case.
4094 2005-04-20  Sven de Marothy  <sven@physto.se>
4096         * gnu/java/awt/peer/gtk/GdkGraphics.java:
4097         (drawImage): Don't notify the image observer for offscreen images.
4098         * gnu/java/awt/peer/gtk/GtkImagePainter.java:
4099         (setPixels): Don't notify the image observer.
4101 2005-04-20  Sven de Marothy  <sven@physto.se>
4103         * java/nio/ByteBufferImpl.java:
4104         (putChar): Inlined for speed.
4105         (put, get): Bulk methods can use arraycopy.
4106         * java/nio/CharBufferImpl.java:
4107         (put, get): Bulk methods can use arraycopy.
4109 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4111         * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
4112         and field updates.
4113         * java/nio/CharBufferImpl.java
4114         (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
4115         (get(), put(char)): Inlined checks and field updates. Fixed to
4116         take array_offset into account.
4117         (get(int), put(int, char)): Fixed to take array_offset into account.
4119 2005-04-20  Sven de Marothy  <sven@physto.se>
4121         * java/text/SimpleDateFormat.java:
4122         (formatWithAttribute): Pad year before truncating digits.
4124 2005-04-20  Michael Koch  <konqueror@gmx.de>
4126         * gnu/java/net/PlainDatagramSocketImpl.java:
4127         Merged copyright header.
4128         * gnu/java/net/PlainSocketImpl.java:
4129         Reorganized import statements. Fixed @author tags.
4131 2005-04-20  Michael Koch  <konqueror@gmx.de>
4133         * gnu/java/lang/ClassHelper.java,
4134         gnu/java/lang/reflect/TypeSignature.java:
4135         Fixed @author tag.
4137 2005-04-20  Michael Koch  <konqueror@gmx.de>
4139         * gnu/java/beans/IntrospectionIncubator.java:
4140         Fixed HTML tags in javadocs.
4142 2005-04-20  Jeroen Frijters  <jeroen@frijters.net>
4144         * gnu/java/beans/IntrospectionIncubator.java
4145         (addToPropertyHash, addToListenerHash): Don't confuse get(),
4146         set(), is(), add() and remove() with properties or events.
4148 2005-04-20  Michael Koch  <konqueror@gmx.de>
4150         * gnu/java/awt/image/XBMDecoder.java:
4151         Fixed modifier order.
4153 2005-04-20  Roman Kennke  <roman@kennke.org>
4155         * javax/swing/plaf/basic/BasicButtonUI.java
4156         (paint): This should not care about margin and insets
4157         at the same time, as insets already include the margin
4158         through the border.
4159         * javax/swing/plaf/basic/BasicGraphicsUtils.java
4160         (getPreferredButtonSize): Likewise.
4161         * javax/swing/plaf/metal/MetalBorders.java
4162         (getBorderInsets): Likewise.
4164 2005-04-20  Roman Kennke  <roman@kennke.org>
4166         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4167         (createMessageArea): The JPanel that holds the message area
4168         doesn't need to override getPreferredSize. This prevents some
4169         message components from rendering nicely.
4171 2005-04-20  Roman Kennke  <roman@kennke.org>
4173         * javax/swing/plaf/metal/MetalInternalFrameUI.java
4174         (createUI): Do not share instances between components.
4175         * javax/swing/plaf/metal/MetalSliderUI.java
4176         (createUI): Do not share instances between components.
4178 2005-04-20  Roman Kennke  <roman@kennke.org>
4180         * javax/swing/plaf/metal/MetalBorders:
4181         (PopupMenuBorder): Added.
4182         * javax/swing/plaf/metal/MetalLookAndFeel
4183         (initComponentDefaults): Added PopupMenuBorder.
4185 2005-04-20  Roman Kennke  <roman@kennke.org>
4187         * javax/swing/tree/DefaultTreeSelectionModel.java:
4188         Added API documentation all over the class.
4190 2005-04-20  Roman Kennke  <roman@kennke.org>
4192         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4193         (installDefaults): Link managed JScrollPane in instance field.
4194         (uninstallDefaults): Unlink managed JScrollPane in instance field.
4196 2005-04-20  Roman Kennke  <roman@kennke.org>
4198         * javax/swing/plaf/basic/BasicScrollBarUI.java
4199         (PropertyChangeHandler.propertyChange): Add default
4200         to switch statement to avoid errors with unusual values
4201         for orientation.
4202         (installComponents): Likewise.
4204 2005-04-20  Roman Kennke  <roman@kennke.org>
4206         * javax/swing/plaf/metal/MetalScrollBarUI.java:
4207         (createUI): Instances cannot be shared among JScrollPanes.
4209 2005-04-20  Roman Kennke  <roman@kennke.org>
4211         * javax/swing/plaf/metal/MetalLookAndFeel.java
4212         (initComponentDefaults): Added defaults for Menu, MenuBar
4213         MenuEntry fonts.
4215 2005-04-20  Roman Kennke  <roman@kennke.org>
4217         * javax/swing/plaf/basic/BasicScrollBarUI.java
4218         (installUI): Install listeners after everything all, otherwise
4219         we get strange NPEs in some situations, especially with
4220         custom L&Fs.
4221         (createIncreaseButton): Orientation is expected to be
4222         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
4223         HORIZONTAL or VERTICAL.
4224         (createDecreaseButton): Orientation is expected to be
4225         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
4226         HORIZONTAL or VERTICAL.
4227         (installComponents): Orientation for buttons is expected to be
4228         SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
4229         HORIZONTAL or VERTICAL.
4231 2005-04-20  Roman Kennke  <roman@kennke.org>
4233         * javax/swing/JToolBar.java
4234         (addImpl): Adjust added AbstractButtons to look and feel like
4235         toolbar buttons.
4236         * javax/swing/plaf/metal/MetalBorders.java:
4237         Adjusted insets of ButtonBorder.
4238         (RolloverMarginBorder): Added class for toolbar buttons.
4239         (getButtonBorder): Adjusted factory method to return a shared
4240         instance of button border.
4241         (getToolbarButtonBorder): Added factory method to return a shared
4242         instance of toolbar button border.
4243         (getMarginBorder): Added factory method to return a shared
4244         instance of margin border.
4245         * javax/swing/plaf/metal/MetalButtonUI.java
4246         (installDefauls): If button is child of a JToolBar then set
4247         special border on this button.
4249 2005-04-20  Michael Koch  <konqueror@gmx.de>
4251         * java/net/URLConnection.java
4252         (getContent): Fixed javadoc comment.
4254 2005-04-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4256         * java/net/URL.java:
4257         (toURI()): Implemented.
4259 2005-04-19  Michael Koch  <konqueror@gmx.de>
4261         * java/net/InetAddress.java
4262         (InetAddress): Fixed javadoc comment.
4263         (aton): Likewise.
4264         (lookup): Added javadoc.
4265         (getFamily): Likewise.
4266         * java/net/ServerSocket.java
4267         (getChannel): Improved javadoc comment.
4269 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4271         * gnu/xml/dom/html2/DomHTMLParser.java:
4272         Changed 'enum' references to become 'enumeration'.
4274 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4276         * gnu/xml/dom/html2/DomHTMLParser.java: New file.
4278 2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4280         * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
4281         (getAttributeNames()): Replaced 'enum' with 'enumeration'.
4282         * gnu/javax/swing/text/html/parser/htmlValidator.java:
4283         (validateParameters(TagElement,htmlAttributeSet)):
4284         Replaced 'enum' with 'enumeration'.
4285         (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
4286         Likewise.
4288 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4290         * javax/swing/text/html/parser/Entity.java (getType): New method.
4291         * javax/swing/text/html/parser/DocumentParser.java:
4292         Inherit from javax.swing.text.html.parser.Parser.
4294 2005-04-19  Chris Burdess  <dog@gnu.org>
4296         * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
4297         check for HTML/XHTML namespace.
4299 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4301         * javax/swing/text/html/parser/Parser.java,
4302         javax/swing/text/html/parser/Entity.java:
4303         Inheriting from DTDConstants.
4304         * javax/swing/text/html/parser/AttributeList.java
4305         (getValues): Changed return type.
4306         * javax/swing/text/html/parser/DocumentParser
4307         (parse): Adding the callback parameter that receives
4308         the parsing events.
4310 2005-04-19  Chris Burdess  <dog@gnu.org>
4312         * gnu/xml/dom/DomImpl.java,
4313         gnu/xml/dom/html2/DomHTMLAnchorElement.java,
4314         gnu/xml/dom/html2/DomHTMLDocument.java,
4315         gnu/xml/dom/html2/DomHTMLElement.java,
4316         gnu/xml/dom/html2/DomHTMLFormElement.java,
4317         gnu/xml/dom/html2/DomHTMLFrameElement.java,
4318         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
4319         gnu/xml/dom/html2/DomHTMLImpl.java,
4320         gnu/xml/dom/html2/DomHTMLInputElement.java,
4321         gnu/xml/dom/html2/DomHTMLObjectElement.java,
4322         gnu/xml/dom/html2/DomHTMLOptionElement.java,
4323         gnu/xml/dom/html2/DomHTMLSelectElement.java,
4324         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
4325         gnu/xml/dom/html2/DomHTMLTableElement.java,
4326         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
4327         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
4328         gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
4329         UI events, and tree utility functions.
4331 2005-04-19  Michael Koch  <konqueror@gmx.de>
4333         * gnu/javax/swing/text/html/parser/HTML_401F.java,
4334         gnu/javax/swing/text/html/parser/gnuDTD.java,
4335         gnu/javax/swing/text/html/parser/models/node.java:
4336         Reworked import statements.
4338 2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>
4340         * javax/swing/text/html/HTMLDocument.java: New file.
4342 2005-04-19  Michael Koch  <konqueror@gmx.de>
4344         * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
4345         Reformatted.
4346         * javax/swing/text/html/parser/AttributeList.java:
4347         Fixed order of modifiers.
4348         (AttributeList): Made final.
4349         * javax/swing/text/html/parser/ContentModel.java:
4350         Fixed html characters in javadocs.
4351         * javax/swing/text/html/parser/DTD.java
4352         (DTD): Don't implement java.io.Serializable directly.
4353         (getElement): Simplified.
4354         * javax/swing/text/html/parser/DTDConstants.java:
4355         Reformatted file.
4356         * javax/swing/text/html/parser/Element.java:
4357         Fixed order of modifiers.
4358         * javax/swing/text/html/parser/Parser.java:
4359         Reformatted. Don't use fully-qualified class names.
4360         * javax/swing/text/html/parser/ParserDelegator.java:
4361         Fixed order of modifiers.
4362         * javax/swing/text/rtf/RTFParser.java:
4363         Re-ordered import statements.
4364         * javax/swing/text/rtf/RTFScanner.java:
4365         Removed unused import statement.
4367 2005-04-19  Chris Burdess  <dog@gnu.org>
4369         * gnu/xml/dom/html2/DomHTMLButtonElement.java,
4370         gnu/xml/dom/html2/DomHTMLCollection.java,
4371         gnu/xml/dom/html2/DomHTMLDocument.java,
4372         gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
4373         types.
4374         * gnu/xml/dom/html2/DomHTMLDListElement.java,
4375         gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
4376         gnu/xml/dom/html2/DomHTMLDivElement.java,
4377         gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
4378         gnu/xml/dom/html2/DomHTMLFontElement.java,
4379         gnu/xml/dom/html2/DomHTMLFormElement.java,
4380         gnu/xml/dom/html2/DomHTMLFrameElement.java,
4381         gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
4382         gnu/xml/dom/html2/DomHTMLHRElement.java,
4383         gnu/xml/dom/html2/DomHTMLHeadElement.java,
4384         gnu/xml/dom/html2/DomHTMLHeadingElement.java,
4385         gnu/xml/dom/html2/DomHTMLHtmlElement.java,
4386         gnu/xml/dom/html2/DomHTMLIFrameElement.java,
4387         gnu/xml/dom/html2/DomHTMLImageElement.java,
4388         gnu/xml/dom/html2/DomHTMLInputElement.java,
4389         gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
4390         gnu/xml/dom/html2/DomHTMLLIElement.java,
4391         gnu/xml/dom/html2/DomHTMLLabelElement.java,
4392         gnu/xml/dom/html2/DomHTMLLegendElement.java,
4393         gnu/xml/dom/html2/DomHTMLLinkElement.java,
4394         gnu/xml/dom/html2/DomHTMLMapElement.java,
4395         gnu/xml/dom/html2/DomHTMLMenuElement.java,
4396         gnu/xml/dom/html2/DomHTMLMetaElement.java,
4397         gnu/xml/dom/html2/DomHTMLModElement.java,
4398         gnu/xml/dom/html2/DomHTMLOListElement.java,
4399         gnu/xml/dom/html2/DomHTMLObjectElement.java,
4400         gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
4401         gnu/xml/dom/html2/DomHTMLOptionElement.java,
4402         gnu/xml/dom/html2/DomHTMLParagraphElement.java,
4403         gnu/xml/dom/html2/DomHTMLParamElement.java,
4404         gnu/xml/dom/html2/DomHTMLPreElement.java,
4405         gnu/xml/dom/html2/DomHTMLQuoteElement.java,
4406         gnu/xml/dom/html2/DomHTMLScriptElement.java,
4407         gnu/xml/dom/html2/DomHTMLSelectElement.java,
4408         gnu/xml/dom/html2/DomHTMLStyleElement.java,
4409         gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
4410         gnu/xml/dom/html2/DomHTMLTableCellElement.java,
4411         gnu/xml/dom/html2/DomHTMLTableColElement.java,
4412         gnu/xml/dom/html2/DomHTMLTableElement.java,
4413         gnu/xml/dom/html2/DomHTMLTableRowElement.java,
4414         gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
4415         gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
4416         gnu/xml/dom/html2/DomHTMLTitleElement.java,
4417         gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
4419 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4421         * javax/swing/text/ChangedCharSetException.java,
4422         javax/swing/text/html/HTMLEditorKit.java,
4423         javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
4424         javax/swing/text/html/parser/AttributeList.java,
4425         javax/swing/text/html/parser/ContentModel.java,
4426         javax/swing/text/html/parser/DocumentParser.java,
4427         javax/swing/text/html/parser/DTD.java,
4428         javax/swing/text/html/parser/DTDConstants.java,
4429         javax/swing/text/html/parser/Element.java,
4430         javax/swing/text/html/parser/Entity.java,
4431         javax/swing/text/html/parser/Parser.java,
4432         javax/swing/text/html/parser/TagElement.java,
4433         gnu/javax/swing/text/html/package.html,
4434         gnu/javax/swing/text/html/parser/gnuDTD.java,
4435         gnu/javax/swing/text/html/parser/HTML_401F.java,
4436         gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
4437         gnu/javax/swing/text/html/parser/htmlValidator.java,
4438         gnu/javax/swing/text/html/parser/package.html,
4439         gnu/javax/swing/text/html/parser/models/list.java,
4440         gnu/javax/swing/text/html/parser/models/node.java,
4441         gnu/javax/swing/text/html/parser/models/noTagModel.java,
4442         gnu/javax/swing/text/html/parser/models/package.html,
4443         gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
4444         gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
4445         gnu/javax/swing/text/html/parser/models/transformer.java,
4446         gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
4447         gnu/javax/swing/text/html/parser/support/package.html,
4448         gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
4449         gnu/javax/swing/text/html/parser/support/Parser.java,
4450         gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
4451         gnu/javax/swing/text/html/parser/support/low/Buffer.java,
4452         gnu/javax/swing/text/html/parser/support/low/Constants.java,
4453         gnu/javax/swing/text/html/parser/support/low/Location.java,
4454         gnu/javax/swing/text/html/parser/support/low/node.java,
4455         gnu/javax/swing/text/html/parser/support/low/package.html,
4456         gnu/javax/swing/text/html/parser/support/low/ParseException.java,
4457         gnu/javax/swing/text/html/parser/support/low/pattern.java,
4458         gnu/javax/swing/text/html/parser/support/low/Queue.java,
4459         gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
4460         New files.
4461         * javax/swing/text/html/HTML.java,
4462         javax/swing/text/html/parser/ParserDelegator.java:
4463         New files (replacing).
4464         * javax/swing/text/html/package.html,
4465         javax/swing/text/html/parser/package.html: Documenting the
4466         packages.
4468 2005-04-19  Chris Burdess  <dog@gnu.org>
4470         * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
4471         gnu/xml/dom/html2/DomHTMLAppletElement.java,
4472         gnu/xml/dom/html2/DomHTMLAreaElement.java,
4473         gnu/xml/dom/html2/DomHTMLBaseElement.java,
4474         gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
4475         gnu/xml/dom/html2/DomHTMLBodyElement.java,
4476         gnu/xml/dom/html2/DomHTMLBRElement.java,
4477         gnu/xml/dom/html2/DomHTMLButtonElement.java,
4478         gnu/xml/dom/html2/DomHTMLCollection.java,
4479         gnu/xml/dom/html2/DomHTMLDocument.java,
4480         gnu/xml/dom/html2/DomHTMLElement.java: New files.
4482 2005-04-19  Michael Koch  <konqueror@gmx.de>
4484         * Makefile.am: Added new files.
4485         * Makefile.in: Regenerated.
4487 2005-04-19  Roman Kennke  <roman@kennke.org>
4489         * javax/swing/text/JTextComponent.java
4490         (JTextComponent): Added repaintListener which issues repaint
4491         requests when the underlying document changes.
4492         (setDocument): Adds repaintListener to document when the
4493         document is changed.
4494         * javax/swing/text/DefaultEditorKit.java:
4495         Removed repaint calls on JTextComponent. This is now handled
4496         through a DocumentListener in JTextComponent that repaints
4497         the component when needed.
4499 2005-04-19  Roman Kennke  <roman@kennke.org>
4501         PR libgcj/21064
4502         * javax/swing/text/StyleContext.java
4503         (NamedStyle.setResolveParent): Added null
4504         pointer check.
4506 2005-04-19  Michael Koch  <konqueror@gmx.de>
4508         * java/rmi/server/RemoteObject.java:
4509         Removed unused import statement.
4511 2005-04-19  Michael Koch  <konqueror@gmx.de>
4513         * java/net/URL.java: Formatting cleanups.
4515 2005-04-19  Michael Koch  <konqueror@gmx.de>
4517         * java/awt/FontMetrics.java: Reformatted.
4518         (getFontRenderContext): Handle case when java.awt.Graphics context is
4519         given.
4521 2005-04-19  Michael Koch  <konqueror@gmx.de>
4523         * java/awt/FontMetrics.java
4524         (getStringBounds): New methods.
4527 2005-04-19  Michael Koch  <konqueror@gmx.de>
4529         * gnu/java/security/x509/X509Certificate.java
4530         (parse): Handle val == null case.
4532 2005-04-19  Roman Kennke  <roman@kennke.org>
4534         * javax/swing/plaf/metal/MetalLookAndFeel.java
4535         (initComponentDefaults): Added defaults for Menu, MenuBar
4536         MenuEntry fonts.
4538 2005-04-19  Roman Kennke  <roman@kennke.org>
4540         * javax/swing/plaf/metal/MetalLookAndFeel.java
4541         (initComponentDefaults): Added Label.font.
4542         (initSystemColorDefaults): Added this method and adjusted the
4543         general control color.
4545 2005-04-19  Roman Kennke  <roman@kennke.org>
4547         * javax/swing/plaf/metal/MetalBorders.java:
4548         Added.
4549         * javax/swing/plaf/metal/MetalButtonUI.java:
4550         (installDefaults): Install button font.
4551         * javax/swing/plaf/metal/MetalLookAndFeel.java:
4552         (initComponentDefaults): Added button border, font and margin.
4553         Changed components background color to the Metal current themes
4554         standard color.
4556 2005-04-19  Roman Kennke  <roman@kennke.org>
4558         * javax/swing/plaf/metal/MetalLookAndFeel.java
4559         (initComponentDefaults): Added to set Metal specific component
4560         defaults.
4562 2005-04-19  Mark Wielaard  <mark@klomp.org>
4564         * javax/swing/plaf/metal/MetalLookAndFeel.java
4565         (initClassDefaults): Call super.initClassDefaults().
4567 2005-04-19  Roman Kennke  <roman@kennke.org>
4569         * javax/swing/plaf/metal/MetalLookAndFeel.java
4570         (initClassDefaults): Added to include the *UI classes.
4572 2005-04-19  Roman Kennke  <roman@kennke.org>
4574         * javax/swing/plaf/metal/MetalComboBoxUI.java:
4575         Added.
4576         * javax/swing/plaf/metal/MetalDesktopIconUI.java:
4577         Added.
4578         * javax/swing/plaf/metal/MetalInternalFrameUI.java:
4579         Added.
4580         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
4581         Added.
4582         * javax/swing/plaf/metal/MetalProgressBarUI.java:
4583         Added.
4584         * javax/swing/plaf/metal/MetalRootPaneUI.java:
4585         Added.
4586         * javax/swing/plaf/metal/MetalScrollBarUI.java:
4587         Added.
4588         * javax/swing/plaf/metal/MetalSeparatorUI.java:
4589         Added.
4590         * javax/swing/plaf/metal/MetalSliderUI.java:
4591         Added.
4592         * javax/swing/plaf/metal/MetalSplitPaneUI.java:
4593         Added.
4594         * javax/swing/plaf/metal/MetalTextFieldUI.java:
4595         Added.
4596         * javax/swing/plaf/metal/MetalToggleButtonUI.java:
4598 2005-04-19  Roman Kennke  <roman@kennke.org>
4600         * javax/swing/plaf/metal/MetalButtonUI.java:
4601         Added skeleton class.
4602         * javax/swing/plaf/metal/MetalCheckBoxUI.java:
4603         Added skeleton class.
4604         * javax/swing/plaf/metal/MetalLabelUI.java:
4605         Added skeleton class.
4606         * javax/swing/plaf/metal/MetalRadioButtonUI.java:
4607         Added skeleton class.
4608         * javax/swing/plaf/metal/MetalScrollPaneUI.java:
4609         Added skeleton class.
4610         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
4611         Added skeleton class.
4613 2005-04-19  Roman Kennke  <roman@kennke.org>
4615         * javax/swing/UIDefaults.java:
4616         Added API documentation for all methods.
4618 2005-04-19  Roman Kennke  <roman@kennke.org>
4620         * javax/swing/UIDefaults.java
4621         (put): Now uses new checkAndPut method instead of checking
4622         directly.
4623         (putDefaults): Fixed so that it accepts null-values and
4624         treats them like remove(key).
4625         (checkAndPut): Added. This checks for null-values and calls
4626         put or remove.
4628 2005-04-19  Michael Koch  <konqueror@gmx.de>
4630         * Makefile.am: Added new files.
4631         * Makefile.in: Regenerated.
4633 2005-04-19  Mark Wielaard  <mark@klomp.org>
4635         * java/lang/natRuntime.cc (insertSystemProperties): Set
4636         java.class.path to CLASSPATH only when not empty. Fall back to
4637         default path "." when java.class.path is empty.
4639 2005-04-19  Michael Koch  <konqueror@gmx.de>
4641         * javax/swing/text/rtf/ControlWordToken.java,
4642         javax/swing/text/rtf/RTFEditorKit.java,
4643         javax/swing/text/rtf/RTFParseException.java,
4644         javax/swing/text/rtf/RTFParser.java,
4645         javax/swing/text/rtf/RTFScanner.java,
4646         javax/swing/text/rtf/TextToken.java,
4647         javax/swing/text/rtf/Token.java: New files.
4648         * Makefile.am: Added new files.
4649         * Makefile.in: Regenerated.
4651 2005-04-19  Michael Koch  <konqueror@gmx.de>
4653         * java/awt/geom/QuadCurve2D.java:
4654         Fixed Brian Gough's name for real.
4656 2005-04-19  Roman Kennke  <roman@kennke.org>
4658         * javax/swing/UIManager.java:
4659         Make the UIManager respect the swing.defaultlaf system
4660         property.
4662 2005-04-19  Tom Tromey  <tromey@redhat.com>
4664         * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
4665         not _Jv_InitClass.
4667 2005-04-19  Roman Kennke  <roman@kennke.org>
4669         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4670         Fixed tabs to spaces.
4672 2005-04-19  Roman Kennke  <roman@kennke.org>
4674         * javax/swing/plaf/basic/BasicMenuUI.java
4675         (getMaximumSize): Now returns preferredSize because JMenu should
4676         never be bigger than that.
4677         * javax/swing/JRootPane
4678         (RootLayout.layoutContainer): Make JMenuBars take the whole width.
4680 2005-04-19  Roman Kennke  <roman@kennke.org>
4682         * javax/swing/JRootPane.java:
4683         Fixed various tabs to be spaces.
4684         (RootLayout.layoutContainer): Made menubar left aligned.
4686 2005-04-19  Roman Kennke  <roman@ontographics.com>
4688         * javax/swing/JList.java
4689         (getPreferredScrollableViewportSize):
4690         The previous implementation was merely guessing the size,
4691         now it respects layoutOrientation, visibleRowCount
4692         and preferredSize.
4693         (getScrollableTracksViewportHeight):
4694         Reimplemented so that layoutOrientation, visibleRowCount
4695         and preferred size are respected.
4696         (getScrollableTracksViewportWidth):
4697         Reimplemented so that layoutOrientation, visibleRowCount
4698         and preferred size are respected.
4699         * javax/swing/plaf/basic/BasicListUI.java
4700         (getPreferredSize):
4701         Improved calculation of preferredSize when JList is
4702         set to HORIZONTAL_WRAP or VERTICAL_WRAP.
4703         (getCellBounds):
4704         The previous implementation assumed a layoutOrientation of
4705         JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
4706         JList.VERTICAL_WRAP.
4708 2005-04-19  Roman Kennke  <roman@ontographics.com>
4710         * javax/swing/plaf/basic/BasicListUI.java
4711         (paintCell): use CellRendererPane for painting the cells.
4713 2005-04-19  Roman Kennke  <roman@ontographics.com>
4715         * javax/swing/plaf/basic/BasicListUI:
4716         fixed modifiers of several fields, methods and inner
4717         classes to match the 'spec'.
4718         (getMaximumSize): removed. It's not in the spec and the
4719         implementations was superfluous.
4721 2005-04-19  Roman Kennke  <roman@ontographics.com>
4723         * javax/swing/plaf/basic/BasicListUI:
4724         make BasicListUI capable of wrapping lists
4725         (layoutOrientation property of javax.swing.JList)
4727 2005-04-19  Roman Kennke  <roman@ontographics.com>
4729         * javax/swing/plaf/basic/BasicListUI
4730         (updateLayoutState,paint): make BasicListUI aware of the
4731         width of the rendered JList.
4733 2005-04-19  Roman Kennke  <roman@kennke.org>
4735         * javax/swing/ImageIcon.java
4736         Added API documentation.
4738 2005-04-19  Roman Kennke  <roman@kennke.org>
4740         * javax/swing/text/ImageIcon.java
4741         (ImageIcon): Use setImage instead of direct assignment.
4742         (setImage): Call loadImage to make sure that the image is loaded.
4743         (loadImage): Waits for the image to complete loading.
4744         (getImageLoadStatus): Added. Returns the load status of the
4745         image.
4747 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4749         * javax/swing/JTextArea.java (replaceRange):
4750         Fixing doc.remove(start, length) misinterpretation.
4752 2005-04-19  Roman Kennke  <roman@ontographics.com>
4754         * javax/swing/CellRendererPane.java:
4755         implemented all methods of this class.
4756         reformatted all wrong formatted code.
4758 2005-04-19  Roman Kennke  <roman@kennke.org>
4760         * javax/swing/BoxLayout.java:
4761         (layoutContainer): Made this layout manager respect the
4762         minimum, maximum and preferred size more correctly.
4764 2005-04-19  Roman Kennke  <roman@ontographics.com>
4766         * javax/swing/BoxLayout.java:
4767         (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
4768         layoutContainer): Make these methods and thereby the
4769         BoxLayout respect the insets (like borders) of the
4770         component that is laid out.
4772 2005-04-19  Roman Kennke  <roman@kennke.org>
4774         * javax/swing/JComponent.java:
4775         Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
4776         Untabified the file.
4778 2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
4780         * javax/swing/JComboBox.java (constructors): selecting the
4781         first item if the box was constructed from the provided
4782         non - empty array or vector.
4784 2005-04-19  Michael Koch  <konqueror@gmx.de>
4786         * gnu/java/awt/peer/gtk/GdkGraphics.java
4787         (getClipBounds): Handle clip being null.
4788         (setClip): Likewise.
4789         * java/beans/beancontext/BeanContextSupport.java
4790         (add): Implemented.
4791         (addAll): Likewise.
4792         (clear): Likewise.
4793         (removeAll): Likewise.
4794         (retainAll): Likewise.
4796 2005-04-19  Michael Koch  <konqueror@gmx.de>
4798         * java/beans/beancontext/BeanContextServicesSupport.java
4799         (BeanContextServicesSupport): Reimplemented.
4800         (addBeanContextServicesListener): Implemented.
4801         (initialize): Likewise.
4802         (removeBeanContextServicesListener): Likewise.
4803         * java/beans/beancontext/BeanContextSupport.java
4804         (add): Likewise.
4805         (addBeanContextMembershipListener): Likewise.
4806         (getLocale): Likewise.
4807         (initialize): Likewise.
4808         (iterator): Likewise.
4809         (remove): Likewise.
4810         (toArray): Likewise.
4812 2005-04-19  Roman Kennke  <roman@kennke.org>
4814         * java/awt/MediaTracker.java:
4815         Reindented tabs to spaces.
4817 2005-04-19  Roman Kennke  <roman@kennke.org>
4819         * java/awt/MediaTracker.java
4820         (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
4821         confused the media tracker and lead to lockups. The LOADING
4822         bit is handled on other places.
4823         (addImage): Removed the 'start image tracking' stuff. This
4824         is not necessary and could confuse the media tracker.
4825         (checkAll): Improved the check for image status so that
4826         images that already complete images are detected. Also now
4827         are really all images checked and if necessary loaded. Before
4828         the method bailed out after the first incomplete image.
4829         (statusAll): Detect images that are complete after the
4830         call to Component.prepareImage(..).
4831         (checkID): The same as in checkAll.
4832         (statusID): The same as in statusAll.
4834 2005-04-19  Roman Kennke  <roman@kennke.org>
4836         * java/awt/MediaTracker.java
4837         (addImage): Synchronized list access.
4838         (waitForAll): Fixed comparison of time (changed < to >).
4839         (waitForID): Fixed comparison of time (changed < to >).
4840         (removeImage): Synchronized list access.
4842 2005-04-19  Roman Kennke  <roman@kennke.org>
4844         * java/awt/MediaTracker.java
4845         Added API documentation.
4847 2005-04-19  Roman Kennke  <roman@kennke.org>
4849         * java/awt/MediaTracker.java
4850         (MediaEntry.imageUpdate): Fixed flags. The different flags
4851         must not be ORed together.
4852         (checkAll): Modified to handle different meaning of the flags.
4853         (waitForAll): Fixed so that it waits maximum the
4854         specified amount of milliseconds.
4855         (statusAll): Modified to handle different meaning of the flags.
4856         (waitForID): Fixed so that it waits maximum the
4857         specified amount of milliseconds.
4859 2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
4861         * java/awt/Font.java (decode): Handle null argument and allow
4862         space as delimiter.
4864 2005-04-19  Robert Schuster <thebohemian@gmx.net>
4866         * java/beans/EventHandler.java: Reworked documentation.
4867         (invoke): Fixed behavior to match spec.
4869 2005-04-19  Michael Koch  <konqueror@gmx.de>
4871         * java/awt/print/PrinterJob.java
4872         (pageDialog): New method.
4873         (printDialog): Implemented.
4875 2005-04-19  Michael Koch  <konqueror@gmx.de>
4877         * java/awt/image/ConvolveOp.java:
4878         Removed comment added by eclipse.
4880 2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>
4882         * java/awt/image/IndexColorModel.java
4883         (getRGB): Check if pixel is negative.
4885 2005-04-19  Michael Koch  <konqueror@gmx.de>
4887         * java/awt/image/RasterOp.java:
4888         Fixed wrong formatting.
4890 2005-04-18  Roman Kennke  <roman@kennke.org>
4892         * java/awt/Compmonent.java
4893         (setComponentOrientation): Made this property firing a
4894         PropertyChangeEvent.
4896 2005-04-18  Roman Kennke  <roman@kennke.org>
4898         * java/awt/BorderLayout.java
4899         (calcSize): Check for overflow when component sizes are added.
4901 2005-04-18  Robert Schuster <thebohemian@gmx.net>
4903         * java/awt/AWTEvent.java (toString): Added case
4904         for source not being an AWT component.
4906 2005-04-18  Chris Burdess  <dog@gnu.org>
4908         * gnu/java/net/BASE64.java: Truncate encoded byte array.
4910 2005-04-18  Michael Koch  <konqueror@gmx.de>
4912         gnu/java/awt/EmbeddedWindowSupport.java,
4913         gnu/java/net/HeaderFieldHelper.java,
4914         gnu/java/net/URLParseError.java,
4915         gnu/java/net/protocol/file/Handler.java,
4916         gnu/java/net/protocol/jar/Handler.java:
4917         Fixed usage of @author tag.
4919 2005-04-18  Michael Koch  <konqueror@gmx.de>
4921         * gnu/xml/aelfred2/XmlParser.java:
4922         Reverted my typo fix.
4924 2005-04-18  Michael Koch  <konqueror@gmx.de>
4926         * java/awt/geom/CubicCurve2D.java,
4927         java/awt/geom/QuadCurve2D.java:
4928         Fixed mentioning of Brian Gouph.
4930 2005-04-18  Michael Koch  <konqueror@gmx.de>
4932         * gnu/java/awt/Buffers.java,
4933         gnu/java/awt/image/ImageDecoder.java,
4934         gnu/java/awt/image/XBMDecoder.java,
4935         gnu/java/awt/peer/ClasspathFontPeer.java,
4936         gnu/java/net/CRLFInputStream.java,
4937         gnu/java/net/EmptyX509TrustManager.java,
4938         gnu/java/net/LineInputStream.java,
4939         gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4940         gnu/java/net/protocol/ftp/BlockInputStream.java,
4941         gnu/java/net/protocol/ftp/CompressedInputStream.java,
4942         gnu/java/net/protocol/ftp/DTP.java,
4943         gnu/java/net/protocol/ftp/DTPInputStream.java,
4944         gnu/java/net/protocol/ftp/FTPConnection.java,
4945         gnu/java/net/protocol/ftp/FTPURLConnection.java,
4946         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4947         gnu/java/net/protocol/ftp/StreamInputStream.java,
4948         gnu/java/net/protocol/http/ChunkedInputStream.java,
4949         gnu/java/net/protocol/http/HTTPConnection.java,
4950         gnu/java/net/protocol/http/HTTPURLConnection.java,
4951         gnu/java/net/protocol/http/Headers.java,
4952         gnu/java/net/protocol/http/Request.java,
4953         gnu/java/nio/ChannelInputStream.java,
4954         gnu/java/nio/ChannelOutputStream.java,
4955         gnu/java/nio/InputStreamChannel.java,
4956         gnu/java/nio/OutputStreamChannel.java,
4957         gnu/java/nio/SelectorProviderImpl.java,
4958         gnu/java/rmi/RMIMarshalledObjectInputStream.java,
4959         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
4960         gnu/java/rmi/dgc/DGCImpl.java,
4961         gnu/java/rmi/registry/RegistryImpl.java,
4962         gnu/java/rmi/server/ProtocolConstants.java,
4963         gnu/java/rmi/server/RMIDefaultSocketFactory.java,
4964         gnu/java/rmi/server/RMIIncomingThread.java,
4965         gnu/java/rmi/server/RMIObjectInputStream.java,
4966         gnu/java/rmi/server/RMIObjectOutputStream.java,
4967         gnu/java/rmi/server/RMIVoidValue.java,
4968         gnu/java/rmi/server/UnicastConnectionManager.java,
4969         gnu/java/rmi/server/UnicastRef.java,
4970         gnu/java/rmi/server/UnicastRemoteCall.java,
4971         gnu/java/rmi/server/UnicastRemoteStub.java,
4972         gnu/java/rmi/server/UnicastServerRef.java,
4973         gnu/java/security/OID.java,
4974         gnu/java/security/der/DERReader.java,
4975         gnu/java/security/provider/CollectionCertStoreImpl.java,
4976         gnu/java/security/provider/DSAParameterGenerator.java,
4977         gnu/java/security/provider/DefaultPolicy.java,
4978         gnu/java/security/provider/EncodedKeyFactory.java,
4979         gnu/java/security/provider/GnuDHPublicKey.java,
4980         gnu/java/security/provider/GnuDSAPrivateKey.java,
4981         gnu/java/security/provider/GnuDSAPublicKey.java,
4982         gnu/java/security/provider/GnuRSAPrivateKey.java,
4983         gnu/java/security/provider/GnuRSAPublicKey.java,
4984         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4985         gnu/java/security/provider/RSA.java,
4986         gnu/java/security/provider/SHA1PRNG.java,
4987         gnu/java/security/provider/SHA1withRSA.java,
4988         gnu/java/security/provider/X509CertificateFactory.java,
4989         gnu/java/security/x509/GnuPKIExtension.java,
4990         gnu/java/security/x509/X500DistinguishedName.java,
4991         gnu/java/security/x509/X509CRL.java,
4992         gnu/java/security/x509/X509CRLEntry.java,
4993         gnu/java/security/x509/X509CertPath.java,
4994         gnu/java/security/x509/X509CertSelectorImpl.java,
4995         gnu/java/security/x509/X509Certificate.java,
4996         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4997         gnu/java/security/x509/ext/BasicConstraints.java,
4998         gnu/java/security/x509/ext/CRLNumber.java,
4999         gnu/java/security/x509/ext/CertificatePolicies.java,
5000         gnu/java/security/x509/ext/ExtendedKeyUsage.java,
5001         gnu/java/security/x509/ext/Extension.java,
5002         gnu/java/security/x509/ext/GeneralNames.java,
5003         gnu/java/security/x509/ext/IssuerAlternativeNames.java,
5004         gnu/java/security/x509/ext/KeyUsage.java,
5005         gnu/java/security/x509/ext/PolicyConstraint.java,
5006         gnu/java/security/x509/ext/PolicyMappings.java,
5007         gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
5008         gnu/java/security/x509/ext/ReasonCode.java,
5009         gnu/java/security/x509/ext/SubjectAlternativeNames.java,
5010         gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
5011         Reorganized import statements.
5013 2005-04-18  Michael Koch  <konqueror@gmx.de>
5015         * gnu/java/awt/color/CieXyzConverter.java,
5016         gnu/java/awt/color/ClutProfileConverter.java,
5017         gnu/java/awt/color/ColorLookUpTable.java,
5018         gnu/java/awt/color/ColorSpaceConverter.java,
5019         gnu/java/awt/color/GrayProfileConverter.java,
5020         gnu/java/awt/color/GrayScaleConverter.java,
5021         gnu/java/awt/color/LinearRGBConverter.java,
5022         gnu/java/awt/color/ProfileHeader.java,
5023         gnu/java/awt/color/PyccConverter.java,
5024         gnu/java/awt/color/RgbProfileConverter.java,
5025         gnu/java/awt/color/SrgbConverter.java,
5026         gnu/java/awt/color/TagEntry.java,
5027         gnu/java/awt/color/ToneReproductionCurve.java:
5028         Standardized file headers.
5030 2005-04-16  Tom Tromey  <tromey@redhat.com>
5032         * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
5033         'ANY' package-private.
5035 2005-04-15  Tom Tromey  <tromey@redhat.com>
5037         * Makefile.in: Rebuilt.
5038         * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
5039         (libgcj0_convenience_la_LIBADD): ... here.
5041 2005-04-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5043         * gij.cc (version): Properly quote java version.
5044         (main): Fix typo in comment.
5046 2005-04-13  Mark Wielaard  <mark@klomp.org>
5048         * java/lang/natRuntime.cc (insertSystemProperties): Set
5049         java.class.path to CLASSPATH if not already set.
5051 2005-04-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
5053         * prims.cc (parse_verbose_args): Fix verbose argument parsing.
5055 2005-04-12  Mike Stump  <mrs@apple.com>
5057         * configure: Regenerate.
5059 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
5061         PR libgcj/20958
5062         * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
5063         * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
5065 2005-04-12  Aaron Luchko  <aluchko@redhat.com>
5067         PR libgcj/20975
5068         * scripts/TexinfoDoclet.java: Removed.
5069         * Makefile.am (texinfo): Removed.
5070         * Makefile.in: Regenerated.
5072 2005-04-11  Michael Koch  <konqueror@gmx.de>
5074         * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
5075         Fixed wrong casting.
5077 2005-04-06  Andrew Haley  <aph@redhat.com>
5079         * testsuite/libjava.lang/bytearray.java: New file.
5080         * testsuite/libjava.lang/bytearray.out: New file.
5081         * java/lang/ClassLoader.java (loadClassFromSig): Declare
5082         (loadClass): Use it.
5083         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
5085 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
5087         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
5088         gcj-dbtool dependency
5089         * Makefile.in: Regenerated
5091 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
5093         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
5094         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
5096 2005-04-05  Andrew Haley  <aph@redhat.com>
5098         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
5099         (Tokenizer): New class.
5100         (getFiles): New method.
5101         (main): Add "-" argument.
5102         Add "-0" argument.
5103         Read list of files from stdin when merging map databases.
5104         (usage):  Add "-" argument.
5105         Add "-0" argument.
5106         Minor corrections.
5108 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
5110         PR libgcj/20750
5111         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
5112         * Makefile.in: Regenerate.
5113         * configure.ac: Add --with-java-home option.
5114         * configure: Regenerate.
5115         * external/Makefile.in: Regenerate.
5116         * external/sax/Makefile.in: Regenerate.
5117         * external/w3c_dom/Makefile.in: Regenerate.
5118         * gcj/Makefile.in: Regenerate.
5119         * include/Makefile.in: Regenerate.
5120         * testsuite/Makefile.in: Regenerate.
5121         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
5122         to JAVA_HOME macro.
5124 2005-04-05  Tom Tromey  <tromey@redhat.com>
5126         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
5127         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
5128         Rewrote to use _Jv_FindClassFromSignature.
5129         * verify.cc (resolve): throw NoClassDefFoundError.
5130         * link.cc (resolve_field): Throw NoClassDefFoundError.
5131         (find_field): Likewise.
5132         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
5133         Handle error cases.  Added 'endp' argument.
5134         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
5136 2005-04-05  Tom Tromey  <tromey@redhat.com>
5138         * Makefile.in: Rebuilt.
5139         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
5140         gtk_awt_peer_sources.
5141         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
5142         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
5143         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
5144         (gtk-awt-peer.lo): New target.
5146 2005-04-04  Steve Pribyl <steve@netfuel.com>
5148         PR libgcj/20761
5149         * configure.ac: Fix fastjar definition for cross builds.
5150         * configure: Rebuilt.
5152 2005-04-04  Tom Tromey  <tromey@redhat.com>
5154         * java/lang/ClassLoader.java (loadClass): Resolve class even if
5155         it was already found.
5157 2005-04-04  Tom Tromey  <tromey@redhat.com>
5159         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
5160         org.metastatic.jessie.
5162 2005-04-02  Anthony Green  <green@redhat.com>
5164         PR libgcj/20727
5165         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
5167 2005-04-02  Mark Wielaard  <mark@klomp.org>
5169         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
5170         Attributes and attribute order doesn't matter.
5171         (BasicAttributesEnumeration.where): Initialize to zero.
5172         (BasicAttributesEnumeration.nextElement): Update and compare where
5173         appropriately (zero based).
5175 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
5177         PR libgcj/20090, PR libgcj/20526
5178         * gij.cc (nonstandard_opts_help): New function.
5179         (add_option): New function.
5180         (main): Support java options.  Set java.class.path.  Don't set
5181         _Jv_Jar_Class_Path.
5182         * prims.cc (parse_x_arg): New function.
5183         (parse_init_args): Call parse_x_arg for -X and _ options, when
5184         ignoreUnrecognized is true.
5185         (new _Jv_RunMain): New vm_args variant.
5186         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
5187         (_Jv_Jar_Class_Path): Remove variable.
5188         * include/java-props.h: Likewise.
5189         * include/cni.h (JvRealloc): New function.
5190         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
5191         * java/lang/natRuntime.cc (insertSystemProperties): Remove
5192         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
5193         macros.
5194         * configure.ac (JV_VERSION): Define.
5195         (JV_API_VERSION): Likewise.
5196         * configure: Regenerate.
5197         * include/config.h.in: Regenerate.
5199 2005-04-01 Mark Anderson <mark@panonet.net>
5201         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
5202         -Infinity as parameters.
5204 2005-04-01  Michael Koch  <konqueror@gmx.de>
5206         * java/io/PipedInputStream.java
5207         (read): Make sure a positive byte value is returned. Revised javadoc.
5208         Thanks to Olafur Bragason for reporting these bugs.
5210 2005-04-01  Tom Tromey  <tromey@redhat.com>
5212         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
5213         Updated for name change.
5214         (nativeFindClass): New method.
5215         (loadClass): Use nativeFindClass.
5216         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
5217         form of loadClass.
5218         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
5219         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
5220         VMClassLoader.
5221         (initialize): New method.
5222         (nativeFindClass): Declare.
5223         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
5224         * gnu/gcj/runtime/VMClassLoader.java: Removed.
5225         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
5226         VMClassLoader.java.
5227         (definePackageForNative): Removed.
5228         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
5229         Moved to VMClassLoader.java.
5230         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
5231         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
5232         (ordinary_java_source_files): Added ExtensionClassLoader.java,
5233         removed VMClassLoader.java.
5234         (nat_source_files): Removed natVMClassLoader.cc.
5236 2005-04-01  Tom Tromey  <tromey@redhat.com>
5238         * Makefile.in: Rebuilt.
5239         * Makefile.am (db_pathtail): Use $(gcc_version), not
5240         @gcc_version@.
5242 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
5244         * java/util/Timer.java
5245         (run): Stop the queue if a task throws an exception.
5247 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
5249         * javax/swing/text/JTextComponent.java (viewToModel): New method.
5251 2005-03-29  Ian Lance Taylor  <ian@airs.com>
5253         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
5254         * external/sax/Makefile.in: Rebuild.
5255         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
5256         "-fclasspath=".
5257         * external/w3c_dom/Makefile.in: Rebuild.
5259 2005-03-29  Tom Tromey  <tromey@redhat.com>
5261         * java/lang/natRuntime.cc (insertSystemProperties): Set
5262         gnu.gcj.runtime.endorsed.dirs.
5263         * Makefile.in: Rebuilt.
5264         * Makefile.am (ordinary_java_source_files): Added
5265         HelperClassLoader.java.
5266         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
5267         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
5268         HelperClassLoader.
5269         (init): Use addDirectoriesFromProperty.
5270         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
5271         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
5272         gnu.gcj.runtime.endorsed.dirs.
5273         * gnu/gcj/runtime/HelperClassLoader.java: New file.
5275 2005-03-26  Chris Burdess  <dog@gnu.org>
5277         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
5278         required.
5280 2005-03-13  Michael Koch  <konqueror@gmx.de>
5282         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
5284 2005-03-11  Chris Burdess  <dog@gnu.org>
5286         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
5287         warnings.
5289 2005-02-27  Chris Burdess  <dog@gnu.org>
5291         * gnu/xml/aelfred2/JAXPFactory.java,
5292         gnu/xml/aelfred2/SAXDriver.java,
5293         gnu/xml/aelfred2/XmlParser.java,
5294         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
5295         formatting conventions. Replaced arrays of Object with struct-like
5296         classes for easier maintainability. Made SAXDriver.stringInterning
5297         package private to allow access from XmlParser inside the loop without
5298         a method call overhead.
5300 2005-03-11  Chris Burdess  <dog@gnu.org>
5302         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
5303         warnings.
5305 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
5307         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
5308         settings to sub Makefiles.
5309         (GCJH, ZIP): Prefix with top_builddir.
5310         * configure: Rebuild.
5311         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
5312         * external/w3c_dom/Makefile.in: Rebuild.
5313         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
5314         * external/sax/Makefile.in: Rebuild.
5316 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
5318         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
5319         libsocket to the libraries to link for Solaris.
5321 2005-03-28  Per Bothner  <per@bothner.com>
5323         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
5324         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
5326 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
5328         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
5329         to fix a ONESTEP fallout.
5330         * Makefile.in: Regenerate.
5332 2005-03-25  Mike Stump  <mrs@apple.com>
5334         * configure.ac: Fix ZIP and GCJH at configure time to absolute
5335         paths like we do for the compiler, as we use it in external/sax
5336         and it doesn't get MULTIBUILDTOP right when multilibing.
5338 2005-03-24  Anthony Green  <green@redhat.com>
5340         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
5341         -p option.
5342         (usage): Add [LIBDIR] to help output.
5343         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
5344         * Makefile.am (AM_CXXFLAGS): Define
5345         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
5346         (db_pathtail): New macro.
5348 2005-03-24  Tom Tromey  <tromey@redhat.com>
5350         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
5351         add sax and w3c libraries.
5352         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
5353         libw3c-gcj.la.
5354         * external/w3c_dom/Makefile.in: Rebuilt.
5355         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
5356         AM_GCJFLAGS.
5357         (libw3c_gcj_la_LDFLAGS): New variable.
5358         (noinst_LTLIBRARIES): Renamed.
5359         * external/sax/Makefile.in: Rebuilt.
5360         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
5361         AM_GCJFLAGS.
5362         (libsax_gcj_la_LDFLAGS): New variable.
5363         (noinst_LTLIBRARIES): Renamed.
5365 2005-03-23  Tom Tromey  <tromey@redhat.com>
5367         * Makefile.in: Rebuilt.
5368         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
5369         (libgcj0_convenience_la_SOURCES): Don't include
5370         gnu_xml_source_files.
5371         (libgcj0_convenience_la_LIBADD): New variable.
5372         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
5373         (all_java_source_files): javax_imageio_source_files,
5374         javax_xml_source_files, and gnu_java_beans_source_files.
5375         ($(gnu_xml_source_files:.java=.lo)): Removed target.
5376         (gnu-xml.lo): New target.
5377         (javax-imageio.lo): Likewise.
5378         (javax-xml.lo): Likewise.
5379         (gnu-java-beans.lo): Likewise.
5380         (gnu_java_beans_source_files): New variable.
5381         (javax_imageio_source_files): Likewise.
5382         (javax_xml_source_files): Likewise.
5383         (javax_source_files): Moved files to other variable.
5384         (awt_java_source_files): Likewise.
5385         (ordinary_java_source_files): Added BootClassLoader.java.
5386         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
5387         not system class loader.
5388         (initBootLoader): New method.
5389         (loadClass): Search bootLoader.
5390         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
5391         boot loader, not system class loader.
5392         (_Jv_UnregisterInitiatingLoader): Likewise.
5393         (_Jv_FindClass): Likewise.  Ensure entries in
5394         bootstrap_class_list are unique.
5395         * java/lang/natClass.cc (getClassLoader): Don't special case
5396         system class loader.
5397         * java/lang/VMClassLoader.java (bootLoader): New field.
5398         (getResource): Use bootLoader.
5399         (getResources): Likewise.
5400         (initBootLoader): Declare.
5401         * gnu/gcj/runtime/BootClassLoader.java: New file.
5402         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
5403         (EMPTY_ENUMERATION): Now package-private.
5404         * external/w3c_com/Makefile.in: Rebuilt.
5405         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
5406         (w3c.jar): New target.
5407         (classes.stamp): Updated.
5408         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
5409         Changed name of library.
5410         (libw3c_gcj_la_SOURCES): New variable.
5411         (libw3c_gcj_la_GCJFLAGS): Likewise.
5412         (source_files): Renamed from lib3c_convenience_la_SOURCES.
5413         * external/sax/Makefile.in: Rebuilt.
5414         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
5415         (sax.jar): New target.
5416         (classes.stamp): Updated.
5417         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
5418         Changed name of library.
5419         (libsax_gcj_la_SOURCES): New variable.
5420         (libsax_gcj_la_GCJFLAGS): Likewise.
5421         (source_files): Renamed from libsax_convenience_la_SOURCES.
5422         * stacktrace.cc (non_system_trace_fn): Don't look at system class
5423         loader.
5424         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
5425         loader.
5426         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
5428 2005-03-23  Sven de Marothy  <sven@physto.se>
5430         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
5431         PR libgcj/11085:
5432         * java/util/Calendar.java
5433         (set): Use starting day of week when one is needed if none is given.
5434         * java/text/SimpleDateFormat.java
5435         (parse): Handle 1-12 and 1-24 timestamps correctly.
5436         * java/util/GregorianCalendar.java
5437         (computeTime, computeFields): HOUR should be in 0-11 format.
5438         (nonLeniencyCheck): Adjust leniency checking to that fact.
5439         (getLinearDay): Should be private.
5441 2005-03-23  Tom Tromey  <tromey@redhat.com>
5443         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
5444         (_Jv_CheckABIVersion): Use it.
5446 2005-03-22  Mike Stump  <mrs@apple.com>
5448         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
5450         * include/posix.h: .dylib is used on all Apple MACH platforms.
5451         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
5453 2005-03-22  Tom Tromey  <tromey@redhat.com>
5455         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
5457 2005-03-21  Tom Tromey  <tromey@redhat.com>
5459         * java/lang/VMCompiler.java (static block): Also catch
5460         BufferUnderflowException.
5462 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
5464         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
5465         set tool_include_dir.  In all substitutions, leave $(gcc_version)
5466         to be expanded by the Makefile.
5467         * aclocal.m4, configure: Regenerate.
5468         * Makefile.am: Set gcc_version.  Replace all uses of
5469         @gcc_version@ with $(gcc_version).
5470         * external/Makefile.am, external/sax/Makefile.am
5471         * external/w3c_dom/Makefile.am, gcj/Makefile.am
5472         * testsuite/Makefile.am: Set gcc_version.
5473         * include/Makefile.am: Set gcc_version and tool_include_dir.
5474         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
5475         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
5476         * testsuite/Makefile.in: Regenerate.
5478 2005-03-17  Andrew Haley  <aph@redhat.com>
5480         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
5481         arg: klass.
5482         Pass klass to _Jv_StackTrace::GetClassContext().
5483         * java/lang/ClassLoader.java (getParent): Pass class to
5484         VMSecurityManager.getClassContext()
5485         (getSystemClassLoader): Likewise.
5486         * java/lang/Package.java (getPackage): Likewise.
5487         (getPackages): Likewise.
5488         * java/lang/SecurityManager.java (getClassContext): Likewise.
5489         (currentClassLoader): Likewise.
5490         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
5491         (currentClassLoader) Add new arg: caller.
5492         Pass caller to VMSecurityManager.getClassContext.
5494         * stacktrace.cc (GetClassContext): Correct calculation of
5495         jframe_count.
5497         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
5498         im->source_file_name.
5500 2005-03-16  Andrew Haley  <aph@redhat.com>
5502         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
5504 2005-03-16  Tom Tromey  <tromey@redhat.com>
5506         * link.cc (ensure_class_linked): Removed #ifdef.
5507         (print_class_loaded): Likewise.
5508         (wait_for_state): Likewise.
5509         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
5510         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
5511         * include/java-interp.h: ... here.
5513 2005-03-16  Tom Tromey  <tromey@redhat.com>
5515         * gnu/java/lang/MainThread.java (run): Load main class using
5516         system class loader.
5518 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
5520         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
5521         lgcc_s to the libraries to link for Darwin.
5523 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
5525         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
5526         interpreter-specific code with #ifdef INTERPRETER.
5527         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
5528         (_Jv_StackTrace::FillInFrameInfo): Likewise.
5529         (_Jv_StackTrace::non_system_trace_fn): Likewise.
5530         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
5531         #ifdef INTERPRETER. Also protect declarations that use it.
5532         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
5533         #ifdef INTERPRETER block.
5535 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
5537         PR libgcj/20251
5538         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
5539         * Makefile.in: Rebuilt.
5541 2005-03-15  David Daney  <ddaney@avtrex.com>
5543         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
5544         count == 0 case.
5546 2005-03-15  David Daney  <ddaney@avtrex.com>
5548         * java/io/BufferedInputStream.java (available): Use 'in' instead
5549         of 'super' for underlying stream access.
5550         (close): Ditto.
5551         (read(byte[], int, int)): Ditto.
5552         (refill): Ditto.
5553         (skip): Call skip on underlying stream when possible.
5555 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
5557         * stacktrace.cc (GetCallerInfo): Return nothing in case of
5558         SJLJ_EXCEPTIONS is defined.
5560 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
5562         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
5563         tests.
5565 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
5567         * testsuite/lib/libjava.exp (libjava_init): Use the same target
5568         check for Darwin.
5569         (libjava_arguments): Likewise.
5571         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
5572         (gcj_jni_test_one): Likewise.
5573         (gcj_jni_invocation_compile_c_to_binary): Likewise.
5574         Add flags to keep the Darwin linker quiet.
5575         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
5576         Add -liconv for Darwin.
5578 2005-03-11  Tom Tromey  <tromey@redhat.com>
5580         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
5581         (_Jv_CheckABIVersion): Use it.
5583 2005-03-11  Tom Tromey  <tromey@redhat.com>
5585         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
5586         (usage): Document '-p'.
5587         * Makefile.in: Rebuilt.
5588         * Makefile.am (dbexecdir): New variable.
5589         (db_name): Likewise.
5590         (dbexec_DATA): Likewise.
5591         ($(db_name)): New target.
5592         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
5593         * java/lang/natRuntime.cc (insertSystemProperties): Set default
5594         system database.
5596 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
5598         * exception.cc: Remove stray MethodRef.h include.
5599         * java/lang/natClass.cc: Likewise.
5600         * gnu/gcj/runtime/MethodRef.java: Removed.
5601         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
5602         gnu/gcj/runtime/natStackTrace.cc: Really removed.
5603         * java/lang/natRuntime.cc (_load): Remove unsed variable.
5604         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
5605         * Makefile.in: Rebuilt.
5607 2005-03-10  Tom Tromey  <tromey@redhat.com>
5609         * Makefile.in: Rebuilt.
5610         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
5612 2005-03-10  Chris Burdess  <dog@bluezoo.org>
5614         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
5615         not currently parsing the DTD.
5617 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
5619         New Stack Trace infrastructure.
5620         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
5621         (gnu/gcj/runtime/StackTrace.java): Removed.
5622         (ordinary_java_source_files): Remove obsolete files.
5623         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
5624         * configure.host (fallback_backtrace_h): Set backtrace header
5625         for mingw and cygwin targets.
5626         * configure.ac: Make symlink for fallback backtrace headers.
5627         * Makefile.in, configure: Rebuilt.
5628         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
5629         Read 'LineNumberTable' attribute.
5630         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
5631         attribute.
5632         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
5633         table fields.
5634         * exception.cc: Remove unused include.
5635         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
5636         (SAVE_PC): New macro. Save current PC in the interpreter frame.
5637         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
5638         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
5639         table to direct threaded instruction values.
5640         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
5641         (_Jv_InterpMethod::run): No longer member function. All
5642         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
5643         is made or where an instruction could throw.
5644         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
5645         in line_table.
5646         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
5647         (catch_fpe): Likewise.
5648         * stacktrace.cc: New file. Stack trace code now here.
5649         * gnu/gcj/runtime/MethodRef.java:
5650         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
5651         calls addr2line to look up PC addresses in a given binary or shared
5652         library.
5653         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
5654         gnu/gcj/runtime/natStackTrace.cc: Removed.
5655         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
5656         this function name is specially recognised by the stack trace code
5657         and shouldn't be changed.
5658         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
5659         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
5660         (_Jv_InterpMethod::run): Update declaration.
5661         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
5662         friends.
5663         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
5664         * include/java-stack.h: New file. Declarations for stack tracing.
5665         * include/jvm.h (_Jv_Frame_info): Removed.
5666         * java/lang/Class.h: Update friend declarations.
5667         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
5668         exception message.
5669         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
5670         (getStackTrace): Now native.
5671         (data): New RawDataManaged field.
5672         * java/lang/natClass.cc: Update includes.
5673         (forName): Use _Jv_StackTrace::GetCallingClass for
5674         calling-classloader check.
5675         (getClassLoader): Likewise.
5676         * java/lang/natRuntime.cc: Update includes.
5677         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
5678         * java/lang/natVMSecurityManager.cc: Update includes.
5679         (getClassContext): Use _Jv_StackTrace::GetClassContext.
5680         * java/lang/natVMThrowable.cc: New file. Native methods for
5681         VMThrowable.
5682         * java/lang/reflect/natArray.cc: Update includes.
5683         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
5684         accessibility check.
5685         * java/lang/reflect/natConstructor.cc: Update includes.
5686         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
5687         accessibility check.
5688         * java/lang/reflect/natField.cc: Update includes.
5689         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
5690         accessibility check.
5691         * java/lang/reflect/natMethod.cc: Update includes.
5692         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
5693         accessibility check.
5694         * java/util/natResourceBundle.cc: Update includes.
5695         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
5696         * java/util/logging/natLogger.cc: Update includes. Use
5697         _Jv_StackTrace::GetCallerInfo to get call-site info.
5698         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
5699         implementation.
5700         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
5701         implementation.
5703 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
5705         * testsuite/libjava.compile/PR20312.java: New file.
5706         * testsuite/libjava.compile/PR20312.xfail: Likewise.
5707         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
5709 2005-03-09  Andrew Haley  <aph@redhat.com>
5711         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
5712         New.
5713         (smallTransferTo): New.
5714         (transferFrom): Loop around smallTransferFrom, copying pageSize
5715         bytes each time.
5716         (transferTo): Likewise.
5718 2005-03-09  David Daney  <ddaney@avtrex.com>
5720         PR libgcj/20389
5721         Merge BufferedInputStream from GNU Classpath.
5722         * java/io/BufferedInputStream.java (marktarget): Field removed.
5723         (CHUNKSIZE): Field removed.
5724         (bufferSize): New field.
5725         (BufferedInputStream): Initialize fields.
5726         (close): Invalidate mark and buffer indexes.
5727         (mark):  Rewritten.
5728         (read()): Move mark handling code to refill.
5729         (read(byte[], int, int)): Ditto.
5730         (skip): Ditto and simplify EOF testing.
5731         (refill): Rewritten.
5732         * java/io/InputStreamReader.java (refill): Removed mark and reset
5733         of internal BufferedInputStream.
5735 2005-03-09  Tom Tromey  <tromey@redhat.com>
5737         * java/lang/natVMClassLoader.cc (defineClass): Reference
5738         'systemClassLoader' field directly.
5739         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
5740         field directly.
5741         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
5742         Reference 'systemClassLoader' field directly.
5743         (_Jv_UnregisterInitiatingLoader): Likewise.
5744         (_Jv_FindClass): Likewise.
5746 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
5748         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
5750         * java/lang/mprec.h: Remove commented headers. Fix comment to match
5751         the file in GNU Classpath style.
5753 2005-03-09  Tom Tromey  <tromey@redhat.com>
5755         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
5756         (toString): Synchronize.
5758 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
5760         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
5761         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
5763 2005-03-07  Tom Tromey  <tromey@redhat.com>
5765         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
5766         (usage): Document '-f'.
5768 2005-03-07  Tom Tromey  <tromey@redhat.com>
5770         * java/lang/VMCompiler.java (md5Digest): New field.
5771         (compileClass): Clone md5Digest instead of looking up a new one.
5773 2005-03-07  Tom Tromey  <tromey@redhat.com>
5775         PR java/20215:
5776         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
5777         * link.cc (find_field_helper): Added 'type' argument.
5778         (find_field): Updated.
5780 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
5781         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
5782         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
5783         throw UnsupportedOperationException, fixed comments.
5784         (setFont, setForeground): Fixed comments.
5785         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
5786         return type to boolean.
5787         (getNextEvent): Fixed javadocs.
5788         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
5789         (nativeQueueEmpty): Removed unused code.
5790         (iterateNativeQueue): Removed outer loop.
5792 2005-03-06  Roger Sayle  <roger@eyesopen.com>
5794         PR libgcj/20155
5795         * Makefile.am (libgcj0_convenience.la): Revert last change.
5796         * Makefile.in: Regenerate.
5798 2005-03-05  Anthony Green  <green@redhat.com>
5800         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
5801         classpath_jawt_lock, classpath_jawt_unlock): New functions.
5802         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
5803         (_Jv_GetDrawingSurface): Set visualID.
5804         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
5805         (JAWT_GetAWT): Set Lock and Unlock.
5806         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
5807         visualID.
5808         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
5809         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
5810         JAWT_LOCK_SURFACE_CHANGED): New macros.
5811         (struct _JAWT): Add Lock and Unlock.
5813 2005-03-05  Roger Sayle  <roger@eyesopen.com>
5814             Alexandre Oliva  <aoliva@redhat.com>
5815             Kelley Cook  <kcook@gcc.gnu.org>
5817         PR libgcj/20155
5818         * Makefile.am (libgcj0_convenience.la): New rule to create a file
5819         of the object files to link to avoid exceeding the command line
5820         length limits on some platforms.
5821         (clean-local): Clean up objectlist files.
5822         * Makefile.in: Regenerate.
5824 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
5826         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
5827         spec_case. Initialize pointer mlo.
5829         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
5830         delta.
5832         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
5834         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
5835         and k.
5837         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
5838         uninitialized variable z.
5840         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
5841         possible unused variables.
5843         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
5845         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
5847 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
5849         PR libgcj/20292
5850         * testsuite/libjava.jni/jni.exp
5851         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
5852         flags.
5853         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
5855 2005-02-23  David Daney  <ddaney@avtrex.com>
5857         * configure.host: Don't use -mxgot for MIPS builds.
5859 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
5861         PR bootstrap/17383
5862         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
5863         (COMPPATH): Removed.
5864         (ZIP, GCJH): Replace it with ../$(host_subdir).
5865         (built_gcc_dir): Add $(host_subdir).
5866         * configure: Regenerate.
5867         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5868         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
5869         external/w3c_dom/Makefile.in: Regenerate.
5871 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
5873         * java/awt/font/TextAttribute.java: changed names to lower case;
5874         (readResolve): implemented.
5875         Added doc comments all over.
5877 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
5879         PR libgcj/16923
5880         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
5881         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
5882         value.  Move argument parsing code to prims.cc.
5883         * prims.cc (no_properties): Remove.
5884         (_Jv_Compiler_Properties): Initialize to NULL.
5885         (_Jv_Properties_Count): Initialize to 0.
5886         (parse_verbose_args): New function.
5887         (parse_init_args): New function.
5888         (_Jv_CreateJavaVM): Call parse_init_args.
5889         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
5890         * gcj/cni.h (JvVMOption): New struct.
5891         (JvVMInitArgs): Likewise.
5892         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
5893         void*.
5894         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
5895         (_Jv_VMInitArgs): Likewise.
5896         * include/java-props.h (_Jv_Properties_Count): Declare.
5897         * java/lang/natRuntime.cc (insertSystemProperties): Use
5898         _Jv_Properties_Count in for loop exit condition.
5899         * testsuite/libjava.jni/jni.exp
5900         (gcj_invocation_compile_c_to_binary): New procedure.
5901         (gcj_invocation_test_one): Likewise.
5902         (gcj_jni_run): Run JNI invocation API tests.
5903         * testsuite/libjava.jni/invocation/PR16923.c,
5904         testsuite/libjava.jni/invocation/PR16923.java,
5905         testsuite/libjava.jni/invocation/PR16923.out: New test.
5907 2005-02-23  Michael Koch  <konqueror@gmx.de>
5909         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
5910         * Makefile.in: Regenerated.
5912 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
5914         * gnu/java/nio/ChannelReader: Fixed comments.
5916 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
5918         * java/nio/channels/Channels: Added FIXMEs about
5919         stub method implementation.
5920         (newReader): Implemented.
5921         * gnu/java/nio/ChannelReader: New class.
5923 2005-02-23  Michael Koch  <konqueror@gmx.de>
5925         * java/text/SimpleDateFormat.java:
5926         Removed unused import.
5928 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5930         PR libgcj/20029:
5931         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
5932         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
5933         * Makefile.in: Regenerate.
5934         * configure.ac: Check for libXtst.
5935         * configure: Regenerate.
5937 2005-02-22  Mark Wielaard  <address@bogus.example.com>
5939         * java/security/AlgorithmParameterGenerator.java (getInstance):
5940         Mention provider when throwing NoSuchProviderException.
5941         * java/security/AlgorithmParameters.java (getInstance): Likewise.
5942         * java/security/KeyFactory.java (getInstance): Likewise.
5943         * java/security/KeyStore.java (getInstance): Likewise.
5944         * java/security/SecureRandom.java (getInstance): Likewise.
5945         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
5947 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
5949         * java/lang/reflect/Proxy.java,
5950         java/net/URL.java,
5951         java/security/SecureRandom.java,
5952         java/util/Timer.java,
5953         java/util/prefs/AbstractPreferences.java:
5954         Don't catch java.lang.ThreadDeath.
5956 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
5958         * java/awt/font/TransformAttribute.java,
5959         (TransformAttribute(AffineTransform)): throw
5960         IllegalArgumentException for null transform.
5961         (getTransform): return a copy of transform.
5962         Added doc comments to all.
5964 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
5966         * java/io/Externalizable.java,
5967         java/io/Serializable.java
5968         (serialVersionUID): Removed.
5969         * java/rmi/server/RemoteObject.java,
5970         java/rmi/server/UID.java
5971         (serialVersionUID): Made private.
5972         * java/rmi/server/RemoteRef.java,
5973         java/rmi/server/ServerRef.java
5974         (serialVersionUID): Set proper value.
5975         * java/security/interfaces/DSAPrivateKey.java,
5976         java/security/interfaces/DSAPublicKey.java,
5977         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
5978         java/security/interfaces/RSAPrivateCrtKey.java,
5979         java/security/interfaces/RSAPrivateKey.java,
5980         java/security/interfaces/RSAPublicKey.java,
5981         javax/crypto/SecretKey.java
5982         (serialVersionUID): Added.
5984 2005-02-22  Tom Tromey  <tromey@redhat.com>
5986         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
5988 2005-02-22  Tom Tromey  <tromey@redhat.com>
5990         PR java/20056:
5991         * verify.cc (type::EITHER): New constant.
5992         (check_field_constant): Use it.
5993         (type::compatible): Handle it.
5995 2005-02-22  Michael Koch  <konqueror@gmx.de>
5997         * gnu/java/security/PolicyFile.java,
5998         gnu/java/security/pkcs/PKCS7SignedData.java,
5999         gnu/java/security/pkcs/SignerInfo.java:
6000         Fixed copyright header.
6002 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
6004         * java/beans/PropertyDescriptor.java
6005         (PropertyDescriptor,setReadMethod): Set propertyType.
6007 2005-02-22  Michael Koch  <konqueror@gmx.de>
6009         * java/nio/DirectByteBufferImpl.java
6010         (owner): Fixed formatting of javadoc.
6011         * java/text/DateFormat.java
6012         (getAvailableLocales): Fixed formatting.
6013         * java/text/SimpleDateFormat.java:
6014         Fixed formatting and import statement order.
6015         * java/util/Calendar.java
6016         (Calendar): Fixed javadoc to be HTML compliant.
6017         * java/util/SimpleTimeZone.java:
6018         Fixed javadocs.
6020 2005-02-22  Roman Kennke <roman@ontographics.com>
6022         * javax/swing/plaf/basic/BasicLookAndFeel.java
6023         (initComponentDefaults): Fixed Button left and right margin.
6025 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6027         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
6028         empty Runnable.
6030         PR libgcj/17952:
6031         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6032         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6033         (getWidth): New method.
6034         (getHeight): Likewise.
6035         (create): Remove width, height and insets parameters.  Move size
6036         setup ...
6037         (realize_cb): ... here.  New function.
6038         (connectSignals): Connect realize_cb.
6039         (request_frame_extents): Remove FIXME.  Move
6040         postInsetsChangedEvent lookup ...
6041         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
6042         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
6043         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
6044         jmethodID.
6045         (windowGetWidthID): Likewise.
6046         (windowGetHeightID): Likewise.
6048 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
6050         PR libgcj/19842
6051         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6052         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
6054 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
6056         Merge serialization from GNU Classpath.
6057         * gcj/method.h: Add missing #includes.
6058         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
6059         primitive class IDs on the stream here...
6060         (resolveClass): ...not here.
6061         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
6062         fields.
6063         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
6064         setLongNative, setIntNative, setShortNative, setCharNative,
6065         setByteNative, setBooleanNative, setObjectNative): New native methods.
6066         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
6067         setLongNative, setIntNative, setShortNative, setCharNative,
6068         setByteNative, setBooleanNative, setObjectNative): Implement them.
6069         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
6070         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
6071         the constructor here.
6072         (callConstructor): Removed.
6073         (getCallersClassLoader): Removed.
6074         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
6075         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
6076         to control whether setting final field values is permitted. Call
6077         getAddr() with checkFinal parameter instead of setAddr().
6078         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
6079         only if not done already.
6080         (getAddr): Add checkFinal parameter. Do the final field check only if
6081         checkFinal is set.
6082         (setAddr): Removed.
6084 2005-02-21  Mark Wielaard  <mark@klomp.org>
6086         # Fixes bug #11957
6087         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
6088         twice.
6090 2005-02-21  Mark Wielaard  <mark@klomp.org>
6092         Fixes bug #11618.
6093         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
6094         without a super class and us ObjectStreamClass.lookupForClassObject().
6095         (resolveClass): Check for primitive types.
6096         (lookupClass): Return null when argument is null.
6098 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
6100         * java/io/ObjectInputStream.java
6101         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
6103 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
6105         * java/io/ObjectOutputStream.java
6106         (writeObject, callWriteMethod): Replaced reflection with accessing
6107         cached info in ObjectStreamClass.
6108         (getMethod): Removed.
6109         * java/io/ObjectStreamClass.java
6110         (findMethod): Added check to make sure the method found has the
6111         right modifiers.
6112         (cacheMethods): Added writeReplace and writeObject methods.
6113         (setFlags): Look at new writeObjectMethod field instead of doing
6114         reflection again.
6115         (writeReplaceMethod): New field.
6116         (writeObjectMethod): New field.
6118 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
6119         Jeroen Frijters  <jeroen@frijters.net>
6121         * java/io/ObjectInputStream.java
6122         (newObject): Changed prototype. Get a constructor reflect object
6123         directly.
6124         (callConstructor): Removed.
6125         (allocateObject): Changed prototype.
6126         (readClassDescriptor): Build the constructor reflection directly.
6127         (readObject): Invoke newObject using the new prototype.
6129         * java/io/ObjectStreamClass.java
6130         (firstNonSerializableParent): Removed.
6131         (firstNonSerializableParentConstructor): Added.
6133 2005-02-21  Mark Wielaard  <mark@klomp.org>
6135         * gnu/java/locale/LocaleInformation_en.java: Extend
6136         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
6138 2005-02-21  Mark Wielaard  <mark@klomp.org>
6140         * java/text/SimpleDateFormat.java
6141         (SimpleDateFormat(String, DateFormatSymbols)): Throw
6142         NullPointerException when formatData is null.
6144 2005-02-21  Mark Wielaard  <mark@klomp.org>
6146         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
6147         taking dstSavings into account.
6149 2005-02-21  Sven de Marothy <sven@physto.se>
6151         * java/text/SimpleDateFormat.java,
6152         (parse): Set correct DST_OFFSET to the correct value.
6154 2005-02-21  Mark Wielaard  <mark@klomp.org>
6156         * java/util/SimpleTimeZone.java (checkRule): Throw
6157         IllegalArgumentException when month out of range.
6159 2005-02-21  Sven de Marothy  <sven@physto.se>
6161         * java/util/GregorianCalendar.java,
6162         (add): Don't set fields directly anymore. Use set()
6164 2005-02-21  Mark Wielaard  <mark@klomp.org>
6166         * java/text/SimpleDateFormat.java (CompiledField.toString):
6167         Use StringBuffer, not StringBuilder.
6168         (toString): Likewise.
6170 2005-02-21  Sven de Marothy  <sven@physto.se>
6172         * java/util/Calendar.java
6173         (clear): Dates should clear to local time.
6174         * java/util/GregorianCalendar.java
6175         (computeTime): Fix priority problem with DAY_OF_WEEK,
6176         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
6178 2005-02-21  Sven de Marothy  <sven@physto.se>
6180         * java/util/Calendar.java
6181         (Calendar): Constructor should clear fields.
6183 2005-02-21  Sven de Marothy  <sven@physto.se>
6185         * java/text/SimpleDateFormat.java
6186         (parse): Tweak handling of 2-year dates
6187         * java/util/Calendar.java
6188         (clear): Clear fields to correct value.
6189         * java/util/GregorianCalendar.java
6190         (computeTime): Correct handling of time zones.
6191         Correct field minimum values.
6193 2005-02-21  Sven de Marothy  <sven@physto.se>
6195         * java/util/Calendar.java
6196         (set) Invalidate all fields on first call to set().
6198 2005-02-21  Sven de Marothy  <sven@physto.se>
6200         * java/util/GregorianCalendar.java
6201         (computeTime): Fixed handling of time zones.
6203 2005-02-21  Sven de Marothy  <sven@physto.se>
6205         * java/util/Calendar.java
6206         (clear): Set values to Epoch instead of zero.
6207         (set): Set isSet to the relevant field pattern instead of just
6208         the field.
6209         * java/util/GregorianCalendar.java
6210         (getBundle): Removed.
6211         (getDayOfYear): Removed.
6212         (getFirstDayOfMonth): New private method.
6213         (nonLeniencyCheck): New private method.
6214         (computeTime): Correct handling of insufficient data.
6216 2005-02-21  Sven de Marothy <sven@physto.se>
6218         * java/util/Calendar.java: Invalidate ERA field on setting
6219         the YEAR.
6220         * java/util/SimpleTimeZone.java:
6221         (getDaysInMonth): Reimplemented.
6222         * java/util/GregorianCalendar.java:
6223         (getLinearTime): Removed.
6224         (isLeapYear(int,boolean)): Removed.
6225         (before(), after()): Removed.
6226         (computeTime): Reimplemented.
6228 2005-02-21  Sven de Marothy <sven@physto.se>
6230         * java/util/Calendar.java: Reformatted.
6231         * java/util/GregorianCalendar.java: Reformatted.
6232         * java/util/SimpleTimeZone.java: Reformatted.
6234 2005-02-21  Sven de Marothy <sven@physto.se>
6236         * java/util/GregorianCalendar.java
6237         (GregorianCalendar): Update fields in the constructor
6239 2005-02-21  Noa Resare  <noa@resare.com>
6241         * java/util/Calendar.java (explicitDSTOffset): New instance field.
6242         (set(int,int)): Set and use new field.
6243         (set(int,int,int)): Check new field.
6245 2005-02-21  Noa Resare  <address@hidden>
6247         * java/util/Calendar.java(set):
6248         Fix for DST related regression.
6250 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
6252         * java/util/Calendar.java
6253         (setTimeInMillis): Added call to clear, removed computeFields call.
6254         * java/util/Date.java
6255         (Date(int,int,int,int,int,int)): Removed workaround for
6256         GregorianCalendar bug.
6257         * java/util/GregorianCalendar.java
6258         (GregorianCalendar): Chained all constructors to a (new)
6259         common constructor.
6260         (computeTime): Fixed support for lenient month treatment.
6261         (getLinearDay): Return long instead of int.
6262         (calculateDay): Added fields argument and changed day argument
6263         to long.
6265 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6267         * java/text/SimpleDateFormat.java
6268         Lots of documentation updates.
6269         (readObject(java.io.ObjectInputStream)): Wraps
6270         IllegalArgumentException as specified.
6271         (compileFormat(String)): Uses standardChars
6272         rather than the local pattern characters.
6273         Throws IllegalArgumentException rather than
6274         storing a -1 field.
6275         (toString()): Extended to include all variables
6276         in a better format.
6277         (translateLocalizedPattern(String, String, String)):
6278         Renamed to better define the use of this method.
6280 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6282         * java/text/DateFormat.java:
6283         Documented pattern character offset constants and
6284         added new ones.
6285         (Field): Added new static fields for new pattern chars.
6286         * java/text/SimpleDateFormat.java:
6287         (CompiledField): Changed name of FieldSizePair class
6288         to CompiledField after adding the character as an
6289         attribute.  Changed fields to private and added
6290         accessors to give encapsulation.
6291         (CompiledField.CompiledField(int,int,char)): Extended
6292         with character field.
6293         (CompiledField.getField()): New accessor method.
6294         (CompiledField.getSize()): New acceessor method.
6295         (CompiledField.getCharacter()): New accessor method.
6296         (CompiledField.toString()): Added primarily for debugging.
6297         (standardChars): Now uses extended 24 character sequence.
6298         (compileFormat(String)): Changed to use CompiledField.
6299         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
6300         java.text.FieldPosition)): Changed to use CompiledField.
6301         New handler for RFC 822 timezones added.
6303 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6305         * java/text/SimpleDateFormat.java:
6306         (parse(String, java.text.ParsePosition)):
6307         Changed 'E' and 'M' cases to use both
6308         short and long names.  Extended 'z'
6309         case to also handle 'Z', and deal
6310         with simple GMT offsets such as +0100.
6311         (computeOffset(String)): New private method,
6312         which converts a GMT offset specification,
6313         such as GMT-0500 to a numeric offset in
6314         milliseconds.
6315         * java/util/TimeZone.java:
6316         (timezones()): Added "CEST", the daylight
6317         savings time version of "CET", or Central
6318         European Time.
6320 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6322         * java/text/SimpleDateFormat.java:
6323         (parse): Set the DST offset to 0 when parsing
6324         GMT offset timezones.
6326 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6328         * java/text/SimpleDateFormat.java:
6329         (parse): Use offset to set ZONE_OFFSET
6330         rather than the DST_OFFSET, so that
6331         GMT offset timezones change the right
6332         one.
6334 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6336         * java/text/SimpleDateFormat.java:
6337         (getDateFormatSymbols()): return a copy
6338         (setDateFormatSymbols(java.text.DateFormatSymbols)):
6339         throw exception on null input
6340         (clone()): implemented to clone
6341         internal fields
6343 2005-02-21  Sven de Marothy <sven@physto.se>
6345         * java/text/SimpleDateFormat.java
6346         (parse): comparison should be case-insensitive, ignore null
6347         strings.
6349 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
6351         * gnu/java/beans/IntrospectionIncubator.java
6352         (addMethod) Reverts the patch that ntroduced a regression (see bug
6353         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
6355 2005-02-21  Michael Koch  <konqueror@gmx.de>
6357         * java/awt/Checkbox.java
6358         (next_checkbox_number): New static variable.
6359         (generateName): New method.
6360         (getUniqueLong): Likewise.
6361         * java/awt/Window.java
6362         (next_window_number): New static variable.
6363         (generateName): New method.
6364         (getUniqueLong): Likewise.
6366 2005-02-21  Mark Wielaard  <mark@klomp.org>
6368         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
6369         exists.
6371 2005-02-21  Andrew Haley  <aph@redhat.com>
6373         * Makefile.in: Rebuilt.
6374         * Makefile.am (nat_source_files): Added natLogger.cc.
6375         * java/util/logging/natLogger.cc: New file.
6376         * java/util/logging/Logger.java (getCallerStackFrame): Now
6377         native.
6379 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
6381         * Makefile.am (all_property_files): Remove left over.
6382         (classes.stamp): Add stamp for the ONESTEP build, also known as
6383         --enable-libgcj-multifile.
6384         * Makefile.in: Regenerated.
6386 2005-02-21  Michael Koch  <konqueror@gmx.de>
6388         * java/awt/Button.java,
6389         java/awt/Container.java,
6390         java/awt/Font.java,
6391         java/awt/Frame.java,
6392         java/text/CollationElementIterator.java,
6393         java/text/RuleBasedCollator.java,
6394         java/util/PropertyPermission.java:
6395         Fixed formatting issues all over.
6397 2005-02-21  Mark Wielaard  <mark@klomp.org>
6399         * java/io/FileDescriptor.java (sync): Add real exception to
6400         SyncFailedException.
6402 2005-02-21  Michael Koch  <konqueror@gmx.de>
6404         * java/io/InputStreamReader.java:
6405         Fixed @author tag.
6407 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
6409         PR libgcj/19728:
6410         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
6412 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
6414         * libraries/javalib/gnu/regexp/RE.java,
6415         libraries/javalib/java/io/ObjectInputStream.java,
6416         libraries/javalib/java/security/AllPermission.java,
6417         libraries/javalib/java/security/BasicPermission.java,
6418         libraries/javalib/java/security/Permissions.java,
6419         libraries/javalib/java/text/MessageFormat.java:
6420         Made 'inner' classes real public static inner classes,
6421         and made them final where possible, or removed them
6422         where unused.
6424 2005-02-20  Michael Koch  <konqueror@gmx.de>
6426         * gnu/java/text/FormatCharacterIterator.java:
6427         Removed redundant modifiers.
6429 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
6431         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
6432         snprintf.
6434 2005-02-19  Michael Koch  <konqueror@gmx.de>
6436         * Makefile.am: Added new files in gnu/java/beans and
6437         java/beans/XMLDecoder.java.
6438         * Makefile.in: Regenerated.
6440 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
6442         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
6443         assignment behavior by using java.lang.reflect.Array.set()
6444         directly.
6446 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
6448         * gnu/java/beans/EmptyBeanInfo.java,
6449         gnu/java/beans/info/ComponentBeanInfo.java:
6450         Removed unused files.
6452 2005-02-19  Robert Schuster <thebohemian@gmx.net>
6454         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
6455         of AppletStub for java.beans.Beans.instantiate.
6456         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
6457         of AppletContext.
6458         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
6459         to be conformant with Javadoc guidelines.
6460         (instantiate): Added two more overloaded variants, reworked user
6461         documentation, fixed exception behavior, fixed behavior when
6462         deserializing null.
6464 2005-02-19  Mark Wielaard  <mark@klomp.org>
6466         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
6467         failing methods.
6468         * gnu/java/beans/decoder/DummyContext.java: Likewise.
6470 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
6472         * gnu/java/beans/decoder/AbstractContext.java,
6473         gnu/java/beans/decoder/AbstractCreatableContext.java,
6474         gnu/java/beans/decoder/AbstractElementHandler.java,
6475         gnu/java/beans/decoder/AbstractObjectContext.java,
6476         gnu/java/beans/decoder/ArrayContext.java,
6477         gnu/java/beans/decoder/ArrayHandler.java,
6478         gnu/java/beans/decoder/AssemblyException.java,
6479         gnu/java/beans/decoder/BooleanHandler.java,
6480         gnu/java/beans/decoder/ByteHandler.java,
6481         gnu/java/beans/decoder/CharHandler.java,
6482         gnu/java/beans/decoder/ClassHandler.java,
6483         gnu/java/beans/decoder/ConstructorContext.java,
6484         gnu/java/beans/decoder/Context.java,
6485         gnu/java/beans/decoder/DecoderContext.java,
6486         gnu/java/beans/decoder/DefaultExceptionListener.java,
6487         gnu/java/beans/decoder/DoubleHandler.java,
6488         gnu/java/beans/decoder/DummyContext.java,
6489         gnu/java/beans/decoder/DummyHandler.java,
6490         gnu/java/beans/decoder/ElementHandler.java,
6491         gnu/java/beans/decoder/FloatHandler.java,
6492         gnu/java/beans/decoder/GrowableArrayContext.java,
6493         gnu/java/beans/decoder/IndexContext.java,
6494         gnu/java/beans/decoder/IntHandler.java,
6495         gnu/java/beans/decoder/JavaHandler.java,
6496         gnu/java/beans/decoder/LongHandler.java,
6497         gnu/java/beans/decoder/MethodContext.java,
6498         gnu/java/beans/decoder/MethodFinder.java,
6499         gnu/java/beans/decoder/NullHandler.java,
6500         gnu/java/beans/decoder/ObjectContext.java,
6501         gnu/java/beans/decoder/ObjectHandler.java,
6502         gnu/java/beans/decoder/PersistenceParser.java,
6503         gnu/java/beans/decoder/PropertyContext.java,
6504         gnu/java/beans/decoder/ShortHandler.java,
6505         gnu/java/beans/decoder/SimpleHandler.java,
6506         gnu/java/beans/decoder/StaticMethodContext.java,
6507         gnu/java/beans/decoder/StringHandler.java,
6508         gnu/java/beans/decoder/VoidHandler.java: New class
6509         implementing java.beans.XMLDecoder decoding functionality.
6510         * java/beans/XMLDecoder.java: New class.
6512 2005-02-19  Michael Koch  <konqueror@gmx.de>
6514         * javax/swing/JTextField.java
6515         (notfiyAction): Added javadoc.
6517 2005-02-19  Sven de Marothy  <sven@physto.se>
6519         * javax/swing/SpinnerDateModel.java: Implemented.
6521 2005-02-19  Michael Koch  <konqueror@gmx.de>
6523         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
6524         * Makefile.in: Regenerated.
6526 2005-02-19  Michael Koch  <konqueror@gmx.de>
6528         * gnu/java/nio/SelectorImpl.java:
6529         Reworked import statements.
6530         (register): Removed unused code.
6531         * java/nio/channels/Channels.java: Reformatted.
6532         * java/nio/charset/Charset.java: Likewise.
6533         * java/rmi/server/RemoteObject.java
6534         (serialVersionUID): Made private.
6535         * java/rmi/server/UID.java
6536         (serialVersionUID): Likewise.
6538 2005-02-19  Michael Koch  <konqueror@gmx.de>
6540         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
6541         gnu/java/net/protocol/ftp/BlockInputStream.java,
6542         gnu/java/net/protocol/ftp/BlockOutputStream.java,
6543         gnu/java/net/protocol/ftp/CompressedInputStream.java,
6544         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
6545         gnu/java/net/protocol/ftp/DTPInputStream.java,
6546         gnu/java/net/protocol/ftp/DTP.java,
6547         gnu/java/net/protocol/ftp/DTPOutputStream.java,
6548         gnu/java/net/protocol/ftp/FTPConnection.java,
6549         gnu/java/net/protocol/ftp/FTPException.java,
6550         gnu/java/net/protocol/ftp/FTPResponse.java,
6551         gnu/java/net/protocol/ftp/FTPURLConnection.java,
6552         gnu/java/net/protocol/ftp/Handler.java,
6553         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
6554         gnu/java/net/protocol/ftp/StreamInputStream.java,
6555         gnu/java/net/protocol/ftp/StreamOutputStream.java,
6556         gnu/java/net/CRLFInputStream.java,
6557         gnu/java/net/CRLFOutputStream.java,
6558         gnu/java/net/GetLocalHostAction.java,
6559         gnu/java/net/protocol/ftp/package.html: New files.
6560         * Makefile.am: Added new files.
6561         * Makefile.in: Regenerated.
6563 2005-02-18  Tom Tromey  <tromey@redhat.com>
6565         * link.cc (make_vtable): Remove abstract method check.
6566         (append_partial_itable): Likewise.
6568         PR java/20056:
6569         * verify.cc (type::equals): Fixed test.
6570         * testsuite/libjava.lang/PR20056.out: New file.
6571         * testsuite/libjava.lang/PR20056.java: New file.
6573 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
6575         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
6576         not the HashEntry. Reported by Jean-Marie White.
6578 2005-02-18  Tom Tromey  <tromey@redhat.com>
6580         PR java/20056:
6581         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
6582         * link.cc (has_field_p): New function.
6583         * verify.cc (check_field_constant): Added 'putfield' argument.
6584         (verify_instructions_0): Updated.
6585         (type::equals): New method.
6587 2005-02-18  Anthony Green  <green@redhat.com>
6589         * NEWS: Draft of libgcj NEWS for 4.0.
6591 2005-02-18  Anthony Green  <green@redhat.com>
6593         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
6594         architecture names to "i386" for compatibility reasons.  Win32
6595         still uses "x86".
6597 2005-02-18  Anthony Green  <green@redhat.com>
6599         * gij.cc (version): Change year for '--version' to 2005.
6600         * gnu/gcj/convert/Convert.java: Ditto.
6601         * gnu/java/rmi/rmic/RMIC.java: Ditto.
6602         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
6604         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
6605         recent copyright year in `--version' output.
6607 2005-02-18  Robert Schuster <thebohemian@gmx.net>
6609         * java/nio/charset/Charset.java (forName): Throws
6610         IllegalArgumentException when argument is null
6611         and added documentation.
6613 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6615         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
6616         Move the position of the source buffer forward.
6618 2005-02-17  Tom Tromey  <tromey@redhat.com>
6620         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
6621         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
6622         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
6623         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
6624         Changed type of second argument.  Rewrote.
6625         (make_vtable): Use it.
6626         (append_partial_itable): Updated.
6627         (layout_vtable_methods): Updated.
6629 2005-02-17  Michael Koch  <konqueror@gmx.de>
6631         * gnu/java/net/PlainSocketImpl.java
6632         (shutdownInput): Added javadoc.
6633         (shutdownOutput): Likewise.
6635 2005-02-17  Michael Koch  <konqueror@gmx.de>
6637         * javax/print/attribute/standard/Chromaticity.java,
6638         javax/print/attribute/standard/Destination.java,
6639         javax/print/attribute/standard/MediaPrintableArea.java,
6640         javax/print/attribute/standard/MediaSize.java: New files.
6641         * Makefile.am: Added new files.
6642         * Makefile.in: Regenerated.
6644 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6645             Michael Koch  <konqueror@gmx.de>
6647         * gnu/java/net/protocol/http/Cookie.java,
6648         gnu/java/net/protocol/http/HTTPConnection.java,
6649         gnu/java/net/protocol/http/HTTPDateFormat.java,
6650         gnu/java/net/protocol/http/Request.java,
6651         gnu/java/nio/PipeImpl.java,
6652         gnu/java/rmi/dgc/DGCImpl.java,
6653         gnu/java/rmi/server/ConnectionRunnerPool.java,
6654         gnu/java/rmi/server/UnicastConnectionManager.java,
6655         gnu/java/security/der/DERWriter.java,
6656         gnu/java/security/pkcs/SignerInfo.java,
6657         gnu/java/security/provider/EncodedKeyFactory.java,
6658         gnu/java/security/provider/GnuDHPublicKey.java,
6659         gnu/java/security/provider/GnuDSAPrivateKey.java,
6660         gnu/java/security/provider/GnuDSAPublicKey.java,
6661         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
6662         gnu/java/security/x509/X500DistinguishedName.java,
6663         gnu/java/security/x509/X509CRL.java,
6664         gnu/java/security/x509/X509CRLEntry.java,
6665         gnu/java/security/x509/X509Certificate.java,
6666         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
6667         gnu/java/security/x509/ext/CertificatePolicies.java,
6668         gnu/java/security/x509/ext/PolicyConstraint.java,
6669         gnu/xml/dom/Consumer.java,
6670         gnu/xml/dom/DomCharacterData.java,
6671         gnu/xml/dom/DomDocument.java,
6672         gnu/xml/dom/DomDocumentBuilder.java,
6673         gnu/xml/dom/DomIterator.java,
6674         gnu/xml/dom/DomNode.java,
6675         gnu/xml/dom/DomXPathExpression.java,
6676         gnu/xml/dom/DomXPathResult.java,
6677         gnu/xml/dom/JAXPFactory.java,
6678         gnu/xml/pipeline/CallFilter.java,
6679         gnu/xml/pipeline/DomConsumer.java,
6680         gnu/xml/pipeline/LinkFilter.java,
6681         gnu/xml/pipeline/NSFilter.java,
6682         gnu/xml/pipeline/TeeConsumer.java,
6683         gnu/xml/pipeline/ValidationConsumer.java,
6684         gnu/xml/pipeline/WellFormednessFilter.java,
6685         gnu/xml/pipeline/XIncludeFilter.java,
6686         gnu/xml/pipeline/XsltFilter.java,
6687         gnu/xml/transform/ApplyImportsNode.java,
6688         gnu/xml/transform/Bindings.java,
6689         gnu/xml/transform/DocumentFunction.java,
6690         gnu/xml/transform/FormatNumberFunction.java,
6691         gnu/xml/transform/NodeNumberNode.java,
6692         gnu/xml/transform/NumberNode.java,
6693         gnu/xml/transform/Stylesheet.java,
6694         gnu/xml/transform/SystemPropertyFunction.java,
6695         gnu/xml/transform/Template.java,
6696         gnu/xml/transform/TemplatesImpl.java,
6697         gnu/xml/transform/TransformerImpl.java,
6698         gnu/xml/transform/ValueOfNode.java,
6699         gnu/xml/transform/XSLURIResolver.java,
6700         gnu/xml/util/DoParse.java,
6701         gnu/xml/util/Resolver.java,
6702         gnu/xml/xpath/Expr.java,
6703         gnu/xml/xpath/FunctionCall.java,
6704         gnu/xml/xpath/RelationalExpr.java,
6705         gnu/xml/xpath/Selector.java,
6706         gnu/xml/xpath/XPathParser.java:
6707         Reworked import statements, fixed modifier order and some little
6708         formatting issues.
6710 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6712         * java/nio/ByteBufferImpl.java (compact):
6713         Set position and limit even if no bytes were moved.
6715 2005-02-17  Michael Koch  <konqueror@gmx.de>
6717         * java/nio/CharViewBufferImpl.java (compact): Likewise.
6718         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
6719         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
6720         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
6721         * java/nio/IntViewBufferImpl.java (compact): Likewise.
6722         * java/nio/LongViewBufferImpl.java (compact): Likewise.
6723         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
6724         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
6725         * java/nio/FloatBufferImpl.java (compact): Set position.
6726         * java/nio/CharBufferImpl.java (compact): Likewise.
6727         * java/nio/DoubleBufferImpl.java (compact): Likewise.
6728         * java/nio/IntBufferImpl.java (compact): Likewise.
6729         * java/nio/LongBufferImpl.java (compact): Likewise.
6730         * java/nio/ShortBufferImpl.java (compact): Likewise.
6732 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
6734         * java/nio/ByteBufferImpl.java,
6735         java/nio/CharBufferImpl.java,
6736         java/nio/DirectByteBufferImpl.java,
6737         java/nio/DoubleBufferImpl.java,
6738         java/nio/FloatBufferImpl.java,
6739         java/nio/IntBufferImpl.java,
6740         java/nio/LongBufferImpl.java,
6741         java/nio/MappedByteBufferImpl.java,
6742         java/nio/ShortBufferImpl.java
6743         (compact): Added explicit read-only check and invalidate mark.
6745 2005-02-17  Michael Koch  <konqueror@gmx.de>
6747         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
6748         gnu/java/awt/peer/gtk/GdkFontPeer.java,
6749         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6750         gnu/java/awt/peer/gtk/GdkGraphics.java,
6751         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6752         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
6753         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6754         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6755         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
6756         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
6757         gnu/java/awt/peer/gtk/GdkTextLayout.java,
6758         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
6759         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6760         gnu/java/awt/peer/gtk/GtkClipboard.java,
6761         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6762         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6763         gnu/java/awt/peer/gtk/GtkFontPeer.java,
6764         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
6765         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
6766         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6767         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
6768         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
6769         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6770         gnu/java/awt/peer/gtk/GtkToolkit.java,
6771         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6772         java/applet/Applet.java,
6773         java/awt/AWTError.java,
6774         java/awt/AWTEvent.java,
6775         java/awt/AWTEventMulticaster.java,
6776         java/awt/AWTException.java,
6777         java/awt/AWTKeyStroke.java,
6778         java/awt/AWTPermission.java,
6779         java/awt/ActiveEvent.java,
6780         java/awt/Adjustable.java,
6781         java/awt/AlphaComposite.java,
6782         java/awt/AttributeValue.java,
6783         java/awt/BorderLayout.java,
6784         java/awt/BufferCapabilities.java,
6785         java/awt/Button.java,
6786         java/awt/Canvas.java,
6787         java/awt/CheckboxGroup.java,
6788         java/awt/CheckboxMenuItem.java,
6789         java/awt/Color.java,
6790         java/awt/ColorPaintContext.java,
6791         java/awt/Component.java,
6792         java/awt/ComponentOrientation.java,
6793         java/awt/Composite.java,
6794         java/awt/CompositeContext.java,
6795         java/awt/Container.java,
6796         java/awt/ContainerOrderFocusTraversalPolicy.java,
6797         java/awt/DefaultFocusTraversalPolicy.java,
6798         java/awt/Dialog.java,
6799         java/awt/Dimension.java,
6800         java/awt/DisplayMode.java,
6801         java/awt/EventQueue.java,
6802         java/awt/FileDialog.java,
6803         java/awt/FontFormatException.java,
6804         java/awt/Graphics.java,
6805         java/awt/Graphics2D.java,
6806         java/awt/GraphicsConfigTemplate.java,
6807         java/awt/GraphicsConfiguration.java,
6808         java/awt/GraphicsDevice.java,
6809         java/awt/GridBagLayout.java,
6810         java/awt/GridBagLayoutInfo.java,
6811         java/awt/GridLayout.java,
6812         java/awt/HeadlessException.java,
6813         java/awt/IllegalComponentStateException.java,
6814         java/awt/Image.java,
6815         java/awt/Insets.java,
6816         java/awt/ItemSelectable.java,
6817         java/awt/JobAttributes.java,
6818         java/awt/KeyEventDispatcher.java,
6819         java/awt/KeyEventPostProcessor.java,
6820         java/awt/KeyboardFocusManager.java,
6821         java/awt/Label.java,
6822         java/awt/LayoutManager.java,
6823         java/awt/MenuBar.java,
6824         java/awt/MenuComponent.java,
6825         java/awt/MenuContainer.java,
6826         java/awt/PageAttributes.java,
6827         java/awt/Paint.java,
6828         java/awt/PaintContext.java,
6829         java/awt/Panel.java,
6830         java/awt/Point.java,
6831         java/awt/Polygon.java,
6832         java/awt/PrintGraphics.java,
6833         java/awt/PrintJob.java,
6834         java/awt/Rectangle.java,
6835         java/awt/RenderingHints.java,
6836         java/awt/Shape.java,
6837         java/awt/Stroke.java,
6838         java/awt/SystemColor.java,
6839         java/awt/Toolkit.java,
6840         java/awt/Transparency.java,
6841         java/awt/Window.java,
6842         java/awt/color/CMMException.java,
6843         java/awt/color/ColorSpace.java,
6844         java/awt/color/ICC_ColorSpace.java,
6845         java/awt/color/ICC_Profile.java,
6846         java/awt/color/ProfileDataException.java,
6847         java/awt/datatransfer/FlavorTable.java,
6848         java/awt/datatransfer/MimeTypeParseException.java,
6849         java/awt/datatransfer/Transferable.java,
6850         java/awt/datatransfer/UnsupportedFlavorException.java,
6851         java/awt/dnd/Autoscroll.java,
6852         java/awt/dnd/DnDConstants.java,
6853         java/awt/dnd/DragGestureListener.java,
6854         java/awt/dnd/DragSourceAdapter.java,
6855         java/awt/dnd/DragSourceDropEvent.java,
6856         java/awt/dnd/DragSourceListener.java,
6857         java/awt/dnd/DragSourceMotionListener.java,
6858         java/awt/dnd/DropTargetAdapter.java,
6859         java/awt/dnd/DropTargetContext.java,
6860         java/awt/dnd/DropTargetListener.java,
6861         java/awt/dnd/InvalidDnDOperationException.java,
6862         java/awt/dnd/MouseDragGestureRecognizer.java,
6863         java/awt/dnd/peer/DropTargetContextPeer.java,
6864         java/awt/event/AWTEventListener.java,
6865         java/awt/event/AWTEventListenerProxy.java,
6866         java/awt/event/ActionEvent.java,
6867         java/awt/event/AdjustmentEvent.java,
6868         java/awt/event/AdjustmentListener.java,
6869         java/awt/event/ComponentAdapter.java,
6870         java/awt/event/ComponentEvent.java,
6871         java/awt/event/ComponentListener.java,
6872         java/awt/event/ContainerAdapter.java,
6873         java/awt/event/ContainerEvent.java,
6874         java/awt/event/ContainerListener.java,
6875         java/awt/event/FocusAdapter.java,
6876         java/awt/event/FocusEvent.java,
6877         java/awt/event/FocusListener.java,
6878         java/awt/event/InputEvent.java,
6879         java/awt/event/InputMethodEvent.java,
6880         java/awt/event/InputMethodListener.java,
6881         java/awt/event/InvocationEvent.java,
6882         java/awt/event/ItemEvent.java,
6883         java/awt/event/ItemListener.java,
6884         java/awt/event/KeyAdapter.java,
6885         java/awt/event/KeyEvent.java,
6886         java/awt/event/KeyListener.java,
6887         java/awt/event/MouseAdapter.java,
6888         java/awt/event/MouseEvent.java,
6889         java/awt/event/MouseListener.java,
6890         java/awt/event/MouseMotionAdapter.java,
6891         java/awt/event/MouseMotionListener.java,
6892         java/awt/event/MouseWheelEvent.java,
6893         java/awt/event/MouseWheelListener.java,
6894         java/awt/event/PaintEvent.java,
6895         java/awt/event/TextEvent.java,
6896         java/awt/event/TextListener.java,
6897         java/awt/event/WindowAdapter.java,
6898         java/awt/event/WindowEvent.java,
6899         java/awt/event/WindowFocusListener.java,
6900         java/awt/event/WindowListener.java,
6901         java/awt/event/WindowStateListener.java,
6902         java/awt/font/TextHitInfo.java,
6903         java/awt/geom/CubicCurve2D.java,
6904         java/awt/geom/Dimension2D.java,
6905         java/awt/geom/Ellipse2D.java,
6906         java/awt/geom/IllegalPathStateException.java,
6907         java/awt/geom/Line2D.java,
6908         java/awt/geom/NoninvertibleTransformException.java,
6909         java/awt/geom/PathIterator.java,
6910         java/awt/geom/Point2D.java,
6911         java/awt/geom/QuadCurve2D.java,
6912         java/awt/geom/RectangularShape.java,
6913         java/awt/geom/RoundRectangle2D.java,
6914         java/awt/im/InputContext.java,
6915         java/awt/im/InputMethodHighlight.java,
6916         java/awt/im/InputMethodRequests.java,
6917         java/awt/im/InputSubset.java,
6918         java/awt/im/spi/InputMethod.java,
6919         java/awt/im/spi/InputMethodDescriptor.java,
6920         java/awt/image/BandCombineOp.java,
6921         java/awt/image/BandedSampleModel.java,
6922         java/awt/image/ByteLookupTable.java,
6923         java/awt/image/ComponentSampleModel.java,
6924         java/awt/image/DataBuffer.java,
6925         java/awt/image/DataBufferByte.java,
6926         java/awt/image/DataBufferDouble.java,
6927         java/awt/image/DataBufferFloat.java,
6928         java/awt/image/DataBufferInt.java,
6929         java/awt/image/DataBufferShort.java,
6930         java/awt/image/DataBufferUShort.java,
6931         java/awt/image/ImagingOpException.java,
6932         java/awt/image/Kernel.java,
6933         java/awt/image/LookupTable.java,
6934         java/awt/image/MultiPixelPackedSampleModel.java,
6935         java/awt/image/PackedColorModel.java,
6936         java/awt/image/PixelInterleavedSampleModel.java,
6937         java/awt/image/RGBImageFilter.java,
6938         java/awt/image/Raster.java,
6939         java/awt/image/RasterFormatException.java,
6940         java/awt/image/SampleModel.java,
6941         java/awt/image/ShortLookupTable.java,
6942         java/awt/image/SinglePixelPackedSampleModel.java,
6943         java/awt/image/WritableRaster.java,
6944         java/awt/print/PrinterAbortException.java,
6945         java/awt/print/PrinterException.java,
6946         java/awt/print/PrinterIOException.java,
6947         java/beans/AppletInitializer.java,
6948         java/beans/ExceptionListener.java,
6949         java/beans/PropertyChangeEvent.java,
6950         java/beans/PropertyChangeListenerProxy.java,
6951         java/beans/PropertyChangeSupport.java,
6952         java/beans/PropertyDescriptor.java,
6953         java/beans/VetoableChangeListenerProxy.java,
6954         java/beans/VetoableChangeSupport.java,
6955         java/io/BufferedReader.java,
6956         java/io/ByteArrayInputStream.java,
6957         java/io/ByteArrayOutputStream.java,
6958         java/io/CharArrayReader.java,
6959         java/io/CharArrayWriter.java,
6960         java/io/CharConversionException.java,
6961         java/io/DataInput.java,
6962         java/io/DataInputStream.java,
6963         java/io/DataOutput.java,
6964         java/io/DataOutputStream.java,
6965         java/io/EOFException.java,
6966         java/io/FileInputStream.java,
6967         java/io/FileNotFoundException.java,
6968         java/io/FileOutputStream.java,
6969         java/io/FilenameFilter.java,
6970         java/io/FilterInputStream.java,
6971         java/io/FilterOutputStream.java,
6972         java/io/FilterReader.java,
6973         java/io/FilterWriter.java,
6974         java/io/IOException.java,
6975         java/io/InputStream.java,
6976         java/io/InterruptedIOException.java,
6977         java/io/LineNumberInputStream.java,
6978         java/io/LineNumberReader.java,
6979         java/io/ObjectInputStream.java,
6980         java/io/ObjectStreamException.java,
6981         java/io/OptionalDataException.java,
6982         java/io/OutputStream.java,
6983         java/io/OutputStreamWriter.java,
6984         java/io/PrintStream.java,
6985         java/io/PrintWriter.java,
6986         java/io/PushbackInputStream.java,
6987         java/io/PushbackReader.java,
6988         java/io/RandomAccessFile.java,
6989         java/io/Reader.java,
6990         java/io/SequenceInputStream.java,
6991         java/io/Serializable.java,
6992         java/io/StreamCorruptedException.java,
6993         java/io/StreamTokenizer.java,
6994         java/io/StringBufferInputStream.java,
6995         java/io/StringWriter.java,
6996         java/io/SyncFailedException.java,
6997         java/io/UTFDataFormatException.java,
6998         java/io/UnsupportedEncodingException.java,
6999         java/io/WriteAbortedException.java,
7000         java/io/Writer.java,
7001         java/lang/AbstractMethodError.java,
7002         java/lang/ArithmeticException.java,
7003         java/lang/ArrayIndexOutOfBoundsException.java,
7004         java/lang/ArrayStoreException.java,
7005         java/lang/AssertionError.java,
7006         java/lang/Boolean.java,
7007         java/lang/Byte.java,
7008         java/lang/Class.java,
7009         java/lang/ClassCastException.java,
7010         java/lang/ClassCircularityError.java,
7011         java/lang/ClassLoader.java,
7012         java/lang/ClassNotFoundException.java,
7013         java/lang/CloneNotSupportedException.java,
7014         java/lang/Cloneable.java,
7015         java/lang/Comparable.java,
7016         java/lang/Compiler.java,
7017         java/lang/Double.java,
7018         java/lang/Error.java,
7019         java/lang/Exception.java,
7020         java/lang/ExceptionInInitializerError.java,
7021         java/lang/Float.java,
7022         java/lang/IllegalAccessError.java,
7023         java/lang/IllegalAccessException.java,
7024         java/lang/IllegalArgumentException.java,
7025         java/lang/IllegalMonitorStateException.java,
7026         java/lang/IllegalStateException.java,
7027         java/lang/IllegalThreadStateException.java,
7028         java/lang/IncompatibleClassChangeError.java,
7029         java/lang/IndexOutOfBoundsException.java,
7030         java/lang/InheritableThreadLocal.java,
7031         java/lang/InstantiationError.java,
7032         java/lang/InstantiationException.java,
7033         java/lang/Integer.java,
7034         java/lang/InternalError.java,
7035         java/lang/InterruptedException.java,
7036         java/lang/LinkageError.java,
7037         java/lang/Long.java,
7038         java/lang/NegativeArraySizeException.java,
7039         java/lang/NoClassDefFoundError.java,
7040         java/lang/NoSuchFieldError.java,
7041         java/lang/NoSuchFieldException.java,
7042         java/lang/NoSuchMethodError.java,
7043         java/lang/NoSuchMethodException.java,
7044         java/lang/NullPointerException.java,
7045         java/lang/Number.java,
7046         java/lang/NumberFormatException.java,
7047         java/lang/OutOfMemoryError.java,
7048         java/lang/Process.java,
7049         java/lang/Runnable.java,
7050         java/lang/Runtime.java,
7051         java/lang/RuntimeException.java,
7052         java/lang/RuntimePermission.java,
7053         java/lang/SecurityException.java,
7054         java/lang/SecurityManager.java,
7055         java/lang/Short.java,
7056         java/lang/StackOverflowError.java,
7057         java/lang/StackTraceElement.java,
7058         java/lang/StringBuffer.java,
7059         java/lang/StringIndexOutOfBoundsException.java,
7060         java/lang/ThreadDeath.java,
7061         java/lang/ThreadGroup.java,
7062         java/lang/Throwable.java,
7063         java/lang/UnsatisfiedLinkError.java,
7064         java/lang/UnsupportedOperationException.java,
7065         java/lang/VerifyError.java,
7066         java/lang/VirtualMachineError.java,
7067         java/lang/reflect/AccessibleObject.java,
7068         java/lang/reflect/Array.java,
7069         java/lang/reflect/InvocationTargetException.java,
7070         java/lang/reflect/Member.java,
7071         java/lang/reflect/Modifier.java,
7072         java/lang/reflect/Proxy.java,
7073         java/lang/reflect/ReflectPermission.java,
7074         java/lang/reflect/UndeclaredThrowableException.java,
7075         java/math/BigInteger.java,
7076         java/net/NetworkInterface.java,
7077         java/nio/ByteBufferHelper.java,
7078         java/nio/ByteBufferImpl.java,
7079         java/nio/DirectByteBufferImpl.java,
7080         java/nio/DoubleBufferImpl.java,
7081         java/nio/FloatBufferImpl.java,
7082         java/nio/IntBufferImpl.java,
7083         java/nio/LongBufferImpl.java,
7084         java/nio/ShortBufferImpl.java,
7085         java/nio/channels/Channel.java,
7086         java/nio/channels/IllegalBlockingModeException.java,
7087         java/nio/charset/spi/CharsetProvider.java,
7088         java/security/AccessControlException.java,
7089         java/security/BasicPermission.java,
7090         java/security/DigestException.java,
7091         java/security/DigestInputStream.java,
7092         java/security/DigestOutputStream.java,
7093         java/security/GeneralSecurityException.java,
7094         java/security/Guard.java,
7095         java/security/GuardedObject.java,
7096         java/security/InvalidAlgorithmParameterException.java,
7097         java/security/InvalidKeyException.java,
7098         java/security/InvalidParameterException.java,
7099         java/security/Key.java,
7100         java/security/KeyException.java,
7101         java/security/KeyManagementException.java,
7102         java/security/KeyStoreException.java,
7103         java/security/MessageDigestSpi.java,
7104         java/security/NoSuchAlgorithmException.java,
7105         java/security/NoSuchProviderException.java,
7106         java/security/Permission.java,
7107         java/security/PermissionCollection.java,
7108         java/security/Permissions.java,
7109         java/security/Principal.java,
7110         java/security/PrivateKey.java,
7111         java/security/PrivilegedActionException.java,
7112         java/security/ProviderException.java,
7113         java/security/PublicKey.java,
7114         java/security/SecureRandom.java,
7115         java/security/SecureRandomSpi.java,
7116         java/security/SignatureException.java,
7117         java/security/SignatureSpi.java,
7118         java/security/SignedObject.java,
7119         java/security/Signer.java,
7120         java/security/UnrecoverableKeyException.java,
7121         java/security/UnresolvedPermission.java,
7122         java/security/acl/AclNotFoundException.java,
7123         java/security/acl/LastOwnerException.java,
7124         java/security/acl/NotOwnerException.java,
7125         java/security/cert/CertPath.java,
7126         java/security/cert/CertPathBuilderException.java,
7127         java/security/cert/CertPathValidatorException.java,
7128         java/security/cert/CertStoreException.java,
7129         java/text/BreakIterator.java,
7130         java/text/ChoiceFormat.java,
7131         java/text/CollationElementIterator.java,
7132         java/text/CollationKey.java,
7133         java/text/Collator.java,
7134         java/text/DateFormat.java,
7135         java/text/DateFormatSymbols.java,
7136         java/text/DecimalFormat.java,
7137         java/text/DecimalFormatSymbols.java,
7138         java/text/FieldPosition.java,
7139         java/text/Format.java,
7140         java/text/NumberFormat.java,
7141         java/text/ParseException.java,
7142         java/text/ParsePosition.java,
7143         java/text/StringCharacterIterator.java,
7144         java/util/AbstractCollection.java,
7145         java/util/AbstractList.java,
7146         java/util/AbstractMap.java,
7147         java/util/AbstractSequentialList.java,
7148         java/util/AbstractSet.java,
7149         java/util/ArrayList.java,
7150         java/util/Arrays.java,
7151         java/util/BitSet.java,
7152         java/util/Collection.java,
7153         java/util/Collections.java,
7154         java/util/Comparator.java,
7155         java/util/ConcurrentModificationException.java,
7156         java/util/Currency.java,
7157         java/util/Date.java,
7158         java/util/EmptyStackException.java,
7159         java/util/Enumeration.java,
7160         java/util/EventListener.java,
7161         java/util/EventListenerProxy.java,
7162         java/util/EventObject.java,
7163         java/util/HashMap.java,
7164         java/util/HashSet.java,
7165         java/util/Hashtable.java,
7166         java/util/IdentityHashMap.java,
7167         java/util/Iterator.java,
7168         java/util/LinkedHashSet.java,
7169         java/util/LinkedList.java,
7170         java/util/List.java,
7171         java/util/ListIterator.java,
7172         java/util/ListResourceBundle.java,
7173         java/util/Map.java,
7174         java/util/MissingResourceException.java,
7175         java/util/NoSuchElementException.java,
7176         java/util/Observable.java,
7177         java/util/Observer.java,
7178         java/util/Properties.java,
7179         java/util/PropertyPermissionCollection.java,
7180         java/util/RandomAccess.java,
7181         java/util/Set.java,
7182         java/util/SortedMap.java,
7183         java/util/SortedSet.java,
7184         java/util/Stack.java,
7185         java/util/StringTokenizer.java,
7186         java/util/TooManyListenersException.java,
7187         java/util/TreeMap.java,
7188         java/util/TreeSet.java,
7189         java/util/Vector.java,
7190         java/util/logging/FileHandler.java,
7191         java/util/logging/Level.java,
7192         java/util/prefs/BackingStoreException.java,
7193         java/util/prefs/InvalidPreferencesFormatException.java,
7194         java/util/prefs/Preferences.java,
7195         javax/accessibility/Accessible.java,
7196         javax/accessibility/AccessibleAction.java,
7197         javax/accessibility/AccessibleBundle.java,
7198         javax/accessibility/AccessibleComponent.java,
7199         javax/accessibility/AccessibleContext.java,
7200         javax/accessibility/AccessibleEditableText.java,
7201         javax/accessibility/AccessibleExtendedComponent.java,
7202         javax/accessibility/AccessibleExtendedTable.java,
7203         javax/accessibility/AccessibleHyperlink.java,
7204         javax/accessibility/AccessibleHypertext.java,
7205         javax/accessibility/AccessibleIcon.java,
7206         javax/accessibility/AccessibleKeyBinding.java,
7207         javax/accessibility/AccessibleRelation.java,
7208         javax/accessibility/AccessibleRelationSet.java,
7209         javax/accessibility/AccessibleResourceBundle.java,
7210         javax/accessibility/AccessibleRole.java,
7211         javax/accessibility/AccessibleSelection.java,
7212         javax/accessibility/AccessibleState.java,
7213         javax/accessibility/AccessibleStateSet.java,
7214         javax/accessibility/AccessibleTable.java,
7215         javax/accessibility/AccessibleTableModelChange.java,
7216         javax/accessibility/AccessibleText.java,
7217         javax/accessibility/AccessibleValue.java,
7218         javax/imageio/IIOException.java,
7219         javax/imageio/ImageIO.java,
7220         javax/imageio/spi/IIOServiceProvider.java,
7221         javax/imageio/spi/ImageInputStreamSpi.java,
7222         javax/imageio/spi/ImageOutputStreamSpi.java,
7223         javax/imageio/spi/ImageReaderWriterSpi.java,
7224         javax/imageio/spi/ImageTranscoderSpi.java,
7225         javax/imageio/spi/RegisterableService.java,
7226         javax/imageio/spi/ServiceRegistry.java,
7227         javax/imageio/stream/IIOByteBuffer.java,
7228         javax/imageio/stream/ImageInputStream.java,
7229         javax/imageio/stream/ImageOutputStream.java,
7230         javax/naming/Binding.java,
7231         javax/naming/CannotProceedException.java,
7232         javax/naming/CompositeName.java,
7233         javax/naming/CompoundName.java,
7234         javax/naming/LinkException.java,
7235         javax/naming/LinkRef.java,
7236         javax/naming/NameClassPair.java,
7237         javax/naming/Reference.java,
7238         javax/naming/ReferralException.java,
7239         javax/naming/directory/Attribute.java,
7240         javax/naming/directory/AttributeModificationException.java,
7241         javax/naming/directory/Attributes.java,
7242         javax/naming/directory/DirContext.java,
7243         javax/naming/directory/ModificationItem.java,
7244         javax/naming/directory/SearchControls.java,
7245         javax/naming/directory/SearchResult.java,
7246         javax/naming/event/EventContext.java,
7247         javax/naming/event/EventDirContext.java,
7248         javax/naming/event/NamespaceChangeListener.java,
7249         javax/naming/event/NamingExceptionEvent.java,
7250         javax/naming/event/NamingListener.java,
7251         javax/naming/event/ObjectChangeListener.java,
7252         javax/naming/ldap/Control.java,
7253         javax/naming/ldap/ExtendedResponse.java,
7254         javax/naming/ldap/HasControls.java,
7255         javax/naming/ldap/LdapContext.java,
7256         javax/naming/ldap/UnsolicitedNotification.java,
7257         javax/naming/ldap/UnsolicitedNotificationEvent.java,
7258         javax/naming/ldap/UnsolicitedNotificationListener.java,
7259         javax/naming/spi/DirectoryManager.java,
7260         javax/naming/spi/ResolveResult.java,
7261         javax/naming/spi/Resolver.java,
7262         javax/security/auth/callback/Callback.java,
7263         javax/security/auth/callback/CallbackHandler.java,
7264         javax/security/auth/callback/ChoiceCallback.java,
7265         javax/security/auth/callback/ConfirmationCallback.java,
7266         javax/security/auth/callback/LanguageCallback.java,
7267         javax/security/auth/callback/NameCallback.java,
7268         javax/security/auth/callback/PasswordCallback.java,
7269         javax/security/auth/callback/TextInputCallback.java,
7270         javax/security/auth/callback/TextOutputCallback.java,
7271         javax/security/auth/callback/UnsupportedCallbackException.java,
7272         javax/security/sasl/Sasl.java,
7273         javax/security/sasl/SaslServerFactory.java,
7274         javax/swing/DefaultBoundedRangeModel.java,
7275         javax/swing/JComponent.java,
7276         javax/swing/JList.java,
7277         javax/swing/JProgressBar.java,
7278         javax/swing/JRadioButton.java,
7279         javax/swing/JTextArea.java,
7280         javax/swing/JTextField.java,
7281         javax/swing/JToggleButton.java,
7282         javax/swing/JTree.java,
7283         javax/swing/SpinnerListModel.java,
7284         javax/swing/event/EventListenerList.java,
7285         javax/swing/text/JTextComponent.java,
7286         javax/swing/text/StringContent.java,
7287         javax/swing/text/Utilities.java,
7288         javax/swing/undo/UndoManager.java,
7289         javax/swing/undo/UndoableEditSupport.java,
7290         javax/transaction/HeuristicCommitException.java,
7291         javax/transaction/HeuristicMixedException.java,
7292         javax/transaction/HeuristicRollbackException.java,
7293         javax/transaction/InvalidTransactionException.java,
7294         javax/transaction/NotSupportedException.java,
7295         javax/transaction/RollbackException.java,
7296         javax/transaction/Status.java,
7297         javax/transaction/Synchronization.java,
7298         javax/transaction/SystemException.java,
7299         javax/transaction/Transaction.java,
7300         javax/transaction/TransactionManager.java,
7301         javax/transaction/TransactionRequiredException.java,
7302         javax/transaction/TransactionRolledbackException.java,
7303         javax/transaction/UserTransaction.java,
7304         javax/transaction/xa/XAException.java,
7305         javax/transaction/xa/XAResource.java,
7306         javax/transaction/xa/Xid.java,
7307         javax/xml/XMLConstants.java,
7308         javax/xml/datatype/DatatypeConfigurationException.java,
7309         javax/xml/datatype/DatatypeConstants.java,
7310         javax/xml/datatype/DatatypeFactory.java,
7311         javax/xml/datatype/Duration.java,
7312         javax/xml/datatype/XMLGregorianCalendar.java,
7313         javax/xml/namespace/NamespaceContext.java,
7314         javax/xml/namespace/QName.java,
7315         javax/xml/parsers/DocumentBuilder.java,
7316         javax/xml/parsers/DocumentBuilderFactory.java,
7317         javax/xml/parsers/FactoryConfigurationError.java,
7318         javax/xml/parsers/ParserConfigurationException.java,
7319         javax/xml/parsers/SAXParser.java,
7320         javax/xml/parsers/SAXParserFactory.java,
7321         javax/xml/transform/ErrorListener.java,
7322         javax/xml/transform/OutputKeys.java,
7323         javax/xml/transform/Result.java,
7324         javax/xml/transform/Source.java,
7325         javax/xml/transform/SourceLocator.java,
7326         javax/xml/transform/Templates.java,
7327         javax/xml/transform/Transformer.java,
7328         javax/xml/transform/TransformerConfigurationException.java,
7329         javax/xml/transform/TransformerException.java,
7330         javax/xml/transform/TransformerFactory.java,
7331         javax/xml/transform/TransformerFactoryConfigurationError.java,
7332         javax/xml/transform/URIResolver.java,
7333         javax/xml/transform/dom/DOMLocator.java,
7334         javax/xml/transform/dom/DOMResult.java,
7335         javax/xml/transform/dom/DOMSource.java,
7336         javax/xml/transform/sax/SAXResult.java,
7337         javax/xml/transform/sax/SAXSource.java,
7338         javax/xml/transform/sax/SAXTransformerFactory.java,
7339         javax/xml/transform/sax/TemplatesHandler.java,
7340         javax/xml/transform/sax/TransformerHandler.java,
7341         javax/xml/transform/stream/StreamResult.java,
7342         javax/xml/transform/stream/StreamSource.java,
7343         javax/xml/validation/Schema.java,
7344         javax/xml/validation/SchemaFactory.java,
7345         javax/xml/validation/TypeInfoProvider.java,
7346         javax/xml/validation/Validator.java,
7347         javax/xml/validation/ValidatorHandler.java,
7348         javax/xml/xpath/XPathConstants.java,
7349         javax/xml/xpath/XPathException.java,
7350         javax/xml/xpath/XPathExpression.java,
7351         javax/xml/xpath/XPathExpressionException.java,
7352         javax/xml/xpath/XPathFactory.java,
7353         javax/xml/xpath/XPathFactoryConfigurationException.java,
7354         javax/xml/xpath/XPathFunction.java,
7355         javax/xml/xpath/XPathFunctionException.java,
7356         javax/xml/xpath/XPathFunctionResolver.java:
7357         Fixed usage of @author tag, reworked import statements,
7358         removed CVS tags, changed the modifier order and fixed
7359         HTML usage in javadocs.
7361 2005-02-16  Julian Scheid  <julian@sektor37.de>
7363         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
7364         in.position().
7365         (encodeLoop): Likewise.
7367 2005-02-16  Mark Wielaard  <mark@klomp.org>
7369         * Makefile.am (ordinary_java_source_files): Add new files
7370         gnu/java/security/ber/BER.java,
7371         gnu/java/security/ber/BEREncodingException.java,
7372         gnu/java/security/ber/BERReader.java,
7373         gnu/java/security/ber/BERValue.java,
7374         gnu/java/security/pkcs/PKCS7SignedData.java and
7375         gnu/java/security/pkcs/SignerInfo.java.
7376         * Makefile.in: Regenerated.
7378 2005-02-16  Casey Marshall  <csm@gnu.org>
7380         * gnu/java/security/provider/GnuDSAPrivateKey.java
7381         (encodedKey): new field.
7382         (getFormat): return "PKCS#8".
7383         (getEncoded): implemented.
7384         (toString): check for 'null' values.
7385         * gnu/java/security/provider/GnuDSAPublicKey.java
7386         (encodedKey): new field.
7387         (getFormat): return "X.509".
7388         (getEncoded): implemented.
7389         (toString): check for 'null' values.
7391 2005-02-16  Michael Koch  <konqueror@gmx.de>
7393         * java/util/jar/JarFile.java: Imports reworked.
7395 2005-02-16  Mark Wielaard  <mark@klomp.org>
7397         * java/util/jar/JarFile.java (verify): Make package private.
7398         (signaturesRead): Likewise.
7399         (verified): Likewise.
7400         (entryCerts): Likewise.
7401         (DEBUG): Likewise.
7402         (debug): Likewise.
7403         (entries): Construct new JarEnumeration with reference to this.
7404         (JarEnumeration): Make static.
7405         (JarEnumeration.jarfile): New field.
7406         (JarEnumeration.nextElement): Use and synchronize on jarfile.
7407         Compare verified value to Boolean.TRUE or Boolean.False only
7408         when verify is true.
7409         (getEntry): Make synchronized. Compare value of verified to
7410         Boolean.TRUE.
7411         (getInputStream): Construct EntryInputStream with reference to this.
7412         (getManifest): Make synchronized.
7413         (EntryInputStream): Make static.
7414         (EntryInputStream.jarfile): New field.
7415         (EntryInputStream.EntryInputStream): Check if manifest exists,
7416         before getting attributes.
7417         (eof): Synchronize on jarfile.
7419 2005-02-16  Casey Marshall  <csm@gnu.org>
7421         * java/util/jar/JarFile.java (verify): return if the jar is signed
7422         with an unsupported algorithm.
7424 2005-02-16  Mark Wielaard  <mark@klomp.org>
7426         * java/util/jar/JarFile.java (EntryInputStream): Add actual
7427         InputStream as argument.
7428         (getInputStream): Construct a new EntryInputStream with the result of
7429         super.getInputStream(entry).
7431 2005-02-16  Casey Marshall  <csm@gnu.org>
7433         Signed JAR file support.
7434         * java/net/URLClassLoader.java
7435         (JarURLResource.getCertificates): re-read jar entry to ensure
7436         certificates are picked up.
7437         (findClass): fill in class `signers' field, too.
7438         * java/util/jar/JarFile.java (META_INF): new constant.
7439         (PKCS7_DSA_SUFFIX): new constant.
7440         (PKCS7_RSA_SUFFIX): new constant.
7441         (DIGEST_KEY_SUFFIX): new constant.
7442         (SF_SUFFIX): new constant.
7443         (MD2_OID): new constant.
7444         (MD4_OID): new constant.
7445         (MD5_OID): new constant.
7446         (SHA1_OID): new constant.
7447         (DSA_ENCRYPTION_OID): new constant.
7448         (RSA_ENCRYPTION_OID): new constant.
7449         (signaturesRead): new field.
7450         (verified): new field.
7451         (entryCerts): new field.
7452         (DEBUG): new constant.
7453         (debug): new method.
7454         (JarEnumeration.nextElement): fill in entry certificates, read
7455         signatures if they haven't been read.
7456         (getEntry): likewise.
7457         (getInputStream): verify stream if it hasn't been verified yet.
7458         (readSignatures): new method.
7459         (verify): new method.
7460         (verifyHashes): new method.
7461         (readManifestEntry): new method.
7462         (EntryInputStream): new class.
7463         * gnu/java/io/Base64InputStream.java (decode): new class
7464         method.
7465         * gnu/java/security/der/DERReader.java don't make class
7466         final.
7467         (in): made protected.
7468         (encBuf): likewise.
7469         (readLength): likewise.
7470         * gnu/java/security/ber/BER.java,
7471         * gnu/java/security/ber/BEREncodingException.java,
7472         * gnu/java/security/ber/BERReader.java,
7473         * gnu/java/security/ber/BERValue.java,
7474         * gnu/java/security/pkcs/PKCS7SignedData.java,
7475         * gnu/java/security/pkcs/SignerInfo.java:
7476         new files.
7478 2005-02-16  Tom Tromey  <tromey@redhat.com>
7480         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
7481         copied file on exit.
7483 2005-02-15  Mark Wielaard  <mark@klomp.org>
7485         * java/awt/BasicStroke.java (hashCode): Check for null dash.
7487 2005-02-15  Michael Koch  <konqueror@gmx.de>
7489         * gnu/java/awt/peer/gtk/GtkArg.java,
7490         gnu/java/awt/peer/gtk/GtkArgList.java:
7491         Removed.
7493 2005-02-15  Craig Black  <craig.black@aonix.com>
7495         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
7496         (postMenuActionEvent): Implement to notify ItemListeners.
7497         * java/awt/CheckboxMenuItem.java
7498         (dispatchEventImpl): Update state on ItemEvent.
7499         * java/awt/MenuItem.java
7500         (processActionEvent): Retarget event source.
7502 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7504         * gnu/java/awt/color/ClutProfileConverter.java,
7505         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
7506         gnu/java/awt/peer/gtk/GdkFontPeer.java,
7507         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
7508         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
7509         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
7510         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
7511         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
7512         gnu/java/awt/peer/gtk/GdkTextLayout.java,
7513         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7514         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7515         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7516         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7517         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7518         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7519         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7520         gnu/java/awt/peer/gtk/GtkFontPeer.java,
7521         gnu/java/awt/peer/gtk/GtkFramePeer.java,
7522         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7523         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7524         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7525         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7526         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7527         gnu/java/awt/peer/gtk/GtkToolkit.java,
7528         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7529         javax/swing/JPopupMenu.java,
7530         javax/swing/JSpinner.java,
7531         javax/swing/SortingFocusTraversalPolicy.java,
7532         javax/swing/SwingUtilities.java,
7533         javax/swing/plaf/basic/BasicComboBoxEditor.java,
7534         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
7535         javax/swing/tree/DefaultMutableTreeNode.java:
7536         Removed unused imports and expanded starred
7537         imports.
7539 2005-02-15  Mark Wielaard  <mark@klomp.org>
7541         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
7542         IllegalArgumentException when the given String is null.
7544         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
7545         when given keystoke sequence cannot be parsed.
7547         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
7548         if one is installed. Only install the given menubar is not null.
7550         * javax/swing/JViewport.java (getViewSize): Return an empty
7551         Dimension when the view isn't set or preferred component size when
7552         no viewSize is set.
7554         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
7555         empty Dimension when there is no view set.
7556         (minimumLayoutSize): Likewise.
7557         (layoutContainer): Don't try to layout when there is no view.
7559 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7561         * jawt.c: New file.
7562         * include/jawt.h: Likewise.
7563         * include/jawt_md.h: Likewise.
7564         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7565         jawt_md.h files.
7566         * jni/classpath/classpath_jawt.h: Likewise.
7567         * jni/gtk-peer/gtk_jawt.c: Likewise.
7568         * Makefile.am: Build libjawt.so.
7570 2005-02-15  Michael Koch  <konqueror@gmx.de>
7572         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7573         Merged file header with classpath CVS head.
7574         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7575         Merged code formatting with classpath CVS head.
7576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
7577         Removed debug code.
7578         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
7579         Handle special JNI strings with 2 '\0' at the end.
7580         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7581         Merged file header with classpath CVS head.
7582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7583         Merged code formatting with classpath CVS head.
7585 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
7587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
7588         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
7589         (handle_response): Use GTK_RESPONSE_ACCEPT.
7591 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7593         * Makefile.am: Fix library build breakage.
7594         * Makefile.in: Regenerate.
7596 2005-02-15  Michael Koch  <konqueror@gmx.de>
7598         * javax/swing/JTabbedPane.java
7599         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
7601 2005-02-15  Michael Koch  <konqueror@gmx.de>
7603         * javax/swing/tree/DefaultMutableTreeNode.java:
7604         Reworked Javadocs all over.
7605         (getPathToRoot): Fixed direction of result array initialization.
7607 2005-02-15  Michael Koch  <konqueror@gmx.de>
7609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7610          Fix includes for cairo 0.3.0 snappshot.
7611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7612         Merged file header from classpath CVS HEAD.
7614 2005-02-15  Craig Black  <craig.black@aonix.com>
7616         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
7617         (copyState): Pass a JNI global reference to signal handler.
7618         (realize_cb): Use and free JNI global reference.
7619         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7620         (create): Pass a JNI global reference to signal handler.
7621         (selection_changed): Match declaration.
7622         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7623         (dispose): Do not remove entries from state tables until after widget is
7624         destroyed.
7626 2005-02-15  Michael Koch  <konqueror@gmx.de>
7628         * java/awt/Container.javai (paramString):
7629         If layoutMgr is null just return result of super.paramString().
7630         * java/awt/Scrollbar.java: Reformatted.
7631         * java/awt/im/InputContext.java (static):
7632         Removed redundant initializations.
7634 2005-02-15  Michael Koch  <konqueror@gmx.de>
7636         * javax/swing/ImageIcon.java,
7637         javax/swing/UIManager.java,
7638         javax/swing/text/EditorKit.java,
7639         javax/swing/text/Segment.java:
7640         More whitespace cleanups.
7642 2005-02-15  Michael Koch  <konqueror@gmx.de>
7644         * gnu/java/awt/EmbeddedWindow.java,
7645         gnu/java/awt/image/ImageDecoder.java,
7646         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7647         java/awt/DefaultKeyboardFocusManager.java,
7648         java/awt/Frame.java,
7649         java/awt/image/RGBImageFilter.java,
7650         javax/swing/AbstractButton.java,
7651         javax/swing/ActionMap.java,
7652         javax/swing/ComponentInputMap.java,
7653         javax/swing/DefaultDesktopManager.java,
7654         javax/swing/ImageIcon.java,
7655         javax/swing/InputMap.java,
7656         javax/swing/JButton.java,
7657         javax/swing/JCheckBox.java,
7658         javax/swing/JCheckBoxMenuItem.java,
7659         javax/swing/JEditorPane.java,
7660         javax/swing/JMenu.java,
7661         javax/swing/JMenuItem.java,
7662         javax/swing/JOptionPane.java,
7663         javax/swing/JRootPane.java,
7664         javax/swing/JTable.java,
7665         javax/swing/MenuSelectionManager.java,
7666         javax/swing/RepaintManager.java,
7667         javax/swing/ScrollPaneLayout.java,
7668         javax/swing/SortingFocusTraversalPolicy.java,
7669         javax/swing/UIManager.java,
7670         javax/swing/ViewportLayout.java,
7671         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7672         javax/swing/plaf/basic/BasicInternalFrameUI.java,
7673         javax/swing/plaf/basic/BasicLabelUI.java,
7674         javax/swing/plaf/basic/BasicListUI.java,
7675         javax/swing/plaf/basic/BasicMenuItemUI.java,
7676         javax/swing/plaf/basic/BasicMenuUI.java,
7677         javax/swing/plaf/basic/BasicOptionPaneUI.java,
7678         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7679         javax/swing/plaf/basic/BasicRootPaneUI.java,
7680         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7681         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
7682         javax/swing/plaf/basic/BasicTextUI.java,
7683         javax/swing/table/TableColumnModel.java,
7684         javax/swing/text/AbstractDocument.java,
7685         javax/swing/text/EditorKit.java,
7686         javax/swing/text/Position.java,
7687         javax/swing/text/Segment.java,
7688         javax/swing/text/StyledEditorKit.java,
7689         javax/swing/text/ViewFactory.java:
7690         Cleanup whitespace differences to classpath CVS HEAD.
7692 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7694         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7695         (finalize): Call finish from here.
7696         (produce): Not from here.
7697         * Makefile.am (gtk_c_source_files):
7698         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
7699         * Makefile.in: Regenerate.
7700         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7701         (cairoSetFont):
7702         (cairoDrawGdkTextLayout):
7703         (cairoDrawString):
7704         (getPeerTextMetrics):
7705         (getPeerFontMetrics): Remove.
7706         (setFont): Don't call cairoSetFont.
7707         (cairoDrawGlyphVector): Accept font peer argument.
7708         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
7709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7710         (ensure_metrics_cairo):
7711         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
7712         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
7713         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
7714         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
7715         (metrics_cairo):
7716         (metrics_surface): Remove.
7717         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
7718         Pass and install font peer.
7720 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7722         * Makefile.am: Create "split library" structure.
7723         * Makefile.in: Regenerate.
7725 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7730         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
7731         Release GDK lock during upcalls.
7733 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
7736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
7737         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
7738         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
7739         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
7740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
7741         * gnu/java/awt/peer/gtk/GdkFontPeer.java
7742         (getGlyphVector):
7743         (getFontMetrics):
7744         (getTextMetrics): New native methods.
7745         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
7746         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
7747         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
7748         * Makefile.in: Regenerate.
7750 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7752         * javax/swing/SwingUtilities.java:
7753         (getAccessibleAt(java.awt.Component, java.awt.Point)):
7754         Implemented and documented.
7755         (getAccessibleChild(java.awt.Component, int)): Likewise.
7756         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
7757         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
7758         (getAccessibleStateSet(java.awt.Component)): Likewise.
7760 2005-02-15  Michael Koch  <konqueror@gmx.de>
7762         * javax/swing/SwingUtilities.java
7763         (getFontMetrics): Removed.
7765 2005-02-15  Michael Koch  <konqueror@gmx.de>
7767         * java/awt/Container.java
7768         (paramString): Implemented.
7769         * javax/swing/AbstractButton.java
7770         (paramString): Implemented.
7771         * javax/swing/JComponent.java
7772         (paramString): Implemented.
7773         * javax/swing/JMenu.java
7774         (paramString): Implemented.
7775         * javax/swing/JMenuBar.java
7776         (paramString): Implemented.
7777         * javax/swing/JMenuItem.java
7778         (paramString): Implemented.
7779         * javax/swing/JPopupMenu.java
7780         (paramString): Implemented.
7782 2005-02-15  Michael Koch  <konqueror@gmx.de>
7784         * javax/swing/JMenu.java
7785         (uiClassID): Removed.
7786         (JMenu): Set invoker on popup menu.
7787         (getUIClassID): Return id directly.
7788         (getItemCount): Simply return getMenuComponentCount().
7789         Fixed javadoc.
7790         (isTopLevelMenu): Simplified.
7791         * javax/swing/JMenuItem.java
7792         (uiClassID): Removed.
7793         (getUIClassID): Return id directly.
7794         * javax/swing/JPopupMenu.java
7795         (uiClassID): Removed.
7796         (JPopupMenu): Always initialize correctly.
7797         (getSubElements): Only return components implementing MenuElement
7798         interface.
7799         (HeavyWeightPopup.hide): Removed.
7801 2005-02-15  Michael Koch  <konqueror@gmx.de>
7803         * java/awt/image/ReplicateScaleFilter.java
7804         (replicatePixels): Made private.
7805         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
7806         (DefaultRGBChooserPanel): Made package private.
7807         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
7808         (RecentSwatchPanel): Likewise.
7809         * javax/swing/event/MouseInputAdapter.java: Reformatted.
7810         (MouseInputAdapter): Made abstract.
7811         * javax/swing/tree/DefaultMutableTreeNode.java
7812         (random): Removed.
7813         (growTree): Likewise.
7815 2005-02-15  Michael Koch  <konqueror@gmx.de>
7817         * java/awt/dnd/DropTarget.java (addDropTargetListener):
7818         Clarified comments.
7820 2005-02-15  Michael Koch  <konqueror@gmx.de>
7822         * javax/swing/JComponent.java (getComponentGraphics):
7823         Removed accidently commited code.
7825 2005-02-15  Graydon Hoare  <graydon@redhat.com>
7827         * java/awt/dnd/DropTarget.java
7828         (addDropTargetListener): Despite documentation, do not throw.
7829         * javax/swing/JComponent.java: Set a default DropTarget.
7831 2005-02-15  Michael Koch  <konqueror@gmx.de>
7833         * javax/swing/AbstractAction.java
7834         (ENABLED_PROPERTY): Removed.
7835         (setEnabled): Replaced constant with real string.
7836         * javax/swing/AbstractButton.java
7837         (createActionPropertyChangeListener.propertyChange): Likewise.
7838         * javax/swing/JComboBox.java
7839         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
7840         (EDITABLE_CHANGED_PROPERTY): Removed.
7841         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
7842         (ENABLED_CHANGED_PROPERTY):Likewise.
7843         (RENDERER_CHANGED_PROPERTY):Likewise.
7844         (EDITOR_CHANGED_PROPERTY):Likewise.
7845         (MODEL_CHANGED_PROPERTY):Likewise.
7846         (uiClassID):Likewise.
7847         (getUIClassID): Replaced constant with real string.
7848         (setModel):Likewise.
7849         (setEditable):Likewise.
7850         (setMaximumRowCount):Likewise.
7851         (setRenderer):Likewise.
7852         (setEditor):Likewise.
7853         (setEnabled):Likewise.
7854         * javax/swing/JLabel.java
7855         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
7856         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
7857         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
7858         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
7859         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
7860         (ICON_CHANGED_PROPERTY): Likewise.
7861         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
7862         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
7863         (TEXT_CHANGED_PROPERTY): Likewise.
7864         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
7865         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
7866         (setText): Replaced constant with real string.
7867         (setIcon): Likewise.
7868         (setDisabledIcon): Likewise.
7869         (setDisplayedMnemonic): Likewise.
7870         (setIconTextGap): Likewise.
7871         (setVerticalAlignment): Likewise.
7872         (setHorizontalAlignment): Likewise.
7873         (setVerticalTextPosition): Likewise.
7874         (setHorizontalTextPosition): Likewise.
7875         (setLabelFor): Replaced constant with real string.
7876         Fire property change event after property got changed.
7877         * javax/swing/JList.java
7878         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
7879         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
7880         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
7881         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
7882         (MODEL_PROPERTY_CHANGED): Likewise.
7883         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
7884         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
7885         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
7886         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
7887         (setFixedCellWidth): Reimplemented.
7888         (setFixedCellHeight): Exit if new value is identical.
7889         Replaced constant with real string.
7890         (setSelectionBackground): Likewise.
7891         (setSelectionForeground): Likewise.
7892         (setPrototypeCellValue): Likewise.
7893         (setCellRenderer): Replaced constant with real string.
7894         (setModel): Likewise.
7895         (setSelectionModel): Likewise.
7896         * javax/swing/JMenuBar.java
7897         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
7898         (MODEL_CHANGED_PROPERTY): Likewise.
7899         (MARGIN_CHANGED_PROPERTY): Likewise.
7900         (setBorderPainted): Reimplemented.
7901         (setMargin): Likewise.
7902         (setSelectionModel): Replaced constant with real string.
7903         * javax/swing/JPopupMenu.java
7904         (LABEL_CHANGED_PROPERTY): Removed.
7905         (VISIBLE_CHANGED_PROPERTY): Likewise.
7906         (borderPainted): Likewise.
7907         (setLabel): Replaced constant with real string.
7908         (setVisible): Exit if new value is identical.
7909         Replaced constant with real string.
7910         * javax/swing/JProgressBar.java
7911         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
7912         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7913         (STRING_CHANGED_PROPERTY): Likewise.
7914         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
7915         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
7916         (setOrientation): Replaced constant with real string.
7917         (setStringPainted): Likewise.
7918         (setString): Likewise.
7919         (setBorderPainted): Likewise.
7920         (setIndeterminate): Likewise.
7921         * javax/swing/JScrollBar.java
7922         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
7923         (MODEL_CHANGED_PROPERTY): Likewise.
7924         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7925         (setOrientation): Replaced constant with real string.
7926         (setModel): Likewise.
7927         (setUnitIncrement): Likewise.
7928         (setBlockIncrement): Likewise.
7929         * javax/swing/JScrollPane.java
7930         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
7931         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
7932         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
7933         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
7934         (LAYOUT_CHANGED_PROPERTY): Likewise.
7935         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
7936         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
7937         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
7938         (VIEWPORT_CHANGED_PROPERTY): Likewise.
7939         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
7940         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
7941         (setComponentOrientation): Replaced constant with real string.
7942         (setColumnHeader): Likewise.
7943         (setHorizontalScrollBar): Likewise.
7944         (setHorizontalScrollBarPolicy): Likewise.
7945         (setRowHeader): Likewise.
7946         (setVerticalScrollBar): Likewise.
7947         (setVerticalScrollBarPolicy): Likewise.
7948         (setWheelScrollingEnabled): Likewise.
7949         (setViewport): Likewise.
7950         (setViewportBorder): Likewise.
7951         * javax/swing/JSlider.java
7952         (INVERTED_CHANGED_PROPERTY): Removed.
7953         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
7954         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
7955         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
7956         (MODEL_CHANGED_PROPERTY): Likewise.
7957         (ORIENTATION_CHANGED_PROPERTY): Likewise.
7958         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
7959         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
7960         (setModel): Replaced constant with real string.
7961         (setOrientation): Likewise.
7962         (setLabelTable): Likewise.
7963         (setInverted): Likewise.
7964         (setMajorTickSpacing): Likewise.
7965         (setMinorTickSpacing): Likewise.
7966         (setPaintTicks): Likewise.
7967         (setPaintLabels): Likewise.
7968         * javax/swing/JTabbedPane.java
7969         (MODEL_CHANGED_PROPERTY): Removed.
7970         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
7971         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
7972         (setModel): Replaced constant with real string.
7973         (setTabPlacement): Likewise.
7974         (setTabLayoutPolicy): Likewise.
7975         * javax/swing/JToolBar.java
7976         (ORIENTATION_CHANGED_PROPERTY): Removed.
7977         (FLOATABLE_CHANGED_PROPERTY): Likewise.
7978         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
7979         (MARGIN_CHANGED_PROPERTY): Likewise.
7980         (ROLLOVER_CHANGED_PROPERTY): Likewise.
7981         (setRollover): Replaced constant with real string.
7982         (setMargin): Likewise.
7983         (setBorderPainted): Likewise.
7984         (setFloatable): Likewise.
7985         (setOrientation): Likewise.
7986         * javax/swing/plaf/basic/BasicComboBoxUI.java
7987         (PropertyChangeHandler.propertyChange): Likewise.
7988         * javax/swing/plaf/basic/BasicComboPopup.java
7989         (PropertyChangeHandler.propertyChange): Likewise.
7990         * javax/swing/plaf/basic/BasicMenuBarUI.java
7991         (PropertyChangeHandler.propertyChange): Likewise.
7992         * javax/swing/plaf/basic/BasicProgressBarUI.java
7993         (PropertyChangeHandler.propertyChange): Likewise.
7994         * javax/swing/plaf/basic/BasicScrollBarUI.java
7995         (PropertyChangeHandler.propertyChange): Likewise.
7996         * javax/swing/plaf/basic/BasicSliderUI.java
7997         (PropertyChangeHandler.propertyChange): Likewise.
7998         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7999         (PropertyChangeHandler.propertyChange): Likewise.
8000         * javax/swing/plaf/basic/BasicToolBarUI.java
8001         (PropertyChangeHandler.propertyChange): Likewise.
8003 2005-02-15  Michael Koch  <konqueror@gmx.de>
8005         * javax/swing/DefaultButtonModel.java
8006         (changeState): Made private.
8007         * javax/swing/DefaultDesktopManager.java
8008         (setWasIcon): Fixed second argument to be java.lang.Boolean.
8009         * javax/swing/JLayeredPane.java
8010         (layerToRange): Made private.
8011         (incrLayer): Likewise.
8012         (decrLayer): Likewise.
8013         * javax/swing/JTable.java
8014         (dragEnabled): Likewise.
8015         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
8016         * javax/swing/KeyStroke.java
8017         (Keystroke): Made private.
8018         * javax/swing/TransferHandler.java
8019         (COMMAND_COPY): Likewise.
8020         (COMMAND_CUT): Likewise.
8021         (COMMAND_PASTE): Likewise.
8023 2005-02-15  Michael Koch  <konqueror@gmx.de>
8025         * javax/swing/JTextField.java
8026         (postActionEvent): Use text in field when actionCommand is null.
8027         (getActionCommand): Removed.
8029 2005-02-15  Michael Koch  <konqueror@gmx.de>
8031         * javax/swing/AbstractSet.java: Removed.
8032         * Makefile.am: Removed javax/swing/AbstractSet.java.
8033         * Makefile.in: Regenerated.
8035 2005-02-15  Michael Koch  <konqueror@gmx.de>
8037         * java/awt/Window.java
8038         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
8039         * java/awt/dnd/DnDConstants.java
8040         (DnDConstants): New private constructor.
8042 2005-02-15  Michael Koch  <konqueror@gmx.de>
8044         * javax/swing/DefaultCellRenderer.java: Removed.
8045         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
8046         * Makefile.in: Regenerated.
8048 2005-02-15  Michael Koch  <konqueror@gmx.de>
8050         * javax/swing/AbstractButton.java
8051         (fireItemStateChanged): Made protected.
8052         (fireActionPerformed): Likewise.
8053         (fireStateChanged): Likewise.
8054         * javax/swing/DefaultButtonModel.java
8055         (fireItemStateChanged): Likewise.
8056         (fireActionPerformed): Likewise.
8057         (fireStateChanged): Likewise.
8058         * javax/swing/JApplet.java
8059         (JApplet): Removed.
8060         (frameInit): Likewise.
8061         (setRootPane): Made protected.
8062         (createRootPane): Likewise.
8063         * javax/swing/JComponent.java
8064         (getClientProperty): Likewise.
8065         (putClientProperty): Likewise.
8066         * javax/swing/JEditorPane.java
8067         (getContentType): Likewise.
8068         (setContentType): Likewise.
8069         * javax/swing/JFrame.java
8070         (setRootPane): Likewise.
8071         (createRootPane): Likewise.
8072         * javax/swing/JInternalFrame.java
8073         (getFocusCycleRootAncestor): Made final. Added @since tag.
8074         (isFocusCycleRoot): Likewise.
8075         (getWarningString): Made final.
8076         * javax/swing/JScrollBar.java
8077         (changeListener): Removed.
8078         (changeEvent): Likewise.
8079         (createChangeListener): Likewise.
8080         (fireStateChanged): Likewise.
8081         (addChangeListener): Likewise.
8082         (removeChangeListener): Likewise.
8083         (getChangeListeners): Likewise.
8084         * javax/swing/JScrollPane.java
8085         (createViewport): Made protected.
8086         * javax/swing/JViewport.java
8087         (addImpl): Likewise.
8088         (setBorder): New method.
8089         * javax/swing/JWindow.java
8090         (setRootPane): Made protected.
8091         (createRootPane): Likewise.
8092         * javax/swing/plaf/basic/BasicButtonUI.java
8093         (installListeners): Likewise.
8094         (uninstallListeners): Likewise.
8095         * javax/swing/plaf/basic/BasicProgressBarUI.java
8096         (incrementAnimationIndex): Likewise.
8097         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8098         (createLayoutManager): Likewise.
8099         * javax/swing/table/DefaultTableCellRenderer.java
8100         (firePropertyChange): Likewise.
8101         * javax/swing/table/JTableHeader.java
8102         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
8103         New constructor.
8104         * javax/swing/text/PlainDocument.java
8105         (reindex): Made private.
8106         * javax/swing/text/PlainView.java
8107         (drawLine): Made protected.
8108         (getTabSize): Likewise.
8109         * javax/swing/text/View.java
8110         (setSize): Removed.
8111         (preferenceChanged): New method.
8112         (getBreakWeight): Likewise.
8113         (breakView): Likewise.
8114         (getViewIndex): Likewise.
8116 2005-02-15  Michael Koch  <konqueror@gmx.de>
8118         * javax/swing/JScrollPane.java
8119         (ScrollBar): Made class protected.
8120         * javax/swing/JSpinner.java
8121         (JSpinner): Added @since tag.
8122         (listenerList): Removed.
8123         * javax/swing/JTable.java
8124         (setValueAt): New method.
8125         (getColumn): Likewise.
8126         * javax/swing/JWindow.java
8127         (rootPaneCheckingEnabled): Renamed from checking.
8129 2005-02-15  Michael Koch  <konqueror@gmx.de>
8131         * javax/swing/plaf/basic/BasicTextUI.java
8132         (RootView.modelToView): Made it public and return a java.awt.Shape.
8133         Handle null subview.
8134         (uninstall): Set textComponent to null when its not possible used
8135         anymore.
8136         * javax/swing/text/View.java
8137         (setParent): Use better argument name.
8138         (getContainer): Get parent via getParent().
8139         (getViewFactory): Likewise.
8140         (getAttributes): Get element via getElement().
8141         (getStartOffset): Likewise.
8142         (getEndOffset): Likewise.
8143         (getResizeWeight): New method.
8144         (getMaximumSpan): Likewise.
8145         (getMinimumSpan): Likewise.
8146         (setSize): Likewise.
8147         (getGraphics): Likewise.
8149 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8151         * java/awt/Checkbox.java:
8152         (AccessibleAWTCheckbox()): Added public constructor
8153         to call superclass.
8154         * java/awt/Choice.java:
8155         (AccessibleAWTChoice): Added class documentation.
8156         (AccessibleAWTChoice()): Added public constructor
8157         to call superclass.
8158         (AccessibleAWTChoice.getAccessibleAction()): Documented.
8159         (AccessibleAWTChoice.getAccessibleRole()): Documented,
8160         and changed role to COMBO_BOX.
8161         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
8162         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
8163         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
8165 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8166             Michael Koch  <konqueror@gmx.de>
8168         * javax/swing/LayoutFocusTraversalPolicy.java,
8169         javax/swing/SortingFocusTraversalPolicy.java:
8170         New classes.
8171         * Makefile.am: Added new classes.
8172         * Makefike.in: Regenerated.
8175 2005-02-15  Michael Koch  <konqueror@gmx.de>
8177         * javax/swing/DebugGraphics.java: Mostly implemented.
8179 2005-02-15  Michael Koch  <konqueror@gmx.de>
8181         * javax/swing/SwingUtilities.java
8182         (findFocusOwner): New method.
8184 2005-02-15  Michael Koch  <konqueror@gmx.de>
8186         * javax/swing/text/DefaultEditorKit.java
8187         (read): Added '\n' after each line.
8188         * javax/swing/text/PlainView.java
8189         (modelToView): Update metrics.
8190         (drawLine): Use offsets from element.
8191         (paint): Update metrics. Draw all lines.
8193 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8195         * java/awt/Checkbox.java:
8196         (AccessibleAWTCheckbox): Added class documentation
8197         * java/awt/Scrollbar.java:
8198         (AccessibleAWTScrollBar): typo corrected and docs added
8199         (AccessibleAWTScrollBar.getAccessibleRole()): documented
8200         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
8201         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
8202         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
8203         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
8204         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
8205         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
8206         (getAccessibleContext()): name of accessible class corrected
8208 2005-02-15  Mark Wielaard  <mark@klomp.org>
8210         * java/awt/BasicStroke.java (hashCode): Implement.
8211         (equals): Document.
8213 2005-02-15  Michael Koch  <konqueror@gmx.de>
8215         * java/awt/print/PrinterJob.java
8216         (pageDialog): Throws java.awt.HeadlessException.
8217         (printDialog): Likewise.
8219 2005-02-15  Mark Wielaard  <mark@klomp.org>
8221         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
8223 2005-02-15  Michael Koch  <konqueror@gmx.de>
8225         * javax/swing/JTable.java
8226         (getValueAt): New method.
8227         * javax/swing/table/JTableHeader.java
8228         (columnAtPoint): New method.
8230 2005-02-15  Michael Koch  <konqueror@gmx.de>
8232         * javax/swing/JTextField.java
8233         (actions): New field.
8234         (static): Initalize actions field.
8235         (getActions): New method.
8237 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8239         * java/awt/Checkbox.java:
8240         (AccessibleAWTCheckbox): name capitalization corrected
8241         and serialization UID added.
8242         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
8243         documented.
8244         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
8245         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
8246         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
8247         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
8248         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
8249         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
8250         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
8251         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
8252         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
8253         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
8254         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
8255         documented
8256         (getAccessibleContext()): name of accessible class corrected
8258 2005-02-15  Sven de Marothy  <sven@physto.se>
8260         * java/awt/geom/doc-files/Area-1.png,
8261         java/awt/geom/doc-files/Ellipse-1.png,
8262         java/awt/geom/doc-files/GeneralPath-1.png:
8263         New files.
8265 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8267         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
8268         Use union to avoid type-punning warning.
8270 2005-02-15  Michael Koch  <konqueror@gmx.de>
8272         * javax/swing/DefaultListSelectionModel.java
8273         (clone): New method.
8275 2005-02-15  Mark Wielaard  <mark@klomp.org>
8277         Reported by Martin Platter <motse@complang.tuwien.ac.at>
8278         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8279         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
8280         Correct method signature of gtkSetFilename.
8282 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
8284         * javax/swing/text/StringContent.java: New file.
8286 2005-02-15  Michael Koch  <konqueror@gmx.de>
8288         * Makefile.am: Added javax/swing/text/StringContent.java.
8289         * Makefile.in: Regenerated.
8291 2005-02-15  Michael Koch  <konqueror@gmx.de>
8293         * gnu/java/awt/ClasspathToolkit.java:
8294         Import statements reworked.
8295         (imageCache): Made it of type java.util.HashMap.
8297 2005-02-15  Michael Koch  <konqueror@gmx.de>
8299         * javax/imageio/stream/MemoryCacheImageInputStream.java:
8300         Reworked import statements.
8302 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
8305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
8307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
8309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8310         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
8311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
8312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
8317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
8318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8320         Rewrite uses of extern variable to be function calls.
8321         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
8322         function, from extern variable.
8323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
8324         (gdk_env): Remove variable, add new function.
8325         (java_vm): Add new variable.
8326         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
8327         java_vm rather than old gdk_env variable.
8329 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
8331         * javax/swing/DefaultListModel.java
8332         (add): fire correct event,
8333         (addElement): corrected interval indices in event,
8334         (clear): corrected upper bound for interval, only fire event if
8335         list is not empty,
8336         (setSize): fire appropriate event.
8338 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8340         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
8341         * gnu/awt/xlib/XToolkit.java: Likewise.
8342         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
8343         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
8344         * gnu/java/awt/ClasspathToolkit.java: Likewise.
8345         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
8346         * java/awt/EventQueue.java (getNextEvent):
8347         Adjust event loop to switch to native mode after 100ms.
8348         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
8349         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
8350         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
8351         Wake up event thread.
8352         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
8353         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
8354         Adjust event loop to switch to java mode after 100ms.
8356 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8358         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
8359         accidentally removed in last change.
8361 2005-02-15  Michael Koch  <konqueror@gmx.de>
8363         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
8364         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
8366 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8368         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
8369         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
8370         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
8371         * jni.cc: Reuse bottom frame between calls, avoid clearing
8372         frame when no local references are made.
8374 2005-02-15  Michael Koch  <konqueror@gmx.de>
8376         * javax/swing/UIDefaults.java (UIDefaults):
8377         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
8378         Fixed HTML entity and removed a redundant comma.
8380 2005-02-15  Michael Koch  <konqueror@gmx.de>
8382         * javax/swing/text/DefaultEditorKit.java
8383         (deinstall): Removed.
8384         (install): Likewise.
8386 2005-02-15  Michael Koch  <konqueror@gmx.de>
8388         * javax/swing/UIDefaults.java (put): Handle value of null.
8390 2005-02-15  Michael Koch  <konqueror@gmx.de>
8392         * java/awt/Robot.java,
8393         java/awt/Scrollbar.java,
8394         java/awt/print/PrinterJob.java,
8395         javax/swing/JTable.java,
8396         javax/swing/text/AbstractDocument.java:
8397         Reworked import statements.
8399 2005-02-15  Michael Koch  <konqueror@gmx.de>
8401         * javax/swing/JEditorPane.java
8402         (read): Implemented.
8403         (write): Likewise.
8404         * javax/swing/text/DefaultEditorKit.java
8405         (page): Renamed from page_url. Made private.
8406         (editorKit): Renamed from kit. Made private.
8407         (ctype): Removed.
8408         (JEditorPane): All constructors reimplemented.
8409         (getContentType): Use content type from editor kit.
8410         (getEditorKit): Return editorKit.
8411         (getEditorKitForContentType):Likewise.
8412         (getPage): Return page.
8413         (setContentType): Reimplemented.
8414         (setEditorKit): Likewise.
8415         (setEditorKitForContentType): Removed wrong implementation.
8416         (setPage): Implemented.
8418 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8420         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
8421         (nativeSetIconImageFromData): Re-add native implementation.
8423 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
8425         * javax/swing/table/DefaultTableModel.java
8426         (DefaultTableModel()): Added Javadocs.
8427         (DefaultTableModel(int, int)): Fixed implementation.
8428         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
8429         for negative rowCount.
8430         (DefaultTableModel(Object[], int)): Added Javadocs.
8431         (DefaultTableModel(Vector, Vector)): Likewise.
8432         (DefaultTableModel(Object[][], Object[])): Likewise.
8433         (getDataVector): Likewise.
8434         (setDataVector(Vector, Vector)): Likewise.
8435         (setDataVector(Object[][], Object[])): Likewise.
8436         (newDataAvailable): Likewise.
8437         (newRowsAdded): Likewise.
8438         (rowsRemoved): Likewise.
8439         (setColumnIdentifiers(Vector)): Allow for null argument.
8440         (setColumnIdentifiers(Object[])): Added Javadocs.
8441         (setNumRows): Likewise.
8442         (setRowCount): Adds new rows if necessary, and sends more specific
8443         TableModelEvent.
8444         (setColumnCount): Allow for null columnIdentifiers.
8445         (addColumn(Object)): Added Javadocs.
8446         (addColumn(Object, Vector)): Handle null columnData.
8447         (addColumn(Object, Object[])): Handle columnData with more or less
8448         entries than rows in the table.
8449         (addRow(Vector)): Fire appropriate event.
8450         (addRow(Object[])): Added Javadocs.
8451         (insertRow(int, Vector)): Fire appropriate event.
8452         (insertRow(int, Object[])): Added Javadocs.
8453         (moveRow): Reimplemented.
8454         (removeRow(int)): Fire appropriate event.
8455         (getColumnCount): Allow for null columnIdentifiers.
8456         (getColumnName): Now returns empty string when column index is too
8457         large.
8458         (isCellEditable): Added Javadocs.
8459         (getValueAt): Likewise.
8460         (setValueAt): Fire more specific event.
8461         (convertToVector): Added Javadocs.
8462         * javax/swing/table/TableModel.java
8463         Added Javadocs.
8465 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8467         * libgcj.spec.in (lib): Add -l-javax-imageio.
8469 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8471         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
8472         references to event queue q with method call q().
8473         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
8474         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
8475         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
8476         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
8477         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
8478         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
8479         (q): New method.
8481 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8483         * gnu/java/awt/ClasspathToolkit.java
8484         (registerImageIOSpis): New method.
8485         * gnu/java/awt/image/ImageDecoder.java
8486         (imageDecoder): New constructor using InputStream
8487         (startProduction): Handle existing InputStream.
8488         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8489         (findSimpleIntegerArray): Make public and static.
8490         (updateBufferedImage): Set each pixel, in a loop.
8491         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
8492         Implement ImageIO SPI classes.
8493         (createBufferedImage): Rewrite in terms of SPI classes.
8494         * gnu/java/awt/peer/gtk/GtkToolkit.java
8495         (registerImageIOSpis): New method.
8496         * java/lang/reflect/natMethod.cc
8497         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
8498         which lets JNI call interface methods properly.
8499         * javax/imageio/ImageIO.java
8500         (WriterFormatFilter.filter): Fix copy-and-paste typos.
8501         (WriterMIMETypeFilter.filter): Likewise.
8502         (ImageReaderIterator): Pass extension argument through to SPI.
8503         (getReadersByFilter): Likewise.
8504         (getWritersByFilter): Likewise.
8505         (getImageReadersByFormatName): Likewise.
8506         (getImageReadersByMIMEType): Likewise.
8507         (getImageReadersBySuffix): Likewise.
8508         (getImageWritersByFormatName): Likewise.
8509         (getImageWritersByMIMEType): Likewise.
8510         (getImageWritersBySuffix): Likewise.
8511         (read): Implement.
8512         (write): Implement.
8513         * javax/imageio/ImageReader.java
8514         (progressListeners): Initialize.
8515         (setInput): Implement.
8516         * javax/imageio/ImageWriter.java
8517         (progressListeners): Initialize.
8518         (warningListeners): Likewise.
8519         (warningLocales): Likewise.
8520         (setOutput): Test "isInstance" rather than class equality.
8521         * javax/imageio/spi/IIORegistry.java
8522         (static): Add reader and writer SPIs.
8523         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
8524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8525         (query_formats): New function.
8526         (save_to_stream): Likewise.
8527         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
8529 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
8532         Call XFlush.
8533         (keyPress): Likewise.
8534         (keyRelease): Likewise.
8536 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
8538         * javax/swing/JTable.java
8539         (columnAtPoint): New Method. Implemented.
8540         (rowAtPoint): Likewise.
8541         (countSelections): Fixed few small count errors.
8542         (getSelections): Likewise.
8543         (setSelectionMode): Set selection mode for column
8544         selection model in addition to row selection model.
8545         * javax/swing/plaf/basic/BasicTableUI.java:
8546         (getRowForPoint): Removed. Replaced by
8547         JTable.rowAtPoint().
8548         (getColForPoint): Removed. Replaced by
8549         JTable.columnAtPoint().
8550         (updateSelection): Updated to call JTable.columnAtPoint
8551         and JTable.rowAtPoint.
8552         * javax/swing/table/DefaultTableColumnModel.java:
8553         (getSelectedColumns): Implemented.
8554         (getSelectedColumnCount): Implemented.
8556 2005-02-15  Graydon Hoare  <graydon@redhat.com>
8558         * Makefile.am
8559         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
8560         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
8561         * Makefile.in: Regenerate.
8562         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
8563         * gnu/awt/xlib/XFramePeer.java: Likewise.
8564         * gnu/awt/xlib/XToolkit.java: Likewise.
8565         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
8566         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
8567         * gnu/java/awt/ClasspathToolkit.java
8568         (nativeQueueEmpty)
8569         (wakeNativeQueue)
8570         (iterateNativeQueue): New methods.
8571         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
8572         * gnu/java/awt/peer/gtk/GtkToolkit.java
8573         (gtkInit): Absorb from defunct GtkMainThread class.
8574         (static): Run gtkInit in static startup block.
8575         (GtkToolkit): Remove construction of GtkMainThread and queue.
8576         (getSystemEventQueueImpl): Construct queue when requested.
8577         (nativeQueueEmpty)
8578         (wakeNativeQueue)
8579         (iterateNativeQueue): New methods.
8580         * java/awt/Component.java (removeNotify): Remove race.
8581         * java/awt/EventDispatchThread.java
8582         (EventDispatchThread): Don't start on construction.
8583         (run): Remove isInterrupted check.
8584         * java/awt/EventQueue.java (shutdown): New flag.
8585         (isShutdown): New method checking J2SE shutdown condition.
8586         (setShutdown): New method.
8587         (getNextEvent): Restructure to use ClasspathToolkit.
8588         (postEvent): Activate new thread on posting, wake thread on
8589         post of possible shutdown condition event.
8590         * java/awt/Frame.java
8591         (Frame): Call noteFrame in all constructors.
8592         (fireDummyEvent): New helper method.
8593         (addNotify): Fire a dummy event to wake up queue.
8594         (removeNotify): Fire a dummy event to wake up queue.
8595         (noteFrame): New method.
8596         (weakFrames): New static field.
8597         (getFrames): Implement.
8598         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
8599         Remove.
8600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
8601         Move everything from GtkMainThread into this file
8602         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
8603         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
8604         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
8605         New functions to implement single-threaded queue semantics.
8607 2005-02-15  Michael Koch  <konqueror@gmx.de>
8609         * javax/swing/plaf/metal/MetalLookAndFeel.java
8610         (getControlTextFont): New method.
8611         (getMenuTextFont): Likewise.
8612         (getSubTextFont): Likewise.
8613         (getSystemTextFont): Likewise.
8614         (getUserTextFont): Likewise.
8615         (getWindowTitleFont): Likewise.
8617 2005-02-15  Michael Koch  <konqueror@gmx.de>
8619         * javax/swing/text/AbstractDocument.java
8620         (documentFilter): New field.
8621         (getDocumentFilter): New method.
8622         (setDocumentFilter): Likewise.
8623         (dump): Likewise.
8625 2005-02-15  Michael Koch  <konqueror@gmx.de>
8627         * javax/swing/JTree.java
8628         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
8630 2005-02-15  Michael Koch  <konqueror@gmx.de>
8632         * javax/swing/text/AbstractDocument.java
8633         (AbstractElement.getLength): Fixed off-by-one error.
8634         (AbstractElement.children): Made abstract.
8635         (AbstractElement.getAllowsChildren): Likewise.
8636         (AbstractElement.getElement): Likewise.
8637         (AbstractElement.dumpElement): New private method.
8638         (AbstractElement.dump): New method.
8639         (BranchElememt.getName): Fixed implementation.
8640         (BranchElememt.toString): Likewise.
8641         (BranchElememt.getElement): Fixed arguments.
8642         (LeafElement.getName): Fixed implementation.
8643         (LeafElement.toString): Likewise.
8644         * javax/swing/text/GapContent.java
8645         (GapContent): Put default content into buffer.
8646         * javax/swing/text/PlainDocument.java
8647         (reindex): Use empty attribute sets instead of null.
8648         (createDefaultRoot): Reimplemented.
8649         (insertUpdate): Call super method.
8650         (removeUpdate): Likewise.
8651         (getParagraphElement): Implemented.
8653 2005-02-15  Michael Koch  <konqueror@gmx.de>
8655         * gnu/java/awt/ClasspathToolkit.java
8656         (createRobot): Throws java.awt.AWTException.
8657         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
8658         Added '__attribute__((unused))' to all unused method arguments.
8660 2005-02-15  Michael Koch  <konqueror@gmx.de>
8662         * javax/swing/DefaultBoundedRangeModel.java
8663         (fireValueChanged): Fixed off-by-one error.
8665 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8667         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
8668         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
8669         GdkRobotPeer.java.
8670         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
8671         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
8672         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
8673         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
8674         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8675         (getDefaultScreenDevice): Implement.
8676         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
8677         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
8678         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
8679         * java/awt/Robot.java: Implement.
8680         * java/awt/peer/RobotPeer.java: Rename parameters.
8681         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
8682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8683         (awt_keycode_to_keysym): Make non-static.
8684         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
8685         AWT_BUTTON3_MASK): Declare constants.
8686         (awt_keycode_to_keysym): Declare.
8688         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
8689         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
8690         and is non-empty pass its value to "make check".
8691         (test_mauve_sim): Likewise.
8693 2005-02-15  Michael Koch  <konqueror@gmx.de>
8695         * javax/imageio/IIOParam.java
8696         (setSourceBands): New method.
8697         (setSourceSubsampling): Likewise.
8698         * javax/imageio/ImageReadParam.java
8699         (setDestination): Likewise.
8700         (setDestinationBands): Likewise.
8701         (setSourceProgressivePasses): Likewise.
8702         * javax/imageio/metadata/IIOInvalidTreeException.java
8703         (serialVersionUID): New static field.
8704         * javax/imageio/metadata/IIOMetadataNode.java
8705         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
8706         (parent): Dont initailize with default value explicitely.
8707         (Object): Likewise.
8708         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
8709         (removeAttributeNode): Likewise.
8710         (removeAttributeNS): Likewise.
8711         (setAttribute): Likewise.
8712         (setAttributeNode): Likewise.
8713         (setAttributeNodeNS): Likewise.
8714         (setAttributeNS): Likewise.
8715         (appendChild): Likewise.
8716         (getNodeValue): Likewise.
8717         (insertBefore): Likewise.
8718         (removeChild): Likewise.
8719         (replaceChild): Likewise.
8720         (setPrefix): Likewise.
8722 2005-02-15  Michael Koch  <konqueror@gmx.de>
8724         * javax/swing/LookAndFeel.java
8725         (getDesktopPropertyValue): New method.
8727 2005-02-15  Michael Koch  <konqueror@gmx.de>
8729         * javax/swing/JTree.java
8730         (hasChildren): New instance field.
8732 2005-02-15  Michael Koch  <konqueror@gmx.de>
8734         * javax/swing/JComponent.java
8735         (getToolTipText): New method.
8736         (getTitledBorderText): Likewise.
8737         (getAccessibleKeyBinding): Likewise.
8738         (getVerifyInputWhenFocusTarget): Likewise.
8739         (setVerifyInputWhenFocusTarget): Likewise.
8740         (verifyInputWhenFocusTarget): New instance field.
8742 2005-02-15  Michael Koch  <konqueror@gmx.de>
8744         * javax/swing/DefaultListSelectionModel.java
8745         (fireValueChanged): New method.
8747 2005-02-15  Michael Koch  <konqueror@gmx.de>
8749         * javax/swing/DefaultBoundedRangeModel.java:
8750         Fixed javadocs all over.
8751         (fireStateChanged): Simplified.
8752         * javax/swing/BoundedRangeModel.java:
8753         Reformatted.
8755 2005-02-15  Michael Koch  <konqueror@gmx.de>
8757         * javax/swing/JRootPane.java
8758         (setMenuBar): Added @deprecated tag.
8759         (getMenuBar): Likewise.
8760         * javax/swing/JTable.java
8761         (sizeColumnsToFit): Likewise.
8763 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
8765         * javax/swing/ImageIcon.java (setImage): Implemented.
8767 2005-02-15  Michael Koch  <konqueror@gmx.de>
8769         * javax/swing/JTable.java:
8770         Removed unused imports.
8772 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
8774         (prepareRenderer): Get column's index in dataModel instead
8775         of column's view index.
8776         (getColumnCount): return count of the columns in ColumnModel,
8777         not in dataModel.
8778         (removeColumn): Implemented.
8779         (moveColumm): Likewise.
8780         (setRowHeight): throw IllegalArgumentException if height is
8781         less then 1.
8782         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
8783         (DefaultTableColumnModel):Add call to createSelectionModel().
8784         (addColumn): Fire columnAdded event to registered listeners.
8785         (removeColumn): Fire columnRemoved event to registered listeners.
8786         (moveColumn): Fire columnMoved event to registered listeners.
8787         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
8788         (getColumnIndex): Changed parameter name.
8789         (setColumnSelectionAllowed): Likewise.
8790         (fireColumnAdded): Implemented.
8791         (fireColumnRemoved): Likewise.
8792         (fireColumnMoved): Likewise.
8793         (fireColumnMarginChanged): Likewise.
8794         (getListeners): Changed parameter name.
8795         (propertyChange): Implemented.
8796         (valueChanged): Changed parameter name.
8797         (createSelectionModel): Implemented.
8799 2005-02-15  Michael Koch  <konqueror@gmx.de>
8801         * gnu/java/awt/peer/gtk/GtkToolkit.java:
8802         Explicitely import used classes.
8803         (getLocalGraphicsEnvironment): Simplify.
8804         * java/awt/Window.java (Window):
8805         Enable code to get the default GraphicsConfiguration.
8807 2005-02-15  Michael Koch  <konqueror@gmx.de>
8809         * javax/swing/plaf/metal/DefaultMetalTheme.java
8810         (CONTROL_TEXT_FONT): New static field.
8811         (MENU_TEXT_FONT): Likewise.
8812         (SUB_TEXT_FONT): Likewise.
8813         (SYSTEM_TEXT_FONT): Likewise.
8814         (USER_TEXT_FONT): Likewise.
8815         (WINDOW_TITLE_FONT): Likewise.
8816         (getControlTextFont): New method.
8817         (getMenuTextFont): Likewise.
8818         (getSubTextFont): Likewise.
8819         (getSystemTextFont): Likewise.
8820         (getUserTextFont): Likewise.
8821         (getWindowTitleFont): Likewise.
8822         * javax/swing/plaf/metal/MetalTheme.java
8823         (BLACK): Initialize with Color.BLACK.
8824         (WHITE): Initialize with Color.WHITE.
8825         (getInactiveControlTextColor): Return getControlDisabled().
8826         (getMenuDisabledForeground): Return getSecondary3().
8827         (getControlTextFont): New abstract method.
8828         (getMenuTextFont): Likewise.
8829         (getSubTextFont): Likewise.
8830         (getSystemTextFont): Likewise.
8831         (getUserTextFont): Likewise.
8832         (getWindowTitleFont): Likewise.
8834 2005-02-15  Michael Koch  <konqueror@gmx.de>
8836         * javax/swing/JFormattedTextField.java
8837         (getFocusLostBehavior): Fixed typo in method name.
8838         (setFocusLostBehavior): Likewise.
8840 2005-02-15  Michael Koch  <konqueror@gmx.de>
8842         * javax/swing/TransferHandler.java:
8843         Reworked import statements.
8845 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8847         * java/awt/Button.java,
8848         java/awt/Canvas.java,
8849         java/awt/Checkbox.java,
8850         java/awt/CheckboxMenuItem.java,
8851         java/awt/Choice.java,
8852         java/awt/Dialog.java,
8853         java/awt/Frame.java,
8854         java/awt/Label.java,
8855         java/awt/List.java,
8856         java/awt/Menu.java,
8857         java/awt/MenuBar.java,
8858         java/awt/MenuItem.java,
8859         java/awt/PopupMenu.java,
8860         java/awt/ScrollPane.java,
8861         java/awt/Scrollbar.java,
8862         java/awt/TextArea.java,
8863         java/awt/Window.java (getAccessibleContext): Clean up comments.
8864         Reformat.
8865         * java/awt/Button.java,
8866         java/awt/Checkbox.java,
8867         java/awt/Choice.java,
8868         java/awt/Menu.java,
8869         java/awt/PopupMenu.java,
8870         java/awt/TextArea.java (getAccessibleContext): Only create new
8871         accessible once.
8872         * java/awt/TextComponent.java (getAccessibleContext): Implement.
8874 2005-02-15  Michael Koch  <konqueror@gmx.de>
8876         * java/awt/Button.java,
8877         javax/swing/JApplet.java,
8878         javax/swing/JFormattedTextField.java,
8879         javax/swing/JWindow.java,
8880         javax/swing/JTree.java,
8881         javax/swing/plaf/basic/BasicEditorPaneUI.java,
8882         javax/swing/plaf/basic/BasicTextPaneUI.java,
8883         javax/swing/plaf/basic/BasicTreeUI.java:
8884         Reworked import statements.
8886 2005-02-15  Michael Koch  <konqueror@gmx.de>
8888         * Makefile.am: Put javax.imageio into its own library and link it
8889         against lib-org-w3c-dom.la to fix bootstrapping.
8890         * Makefile.in: Regenerated.
8892 2005-02-15  Michael Koch  <konqueror@gmx.de>
8894         * javax/swing/text/TextAction.java
8895         (getTextComponent): Simplified. Added Javadoc.
8896         (augmentList): Implemented. Added Javadoc.
8897         (getFocusedComponent): Added javadoc.
8899 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8901         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
8902         getAccessibleContext): Implement.
8903         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
8904         getAccessibleContext): Implement.
8906 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8908         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
8909         Implement.
8910         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
8911         Implement.
8912         * java/awt/Window.java (getAccessibleContext): Fix comment.
8913         Remove extra import.
8915 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8917         * java/awt/Window.java (AccessibleAWTWindow): Implement.
8918         (isActive, isFocused, getAccessibleContext): Implement.
8920 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8922         * java/awt/MenuItem.java (getAccessibleContext): Implement.
8923         * java/awt/MenuComponent.java (accessibleContext): Make package
8924         visible.
8925         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
8926         AccessibleAWTCheckboxMenuItem): Implement.
8928 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8930         * java/awt/List.java: Implement AccessibleAWTList,
8931         AccessibleAWTListChild.
8933 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8935         * java/awt/Choice.java: Add implements declaration for
8936         Accessible.
8938 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8940         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
8941         instead of Object.
8943 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8945         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
8946         implemented interface list.
8948 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
8950         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
8951         * javax/imageio/metadata/IIOAttr.java: New class.
8952         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
8953         * javax/imageio/metadata/IIONodeList.java: New class.
8954         * Makefile.am: Added new files.
8955         * Makefile.in: Regenerated.
8957 2005-02-15  Michael Koch  <konqueror@gmx.de>
8959         * javax/swing/AbstractAction.java,
8960         javax/swing/AbstractCellEditor.java,
8961         javax/swing/AbstractListModel.java,
8962         javax/swing/DefaultBoundedRangeModel.java,
8963         javax/swing/DefaultButtonModel.java,
8964         javax/swing/DefaultCellEditor.java,
8965         javax/swing/DefaultComboBoxModel.java,
8966         javax/swing/DefaultDesktopManager.java,
8967         javax/swing/JMenu.java,
8968         javax/swing/JSlider.java,
8969         javax/swing/KeyStroke.java,
8970         javax/swing/OverlayLayout.java,
8971         javax/swing/ScrollPaneLayout.java,
8972         javax/swing/SizeRequirements.java,
8973         javax/swing/ViewportLayout.java:
8974         Made serialVersionUID private.
8976 2005-02-15  Michael Koch  <konqueror@gmx.de>
8978         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8979         Reformatted.
8981 2005-02-15  Michael Koch  <konqueror@gmx.de>
8983         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
8985 2005-02-15  Michael Koch  <konqueror@gmx.de>
8987         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
8989 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
8991         * java/awt/EventDispatchThread.java,
8992         java/awt/Toolkit.java:
8993         Don't catch java.lang.ThreadDeath.
8995 2005-02-15  Michael Koch  <konqueror@gmx.de>
8997         * javax/swing/text/PasswordView.java
8998         (drawEchoCharacter): Added javadoc.
8999         (drawSelectedText): Likewise.
9000         (drawUnselectedText): Likewise.
9002 2005-02-15  Michael Koch  <konqueror@gmx.de>
9004         * javax/swing/JRootPane.java
9005         (windowDecorationStyle): New field.
9006         (setMenuBar): New method.
9007         (getMenuBar): Likewise.
9008         (getWindowDecorationStyle): Likewise.
9009         (setWindowDecorationStyle): Likewise.
9011 2005-02-15  Michael Koch  <konqueror@gmx.de>
9013         * javax/swing/DefaultListSelectionModel.java
9014         (leadAnchorNotificationEnabled): Made protected.
9016 2005-02-15  Michael Koch  <konqueror@gmx.de>
9018         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
9019         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
9020         * Makefile.in: Regenerated.
9023 2005-02-15  Michael Koch  <konqueror@gmx.de>
9025         * javax/swing/JFormattedTextField.java: Implemented.
9026         * javax/swing/JWindow.java
9027         (JWindow): New constructors.
9028         (initWindow): Renamed from initFrame.
9029         * javax/swing/UIDefaults.java
9030         (ActiveValue): Made interface static.
9031         (LazyValue): Likewise.
9032         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
9033         (TitlePaneLayout.TitlePaneLayout): New constructor.
9034         * javax/swing/plaf/basic/BasicSliderUI.java
9035         (ChangeHandler): Made public.
9036         (FocusHandler): Likewise.
9037         (PropertyChangeHandler): Likewise.
9038         (ScrollListener): Likewise.
9039         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9040         (FocusHandler): Likewise.
9041         (MouseHandler): Likewise.
9042         * javax/swing/plaf/basic/BasicTextPaneUI.java
9043         (BasicTextPaneUI): Extend BasicEditorPaneUI.
9044         * javax/swing/plaf/basic/BasicToolBarUI.java
9045         (BasicToolBarUI): Simplified. Reworked javadoc.
9046         (canDock): Simplified. Make public.
9047         (DockingListener): Made public.
9048         * javax/swing/text/JTextComponent.java
9049         (navigationFilter): New field.
9050         (getNavigationFilter): New method.
9051         (setNavigationFilter): Likewise.
9053 2005-02-15  Michael Koch  <konqueror@gmx.de>
9055         * javax/swing/plaf/metal/MetalTheme.java
9056         (getControlTextColor): Return getControlInfo().
9057         (getHighlightedTextColor): Return getControlTextColor().
9059 2005-02-15  Michael Koch  <konqueror@gmx.de>
9061         * javax/swing/plaf/basic/BasicButtonListener.java
9062         (BasicButtonListener): New constructor.
9063         * javax/swing/plaf/basic/BasicButtonUI.java
9064         (createButtonListener): Usw new BasicButtonListener constructor.
9066 2005-02-15  Michael Koch  <konqueror@gmx.de>
9068         * javax/imageio/event/package.html,
9069         javax/imageio/metadata/package.html: New files.
9071 2005-02-15  Michael Koch  <konqueror@gmx.de>
9073         * java/awt/image/MemoryImageSource.java: Reformatted.
9075 2005-02-15  Michael Koch  <konqueror@gmx.de>
9077         * javax/swing/tree/TreeCellEditor.java: Refomatted.
9079 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
9081         * java/awt/color/ICC_Profile.java
9082         (finalize): Removed pointless field assignments.
9084 2005-02-15  Michael Koch  <konqueror@gmx.de>
9086         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
9087         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
9088         * Makefile.in: Regenerated.
9090 2005-02-15  Michael Koch  <konqueror@gmx.de>
9092         * javax/swing/text/DefaultStyledDocument.java: New file.
9093         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
9094         * Makefile.in: Regenerated.
9096 2005-02-15  Michael Koch  <konqueror@gmx.de>
9098         * javax/swing/JFileChooser.java
9099         (showDialog): Return CANCEL_OPTION for now.
9100         (showOpenDialog): Likewise.
9101         (showSaveDialog): Likewise.
9103 2005-02-15  Michael Koch  <konqueror@gmx.de>
9105         * javax/swing/JApplet.java
9106         (HIDE_ON_CLOSE): Removed.
9107         (EXIT_ON_CLOSE): Likewise.
9108         (DISPOSE_ON_CLOSE): Likewise.
9109         (DO_NOTHING_ON_CLOSE): Likewise.
9110         (close_action): Likewise.
9111         (getDefaultCloseOperation): Likewise.
9112         (setDefaultCloseOperation): Likewise.
9113         (processWindowEvent): Likewise.
9114         (getPreferredSize): Simplified.
9115         * javax/swing/JInternalFrame.java
9116         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
9117         value.
9118         * javax/swing/JWindow.java
9119         (HIDE_ON_CLOSE): Removed.
9120         (EXIT_ON_CLOSE): Likewise.
9121         (DISPOSE_ON_CLOSE): Likewise.
9122         (DO_NOTHING_ON_CLOSE): Likewise.
9123         (close_action): Likewise.
9124         (processKeyEvent): Likewise.
9125         (setDefaultCloseOperation): Likewise.
9126         (getPreferredSize): Simplified.
9128 2005-02-15  Michael Koch  <konqueror@gmx.de>
9130         * javax/swing/JTextField.java
9131         (getPreferredSize): Re-implemented.
9133 2005-02-15  Michael Koch  <konqueror@gmx.de>
9135         * javax/swing/JLabel.java
9136         (setDisplayedMnemonic): Use only upper case characters.
9137         (setDisplayedMnemonicIndex): Handle index == -1 and fire
9138         PropertyChangeEvent after property got set to the new index.
9140 2005-02-15  Robert Schuster <thebohemian@gmx.net>
9142         * javax/swing/JComboBox.java:
9143         (JComboBox): Removed selection of the
9144         first item in the model.
9146 2005-02-15  Robert Schuster <thebohemian@gmx.net>
9148         * javax/swing/JComboBox.java
9149         added support for no item being selected
9150         (JComboBox): select first or nothing depending on element count
9151         (setModel): cleaned up unneeded "this." usage, added more
9152         docs, made exception behavior match that of the JDK
9153         (setLighWeightPopupEnabled): removed unneeded "this." usage
9154         (setEditable): dito
9155         (setMaximumRowCount): dito
9156         (setRenderer): dito
9157         (setPrototypeDisplayValue): dito
9158         (getSelectedItem): simplified, added more user doc
9159         (setSelectedIndex): corrected exception behavior, added more user doc
9160         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
9161         added performance warning to user doc
9162         (addItem): fixed exception behavior, added user doc
9163         (insertItemAt): dito
9164         (removeItem): dito
9165         (removeItemAt): dito
9166         (removeAll): fixed exception behavior, added user doc, added support
9167         for model not being instance of DefaultComboBoxModel
9168         (getSelectedItemObjects): simplified
9169         (getItemCount): fixed dependency on DefaultComboBoxModel
9170         (getItemAt): fixed dependency on MutableComboBoxModel
9171         * javax/swing/DefaultComboBoxModel.java:
9172         (setSelectedItem): updates selected item only if new
9173         value is null or known (match JDK behavior)
9174         * javax/swing/plaf/basic/BasicComboBoxUI.java:
9175         (paintCurrentValue): renders "" if no item is selected
9177 2005-02-15  Michael Koch  <konqueror@gmx.de>
9179         * javax/swing/plaf/metal/MetalTheme.java,
9180         javax/swing/plaf/metal/DefaultMetalTheme.java:
9181         New files.
9182         * javax/swing/plaf/metal/MetalLookAndFeel.java
9183         * Makefile.am: Added the new files.
9184         * Makefile.in: Regenerated.
9186 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
9188         * javax/swing/JTable.java
9189         (editorComp): New field.
9190         (JTable): Initialize local variables and call updateUI
9191         (selectionBackground): Make protected.
9192         (selectionForeground): Likewise.
9193         (initializeLocalVars): Create default editors and renderers,
9194         initialize editingColumn, editingRow variables.
9195         (createDefaultEditors): New Method.
9196         (createDefaultRenderers): Likewise.
9197         (createDefaultListSelectionModel): Removed
9198         (createDefaultSelectionModel): New Method.
9199         (createDefaultTableHeader): Likewise
9200         (removeColumn): Likewise.
9201         (getEditingColumn): Likewise.
9202         (setEditingColumn): Likewise.
9203         (getEditingRow): Likewise.
9204         (setEditingRow): Likewise.
9205         (getEditorComponent): Likewise.
9206         (isEditing): Likewise.
9207         (setDefaultEditor): Likewise.
9208         (addColumnSelectionInterval): Likewise.
9209         (addRowSelectionInterval): Likewise.
9210         (setColumnSelectionInterval): Likewise.
9211         (setRowSelectionInterval): Likewise.
9212         (removeColumnSelectionInterval): Likewise.
9213         (removeRowSelectionInterval): Likewise.
9214         (isColumnSelected): Likewise.
9215         (isRowSelected): Likewise.
9216         (isCellSelected): Likewise.
9217         (selectAll): Likewise.
9219 2005-02-15  Michael Koch  <konqueror@gmx.de>
9221         * javax/swing/JTable.java
9222         (addColumn): New method.
9223         (getColumnClass): Likewise.
9224         (getColumnName): Likewise.
9226 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
9228         * javax/swing/TransferHandler.java
9229         (createTransferable): Made protected.
9231 2005-02-15  Michael Koch  <konqueror@gmx.de>
9233         * javax/swing/JTable.java,
9234         javax/swing/plaf/basic/BasicTableHeaderUI.java,
9235         javax/swing/plaf/basic/BasicTableUI.java:
9236         Use fixed get/setIntercellSpacing() methods.
9238 2005-02-15  Michael Koch  <konqueror@gmx.de>
9240         * javax/swing/JTable.java
9241         (getIntercellSpacing): Fixed typo in method name.
9242         (setIntercellSpacing): Likewise.
9244 2005-02-15  Michael Koch  <konqueror@gmx.de>
9246         * javax/swing/text/JTextComponent.java
9247         (focusAccelerator): New variable.
9248         (getFocusAccelerator): New method.
9249         (setFocusAccelerator): Likewise.
9251 2005-02-15  Michael Koch  <konqueror@gmx.de>
9253         * javax/swing/JComponent.java
9254         (setTransferHandler): Made public. Fire property change event.
9255         * javax/swing/TransferHandler.java: Implemented.
9256         * javax/swing/text/JTextComponent.java
9257         (DefaultTransferHandler): New inner class.
9258         (defaultTransferHandler): New variable.
9259         (copy): New method.
9260         (cut): Likewise.
9261         (paste): Likewise.
9262         (doTransferAction): Likewise.
9264 2005-02-15  Michael Koch  <konqueror@gmx.de>
9266         * javax/swing/JTree.java
9267         (collapsePath): New method.
9268         (collapseRow): Likewise.
9269         (expandPath): Likewise.
9270         (expandRow): Likewise.
9271         (checkExpandParents): Likewise.
9272         (doExpandParents): Likewise.
9273         (setExpandedState): Likewise.
9274         (makeVisible): Likewise.
9276 2005-02-15  Michael Koch  <konqueror@gmx.de>
9278         * javax/swing/JPasswordField.java: Updated javadocs.
9280 2005-02-15  Michael Koch  <konqueror@gmx.de>
9282         * javax/swing/JLayeredPane.java
9283         (getLayer): Fixed return type, made public.
9284         (getPosition): Use new getLayer().
9285         (SetPosition): Likewise.
9286         (getIndexOf): Likewise.
9287         (remove): Likewise.
9288         * javax/swing/JInternalFrame.java
9289         (getLayer): Use new JLayeredPane.getLayer().
9292 2005-02-15  Michael Koch  <konqueror@gmx.de>
9294         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
9295         (setHeaderValue): Simplified. Do nothing when old value == new value.
9297 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9299         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
9300         against null clip region.
9301         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
9302         gtkWindowSetResizable.
9303         (postConfigureEvent): Only revalidate if frame size has changed.
9304         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
9305         Only revalidate if frame size has changed.
9306         * java/awt/Component.java (reshape): Only repaint and post
9307         component events if component is showing.
9308         * java/awt/Container.java (addImpl): Only post container event if
9309         container is showing.
9310         (remove): Likewise.
9311         * java/awt/Window.java (setLocationRelativeTo): Implement.
9312         (setBoundsCallback): Only post component events if component is
9313         showing.
9314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
9315         Protect against null graphics structure.  Flush gdk event queue.
9317 2005-02-15  Michael Koch  <konqueror@gmx.de>
9319         * javax/imageio/ImageReader.java,
9320         javax/imageio/ImageTranscoder.java,
9321         javax/imageio/ImageWriter.java,
9322         javax/imageio/spi/ImageInputStreamSpi.java,
9323         javax/imageio/spi/ImageOutputStreamSpi.java,
9324         javax/imageio/spi/ServiceRegistry.java,
9325         javax/imageio/stream/ImageInputStream.java,
9326         javax/imageio/stream/ImageOutputStream.java: Updated.
9327         * javax/imageio/IIOException.java,
9328         javax/imageio/IIOImage.java,
9329         javax/imageio/IIOParam.java,
9330         javax/imageio/IIOParamController.java,
9331         javax/imageio/ImageIO.java,
9332         javax/imageio/ImageReadParam.java,
9333         javax/imageio/ImageTypeSpecifier.java,
9334         javax/imageio/ImageWriteParam.java,
9335         javax/imageio/spi/IIORegistry.java,
9336         javax/imageio/spi/ImageReaderSpi.java,
9337         javax/imageio/spi/ImageWriterSpi.java,
9338         javax/imageio/stream/FileCacheImageInputStream.java,
9339         javax/imageio/stream/FileCacheImageOutputStream.java,
9340         javax/imageio/stream/FileImageInputStream.java,
9341         javax/imageio/stream/FileImageOutputStream.java,
9342         javax/imageio/stream/ImageInputStreamImpl.java,
9343         javax/imageio/stream/ImageOutputStreamImpl.java,
9344         javax/imageio/stream/MemoryCacheImageInputStream.java,
9345         javax/imageio/stream/MemoryCacheImageOutputStream.java,
9346         javax/imageio/event/IIOReadProgressListener.java,
9347         javax/imageio/event/IIOReadUpdateListener.java,
9348         javax/imageio/event/IIOReadWarningListener.java,
9349         javax/imageio/event/IIOWriteProgressListener.java,
9350         javax/imageio/event/IIOWriteWarningListener.java,
9351         javax/imageio/metadata/IIOMetadata.java,
9352         javax/imageio/metadata/IIOMetadataController.java,
9353         javax/imageio/metadata/IIOMetadataFormat.java,
9354         javax/imageio/metadata/IIOInvalidTreeException.java,
9355         javax/imageio/metadata/IIOMetadataFormatImpl.java,
9356         javax/imageio/metadata/IIOMetadataNode.java: New files.
9357         * Makefile.am (javax_source_files): Added new files
9358         * Makefile.in: Regenerated.
9360 2005-02-15  Graydon Hoare  <graydon@redhat.com>
9362         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9363         Rework painting into BufferedImages
9364         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
9365         Construct BufferedImage with alpha only when alpha is
9366         present in colormodel.
9367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9368         Rework painting into client-side jint arrays.
9369         * jni/gtk-peer/gtkcairopeer.h:
9370         Likewise.
9372 2005-02-15  Michael Koch  <konqueror@gmx.de>
9374         * javax/swing/DefaultListCellRenderer.java
9375         (serialVersionUID): Made private.
9376         (getListCellRendererComponent): Set horizontal alignment.
9377         * javax/swing/JLabel.java
9378         (setVerticalAlignment): Re-implemented.
9379         (setHorizontalAlignment): Do nothing if old value = new value.
9380         * javax/swing/JList.java
9381         (setCellRenderer): Likewise.
9382         (setModel): Re-implemented.
9383         (setSelectionModel): Likewise.
9385 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
9387         * java/awt/Component.java,
9388         java/awt/geom/Rectangle2D.java:
9389         Javadoc fixes.
9391 2005-02-15  Michael Koch  <konqueror@gmx.de>
9393         * javax/swing/AbstractListModel.java
9394         (fireContentsChanged): Simplified.
9395         (fireIntervalAdded): Likewise.
9396         (fireIntervalRemoved): Likewise.
9397         * javax/swing/DefaultSingleSelectionModel.java:
9398         Reformatted.
9399         (fireStateChanged): Simplified.
9400         * javax/swing/JPopupMenu.java
9401         (setSelectionModel): Set property.
9403 2005-02-15  Michael Koch  <konqueror@gmx.de>
9405         * java/awt/print/Book.java: Reformatted.
9407 2005-02-15  Michael Koch  <konqueror@gmx.de>
9409         * java/awt/geom/Area.java
9410         (QuadSegment.curveArea): Remove unused variables.
9411         (CubicSegment.curveArea): Likewise.
9413 2005-02-15  Michael Koch  <konqueror@gmx.de>
9415         * javax/swing/JTree.java
9416         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
9417         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
9418         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
9419         (EXPANDED): New constant.
9420         (COLLAPSED): Likewise.
9421         (nodeStates): New field.
9422         (cellEditor): New method.
9423         (cellRenderer): Likewise.
9424         (selectionModel): Likewise.
9425         (treeModel): Likewise.
9426         (scrollPathToVisible): Likewise.
9427         (scrollRowToVisible): Likewise.
9428         (isCollapsed): Likewise.
9429         (isExpanded): Likewise.
9430         (clearToggledPaths): Likewise.
9431         (getDescendantToggledPaths): Likewise.
9432         (hasBeenExpanded): Likewise.
9433         (isVisible): Likewise.
9434         (isPathEditable): Likewise.
9436 2005-02-15  Michael Koch  <konqueror@gmx.de>
9438         * javax/swing/JLayeredPane.java: Reformatted.
9440 2005-02-15  Michael Koch  <konqueror@gmx.de>
9442         * javax/swing/tree/DefaultMutableTreeNode.java:
9443         Completely Revised.
9444         * javax/swing/tree/MutableTreeNode.java:
9445         Reformatted.
9447 2005-02-15  Michael Koch  <konqueror@gmx.de>
9449         * javax/swing/JFormattedTextField.java
9450         (setDocument): Call setDocument of super class. Don't fire property
9451         change event.
9453 2005-02-15  Sven de Marothy  <sven@physto.se>
9455         * java/awt/image/IndexColorModel.java:
9456         Add FIXME with respect to alpha handling.
9457         (getAlpha): Default to returning opaque pixels.
9458         * java/awt/image/MultiPixelPackedSampleModel.java
9459         (MultiPixelPackedSampleModel): Corrected parameters, order of
9460         bit shifts and masks, stride length off by one.
9462 2005-02-15  Michael Koch  <konqueror@gmx.de>
9464         * javax/swing/JList.java, javax/swing/JTree.java:
9465         Added much new methods and fixed much methods setting bound properties.
9467 2005-02-16  Mark Wielaard  <mark@klomp.org>
9469         * Makefile.am (gnu_xml_source_files): Removed
9470         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
9471         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
9472         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
9473         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
9474         gnu/xml/dom/DomDocumentFragment.java,
9475         gnu/xml/dom/DomProcessingInstruction.java and
9476         gnu/xml/dom/ls/DomLSException.java.
9477         * Makefile.in: Regenerated.
9479 2005-02-16  Tom Tromey  <tromey@redhat.com>
9481         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
9482         attribute index is out of bounds.
9484 2005-02-16  Chris Burdess  <dog@gnu.org>
9486         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
9487         isDeclared methods. Improved performance of isSpecified methods.
9489 2005-02-16  Chris Burdess  <dog@gnu.org>
9491         Fixes bug libgcj/19864
9492         * gnu/xml/dom/DomAttr.java,
9493         gnu/xml/dom/DomCDATA.java,
9494         gnu/xml/dom/DomCDATASection.java,
9495         gnu/xml/dom/DomCharacterData.java,
9496         gnu/xml/dom/DomDOMException.java,
9497         gnu/xml/dom/DomDoctype.java,
9498         gnu/xml/dom/DomDocument.java,
9499         gnu/xml/dom/DomDocumentConfiguration.java,
9500         gnu/xml/dom/DomDocumentFragment.java,
9501         gnu/xml/dom/DomElement.java,
9502         gnu/xml/dom/DomEx.java,
9503         gnu/xml/dom/DomFragment.java,
9504         gnu/xml/dom/DomImpl.java,
9505         gnu/xml/dom/DomIterator.java,
9506         gnu/xml/dom/DomNamedNodeMap.java,
9507         gnu/xml/dom/DomNode.java,
9508         gnu/xml/dom/DomNsNode.java,
9509         gnu/xml/dom/DomPI.java,
9510         gnu/xml/dom/DomProcessingInstruction.java,
9511         gnu/xml/dom/DomText.java,
9512         gnu/xml/dom/DomLSEx.java,
9513         gnu/xml/dom/DomLSException.java,
9514         gnu/xml/dom/DomLSParser.java,
9515         gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
9516         implementation class names to conform to Classpath guidelines.  Make
9517         DomLSException use JDK 1.4+ exception chaining.
9518         * gnu/xml/util/SAXNullTransformerFactory.java,
9519         gnu/xml/xpath/Predicate.java: Use constants relative to
9520         declaring class or interface.
9522 2005-02-16  Andrew Haley  <aph@redhat.com>
9524         * javax/security/auth/Subject.java (doAsPrivileged): If acc is
9525         null, create a new AccessControlContext.
9526         * java/security/SecureClassLoader.java (protectionDomainCache):
9527         new field.
9528         (defineClass): Create a new protection domain and add it to our
9529         cache.
9531         * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
9532         addStub() to keep track of the stub we've exported.
9533         (unexportObject): Call deleteStub().
9534         * java/rmi/server/RemoteObject.java (stubs): New field.
9535         (addStub): New method.
9536         (deleteStub): New method.
9537         (toStub): Rewrite.
9539         * java/lang/VMCompiler.java (loadSharedLibrary): Pass
9540         true to findHelper (tryParents).
9541         * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
9542         Likewise.
9543         * java/net/URLClassLoader.java (SoURLLoader): Likewise.
9544         * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
9545         ProtectionDomain.
9546         If tryParents is false, don't scan parent class loaders.
9548         * java/security/Permissions.java (PermissionsHash.implies):
9549         Iterate over the collection and invoke implies() on each
9550         element.
9552 2005-02-16  Andrew Haley  <aph@redhat.com>
9554         * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
9555         fields.
9556         (PersistentByteMap): Set name
9557         Magic number changed to 0x67636a64 ("gcjd").
9558         (init): Force the map to be prime.
9559         (emptyPersistentByteMap): File name was a string, now a File.
9560         (addBytes): Share srings between entries.
9561         (stringTableSize): New method.
9562         (capacity): Scale by load factor.
9563         (force): New method.
9564         (getFile): New method.
9565         (close): New method.
9566         (putAll): New method.
9567         (ByteWrapper): New class.
9568         * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
9569         (main): Guess the average string size as 32, not 64.
9570         Copy a database before modifying it, so that we can update a
9571         database in a running system.
9572         If a database isn't big enough, resize it.
9573         "-m": new option: merges databases.
9574         "-a": Create a new detabase if it doesn't exist.
9575         (usage): Correct, add new option.
9576         (addJar): Copy a database before modifying it.
9577         (resizeMap): New method.
9579 2005-02-15  David Daney <ddaney@avtrex.com>
9580             Bryce McKinlay  <mckinlay@redhat.com>
9582         * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
9583         * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
9584         ensure that GC threads inherit the new signal mask.
9585         (block_sigchld): Call JvFail rather than throwing exception if
9586         pthread_sigmask() fails.
9588 2005-02-15  Mark Wielaard  <mark@klomp.org>
9590         * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
9591         file path elements are separated by spaces.
9593 2005-02-15  Mark Wielaard  <mark@klomp.org>
9595         * java/util/jar/Attributes.java (Attributes.Name): Add documentation
9596         to describe attributes without a constant field value in this class.
9598 2005-02-15  Michael Koch  <konqueror@gmx.de>
9600         * java/util/jar/Attributes.java
9601         (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
9603 2005-02-15  Mark Wielaard  <mark@klomp.org>
9605         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
9606         space for parsing CLASS_PATH attribute.
9608 2005-02-15  Mark Wielaard  <mark@klomp.org>
9610         * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
9611         aside for "GCJLIBS" in directory where jarfiles are loaded.
9612         (JarURLLoader.getClass): Removed method.
9613         (JarURLLoader.toString): Removed method.
9614         (FileResource.toString): Removed method.
9616 2005-02-15  Mark Wielaard  <mark@klomp.org>
9618         * javax/net/ssl/SSLContext.java (getInstance): Add exception message
9619         and/or cause before throwing.
9621 2005-02-15  Richard Henderson  <rth@redhat.com>
9623         * Makefile.am (libgcj_la_SOURCES): Move all sources ...
9624         (libgcj0_convenience_la_SOURCES): ... here.
9625         (libgcj_la_LIBADD): Add libgcj0_convenience.la.
9626         (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
9627         * Makefile.in: Regenerate.
9629 2005-02-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9631         * jawt.c: New file.
9632         * include/jawt.h: Likewise.
9633         * include/jawt_md.h: Likewise.
9634         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
9635         jawt_md.h files.
9636         * include/Makefile.in: Regenerate.
9637         * jni/classpath/classpath_jawt.h: Likewise.
9638         * jni/gtk-peer/gtk_jawt.c: Likewise.
9639         * Makefile.am: Build libjawt.so.
9640         * Makefile.in: Regenerate.
9642 2005-02-14  Tom Tromey  <tromey@redhat.com>
9644         * testsuite/libjava.lang/PR19921.java: Use correct class name.
9646 2005-02-14  Tom Tromey  <tromey@redhat.com>
9648         * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
9649         * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
9651 2005-02-14  Tom Tromey  <tromey@redhat.com>
9653         For PR java/19929:
9654         * testsuite/libjava.lang/PR19929.out: New file.
9655         * testsuite/libjava.lang/PR19929.java: New file.
9657 2005-02-14  Anthony Green  <green@redhat.com>
9659         PR libgcj/18116
9660         * testsuite/libjava.jni/PR18116.c: New file.
9661         * testsuite/libjava.jni/PR18116.java: New file.
9662         * testsuite/libjava.jni/PR18116.out: New file.
9664 2005-02-13  Anthony Green  <green@redhat.com>
9666         PR libgcj/18116
9667         * jni.cc (nathash_add): Don't strdup the method signature.
9668         (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
9669         method signature.
9670         Update copyright.
9672 2005-02-12  Mark Wielaard  <mark@klomp.org>
9674         Fixes bug libgcj/8170
9675         * java/lang/ClassLoader.java (loadClass): Don't rewrap
9676         ClassNotFoundException.
9677         * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
9678         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
9679         (remove_internal): New field superceding remove_interpreter.
9680         (sanitizeStack): Remove all no-package classes starting with "_Jv_".
9681         Remove no-class methods starting with "_Jv_". And Replace null
9682         class or method names with the empty string. Stop at either the
9683         MainThread or a real Thread run() method.
9684         (newElement): Made static.
9685         * java/net/URLClassLoader.java (findClass): Throw
9686         ClassNotFoundExceptions including urls, plus parent using toString().
9687         (thisString): New field.
9688         (toString): New method.
9690 2005-02-10  Tom Tromey  <tromey@redhat.com>
9692         * external/sax/Makefile.in: Rebuilt.
9693         * external/sax/Makefile.am (all-local): Removed.
9694         (BUILT_SOURCES): New variable.
9695         (mostlyclean-local): No error if no classes to delete.
9696         * external/w3c_dom/Makefile.in: Rebuilt.
9697         * external/w3c_dom/Makefile.am (all-local): Removed.
9698         (BUILT_SOURCES): New variable.
9699         (mostlyclean-local): No error if no classes to delete.
9701 2005-02-10  Bryce McKinlay  <mckinlay@redhat.com>
9703         * testsuite/libjava.mauve/xfails: Updated to reflect current state
9704         of mauve and libjava.
9706 2005-02-09  Tom Tromey  <tromey@redhat.com>
9708         * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
9709         jar file with OPEN_DELETE.
9710         * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
9711         OPEN_DELETE is used.
9713 2005-02-09  Tom Tromey  <tromey@redhat.com>
9715         * java/util/zip/InflaterInputStream.java (markSupported):
9716         Override.
9717         (mark, reset): Likewise.
9719 2005-02-08  Tom Tromey  <tromey@redhat.com>
9721         * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
9722         name or port is missing.
9723         (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
9724         AUTHORITY_PORT_GROUP): Updated.
9726 2005-02-08  Tom Tromey  <tromey@redhat.com>
9728         * configure: Rebuilt.
9729         * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
9730         AC_CHECK_HEADERS.
9732 2005-02-07  Tom Tromey  <tromey@redhat.com>
9734         * java/lang/natRuntime.cc (insertSystemProperties): Set
9735         sun.boot.class.path earlier.
9737 2005-02-07  Tom Tromey  <tromey@redhat.com>
9739         * defineclass.cc (handleClassBegin): Use
9740         _Jv_RegisterInitiatingLoader.
9741         * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
9742         * java/lang/natVMClassLoader.cc (resolveClass): Don't register
9743         class.  Use _Jv_UnregisterInitiatingLoader.
9744         * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
9745         New function.
9747 2005-02-07  Mark Wielaard  <mark@klomp.org>
9749         Reported by Timo Lindfors <timo.lindfors@iki.fi>
9750         java/util/regex/Matcher.java (lookingAt): Set position when match
9751         found.
9752         (matches): Implemented through lookingAt().
9754 2005-02-07  Mark Wielaard  <mark@klomp.org>
9756         Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
9757         * java/util/regex/Pattern.java (split(CharSequence,int)):
9758         Fix while empties > 0 loops.
9760 2005-02-07  Robert Schuster  <thebohemian@gmx.net>
9762         * gnu/java/nio/charset/ISO_8859_1.java,
9763         gnu/java/nio/charset/US_ASCII.java,
9764         gnu/java/nio/charset/UTF_16.java,
9765         gnu/java/nio/charset/UTF_16_LE.java,
9766         gnu/java/nio/charset/UTF_16_BE.java,
9767         gnu/java/nio/charset/UTF_8.java: Fixed canonical names
9768          and aliases according to
9769          "http://www.iana.org/assignments/character-sets",
9770          "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
9771          and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
9772         * gnu/java/nio/charset/Provider.java: Made charset lookup
9773          case-insensitive which fixes bug #11740.
9775 2005-02-07  Tom Tromey  <tromey@redhat.com>
9777         PR libgcj/19611:
9778         * Makefile.in: Rebuilt.
9779         * Makefile.am (src.zip): New target.
9780         (install-src.zip): Likewise.
9781         (sourcesdir): New variable.
9783 2005-02-06  Jerry Quinn  <jlquinn@optonline.net>
9785         * javax/imageio/metadata/IIOMetadataNode.java:
9786         Implemented.
9787         * javax/imageio/metadata/IIOAttr.java,
9788         javax/imageio/metadata/IIONamedNodeMap.java,
9789         javax/imageio/metadata/IIONodeList.java:
9790         New files
9792 2005-02-06  Graydon Hoare  <graydon@redhat.com>
9794         * gnu/java/awt/ClasspathToolkit.java
9795         (registerImageIOSpis): New method.
9796         * javax/imageio/ImageIO.java
9797         (WriterFormatFilter.filter): Fix copy-and-paste typos.
9798         (WriterMIMETypeFilter.filter): Likewise.
9799         (ImageReaderIterator): Pass extension argument through to SPI.
9800         (getReadersByFilter): Likewise.
9801         (getWritersByFilter): Likewise.
9802         (getImageReadersByFormatName): Likewise.
9803         (getImageReadersByMIMEType): Likewise.
9804         (getImageReadersBySuffix): Likewise.
9805         (getImageWritersByFormatName): Likewise.
9806         (getImageWritersByMIMEType): Likewise.
9807         (getImageWritersBySuffix): Likewise.
9808         (read): Implement.
9809         (write): Implement.
9810         * javax/imageio/ImageReader.java
9811         (progressListeners): Initialize.
9812         (setInput): Implement.
9813         * javax/imageio/ImageWriter.java
9814         (progressListeners): Initialize.
9815         (warningListeners): Likewise.
9816         (warningLocales): Likewise.
9817         (setOutput): Test "isInstance" rather than class equality.
9818         * javax/imageio/spi/IIORegistry.java
9819         (static): Add reader and writer SPIs.
9820         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
9822 2005-02-06  Michael Koch  <konqueror@gmx.de>
9824         * javax/imageio/metadata/IIOInvalidTreeException.java
9825         (IIOInvalidTreeException): Reformatted.
9826         * javax/imageio/spi/IIORegistry.java
9827         (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
9828         * javax/imageio/stream/MemoryCacheImageInputStream.java:
9829         Reworked import statements.
9831 2005-02-06  Michael Koch  <konqueror@gmx.de>
9833         * javax/imageio/stream/FileImageOutputStream.java:
9834         Implemented.
9836 2005-02-06  Michael Koch  <konqueror@gmx.de>
9838         * javax/imageio/stream/FileCacheImageInputStream.java,
9839         javax/imageio/stream/FileCacheImageOutputStream.java,
9840         javax/imageio/stream/FileImageInputStream.java,
9841         javax/imageio/stream/ImageInputStreamImpl.java,
9842         javax/imageio/stream/ImageOutputStreamImpl.java,
9843         javax/imageio/stream/MemoryCacheImageInputStream.java,
9844         javax/imageio/stream/MemoryCacheImageOutputStream.java:
9845         Added all missing methods in javax.imageio.stream.
9847 2005-02-02  David Daney  <ddaney@avtrex.com>
9849         * java/net/InetAddress.java (InetAddress): Make a private copy of
9850         the address.
9851         * java/net/Inet4Address.java (getAddress): Return a copy of the
9852         address.
9853         * java/net/Inet6Address.java (Inet6Address): Use private copy of
9854         the address
9855         (getAddress): Return a copy of the address.
9856         (equals): Rewrote.
9858 2005-02-02  Tom Tromey  <tromey@redhat.com>
9860         * Makefile.in: Rebuilt.
9861         * Makefile.am (classes.stamp): New target, broken out from
9862         libgcj.jar target.
9863         ($(all_java_class_files)): Depend on it.
9864         (libgcj-@gcc_version@.jar): Likewise.
9865         (all-recursive): Likewise.
9866         (CLEANFILES): Include classes.stamp.
9868 2005-02-02  Hans Boehm  <Hans.Boehm@hp.com>
9870         * link.cc: Include <stdio.h>
9872 2005-02-02  Tom Tromey  <tromey@redhat.com>
9874         PR libgcj/19681:
9875         * Makefile.in: Rebuilt.
9876         * Makefile.am (ordinary_java_source_files): Added new class.
9877         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
9878         Use system_instance, not instance.
9879         * gnu/gcj/runtime/SystemClassLoader.java: New file.
9880         * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
9881         java.class.path.
9882         (system_instance): New field.
9883         (initialize): Initialize the system loader as well.
9884         (VMClassLoader): Default to LIB_CACHE.
9886 2005-02-02  Tom Tromey  <tromey@redhat.com>
9888         * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
9889         * prims.cc: Fixed comment.
9891 2005-02-01  Tom Tromey  <tromey@redhat.com>
9893         * Makefile.in: Rebuilt.
9894         * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
9895         (.java.class): Use BOOTCLASSPATH.
9897 2005-02-01  Tom Tromey  <tromey@redhat.com>
9899         * external/w3c_dom/Makefile.am: New file.
9900         * external/w3c_dom/Makefile.in: New file.
9901         * external/sax/Makefile.am: New file.
9902         * external/sax/Makefile.in: New file.
9903         * external/Makefile.in: New file.
9904         * external/Makefile.am: New file.
9905         * external/README: New file from Classpath.
9906         * configure, aclocal.m4, Makefile.in: Rebuilt.
9907         * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
9908         * Makefile.am (SUBDIRS): Added external.
9909         (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
9910         lib-org-w3c-dom.la, lib-org-ietf-gss.la.
9911         (BOOTCLASSPATH): New variable.
9912         (AM_GCJFLAGS): Use it.
9913         (gnu_xml_source_files): New variable.
9914         (libgcj_la_SOURCES): Use it.
9915         (libgcj_la_LDADD): Include new convenience libraries.
9916         (lib_org_ietf_jgss_la_SOURCES): Removed.
9917         (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
9918         (lib_org_ietf_jgss_la_LIBADD): Likewise.
9919         (lib_org_w3c_dom_la_SOURCES): Removed.
9920         (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
9921         (lib_org_w3c_dom_la_LIBADD): Likewise.
9922         (lib_org_xml_sax_la_SOURCES): Removed.
9923         (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
9924         (lib_org_xml_sax_la_LIBADD): Likewise.
9925         (all_java_source_files): Updated.
9926         (property_files): Likewise.
9927         (libgcj-@gcc_version@.jar): Include classes from external/.
9928         (javax_source_files): Updated.
9929         (ordinary_java_source_files): Updated.
9930         * javax/xml/XMLConstants.java,
9931         javax/xml/datatype/DatatypeConfigurationException.java,
9932         javax/xml/datatype/DatatypeConstants.java,
9933         javax/xml/datatype/DatatypeFactory.java,
9934         javax/xml/datatype/Duration.java,
9935         javax/xml/datatype/XMLGregorianCalendar.java,
9936         javax/xml/datatype/package.html,
9937         javax/xml/namespace/NamespaceContext.java,
9938         javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
9939         javax/xml/parsers/DocumentBuilder.java,
9940         javax/xml/parsers/DocumentBuilderFactory.java,
9941         javax/xml/parsers/FactoryConfigurationError.java,
9942         javax/xml/parsers/ParserConfigurationException.java,
9943         javax/xml/parsers/SAXParser.java,
9944         javax/xml/parsers/SAXParserFactory.java,
9945         javax/xml/parsers/package.html,
9946         javax/xml/transform/ErrorListener.java,
9947         javax/xml/transform/OutputKeys.java,
9948         javax/xml/transform/Result.java, javax/xml/transform/Source.java,
9949         javax/xml/transform/SourceLocator.java,
9950         javax/xml/transform/Templates.java,
9951         javax/xml/transform/Transformer.java,
9952         javax/xml/transform/TransformerConfigurationException.java,
9953         javax/xml/transform/TransformerException.java,
9954         javax/xml/transform/TransformerFactory.java,
9955         javax/xml/transform/TransformerFactoryConfigurationError.java,
9956         javax/xml/transform/URIResolver.java,
9957         javax/xml/transform/package.html,
9958         javax/xml/transform/dom/DOMLocator.java,
9959         javax/xml/transform/dom/DOMResult.java,
9960         javax/xml/transform/dom/DOMSource.java,
9961         javax/xml/transform/dom/package.html,
9962         javax/xml/transform/sax/SAXResult.java,
9963         javax/xml/transform/sax/SAXSource.java,
9964         javax/xml/transform/sax/SAXTransformerFactory.java,
9965         javax/xml/transform/sax/TemplatesHandler.java,
9966         javax/xml/transform/sax/TransformerHandler.java,
9967         javax/xml/transform/sax/package.html,
9968         javax/xml/transform/stream/StreamResult.java,
9969         javax/xml/transform/stream/StreamSource.java,
9970         javax/xml/transform/stream/package.html,
9971         javax/xml/validation/Schema.java,
9972         javax/xml/validation/SchemaFactory.java,
9973         javax/xml/validation/TypeInfoProvider.java,
9974         javax/xml/validation/Validator.java,
9975         javax/xml/validation/ValidatorHandler.java,
9976         javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
9977         javax/xml/xpath/XPathConstants.java,
9978         javax/xml/xpath/XPathException.java,
9979         javax/xml/xpath/XPathExpression.java,
9980         javax/xml/xpath/XPathExpressionException.java,
9981         javax/xml/xpath/XPathFactory.java,
9982         javax/xml/xpath/XPathFactoryConfigurationException.java,
9983         javax/xml/xpath/XPathFunction.java,
9984         javax/xml/xpath/XPathFunctionException.java,
9985         javax/xml/xpath/XPathFunctionResolver.java,
9986         javax/xml/xpath/XPathVariableResolver.java,
9987         javax/xml/xpath/package.html: New files, from GNU JAXP.
9988         * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
9989         org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
9990         org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
9991         org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
9992         org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
9993         org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
9994         org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
9995         org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
9996         org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
9997         org/w3c/dom/ranges/DocumentRange.java,
9998         org/w3c/dom/ranges/Range.java,
9999         org/w3c/dom/ranges/RangeException.java,
10000         org/w3c/dom/traversal/DocumentTraversal.java,
10001         org/w3c/dom/traversal/NodeFilter.java,
10002         org/w3c/dom/traversal/NodeIterator.java,
10003         org/w3c/dom/traversal/TreeWalker.java,
10004         org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
10005         org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
10006         org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
10007         org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
10008         org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
10009         org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
10010         org/xml/sax/SAXNotRecognizedException.java,
10011         org/xml/sax/SAXNotSupportedException.java,
10012         org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
10013         org/xml/sax/XMLReader.java, org/xml/sax/package.html,
10014         org/xml/sax/ext/DeclHandler.java,
10015         org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
10016         org/xml/sax/helpers/AttributeListImpl.java,
10017         org/xml/sax/helpers/AttributesImpl.java,
10018         org/xml/sax/helpers/DefaultHandler.java,
10019         org/xml/sax/helpers/LocatorImpl.java,
10020         org/xml/sax/helpers/NamespaceSupport.java,
10021         org/xml/sax/helpers/NewInstance.java,
10022         org/xml/sax/helpers/ParserAdapter.java,
10023         org/xml/sax/helpers/ParserFactory.java,
10024         org/xml/sax/helpers/XMLFilterImpl.java,
10025         org/xml/sax/helpers/XMLReaderAdapter.java,
10026         org/xml/sax/helpers/XMLReaderFactory.java,
10027         org/xml/sax/helpers/package.html: Moved to external/.
10028         * external/sax/README,
10029         external/sax/org/xml/sax/AttributeList.java,
10030         external/sax/org/xml/sax/Attributes.java,
10031         external/sax/org/xml/sax/ContentHandler.java,
10032         external/sax/org/xml/sax/DTDHandler.java,
10033         external/sax/org/xml/sax/DocumentHandler.java,
10034         external/sax/org/xml/sax/EntityResolver.java,
10035         external/sax/org/xml/sax/ErrorHandler.java,
10036         external/sax/org/xml/sax/HandlerBase.java,
10037         external/sax/org/xml/sax/InputSource.java,
10038         external/sax/org/xml/sax/Locator.java,
10039         external/sax/org/xml/sax/Parser.java,
10040         external/sax/org/xml/sax/SAXException.java,
10041         external/sax/org/xml/sax/SAXNotRecognizedException.java,
10042         external/sax/org/xml/sax/SAXNotSupportedException.java,
10043         external/sax/org/xml/sax/SAXParseException.java,
10044         external/sax/org/xml/sax/XMLFilter.java,
10045         external/sax/org/xml/sax/XMLReader.java,
10046         external/sax/org/xml/sax/package.html,
10047         external/sax/org/xml/sax/ext/Attributes2.java,
10048         external/sax/org/xml/sax/ext/Attributes2Impl.java,
10049         external/sax/org/xml/sax/ext/DeclHandler.java,
10050         external/sax/org/xml/sax/ext/DefaultHandler2.java,
10051         external/sax/org/xml/sax/ext/EntityResolver2.java,
10052         external/sax/org/xml/sax/ext/LexicalHandler.java,
10053         external/sax/org/xml/sax/ext/Locator2.java,
10054         external/sax/org/xml/sax/ext/Locator2Impl.java,
10055         external/sax/org/xml/sax/ext/package.html,
10056         external/sax/org/xml/sax/helpers/AttributeListImpl.java,
10057         external/sax/org/xml/sax/helpers/AttributesImpl.java,
10058         external/sax/org/xml/sax/helpers/DefaultHandler.java,
10059         external/sax/org/xml/sax/helpers/LocatorImpl.java,
10060         external/sax/org/xml/sax/helpers/NamespaceSupport.java,
10061         external/sax/org/xml/sax/helpers/NewInstance.java,
10062         external/sax/org/xml/sax/helpers/ParserAdapter.java,
10063         external/sax/org/xml/sax/helpers/ParserFactory.java,
10064         external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
10065         external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
10066         external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
10067         external/sax/org/xml/sax/helpers/package.html,
10068         external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
10069         external/w3c_dom/org/w3c/dom/Attr.java,
10070         external/w3c_dom/org/w3c/dom/CDATASection.java,
10071         external/w3c_dom/org/w3c/dom/CharacterData.java,
10072         external/w3c_dom/org/w3c/dom/Comment.java,
10073         external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
10074         external/w3c_dom/org/w3c/dom/DOMError.java,
10075         external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
10076         external/w3c_dom/org/w3c/dom/DOMException.java,
10077         external/w3c_dom/org/w3c/dom/DOMImplementation.java,
10078         external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
10079         external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
10080         external/w3c_dom/org/w3c/dom/DOMLocator.java,
10081         external/w3c_dom/org/w3c/dom/DOMStringList.java,
10082         external/w3c_dom/org/w3c/dom/Document.java,
10083         external/w3c_dom/org/w3c/dom/DocumentFragment.java,
10084         external/w3c_dom/org/w3c/dom/DocumentType.java,
10085         external/w3c_dom/org/w3c/dom/Element.java,
10086         external/w3c_dom/org/w3c/dom/Entity.java,
10087         external/w3c_dom/org/w3c/dom/EntityReference.java,
10088         external/w3c_dom/org/w3c/dom/NameList.java,
10089         external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
10090         external/w3c_dom/org/w3c/dom/Node.java,
10091         external/w3c_dom/org/w3c/dom/NodeList.java,
10092         external/w3c_dom/org/w3c/dom/Notation.java,
10093         external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
10094         external/w3c_dom/org/w3c/dom/Text.java,
10095         external/w3c_dom/org/w3c/dom/TypeInfo.java,
10096         external/w3c_dom/org/w3c/dom/UserDataHandler.java,
10097         external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
10098         external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
10099         external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
10100         external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
10101         external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
10102         external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
10103         external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
10104         external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
10105         external/w3c_dom/org/w3c/dom/css/CSSRule.java,
10106         external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
10107         external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
10108         external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
10109         external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
10110         external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
10111         external/w3c_dom/org/w3c/dom/css/CSSValue.java,
10112         external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
10113         external/w3c_dom/org/w3c/dom/css/Counter.java,
10114         external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
10115         external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
10116         external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
10117         external/w3c_dom/org/w3c/dom/css/RGBColor.java,
10118         external/w3c_dom/org/w3c/dom/css/Rect.java,
10119         external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
10120         external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
10121         external/w3c_dom/org/w3c/dom/events/Event.java,
10122         external/w3c_dom/org/w3c/dom/events/EventException.java,
10123         external/w3c_dom/org/w3c/dom/events/EventListener.java,
10124         external/w3c_dom/org/w3c/dom/events/EventTarget.java,
10125         external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
10126         external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
10127         external/w3c_dom/org/w3c/dom/events/UIEvent.java,
10128         external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
10129         external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
10130         external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
10131         external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
10132         external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
10133         external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
10134         external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
10135         external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
10136         external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
10137         external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
10138         external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
10139         external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
10140         external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
10141         external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
10142         external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
10143         external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
10144         external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
10145         external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
10146         external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
10147         external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
10148         external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
10149         external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
10150         external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
10151         external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
10152         external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
10153         external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
10154         external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
10155         external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
10156         external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
10157         external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
10158         external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
10159         external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
10160         external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
10161         external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
10162         external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
10163         external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
10164         external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
10165         external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
10166         external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
10167         external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
10168         external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
10169         external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
10170         external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
10171         external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
10172         external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
10173         external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
10174         external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
10175         external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
10176         external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
10177         external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
10178         external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
10179         external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
10180         external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
10181         external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
10182         external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
10183         external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
10184         external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
10185         external/w3c_dom/org/w3c/dom/ls/LSException.java,
10186         external/w3c_dom/org/w3c/dom/ls/LSInput.java,
10187         external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
10188         external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
10189         external/w3c_dom/org/w3c/dom/ls/LSParser.java,
10190         external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
10191         external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
10192         external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
10193         external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
10194         external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
10195         external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
10196         external/w3c_dom/org/w3c/dom/ranges/Range.java,
10197         external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
10198         external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
10199         external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
10200         external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
10201         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
10202         external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
10203         external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
10204         external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
10205         external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
10206         external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
10207         external/w3c_dom/org/w3c/dom/views/AbstractView.java,
10208         external/w3c_dom/org/w3c/dom/views/DocumentView.java,
10209         external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
10210         external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
10211         external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
10212         external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
10213         external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
10214         external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
10215         from Classpath.
10217 2005-01-31  Anthony Green  <green@redhat.com>
10219         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
10220         Support IP_MULTICAST_LOOP.
10221         (setOption): Support IP_MULTICAST_LOOP.
10223         * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
10224         SO_REUSEADDR support.
10225         (getOption): Support SO_REUSEADDR.
10227 2005-01-28  Jeroen Frijters  <jeroen@frijters.net>
10229         PR libgcj/19649
10230         * java/util/Date.java
10231         (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
10232         constructor.
10233         (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
10234         arguments.
10235         (getTimezoneOffset): Inverted sign.
10237 2005-01-26  Ranjit Mathew  <rmathew@hotmail.com>
10239         * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
10240         remove other passing tests and add new XFAILs.
10242 2005-01-24  Tom Tromey  <tromey@redhat.com>
10244         * java/lang/Class.h (next): Updated documentation.  Renamed to
10245         'next_or_version'.
10246         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
10247         _Jv_CheckABIVersion.
10248         (_Jv_RegisterClasses_Counted): Likewise.
10249         (_Jv_RegisterClassHookDefault): Fix starting condition of
10250         duplicate-checking loop.
10251         * include/jvm.h (GCJ_VERSION): New define.
10252         (GCJ_BINARYCOMPAT_ADDITION): Likewise.
10253         (_Jv_CheckABIVersion): New function.
10255 2005-01-24  Jakub Jelinek  <jakub@redhat.com>
10257         * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
10258         (libgij_la_LDFLAGS): Add.
10259         * Makefile.in: Rebuilt.
10261 2005-01-24  Roger Sayle  <roger@eyesopen.com>
10263         PR java/19295
10264         * testsuite/libjava.compile/PR19295.java: New test case.
10266 2005-01-19  Tom Tromey  <tromey@redhat.com>
10268         * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
10269         * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
10270         if 'handler' is valid.
10272 2005-01-17  Tom Tromey  <tromey@redhat.com>
10274         * java/text/MessageFormat.java (scanString): Changed how quoting
10275         is handled.
10276         (scanFormatElement): Likewise.
10278 2004-12-07  Mark Wielaard  <mark@klomp.org>
10280         * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
10282 2005-01-15  Michael Koch  <konqueror@gmx.de>
10284         PR libgcj/19444
10285         * java/net/URI.java
10286         (AUTHORITY_REGEXP): New regexp constant.
10287         (AUTHORITY_USERINFO_GROUP): New constant.
10288         (AUTHORITY_HOST_GROUP): Likewise.
10289         (AUTHORITY_PORT_GROUP): Likewise.
10290         (port): Changed default value to -1.
10291         (parseURI): Parse authority part and initialize host,
10292         port and userInfo.
10294 2005-01-14  Robin Green  <greenrd@greenrd.org>
10296         * java/io/File.java (toURI): Generate a URI which we understand.
10298 2005-01-13  Graydon Hoare  <graydon@redhat.com>
10300         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
10301         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
10302         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
10303         * jni.cc: Reuse bottom frame between calls, avoid clearing
10304         frame when no local references are made.
10306 2005-01-13  Michael Koch  <konqueror@gmx.de>
10308         PR libgcj/17784
10309         * java/lang/Thread.java
10310         (Thread): Call checkAccess().
10311         (stop): Fixed argument name to match javadoc.
10312         * java/lang/natThread.cc
10313         (interrupt): Call checkAccess().
10314         (stop): Likewise.
10316 2005-01-11  Michael Koch  <konqueror@gmx.de>
10318         PR libgcj/13972
10319         * java/net/URL.java (URL): Handle specs like
10320         "/redir?http://domain2.com/index.html" which start with a slash.
10322 2005-01-11  Michael Koch  <konqueror@gmx.de>
10324         PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
10325         * gnu/java/net/BASE64.java,
10326         gnu/java/net/EmptyX509TrustManager.java,
10327         gnu/java/net/LineInputStream.java,
10328         gnu/java/net/protocol/http/Authenticator.java,
10329         gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
10330         gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
10331         gnu/java/net/protocol/http/ChunkedInputStream.java,
10332         gnu/java/net/protocol/http/Cookie.java,
10333         gnu/java/net/protocol/http/CookieManager.java,
10334         gnu/java/net/protocol/http/Credentials.java,
10335         gnu/java/net/protocol/http/HTTPConnection.java,
10336         gnu/java/net/protocol/http/HTTPDateFormat.java,
10337         gnu/java/net/protocol/http/HTTPURLConnection.java,
10338         gnu/java/net/protocol/http/Headers.java,
10339         gnu/java/net/protocol/http/Request.java,
10340         gnu/java/net/protocol/http/RequestBodyWriter.java,
10341         gnu/java/net/protocol/http/Response.java,
10342         gnu/java/net/protocol/http/ResponseBodyReader.java,
10343         gnu/java/net/protocol/http/ResponseHeaderHandler.java,
10344         gnu/java/net/protocol/http/SimpleCookieManager.java,
10345         gnu/java/net/protocol/http/event/ConnectionEvent.java,
10346         gnu/java/net/protocol/http/event/ConnectionListener.java,
10347         gnu/java/net/protocol/http/event/RequestEvent.java,
10348         gnu/java/net/protocol/http/event/RequestListener.java: New files.
10349         * gnu/java/net/protocol/http/Connection.java: Removed.
10350         * gnu/java/net/protocol/http/Handler.java,
10351         javax/net/ssl/HttpsURLConnection.java: Updated.
10352         * Makefile.am: Added new files and remove old ones.
10353         * Makefile.in: Regenerated.
10355 2005-01-11  Tom Tromey  <tromey@redhat.com>
10357         PR libgcj/18840:
10358         * java/io/BufferedInputStream.java (read): Repeatedly read to
10359         fill buffer.
10360         (refill): Change test to see if buffer must be grown.
10362 2005-01-10  Tom Tromey  <tromey@redhat.com>
10364         * mauve-libgcj: Exclude some swing tests.
10366 2005-01-10  Tom Tromey  <tromey@redhat.com>
10368         PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
10369         * java/lang/Package.java (getPackages): Use VMClassLoader when
10370         appropriate.
10371         (getPackage): Likewise.
10372         * prims.cc (_Jv_CreateJavaVM): Call
10373         _Jv_RegisterBootstrapPackages.
10374         * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
10375         * java/lang/VMClassLoader.java (getPackage): Rewrote.
10376         (getPackages): Likewise.
10377         (definedPackages): New field.
10378         (definePackageForNative): New method.
10379         * java/lang/Class.h (_Jv_FindClassInCache): Updated.
10380         * java/lang/natVMClassLoader.cc (loadClass): Updated.
10381         * defineclass.cc (handleClassBegin): Use
10382         ClassLoader.findLoadedClass.
10383         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
10384         Rewrote.
10385         (struct _Jv_LoaderInfo): Removed.
10386         (initiated_classes): Likewise.
10387         (_Jv_UnregisterClass): Don't use initiated_classes.
10388         (_Jv_FindClassInCache): Likewise.  Removed 'loader' argument.
10389         (_Jv_FindClass): Register classes found during boostrap.
10390         (BOOTSTRAP_CLASS_LIST_SIZE): New define.
10391         (bootstrap_class_list): New global.
10392         (bootstrap_index): Likewise.
10393         (_Jv_RegisterBootstrapPackages): New function.
10394         * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
10395         definePackageForNative.
10396         (findClass): Updated.
10397         * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
10398         New method.
10400 2005-01-10  Tom Tromey  <tromey@redhat.com>
10402         PR libgcj/18868:
10403         * include/jvm.h (_Jv_Linker::find_field): Declare.
10404         (_Jv_Linker::find_field_helper): Likewise.
10405         * link.cc (find_field_helper): New method.
10406         (find_field): Likewise.
10407         (resolve_pool_entry): Use it.  Throw NoSuchFieldError when field
10408         not found.
10409         (link_symbol_table): Use find_field.
10411 2005-01-10  Michael Koch  <konqueror@gmx.de>
10413         PR libgcj/18014
10414         * java/util/Locale.java (Locale): Don't uppercase variant.
10415         (getISOCountries): Fixed typo in javadoc.
10417 2005-01-10  Michael Koch  <konqueror@gmx.de>
10419         * java/util/SimpleTimeZone.java (checkRule):
10420         Throw IllegalArgumentException on invalid month values.
10421         * java/util/TimeZone.java (setID):
10422         Throw NullPointerException if needed.
10424 2005-01-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10426         * java/util/SimpleTimeZone.java (getOffset):
10427         offset end date with daylight savings
10429 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
10431         * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
10432         * testsuite/libjava.compile/PR19277.xfail: Likewise.
10434 2005-01-09  Michael Koch  <konqueror@gmx.de>
10436         PR libgcj/17069
10437         * java/net/InetAddress.java (getLocalHost):
10438         Throw UnknownHostException if local hostname cannot be determined.
10440 2005-01-06  Tom Tromey  <tromey@redhat.com>
10442         * java/lang/ClassLoader.java (findClass): Fixed documentation.
10444 2005-01-07  Michael Koch  <konqueror@gmx.de>
10446         PR libgcj/18115
10447         * java/nio/Buffer.java (address): New field.
10448         * java/nio/DirectByteBufferImpl.java (address): Removed.
10449         * java/nio/MappedByteBufferImpl.java (address): Likewise.
10450         * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
10451         Explicitly initialize Buffer.address if needed.
10452         * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
10453         * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
10454         * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
10455         * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
10456         * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
10457         * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
10458         DirectByteBufferImpl object.
10459         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10460         * testsuite/libjava.jni/directbuffer.c,
10461         testsuite/libjava.jni/directbuffer.java,
10462         testsuite/libjava.jni/directbuffer.out,
10463         testsuite/libjava.jni/bytebuffer.c,
10464         testsuite/libjava.jni/bytebuffer.java,
10465         testsuite/libjava.jni/bytebuffer.out: New files.
10467 2005-01-05  Tom Tromey  <tromey@redhat.com>
10469         * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
10470         argument.
10471         (compressedSize): Now 'long'.  Default to -1.
10472         (getCompressedSize): Rewrote.
10473         * java/util/zip/DeflaterOutputStream.java (deflate): Don't
10474         deflate at all if we need input.
10476 2005-01-05  Tom Tromey  <tromey@redhat.com>
10478         PR libgcj/15719:
10479         * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
10480         correctly.
10482 2005-01-05  Tom Tromey  <tromey@redhat.com>
10484         * java/lang/natRuntime.cc (insertSystemProperties): Set
10485         java.ext.dirs earlier.
10487 2005-01-05  Eric Botcazou  <ebotcazou@libertysurf.fr>
10489         * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
10490         sync_info element of the object if needed.
10492 2005-01-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
10494         * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
10495         a non-zero exit status from 'false'.
10497 2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
10499         * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.