OSDN Git Service

298bfeca76ae154e67d1920061e190c0ba9e191f
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-04-06  Andrew Haley  <aph@redhat.com>
2
3         * testsuite/libjava.lang/bytearray.java: New file.
4         * testsuite/libjava.lang/bytearray.out: New file.
5         * java/lang/ClassLoader.java (loadClassFromSig): Declare
6         (loadClass): Use it.
7         * java/lang/natClassLoader.cc (loadClassFromSig): New method.
8
9 2005-04-06  Mohan Embar  <gnustuff@thisiscool.com>
10
11         * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
12         gcj-dbtool dependency
13         * Makefile.in: Regenerated
14
15 2005-04-06  Bryce McKinlay  <mckinlay@redhat.com>
16
17         * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
18         NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
19
20 2005-04-05  Andrew Haley  <aph@redhat.com>
21
22         * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
23         (Tokenizer): New class.
24         (getFiles): New method.
25         (main): Add "-" argument.
26         Add "-0" argument.
27         Read list of files from stdin when merging map databases.
28         (usage):  Add "-" argument.
29         Add "-0" argument.
30         Minor corrections.
31
32 2005-04-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
33
34         PR libgcj/20750
35         * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
36         * Makefile.in: Regenerate.
37         * configure.ac: Add --with-java-home option.
38         * configure: Regenerate.
39         * external/Makefile.in: Regenerate.
40         * external/sax/Makefile.in: Regenerate.
41         * external/w3c_dom/Makefile.in: Regenerate.
42         * gcj/Makefile.in: Regenerate.
43         * include/Makefile.in: Regenerate.
44         * testsuite/Makefile.in: Regenerate.
45         * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
46         to JAVA_HOME macro.
47
48 2005-04-05  Tom Tromey  <tromey@redhat.com>
49
50         * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
51         * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
52         Rewrote to use _Jv_FindClassFromSignature.
53         * verify.cc (resolve): throw NoClassDefFoundError.
54         * link.cc (resolve_field): Throw NoClassDefFoundError.
55         (find_field): Likewise.
56         * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
57         Handle error cases.  Added 'endp' argument.
58         * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
59
60 2005-04-05  Tom Tromey  <tromey@redhat.com>
61
62         * Makefile.in: Rebuilt.
63         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
64         gtk_awt_peer_sources.
65         (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
66         (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
67         ($(gtk_awt_peer_sources:.java=.lo)): Removed.
68         (gtk-awt-peer.lo): New target.
69
70 2005-04-04  Steve Pribyl <steve@netfuel.com>
71
72         PR libgcj/20761
73         * configure.ac: Fix fastjar definition for cross builds.
74         * configure: Rebuilt.
75
76 2005-04-04  Tom Tromey  <tromey@redhat.com>
77
78         * java/lang/ClassLoader.java (loadClass): Resolve class even if
79         it was already found.
80
81 2005-04-04  Tom Tromey  <tromey@redhat.com>
82
83         * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
84         org.metastatic.jessie.
85
86 2005-04-02  Anthony Green  <green@redhat.com>
87
88         PR libgcj/20727
89         * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
90
91 2005-04-02  Mark Wielaard  <mark@klomp.org>
92
93         * javax/naming/directory/BasicAttributes.java (equals): Compare to any
94         Attributes and attribute order doesn't matter.
95         (BasicAttributesEnumeration.where): Initialize to zero.
96         (BasicAttributesEnumeration.nextElement): Update and compare where
97         appropriately (zero based).
98
99 2005-04-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
100
101         PR libgcj/20090, PR libgcj/20526
102         * gij.cc (nonstandard_opts_help): New function.
103         (add_option): New function.
104         (main): Support java options.  Set java.class.path.  Don't set
105         _Jv_Jar_Class_Path.
106         * prims.cc (parse_x_arg): New function.
107         (parse_init_args): Call parse_x_arg for -X and _ options, when
108         ignoreUnrecognized is true.
109         (new _Jv_RunMain): New vm_args variant.
110         (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
111         (_Jv_Jar_Class_Path): Remove variable.
112         * include/java-props.h: Likewise.
113         * include/cni.h (JvRealloc): New function.
114         * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
115         * java/lang/natRuntime.cc (insertSystemProperties): Remove
116         _Jv_Jar_Class_Path logic.  Use JV_VERSION and JV_API_VERSION
117         macros.
118         * configure.ac (JV_VERSION): Define.
119         (JV_API_VERSION): Likewise.
120         * configure: Regenerate.
121         * include/config.h.in: Regenerate.
122
123 2005-04-01 Mark Anderson <mark@panonet.net>
124
125         * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
126         -Infinity as parameters.
127
128 2005-04-01  Michael Koch  <konqueror@gmx.de>
129
130         * java/io/PipedInputStream.java
131         (read): Make sure a positive byte value is returned. Revised javadoc.
132         Thanks to Olafur Bragason for reporting these bugs.
133
134 2005-04-01  Tom Tromey  <tromey@redhat.com>
135
136         * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
137         Updated for name change.
138         (nativeFindClass): New method.
139         (loadClass): Use nativeFindClass.
140         * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
141         form of loadClass.
142         * java/lang/VMClassLoader.java (tried_libraries, lib_control,
143         LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
144         VMClassLoader.
145         (initialize): New method.
146         (nativeFindClass): Declare.
147         * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
148         * gnu/gcj/runtime/VMClassLoader.java: Removed.
149         * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
150         VMClassLoader.java.
151         (definePackageForNative): Removed.
152         (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
153         Moved to VMClassLoader.java.
154         * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
155         * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
156         (ordinary_java_source_files): Added ExtensionClassLoader.java,
157         removed VMClassLoader.java.
158         (nat_source_files): Removed natVMClassLoader.cc.
159
160 2005-04-01  Tom Tromey  <tromey@redhat.com>
161
162         * Makefile.in: Rebuilt.
163         * Makefile.am (db_pathtail): Use $(gcc_version), not
164         @gcc_version@.
165
166 2005-04-01  Jeroen Frijters  <jeroen@frijters.net>
167
168         * java/util/Timer.java
169         (run): Stop the queue if a task throws an exception.
170
171 2005-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
172
173         * javax/swing/text/JTextComponent.java (viewToModel): New method.
174
175 2005-03-29  Ian Lance Taylor  <ian@airs.com>
176
177         * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
178         * external/sax/Makefile.in: Rebuild.
179         * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
180         "-fclasspath=".
181         * external/w3c_dom/Makefile.in: Rebuild.
182
183 2005-03-29  Tom Tromey  <tromey@redhat.com>
184
185         * java/lang/natRuntime.cc (insertSystemProperties): Set
186         gnu.gcj.runtime.endorsed.dirs.
187         * Makefile.in: Rebuilt.
188         * Makefile.am (ordinary_java_source_files): Added
189         HelperClassLoader.java.
190         (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
191         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
192         HelperClassLoader.
193         (init): Use addDirectoriesFromProperty.
194         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
195         HelperClassLoader.  Use addDirectoriesFromProperty.  Handle
196         gnu.gcj.runtime.endorsed.dirs.
197         * gnu/gcj/runtime/HelperClassLoader.java: New file.
198
199 2005-03-26  Chris Burdess  <dog@gnu.org>
200
201         * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
202         required.
203
204 2005-03-13  Michael Koch  <konqueror@gmx.de>
205
206         * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
207
208 2005-03-11  Chris Burdess  <dog@gnu.org>
209
210         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
211         warnings.
212
213 2005-02-27  Chris Burdess  <dog@gnu.org>
214
215         * gnu/xml/aelfred2/JAXPFactory.java,
216         gnu/xml/aelfred2/SAXDriver.java,
217         gnu/xml/aelfred2/XmlParser.java,
218         gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
219         formatting conventions. Replaced arrays of Object with struct-like
220         classes for easier maintainability. Made SAXDriver.stringInterning
221         package private to allow access from XmlParser inside the loop without
222         a method call overhead.
223
224 2005-03-11  Chris Burdess  <dog@gnu.org>
225
226         * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
227         warnings.
228
229 2005-03-28  Alexandre Oliva  <aoliva@redhat.com>
230
231         * configure.ac: Revert 2005-03-25's patch.  Propagate MULTIlib
232         settings to sub Makefiles.
233         (GCJH, ZIP): Prefix with top_builddir.
234         * configure: Rebuild.
235         * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
236         * external/w3c_dom/Makefile.in: Rebuild.
237         * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
238         * external/sax/Makefile.in: Rebuild.
239
240 2005-03-28  Eric Botcazou  <ebotcazou@libertysurf.fr>
241
242         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
243         libsocket to the libraries to link for Solaris.
244
245 2005-03-28  Per Bothner  <per@bothner.com>
246
247         * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
248         which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
249
250 2005-03-27  Andreas Tobler  <a.tobler@schweiz.ch>
251
252         * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
253         to fix a ONESTEP fallout.
254         * Makefile.in: Regenerate.
255
256 2005-03-25  Mike Stump  <mrs@apple.com>
257
258         * configure.ac: Fix ZIP and GCJH at configure time to absolute
259         paths like we do for the compiler, as we use it in external/sax
260         and it doesn't get MULTIBUILDTOP right when multilibing.
261
262 2005-03-24  Anthony Green  <green@redhat.com>
263
264         * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
265         -p option.
266         (usage): Add [LIBDIR] to help output.
267         * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
268         * Makefile.am (AM_CXXFLAGS): Define
269         LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
270         (db_pathtail): New macro.
271
272 2005-03-24  Tom Tromey  <tromey@redhat.com>
273
274         * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
275         add sax and w3c libraries.
276         * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
277         libw3c-gcj.la.
278         * external/w3c_dom/Makefile.in: Rebuilt.
279         * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
280         AM_GCJFLAGS.
281         (libw3c_gcj_la_LDFLAGS): New variable.
282         (noinst_LTLIBRARIES): Renamed.
283         * external/sax/Makefile.in: Rebuilt.
284         * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
285         AM_GCJFLAGS.
286         (libsax_gcj_la_LDFLAGS): New variable.
287         (noinst_LTLIBRARIES): Renamed.
288
289 2005-03-23  Tom Tromey  <tromey@redhat.com>
290
291         * Makefile.in: Rebuilt.
292         * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
293         (libgcj0_convenience_la_SOURCES): Don't include
294         gnu_xml_source_files.
295         (libgcj0_convenience_la_LIBADD): New variable.
296         (libgcj_la_LIBADD): Don't include sax or w3c_dom.
297         (all_java_source_files): javax_imageio_source_files,
298         javax_xml_source_files, and gnu_java_beans_source_files.
299         ($(gnu_xml_source_files:.java=.lo)): Removed target.
300         (gnu-xml.lo): New target.
301         (javax-imageio.lo): Likewise.
302         (javax-xml.lo): Likewise.
303         (gnu-java-beans.lo): Likewise.
304         (gnu_java_beans_source_files): New variable.
305         (javax_imageio_source_files): Likewise.
306         (javax_xml_source_files): Likewise.
307         (javax_source_files): Moved files to other variable.
308         (awt_java_source_files): Likewise.
309         (ordinary_java_source_files): Added BootClassLoader.java.
310         * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
311         not system class loader.
312         (initBootLoader): New method.
313         (loadClass): Search bootLoader.
314         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
315         boot loader, not system class loader.
316         (_Jv_UnregisterInitiatingLoader): Likewise.
317         (_Jv_FindClass): Likewise.  Ensure entries in
318         bootstrap_class_list are unique.
319         * java/lang/natClass.cc (getClassLoader): Don't special case
320         system class loader.
321         * java/lang/VMClassLoader.java (bootLoader): New field.
322         (getResource): Use bootLoader.
323         (getResources): Likewise.
324         (initBootLoader): Declare.
325         * gnu/gcj/runtime/BootClassLoader.java: New file.
326         * external/sax/org/xml/sax/helpers/NamespaceSupport.java
327         (EMPTY_ENUMERATION): Now package-private.
328         * external/w3c_com/Makefile.in: Rebuilt.
329         * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
330         (w3c.jar): New target.
331         (classes.stamp): Updated.
332         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
333         Changed name of library.
334         (libw3c_gcj_la_SOURCES): New variable.
335         (libw3c_gcj_la_GCJFLAGS): Likewise.
336         (source_files): Renamed from lib3c_convenience_la_SOURCES.
337         * external/sax/Makefile.in: Rebuilt.
338         * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
339         (sax.jar): New target.
340         (classes.stamp): Updated.
341         (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
342         Changed name of library.
343         (libsax_gcj_la_SOURCES): New variable.
344         (libsax_gcj_la_GCJFLAGS): Likewise.
345         (source_files): Renamed from libsax_convenience_la_SOURCES.
346         * stacktrace.cc (non_system_trace_fn): Don't look at system class
347         loader.
348         * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
349         loader.
350         (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
351
352 2005-03-23  Sven de Marothy  <sven@physto.se>
353
354         PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
355         PR libgcj/11085:
356         * java/util/Calendar.java
357         (set): Use starting day of week when one is needed if none is given.
358         * java/text/SimpleDateFormat.java
359         (parse): Handle 1-12 and 1-24 timestamps correctly.
360         * java/util/GregorianCalendar.java
361         (computeTime, computeFields): HOUR should be in 0-11 format.
362         (nonLeniencyCheck): Adjust leniency checking to that fact.
363         (getLinearDay): Should be private.
364
365 2005-03-23  Tom Tromey  <tromey@redhat.com>
366  
367         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
368         (_Jv_CheckABIVersion): Use it.
369
370 2005-03-22  Mike Stump  <mrs@apple.com>
371
372         * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
373
374         * include/posix.h: .dylib is used on all Apple MACH platforms.
375         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
376
377 2005-03-22  Tom Tromey  <tromey@redhat.com>
378
379         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
380
381 2005-03-21  Tom Tromey  <tromey@redhat.com>
382
383         * java/lang/VMCompiler.java (static block): Also catch
384         BufferUnderflowException.
385
386 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
387
388         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
389         set tool_include_dir.  In all substitutions, leave $(gcc_version)
390         to be expanded by the Makefile.
391         * aclocal.m4, configure: Regenerate.
392         * Makefile.am: Set gcc_version.  Replace all uses of
393         @gcc_version@ with $(gcc_version).
394         * external/Makefile.am, external/sax/Makefile.am
395         * external/w3c_dom/Makefile.am, gcj/Makefile.am
396         * testsuite/Makefile.am: Set gcc_version.
397         * include/Makefile.am: Set gcc_version and tool_include_dir.
398         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
399         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
400         * testsuite/Makefile.in: Regenerate.
401
402 2005-03-17  Andrew Haley  <aph@redhat.com>
403
404         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
405         arg: klass.
406         Pass klass to _Jv_StackTrace::GetClassContext().
407         * java/lang/ClassLoader.java (getParent): Pass class to
408         VMSecurityManager.getClassContext()
409         (getSystemClassLoader): Likewise.
410         * java/lang/Package.java (getPackage): Likewise.
411         (getPackages): Likewise.
412         * java/lang/SecurityManager.java (getClassContext): Likewise.
413         (currentClassLoader): Likewise.
414         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
415         (currentClassLoader) Add new arg: caller.
416         Pass caller to VMSecurityManager.getClassContext.
417
418         * stacktrace.cc (GetClassContext): Correct calculation of
419         jframe_count.
420
421         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
422         im->source_file_name.
423
424 2005-03-16  Andrew Haley  <aph@redhat.com>
425
426         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
427
428 2005-03-16  Tom Tromey  <tromey@redhat.com>
429
430         * link.cc (ensure_class_linked): Removed #ifdef.
431         (print_class_loaded): Likewise.
432         (wait_for_state): Likewise.
433         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
434         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
435         * include/java-interp.h: ... here.
436
437 2005-03-16  Tom Tromey  <tromey@redhat.com>
438
439         * gnu/java/lang/MainThread.java (run): Load main class using
440         system class loader.
441
442 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
443
444         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
445         lgcc_s to the libraries to link for Darwin.
446
447 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
448
449         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
450         interpreter-specific code with #ifdef INTERPRETER.
451         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
452         (_Jv_StackTrace::FillInFrameInfo): Likewise.
453         (_Jv_StackTrace::non_system_trace_fn): Likewise.
454         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
455         #ifdef INTERPRETER. Also protect declarations that use it.
456         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
457         #ifdef INTERPRETER block.
458
459 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
460
461         PR libgcj/20251
462         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
463         * Makefile.in: Rebuilt.
464
465 2005-03-15  David Daney  <ddaney@avtrex.com>
466
467         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
468         count == 0 case.
469
470 2005-03-15  David Daney  <ddaney@avtrex.com>
471
472         * java/io/BufferedInputStream.java (available): Use 'in' instead
473         of 'super' for underlying stream access.
474         (close): Ditto.
475         (read(byte[], int, int)): Ditto.
476         (refill): Ditto.
477         (skip): Call skip on underlying stream when possible.
478
479 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
480
481         * stacktrace.cc (GetCallerInfo): Return nothing in case of
482         SJLJ_EXCEPTIONS is defined.
483
484 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
485
486         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
487         tests.
488
489 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
490
491         * testsuite/lib/libjava.exp (libjava_init): Use the same target
492         check for Darwin.
493         (libjava_arguments): Likewise.
494
495         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
496         (gcj_jni_test_one): Likewise.
497         (gcj_jni_invocation_compile_c_to_binary): Likewise.
498         Add flags to keep the Darwin linker quiet.
499         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
500         Add -liconv for Darwin.
501
502 2005-03-11  Tom Tromey  <tromey@redhat.com>
503
504         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
505         (_Jv_CheckABIVersion): Use it.
506
507 2005-03-11  Tom Tromey  <tromey@redhat.com>
508
509         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
510         (usage): Document '-p'.
511         * Makefile.in: Rebuilt.
512         * Makefile.am (dbexecdir): New variable.
513         (db_name): Likewise.
514         (dbexec_DATA): Likewise.
515         ($(db_name)): New target.
516         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
517         * java/lang/natRuntime.cc (insertSystemProperties): Set default
518         system database.
519
520 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
521
522         * exception.cc: Remove stray MethodRef.h include.
523         * java/lang/natClass.cc: Likewise.
524         * gnu/gcj/runtime/MethodRef.java: Removed.
525         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
526         gnu/gcj/runtime/natStackTrace.cc: Really removed.
527         * java/lang/natRuntime.cc (_load): Remove unsed variable.
528         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
529         * Makefile.in: Rebuilt.
530
531 2005-03-10  Tom Tromey  <tromey@redhat.com>
532
533         * Makefile.in: Rebuilt.
534         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
535
536 2005-03-10  Chris Burdess  <dog@bluezoo.org>
537
538         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
539         not currently parsing the DTD.
540
541 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
542
543         New Stack Trace infrastructure.
544         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
545         (gnu/gcj/runtime/StackTrace.java): Removed.
546         (ordinary_java_source_files): Remove obsolete files.
547         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
548         * configure.host (fallback_backtrace_h): Set backtrace header
549         for mingw and cygwin targets.
550         * configure.ac: Make symlink for fallback backtrace headers.
551         * Makefile.in, configure: Rebuilt.
552         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
553         Read 'LineNumberTable' attribute.
554         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
555         attribute.
556         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
557         table fields.
558         * exception.cc: Remove unused include.
559         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
560         (SAVE_PC): New macro. Save current PC in the interpreter frame.
561         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
562         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
563         table to direct threaded instruction values.
564         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
565         (_Jv_InterpMethod::run): No longer member function. All
566         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
567         is made or where an instruction could throw.
568         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
569         in line_table.
570         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
571         (catch_fpe): Likewise.
572         * stacktrace.cc: New file. Stack trace code now here.
573         * gnu/gcj/runtime/MethodRef.java:
574         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
575         calls addr2line to look up PC addresses in a given binary or shared
576         library.
577         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
578         gnu/gcj/runtime/natStackTrace.cc: Removed.
579         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
580         this function name is specially recognised by the stack trace code
581         and shouldn't be changed.
582         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
583         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
584         (_Jv_InterpMethod::run): Update declaration.
585         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
586         friends.
587         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
588         * include/java-stack.h: New file. Declarations for stack tracing.
589         * include/jvm.h (_Jv_Frame_info): Removed.
590         * java/lang/Class.h: Update friend declarations.
591         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
592         exception message.
593         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
594         (getStackTrace): Now native.
595         (data): New RawDataManaged field.
596         * java/lang/natClass.cc: Update includes.
597         (forName): Use _Jv_StackTrace::GetCallingClass for
598         calling-classloader check.
599         (getClassLoader): Likewise.
600         * java/lang/natRuntime.cc: Update includes.
601         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
602         * java/lang/natVMSecurityManager.cc: Update includes.
603         (getClassContext): Use _Jv_StackTrace::GetClassContext.
604         * java/lang/natVMThrowable.cc: New file. Native methods for
605         VMThrowable.
606         * java/lang/reflect/natArray.cc: Update includes.
607         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
608         accessibility check.
609         * java/lang/reflect/natConstructor.cc: Update includes.
610         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
611         accessibility check.
612         * java/lang/reflect/natField.cc: Update includes.
613         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
614         accessibility check.
615         * java/lang/reflect/natMethod.cc: Update includes.
616         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
617         accessibility check.
618         * java/util/natResourceBundle.cc: Update includes.
619         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
620         * java/util/logging/natLogger.cc: Update includes. Use
621         _Jv_StackTrace::GetCallerInfo to get call-site info.
622         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
623         implementation.
624         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
625         implementation.
626
627 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
628
629         * testsuite/libjava.compile/PR20312.java: New file.
630         * testsuite/libjava.compile/PR20312.xfail: Likewise.
631         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
632
633 2005-03-09  Andrew Haley  <aph@redhat.com>
634
635         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
636         New.
637         (smallTransferTo): New.
638         (transferFrom): Loop around smallTransferFrom, copying pageSize
639         bytes each time.
640         (transferTo): Likewise.
641
642 2005-03-09  David Daney  <ddaney@avtrex.com>
643
644         PR libgcj/20389
645         Merge BufferedInputStream from GNU Classpath.
646         * java/io/BufferedInputStream.java (marktarget): Field removed.
647         (CHUNKSIZE): Field removed.
648         (bufferSize): New field.
649         (BufferedInputStream): Initialize fields.
650         (close): Invalidate mark and buffer indexes.
651         (mark):  Rewritten.
652         (read()): Move mark handling code to refill.
653         (read(byte[], int, int)): Ditto.
654         (skip): Ditto and simplify EOF testing.
655         (refill): Rewritten.
656         * java/io/InputStreamReader.java (refill): Removed mark and reset
657         of internal BufferedInputStream.
658
659 2005-03-09  Tom Tromey  <tromey@redhat.com>
660
661         * java/lang/natVMClassLoader.cc (defineClass): Reference
662         'systemClassLoader' field directly.
663         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
664         field directly.
665         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
666         Reference 'systemClassLoader' field directly.
667         (_Jv_UnregisterInitiatingLoader): Likewise.
668         (_Jv_FindClass): Likewise.
669
670 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
671
672         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
673
674         * java/lang/mprec.h: Remove commented headers. Fix comment to match
675         the file in GNU Classpath style.
676
677 2005-03-09  Tom Tromey  <tromey@redhat.com>
678
679         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
680         (toString): Synchronize.
681
682 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
683
684         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
685         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
686
687 2005-03-07  Tom Tromey  <tromey@redhat.com>
688
689         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
690         (usage): Document '-f'.
691
692 2005-03-07  Tom Tromey  <tromey@redhat.com>
693
694         * java/lang/VMCompiler.java (md5Digest): New field.
695         (compileClass): Clone md5Digest instead of looking up a new one.
696
697 2005-03-07  Tom Tromey  <tromey@redhat.com>
698
699         PR java/20215:
700         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
701         * link.cc (find_field_helper): Added 'type' argument.
702         (find_field): Updated.
703
704 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
705         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
706         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
707         throw UnsupportedOperationException, fixed comments.
708         (setFont, setForeground): Fixed comments.
709         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
710         return type to boolean.
711         (getNextEvent): Fixed javadocs.
712         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
713         (nativeQueueEmpty): Removed unused code.
714         (iterateNativeQueue): Removed outer loop.
715
716 2005-03-06  Roger Sayle  <roger@eyesopen.com>
717
718         PR libgcj/20155
719         * Makefile.am (libgcj0_convenience.la): Revert last change.
720         * Makefile.in: Regenerate.
721
722 2005-03-05  Anthony Green  <green@redhat.com>
723
724         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
725         classpath_jawt_lock, classpath_jawt_unlock): New functions.
726         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
727         (_Jv_GetDrawingSurface): Set visualID.
728         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
729         (JAWT_GetAWT): Set Lock and Unlock.
730         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
731         visualID.
732         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
733         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
734         JAWT_LOCK_SURFACE_CHANGED): New macros.
735         (struct _JAWT): Add Lock and Unlock.
736
737 2005-03-05  Roger Sayle  <roger@eyesopen.com>
738             Alexandre Oliva  <aoliva@redhat.com>
739             Kelley Cook  <kcook@gcc.gnu.org>
740
741         PR libgcj/20155
742         * Makefile.am (libgcj0_convenience.la): New rule to create a file
743         of the object files to link to avoid exceeding the command line
744         length limits on some platforms.
745         (clean-local): Clean up objectlist files.
746         * Makefile.in: Regenerate.
747
748 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
749
750         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
751         spec_case. Initialize pointer mlo.
752
753         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
754         delta.
755
756         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
757
758         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
759         and k.
760
761         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
762         uninitialized variable z.
763
764         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
765         possible unused variables.
766
767         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
768
769         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
770
771 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
772
773         PR libgcj/20292
774         * testsuite/libjava.jni/jni.exp
775         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
776         flags.
777         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
778
779 2005-02-23  David Daney  <ddaney@avtrex.com>
780
781         * configure.host: Don't use -mxgot for MIPS builds.
782
783 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
784
785         PR bootstrap/17383
786         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
787         (COMPPATH): Removed.
788         (ZIP, GCJH): Replace it with ../$(host_subdir).
789         (built_gcc_dir): Add $(host_subdir).
790         * configure: Regenerate.
791         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
792         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
793         external/w3c_dom/Makefile.in: Regenerate.
794
795 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
796
797         * java/awt/font/TextAttribute.java: changed names to lower case;
798         (readResolve): implemented.
799         Added doc comments all over.
800
801 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
802
803         PR libgcj/16923
804         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
805         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
806         value.  Move argument parsing code to prims.cc.
807         * prims.cc (no_properties): Remove.
808         (_Jv_Compiler_Properties): Initialize to NULL.
809         (_Jv_Properties_Count): Initialize to 0.
810         (parse_verbose_args): New function.
811         (parse_init_args): New function.
812         (_Jv_CreateJavaVM): Call parse_init_args.
813         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
814         * gcj/cni.h (JvVMOption): New struct.
815         (JvVMInitArgs): Likewise.
816         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
817         void*.
818         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
819         (_Jv_VMInitArgs): Likewise.
820         * include/java-props.h (_Jv_Properties_Count): Declare.
821         * java/lang/natRuntime.cc (insertSystemProperties): Use
822         _Jv_Properties_Count in for loop exit condition.
823         * testsuite/libjava.jni/jni.exp
824         (gcj_invocation_compile_c_to_binary): New procedure.
825         (gcj_invocation_test_one): Likewise.
826         (gcj_jni_run): Run JNI invocation API tests.
827         * testsuite/libjava.jni/invocation/PR16923.c,
828         testsuite/libjava.jni/invocation/PR16923.java,
829         testsuite/libjava.jni/invocation/PR16923.out: New test.
830
831 2005-02-23  Michael Koch  <konqueror@gmx.de>
832
833         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
834         * Makefile.in: Regenerated.
835
836 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
837
838         * gnu/java/nio/ChannelReader: Fixed comments.
839
840 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
841
842         * java/nio/channels/Channels: Added FIXMEs about
843         stub method implementation.
844         (newReader): Implemented.
845         * gnu/java/nio/ChannelReader: New class.
846
847 2005-02-23  Michael Koch  <konqueror@gmx.de>
848
849         * java/text/SimpleDateFormat.java:
850         Removed unused import.
851
852 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
853
854         PR libgcj/20029:
855         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
856         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
857         * Makefile.in: Regenerate.
858         * configure.ac: Check for libXtst.
859         * configure: Regenerate.
860
861 2005-02-22  Mark Wielaard  <address@bogus.example.com>
862
863         * java/security/AlgorithmParameterGenerator.java (getInstance):
864         Mention provider when throwing NoSuchProviderException.
865         * java/security/AlgorithmParameters.java (getInstance): Likewise.
866         * java/security/KeyFactory.java (getInstance): Likewise.
867         * java/security/KeyStore.java (getInstance): Likewise.
868         * java/security/SecureRandom.java (getInstance): Likewise.
869         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
870
871 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
872
873         * java/lang/reflect/Proxy.java,
874         java/net/URL.java,
875         java/security/SecureRandom.java,
876         java/util/Timer.java,
877         java/util/prefs/AbstractPreferences.java:
878         Don't catch java.lang.ThreadDeath.
879
880 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
881
882         * java/awt/font/TransformAttribute.java,
883         (TransformAttribute(AffineTransform)): throw
884         IllegalArgumentException for null transform.
885         (getTransform): return a copy of transform.
886         Added doc comments to all.
887
888 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
889
890         * java/io/Externalizable.java,
891         java/io/Serializable.java
892         (serialVersionUID): Removed.
893         * java/rmi/server/RemoteObject.java,
894         java/rmi/server/UID.java
895         (serialVersionUID): Made private.
896         * java/rmi/server/RemoteRef.java,
897         java/rmi/server/ServerRef.java
898         (serialVersionUID): Set proper value.
899         * java/security/interfaces/DSAPrivateKey.java,
900         java/security/interfaces/DSAPublicKey.java,
901         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
902         java/security/interfaces/RSAPrivateCrtKey.java,
903         java/security/interfaces/RSAPrivateKey.java,
904         java/security/interfaces/RSAPublicKey.java,
905         javax/crypto/SecretKey.java
906         (serialVersionUID): Added.
907
908 2005-02-22  Tom Tromey  <tromey@redhat.com>
909
910         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
911
912 2005-02-22  Tom Tromey  <tromey@redhat.com>
913
914         PR java/20056:
915         * verify.cc (type::EITHER): New constant.
916         (check_field_constant): Use it.
917         (type::compatible): Handle it.
918
919 2005-02-22  Michael Koch  <konqueror@gmx.de>
920
921         * gnu/java/security/PolicyFile.java,
922         gnu/java/security/pkcs/PKCS7SignedData.java,
923         gnu/java/security/pkcs/SignerInfo.java:
924         Fixed copyright header.
925
926 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
927
928         * java/beans/PropertyDescriptor.java
929         (PropertyDescriptor,setReadMethod): Set propertyType.
930
931 2005-02-22  Michael Koch  <konqueror@gmx.de>
932
933         * java/nio/DirectByteBufferImpl.java
934         (owner): Fixed formatting of javadoc.
935         * java/text/DateFormat.java
936         (getAvailableLocales): Fixed formatting.
937         * java/text/SimpleDateFormat.java:
938         Fixed formatting and import statement order.
939         * java/util/Calendar.java
940         (Calendar): Fixed javadoc to be HTML compliant.
941         * java/util/SimpleTimeZone.java:
942         Fixed javadocs.
943
944 2005-02-22  Roman Kennke <roman@ontographics.com>
945
946         * javax/swing/plaf/basic/BasicLookAndFeel.java
947         (initComponentDefaults): Fixed Button left and right margin.
948
949 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
950
951         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
952         empty Runnable.
953
954         PR libgcj/17952:
955         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
956         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
957         (getWidth): New method.
958         (getHeight): Likewise.
959         (create): Remove width, height and insets parameters.  Move size
960         setup ...
961         (realize_cb): ... here.  New function.
962         (connectSignals): Connect realize_cb.
963         (request_frame_extents): Remove FIXME.  Move
964         postInsetsChangedEvent lookup ...
965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
966         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
967         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
968         jmethodID.
969         (windowGetWidthID): Likewise.
970         (windowGetHeightID): Likewise.
971
972 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
973
974         PR libgcj/19842
975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
976         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
977
978 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
979
980         Merge serialization from GNU Classpath.
981         * gcj/method.h: Add missing #includes.
982         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
983         primitive class IDs on the stream here...
984         (resolveClass): ...not here.
985         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
986         fields.
987         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
988         setLongNative, setIntNative, setShortNative, setCharNative,
989         setByteNative, setBooleanNative, setObjectNative): New native methods.
990         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
991         setLongNative, setIntNative, setShortNative, setCharNative,
992         setByteNative, setBooleanNative, setObjectNative): Implement them.
993         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
994         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
995         the constructor here.
996         (callConstructor): Removed.
997         (getCallersClassLoader): Removed.
998         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
999         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
1000         to control whether setting final field values is permitted. Call
1001         getAddr() with checkFinal parameter instead of setAddr().
1002         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
1003         only if not done already.
1004         (getAddr): Add checkFinal parameter. Do the final field check only if
1005         checkFinal is set.
1006         (setAddr): Removed.
1007
1008 2005-02-21  Mark Wielaard  <mark@klomp.org>
1009
1010         # Fixes bug #11957
1011         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
1012         twice.
1013
1014 2005-02-21  Mark Wielaard  <mark@klomp.org>
1015
1016         Fixes bug #11618.
1017         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
1018         without a super class and us ObjectStreamClass.lookupForClassObject().
1019         (resolveClass): Check for primitive types.
1020         (lookupClass): Return null when argument is null.
1021
1022 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
1023
1024         * java/io/ObjectInputStream.java
1025         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
1026
1027 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
1028
1029         * java/io/ObjectOutputStream.java
1030         (writeObject, callWriteMethod): Replaced reflection with accessing
1031         cached info in ObjectStreamClass.
1032         (getMethod): Removed.
1033         * java/io/ObjectStreamClass.java
1034         (findMethod): Added check to make sure the method found has the
1035         right modifiers.
1036         (cacheMethods): Added writeReplace and writeObject methods.
1037         (setFlags): Look at new writeObjectMethod field instead of doing
1038         reflection again.
1039         (writeReplaceMethod): New field.
1040         (writeObjectMethod): New field.
1041
1042 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
1043         Jeroen Frijters  <jeroen@frijters.net>
1044
1045         * java/io/ObjectInputStream.java
1046         (newObject): Changed prototype. Get a constructor reflect object
1047         directly.
1048         (callConstructor): Removed.
1049         (allocateObject): Changed prototype.
1050         (readClassDescriptor): Build the constructor reflection directly.
1051         (readObject): Invoke newObject using the new prototype.
1052
1053         * java/io/ObjectStreamClass.java
1054         (firstNonSerializableParent): Removed.
1055         (firstNonSerializableParentConstructor): Added.
1056
1057 2005-02-21  Mark Wielaard  <mark@klomp.org>
1058
1059         * gnu/java/locale/LocaleInformation_en.java: Extend
1060         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
1061
1062 2005-02-21  Mark Wielaard  <mark@klomp.org>
1063
1064         * java/text/SimpleDateFormat.java
1065         (SimpleDateFormat(String, DateFormatSymbols)): Throw
1066         NullPointerException when formatData is null.
1067
1068 2005-02-21  Mark Wielaard  <mark@klomp.org>
1069
1070         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
1071         taking dstSavings into account.
1072
1073 2005-02-21  Sven de Marothy <sven@physto.se>
1074
1075         * java/text/SimpleDateFormat.java,
1076         (parse): Set correct DST_OFFSET to the correct value.
1077
1078 2005-02-21  Mark Wielaard  <mark@klomp.org>
1079
1080         * java/util/SimpleTimeZone.java (checkRule): Throw
1081         IllegalArgumentException when month out of range.
1082
1083 2005-02-21  Sven de Marothy  <sven@physto.se>
1084
1085         * java/util/GregorianCalendar.java,
1086         (add): Don't set fields directly anymore. Use set()
1087
1088 2005-02-21  Mark Wielaard  <mark@klomp.org>
1089
1090         * java/text/SimpleDateFormat.java (CompiledField.toString):
1091         Use StringBuffer, not StringBuilder.
1092         (toString): Likewise.
1093
1094 2005-02-21  Sven de Marothy  <sven@physto.se>
1095
1096         * java/util/Calendar.java
1097         (clear): Dates should clear to local time.
1098         * java/util/GregorianCalendar.java
1099         (computeTime): Fix priority problem with DAY_OF_WEEK,
1100         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
1101
1102 2005-02-21  Sven de Marothy  <sven@physto.se>
1103
1104         * java/util/Calendar.java
1105         (Calendar): Constructor should clear fields.
1106
1107 2005-02-21  Sven de Marothy  <sven@physto.se>
1108
1109         * java/text/SimpleDateFormat.java
1110         (parse): Tweak handling of 2-year dates
1111         * java/util/Calendar.java
1112         (clear): Clear fields to correct value.
1113         * java/util/GregorianCalendar.java
1114         (computeTime): Correct handling of time zones.
1115         Correct field minimum values.
1116
1117 2005-02-21  Sven de Marothy  <sven@physto.se>
1118
1119         * java/util/Calendar.java
1120         (set) Invalidate all fields on first call to set().
1121
1122 2005-02-21  Sven de Marothy  <sven@physto.se>
1123
1124         * java/util/GregorianCalendar.java
1125         (computeTime): Fixed handling of time zones.
1126
1127 2005-02-21  Sven de Marothy  <sven@physto.se>
1128
1129         * java/util/Calendar.java
1130         (clear): Set values to Epoch instead of zero.
1131         (set): Set isSet to the relevant field pattern instead of just
1132         the field.
1133         * java/util/GregorianCalendar.java
1134         (getBundle): Removed.
1135         (getDayOfYear): Removed.
1136         (getFirstDayOfMonth): New private method.
1137         (nonLeniencyCheck): New private method.
1138         (computeTime): Correct handling of insufficient data.
1139
1140 2005-02-21  Sven de Marothy <sven@physto.se>
1141
1142         * java/util/Calendar.java: Invalidate ERA field on setting
1143         the YEAR.
1144         * java/util/SimpleTimeZone.java:
1145         (getDaysInMonth): Reimplemented.
1146         * java/util/GregorianCalendar.java:
1147         (getLinearTime): Removed.
1148         (isLeapYear(int,boolean)): Removed.
1149         (before(), after()): Removed.
1150         (computeTime): Reimplemented.
1151
1152 2005-02-21  Sven de Marothy <sven@physto.se>
1153
1154         * java/util/Calendar.java: Reformatted.
1155         * java/util/GregorianCalendar.java: Reformatted.
1156         * java/util/SimpleTimeZone.java: Reformatted.
1157
1158 2005-02-21  Sven de Marothy <sven@physto.se>
1159
1160         * java/util/GregorianCalendar.java
1161         (GregorianCalendar): Update fields in the constructor
1162
1163 2005-02-21  Noa Resare  <noa@resare.com>
1164
1165         * java/util/Calendar.java (explicitDSTOffset): New instance field.
1166         (set(int,int)): Set and use new field.
1167         (set(int,int,int)): Check new field.
1168
1169 2005-02-21  Noa Resare  <address@hidden>
1170
1171         * java/util/Calendar.java(set):
1172         Fix for DST related regression.
1173
1174 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
1175
1176         * java/util/Calendar.java
1177         (setTimeInMillis): Added call to clear, removed computeFields call.
1178         * java/util/Date.java
1179         (Date(int,int,int,int,int,int)): Removed workaround for
1180         GregorianCalendar bug.
1181         * java/util/GregorianCalendar.java
1182         (GregorianCalendar): Chained all constructors to a (new)
1183         common constructor.
1184         (computeTime): Fixed support for lenient month treatment.
1185         (getLinearDay): Return long instead of int.
1186         (calculateDay): Added fields argument and changed day argument
1187         to long.
1188
1189 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1190
1191         * java/text/SimpleDateFormat.java
1192         Lots of documentation updates.
1193         (readObject(java.io.ObjectInputStream)): Wraps
1194         IllegalArgumentException as specified.
1195         (compileFormat(String)): Uses standardChars
1196         rather than the local pattern characters.
1197         Throws IllegalArgumentException rather than
1198         storing a -1 field.
1199         (toString()): Extended to include all variables
1200         in a better format.
1201         (translateLocalizedPattern(String, String, String)):
1202         Renamed to better define the use of this method.
1203
1204 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1205
1206         * java/text/DateFormat.java:
1207         Documented pattern character offset constants and
1208         added new ones.
1209         (Field): Added new static fields for new pattern chars.
1210         * java/text/SimpleDateFormat.java:
1211         (CompiledField): Changed name of FieldSizePair class
1212         to CompiledField after adding the character as an
1213         attribute.  Changed fields to private and added
1214         accessors to give encapsulation.
1215         (CompiledField.CompiledField(int,int,char)): Extended
1216         with character field.
1217         (CompiledField.getField()): New accessor method.
1218         (CompiledField.getSize()): New acceessor method.
1219         (CompiledField.getCharacter()): New accessor method.
1220         (CompiledField.toString()): Added primarily for debugging.
1221         (standardChars): Now uses extended 24 character sequence.
1222         (compileFormat(String)): Changed to use CompiledField.
1223         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
1224         java.text.FieldPosition)): Changed to use CompiledField.
1225         New handler for RFC 822 timezones added.
1226
1227 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1228
1229         * java/text/SimpleDateFormat.java:
1230         (parse(String, java.text.ParsePosition)):
1231         Changed 'E' and 'M' cases to use both
1232         short and long names.  Extended 'z'
1233         case to also handle 'Z', and deal
1234         with simple GMT offsets such as +0100.
1235         (computeOffset(String)): New private method,
1236         which converts a GMT offset specification,
1237         such as GMT-0500 to a numeric offset in
1238         milliseconds.
1239         * java/util/TimeZone.java:
1240         (timezones()): Added "CEST", the daylight
1241         savings time version of "CET", or Central
1242         European Time.
1243
1244 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1245
1246         * java/text/SimpleDateFormat.java:
1247         (parse): Set the DST offset to 0 when parsing
1248         GMT offset timezones.
1249
1250 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1251
1252         * java/text/SimpleDateFormat.java:
1253         (parse): Use offset to set ZONE_OFFSET
1254         rather than the DST_OFFSET, so that
1255         GMT offset timezones change the right
1256         one.
1257
1258 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1259
1260         * java/text/SimpleDateFormat.java:
1261         (getDateFormatSymbols()): return a copy
1262         (setDateFormatSymbols(java.text.DateFormatSymbols)):
1263         throw exception on null input
1264         (clone()): implemented to clone
1265         internal fields
1266
1267 2005-02-21  Sven de Marothy <sven@physto.se>
1268
1269         * java/text/SimpleDateFormat.java
1270         (parse): comparison should be case-insensitive, ignore null
1271         strings.
1272
1273 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
1274
1275         * gnu/java/beans/IntrospectionIncubator.java
1276         (addMethod) Reverts the patch that ntroduced a regression (see bug
1277         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
1278
1279 2005-02-21  Michael Koch  <konqueror@gmx.de>
1280
1281         * java/awt/Checkbox.java
1282         (next_checkbox_number): New static variable.
1283         (generateName): New method.
1284         (getUniqueLong): Likewise.
1285         * java/awt/Window.java
1286         (next_window_number): New static variable.
1287         (generateName): New method.
1288         (getUniqueLong): Likewise.
1289
1290 2005-02-21  Mark Wielaard  <mark@klomp.org>
1291
1292         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
1293         exists.
1294
1295 2005-02-21  Andrew Haley  <aph@redhat.com>
1296
1297         * Makefile.in: Rebuilt.
1298         * Makefile.am (nat_source_files): Added natLogger.cc.
1299         * java/util/logging/natLogger.cc: New file.
1300         * java/util/logging/Logger.java (getCallerStackFrame): Now
1301         native.
1302
1303 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
1304
1305         * Makefile.am (all_property_files): Remove left over.
1306         (classes.stamp): Add stamp for the ONESTEP build, also known as
1307         --enable-libgcj-multifile.
1308         * Makefile.in: Regenerated.
1309
1310 2005-02-21  Michael Koch  <konqueror@gmx.de>
1311
1312         * java/awt/Button.java,
1313         java/awt/Container.java,
1314         java/awt/Font.java,
1315         java/awt/Frame.java,
1316         java/text/CollationElementIterator.java,
1317         java/text/RuleBasedCollator.java,
1318         java/util/PropertyPermission.java:
1319         Fixed formatting issues all over.
1320
1321 2005-02-21  Mark Wielaard  <mark@klomp.org>
1322
1323         * java/io/FileDescriptor.java (sync): Add real exception to
1324         SyncFailedException.
1325
1326 2005-02-21  Michael Koch  <konqueror@gmx.de>
1327
1328         * java/io/InputStreamReader.java:
1329         Fixed @author tag.
1330
1331 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
1332
1333         PR libgcj/19728:
1334         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
1335
1336 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
1337
1338         * libraries/javalib/gnu/regexp/RE.java,
1339         libraries/javalib/java/io/ObjectInputStream.java,
1340         libraries/javalib/java/security/AllPermission.java,
1341         libraries/javalib/java/security/BasicPermission.java,
1342         libraries/javalib/java/security/Permissions.java,
1343         libraries/javalib/java/text/MessageFormat.java:
1344         Made 'inner' classes real public static inner classes,
1345         and made them final where possible, or removed them
1346         where unused.
1347
1348 2005-02-20  Michael Koch  <konqueror@gmx.de>
1349
1350         * gnu/java/text/FormatCharacterIterator.java:
1351         Removed redundant modifiers.
1352
1353 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1354
1355         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
1356         snprintf.
1357
1358 2005-02-19  Michael Koch  <konqueror@gmx.de>
1359
1360         * Makefile.am: Added new files in gnu/java/beans and
1361         java/beans/XMLDecoder.java.
1362         * Makefile.in: Regenerated.
1363
1364 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
1365
1366         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
1367         assignment behavior by using java.lang.reflect.Array.set()
1368         directly.
1369
1370 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
1371
1372         * gnu/java/beans/EmptyBeanInfo.java,
1373         gnu/java/beans/info/ComponentBeanInfo.java:
1374         Removed unused files.
1375
1376 2005-02-19  Robert Schuster <thebohemian@gmx.net>
1377
1378         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
1379         of AppletStub for java.beans.Beans.instantiate.
1380         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
1381         of AppletContext.
1382         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
1383         to be conformant with Javadoc guidelines.
1384         (instantiate): Added two more overloaded variants, reworked user
1385         documentation, fixed exception behavior, fixed behavior when
1386         deserializing null.
1387
1388 2005-02-19  Mark Wielaard  <mark@klomp.org>
1389
1390         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
1391         failing methods.
1392         * gnu/java/beans/decoder/DummyContext.java: Likewise.
1393
1394 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
1395
1396         * gnu/java/beans/decoder/AbstractContext.java,
1397         gnu/java/beans/decoder/AbstractCreatableContext.java,
1398         gnu/java/beans/decoder/AbstractElementHandler.java,
1399         gnu/java/beans/decoder/AbstractObjectContext.java,
1400         gnu/java/beans/decoder/ArrayContext.java,
1401         gnu/java/beans/decoder/ArrayHandler.java,
1402         gnu/java/beans/decoder/AssemblyException.java,
1403         gnu/java/beans/decoder/BooleanHandler.java,
1404         gnu/java/beans/decoder/ByteHandler.java,
1405         gnu/java/beans/decoder/CharHandler.java,
1406         gnu/java/beans/decoder/ClassHandler.java,
1407         gnu/java/beans/decoder/ConstructorContext.java,
1408         gnu/java/beans/decoder/Context.java,
1409         gnu/java/beans/decoder/DecoderContext.java,
1410         gnu/java/beans/decoder/DefaultExceptionListener.java,
1411         gnu/java/beans/decoder/DoubleHandler.java,
1412         gnu/java/beans/decoder/DummyContext.java,
1413         gnu/java/beans/decoder/DummyHandler.java,
1414         gnu/java/beans/decoder/ElementHandler.java,
1415         gnu/java/beans/decoder/FloatHandler.java,
1416         gnu/java/beans/decoder/GrowableArrayContext.java,
1417         gnu/java/beans/decoder/IndexContext.java,
1418         gnu/java/beans/decoder/IntHandler.java,
1419         gnu/java/beans/decoder/JavaHandler.java,
1420         gnu/java/beans/decoder/LongHandler.java,
1421         gnu/java/beans/decoder/MethodContext.java,
1422         gnu/java/beans/decoder/MethodFinder.java,
1423         gnu/java/beans/decoder/NullHandler.java,
1424         gnu/java/beans/decoder/ObjectContext.java,
1425         gnu/java/beans/decoder/ObjectHandler.java,
1426         gnu/java/beans/decoder/PersistenceParser.java,
1427         gnu/java/beans/decoder/PropertyContext.java,
1428         gnu/java/beans/decoder/ShortHandler.java,
1429         gnu/java/beans/decoder/SimpleHandler.java,
1430         gnu/java/beans/decoder/StaticMethodContext.java,
1431         gnu/java/beans/decoder/StringHandler.java,
1432         gnu/java/beans/decoder/VoidHandler.java: New class
1433         implementing java.beans.XMLDecoder decoding functionality.
1434         * java/beans/XMLDecoder.java: New class.
1435
1436 2005-02-19  Michael Koch  <konqueror@gmx.de>
1437
1438         * javax/swing/JTextField.java
1439         (notfiyAction): Added javadoc.
1440
1441 2005-02-19  Sven de Marothy  <sven@physto.se>
1442
1443         * javax/swing/SpinnerDateModel.java: Implemented.
1444
1445 2005-02-19  Michael Koch  <konqueror@gmx.de>
1446
1447         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
1448         * Makefile.in: Regenerated.
1449
1450 2005-02-19  Michael Koch  <konqueror@gmx.de>
1451
1452         * gnu/java/nio/SelectorImpl.java:
1453         Reworked import statements.
1454         (register): Removed unused code.
1455         * java/nio/channels/Channels.java: Reformatted.
1456         * java/nio/charset/Charset.java: Likewise.
1457         * java/rmi/server/RemoteObject.java
1458         (serialVersionUID): Made private.
1459         * java/rmi/server/UID.java
1460         (serialVersionUID): Likewise.
1461
1462 2005-02-19  Michael Koch  <konqueror@gmx.de>
1463
1464         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1465         gnu/java/net/protocol/ftp/BlockInputStream.java,
1466         gnu/java/net/protocol/ftp/BlockOutputStream.java,
1467         gnu/java/net/protocol/ftp/CompressedInputStream.java,
1468         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
1469         gnu/java/net/protocol/ftp/DTPInputStream.java,
1470         gnu/java/net/protocol/ftp/DTP.java,
1471         gnu/java/net/protocol/ftp/DTPOutputStream.java,
1472         gnu/java/net/protocol/ftp/FTPConnection.java,
1473         gnu/java/net/protocol/ftp/FTPException.java,
1474         gnu/java/net/protocol/ftp/FTPResponse.java,
1475         gnu/java/net/protocol/ftp/FTPURLConnection.java,
1476         gnu/java/net/protocol/ftp/Handler.java,
1477         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1478         gnu/java/net/protocol/ftp/StreamInputStream.java,
1479         gnu/java/net/protocol/ftp/StreamOutputStream.java,
1480         gnu/java/net/CRLFInputStream.java,
1481         gnu/java/net/CRLFOutputStream.java,
1482         gnu/java/net/GetLocalHostAction.java,
1483         gnu/java/net/protocol/ftp/package.html: New files.
1484         * Makefile.am: Added new files.
1485         * Makefile.in: Regenerated.
1486
1487 2005-02-18  Tom Tromey  <tromey@redhat.com>
1488
1489         * link.cc (make_vtable): Remove abstract method check.
1490         (append_partial_itable): Likewise.
1491
1492         PR java/20056:
1493         * verify.cc (type::equals): Fixed test.
1494         * testsuite/libjava.lang/PR20056.out: New file.
1495         * testsuite/libjava.lang/PR20056.java: New file.
1496
1497 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
1498
1499         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
1500         not the HashEntry. Reported by Jean-Marie White.
1501
1502 2005-02-18  Tom Tromey  <tromey@redhat.com>
1503
1504         PR java/20056:
1505         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
1506         * link.cc (has_field_p): New function.
1507         * verify.cc (check_field_constant): Added 'putfield' argument.
1508         (verify_instructions_0): Updated.
1509         (type::equals): New method.
1510
1511 2005-02-18  Anthony Green  <green@redhat.com>
1512
1513         * NEWS: Draft of libgcj NEWS for 4.0.
1514
1515 2005-02-18  Anthony Green  <green@redhat.com>
1516
1517         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
1518         architecture names to "i386" for compatibility reasons.  Win32
1519         still uses "x86".
1520
1521 2005-02-18  Anthony Green  <green@redhat.com>
1522
1523         * gij.cc (version): Change year for '--version' to 2005.
1524         * gnu/gcj/convert/Convert.java: Ditto.
1525         * gnu/java/rmi/rmic/RMIC.java: Ditto.
1526         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
1527
1528         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
1529         recent copyright year in `--version' output.
1530
1531 2005-02-18  Robert Schuster <thebohemian@gmx.net>
1532
1533         * java/nio/charset/Charset.java (forName): Throws
1534         IllegalArgumentException when argument is null
1535         and added documentation.
1536
1537 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1538
1539         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
1540         Move the position of the source buffer forward.
1541
1542 2005-02-17  Tom Tromey  <tromey@redhat.com>
1543
1544         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
1545         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
1546         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
1547         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
1548         Changed type of second argument.  Rewrote.
1549         (make_vtable): Use it.
1550         (append_partial_itable): Updated.
1551         (layout_vtable_methods): Updated.
1552
1553 2005-02-17  Michael Koch  <konqueror@gmx.de>
1554
1555         * gnu/java/net/PlainSocketImpl.java
1556         (shutdownInput): Added javadoc.
1557         (shutdownOutput): Likewise.
1558
1559 2005-02-17  Michael Koch  <konqueror@gmx.de>
1560
1561         * javax/print/attribute/standard/Chromaticity.java,
1562         javax/print/attribute/standard/Destination.java,
1563         javax/print/attribute/standard/MediaPrintableArea.java,
1564         javax/print/attribute/standard/MediaSize.java: New files.
1565         * Makefile.am: Added new files.
1566         * Makefile.in: Regenerated.
1567
1568 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1569             Michael Koch  <konqueror@gmx.de>
1570
1571         * gnu/java/net/protocol/http/Cookie.java,
1572         gnu/java/net/protocol/http/HTTPConnection.java,
1573         gnu/java/net/protocol/http/HTTPDateFormat.java,
1574         gnu/java/net/protocol/http/Request.java,
1575         gnu/java/nio/PipeImpl.java,
1576         gnu/java/rmi/dgc/DGCImpl.java,
1577         gnu/java/rmi/server/ConnectionRunnerPool.java,
1578         gnu/java/rmi/server/UnicastConnectionManager.java,
1579         gnu/java/security/der/DERWriter.java,
1580         gnu/java/security/pkcs/SignerInfo.java,
1581         gnu/java/security/provider/EncodedKeyFactory.java,
1582         gnu/java/security/provider/GnuDHPublicKey.java,
1583         gnu/java/security/provider/GnuDSAPrivateKey.java,
1584         gnu/java/security/provider/GnuDSAPublicKey.java,
1585         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1586         gnu/java/security/x509/X500DistinguishedName.java,
1587         gnu/java/security/x509/X509CRL.java,
1588         gnu/java/security/x509/X509CRLEntry.java,
1589         gnu/java/security/x509/X509Certificate.java,
1590         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1591         gnu/java/security/x509/ext/CertificatePolicies.java,
1592         gnu/java/security/x509/ext/PolicyConstraint.java,
1593         gnu/xml/dom/Consumer.java,
1594         gnu/xml/dom/DomCharacterData.java,
1595         gnu/xml/dom/DomDocument.java,
1596         gnu/xml/dom/DomDocumentBuilder.java,
1597         gnu/xml/dom/DomIterator.java,
1598         gnu/xml/dom/DomNode.java,
1599         gnu/xml/dom/DomXPathExpression.java,
1600         gnu/xml/dom/DomXPathResult.java,
1601         gnu/xml/dom/JAXPFactory.java,
1602         gnu/xml/pipeline/CallFilter.java,
1603         gnu/xml/pipeline/DomConsumer.java,
1604         gnu/xml/pipeline/LinkFilter.java,
1605         gnu/xml/pipeline/NSFilter.java,
1606         gnu/xml/pipeline/TeeConsumer.java,
1607         gnu/xml/pipeline/ValidationConsumer.java,
1608         gnu/xml/pipeline/WellFormednessFilter.java,
1609         gnu/xml/pipeline/XIncludeFilter.java,
1610         gnu/xml/pipeline/XsltFilter.java,
1611         gnu/xml/transform/ApplyImportsNode.java,
1612         gnu/xml/transform/Bindings.java,
1613         gnu/xml/transform/DocumentFunction.java,
1614         gnu/xml/transform/FormatNumberFunction.java,
1615         gnu/xml/transform/NodeNumberNode.java,
1616         gnu/xml/transform/NumberNode.java,
1617         gnu/xml/transform/Stylesheet.java,
1618         gnu/xml/transform/SystemPropertyFunction.java,
1619         gnu/xml/transform/Template.java,
1620         gnu/xml/transform/TemplatesImpl.java,
1621         gnu/xml/transform/TransformerImpl.java,
1622         gnu/xml/transform/ValueOfNode.java,
1623         gnu/xml/transform/XSLURIResolver.java,
1624         gnu/xml/util/DoParse.java,
1625         gnu/xml/util/Resolver.java,
1626         gnu/xml/xpath/Expr.java,
1627         gnu/xml/xpath/FunctionCall.java,
1628         gnu/xml/xpath/RelationalExpr.java,
1629         gnu/xml/xpath/Selector.java,
1630         gnu/xml/xpath/XPathParser.java:
1631         Reworked import statements, fixed modifier order and some little
1632         formatting issues.
1633
1634 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1635
1636         * java/nio/ByteBufferImpl.java (compact):
1637         Set position and limit even if no bytes were moved.
1638
1639 2005-02-17  Michael Koch  <konqueror@gmx.de>
1640
1641         * java/nio/CharViewBufferImpl.java (compact): Likewise.
1642         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
1643         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
1644         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
1645         * java/nio/IntViewBufferImpl.java (compact): Likewise.
1646         * java/nio/LongViewBufferImpl.java (compact): Likewise.
1647         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
1648         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
1649         * java/nio/FloatBufferImpl.java (compact): Set position.
1650         * java/nio/CharBufferImpl.java (compact): Likewise.
1651         * java/nio/DoubleBufferImpl.java (compact): Likewise.
1652         * java/nio/IntBufferImpl.java (compact): Likewise.
1653         * java/nio/LongBufferImpl.java (compact): Likewise.
1654         * java/nio/ShortBufferImpl.java (compact): Likewise.
1655
1656 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
1657
1658         * java/nio/ByteBufferImpl.java,
1659         java/nio/CharBufferImpl.java,
1660         java/nio/DirectByteBufferImpl.java,
1661         java/nio/DoubleBufferImpl.java,
1662         java/nio/FloatBufferImpl.java,
1663         java/nio/IntBufferImpl.java,
1664         java/nio/LongBufferImpl.java,
1665         java/nio/MappedByteBufferImpl.java,
1666         java/nio/ShortBufferImpl.java
1667         (compact): Added explicit read-only check and invalidate mark.
1668
1669 2005-02-17  Michael Koch  <konqueror@gmx.de>
1670
1671         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1672         gnu/java/awt/peer/gtk/GdkFontPeer.java,
1673         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1674         gnu/java/awt/peer/gtk/GdkGraphics.java,
1675         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1676         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1677         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1678         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1679         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1680         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1681         gnu/java/awt/peer/gtk/GdkTextLayout.java,
1682         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
1683         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1684         gnu/java/awt/peer/gtk/GtkClipboard.java,
1685         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1686         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1687         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1688         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1689         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1690         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1691         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1692         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1693         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1694         gnu/java/awt/peer/gtk/GtkToolkit.java,
1695         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1696         java/applet/Applet.java,
1697         java/awt/AWTError.java,
1698         java/awt/AWTEvent.java,
1699         java/awt/AWTEventMulticaster.java,
1700         java/awt/AWTException.java,
1701         java/awt/AWTKeyStroke.java,
1702         java/awt/AWTPermission.java,
1703         java/awt/ActiveEvent.java,
1704         java/awt/Adjustable.java,
1705         java/awt/AlphaComposite.java,
1706         java/awt/AttributeValue.java,
1707         java/awt/BorderLayout.java,
1708         java/awt/BufferCapabilities.java,
1709         java/awt/Button.java,
1710         java/awt/Canvas.java,
1711         java/awt/CheckboxGroup.java,
1712         java/awt/CheckboxMenuItem.java,
1713         java/awt/Color.java,
1714         java/awt/ColorPaintContext.java,
1715         java/awt/Component.java,
1716         java/awt/ComponentOrientation.java,
1717         java/awt/Composite.java,
1718         java/awt/CompositeContext.java,
1719         java/awt/Container.java,
1720         java/awt/ContainerOrderFocusTraversalPolicy.java,
1721         java/awt/DefaultFocusTraversalPolicy.java,
1722         java/awt/Dialog.java,
1723         java/awt/Dimension.java,
1724         java/awt/DisplayMode.java,
1725         java/awt/EventQueue.java,
1726         java/awt/FileDialog.java,
1727         java/awt/FontFormatException.java,
1728         java/awt/Graphics.java,
1729         java/awt/Graphics2D.java,
1730         java/awt/GraphicsConfigTemplate.java,
1731         java/awt/GraphicsConfiguration.java,
1732         java/awt/GraphicsDevice.java,
1733         java/awt/GridBagLayout.java,
1734         java/awt/GridBagLayoutInfo.java,
1735         java/awt/GridLayout.java,
1736         java/awt/HeadlessException.java,
1737         java/awt/IllegalComponentStateException.java,
1738         java/awt/Image.java,
1739         java/awt/Insets.java,
1740         java/awt/ItemSelectable.java,
1741         java/awt/JobAttributes.java,
1742         java/awt/KeyEventDispatcher.java,
1743         java/awt/KeyEventPostProcessor.java,
1744         java/awt/KeyboardFocusManager.java,
1745         java/awt/Label.java,
1746         java/awt/LayoutManager.java,
1747         java/awt/MenuBar.java,
1748         java/awt/MenuComponent.java,
1749         java/awt/MenuContainer.java,
1750         java/awt/PageAttributes.java,
1751         java/awt/Paint.java,
1752         java/awt/PaintContext.java,
1753         java/awt/Panel.java,
1754         java/awt/Point.java,
1755         java/awt/Polygon.java,
1756         java/awt/PrintGraphics.java,
1757         java/awt/PrintJob.java,
1758         java/awt/Rectangle.java,
1759         java/awt/RenderingHints.java,
1760         java/awt/Shape.java,
1761         java/awt/Stroke.java,
1762         java/awt/SystemColor.java,
1763         java/awt/Toolkit.java,
1764         java/awt/Transparency.java,
1765         java/awt/Window.java,
1766         java/awt/color/CMMException.java,
1767         java/awt/color/ColorSpace.java,
1768         java/awt/color/ICC_ColorSpace.java,
1769         java/awt/color/ICC_Profile.java,
1770         java/awt/color/ProfileDataException.java,
1771         java/awt/datatransfer/FlavorTable.java,
1772         java/awt/datatransfer/MimeTypeParseException.java,
1773         java/awt/datatransfer/Transferable.java,
1774         java/awt/datatransfer/UnsupportedFlavorException.java,
1775         java/awt/dnd/Autoscroll.java,
1776         java/awt/dnd/DnDConstants.java,
1777         java/awt/dnd/DragGestureListener.java,
1778         java/awt/dnd/DragSourceAdapter.java,
1779         java/awt/dnd/DragSourceDropEvent.java,
1780         java/awt/dnd/DragSourceListener.java,
1781         java/awt/dnd/DragSourceMotionListener.java,
1782         java/awt/dnd/DropTargetAdapter.java,
1783         java/awt/dnd/DropTargetContext.java,
1784         java/awt/dnd/DropTargetListener.java,
1785         java/awt/dnd/InvalidDnDOperationException.java,
1786         java/awt/dnd/MouseDragGestureRecognizer.java,
1787         java/awt/dnd/peer/DropTargetContextPeer.java,
1788         java/awt/event/AWTEventListener.java,
1789         java/awt/event/AWTEventListenerProxy.java,
1790         java/awt/event/ActionEvent.java,
1791         java/awt/event/AdjustmentEvent.java,
1792         java/awt/event/AdjustmentListener.java,
1793         java/awt/event/ComponentAdapter.java,
1794         java/awt/event/ComponentEvent.java,
1795         java/awt/event/ComponentListener.java,
1796         java/awt/event/ContainerAdapter.java,
1797         java/awt/event/ContainerEvent.java,
1798         java/awt/event/ContainerListener.java,
1799         java/awt/event/FocusAdapter.java,
1800         java/awt/event/FocusEvent.java,
1801         java/awt/event/FocusListener.java,
1802         java/awt/event/InputEvent.java,
1803         java/awt/event/InputMethodEvent.java,
1804         java/awt/event/InputMethodListener.java,
1805         java/awt/event/InvocationEvent.java,
1806         java/awt/event/ItemEvent.java,
1807         java/awt/event/ItemListener.java,
1808         java/awt/event/KeyAdapter.java,
1809         java/awt/event/KeyEvent.java,
1810         java/awt/event/KeyListener.java,
1811         java/awt/event/MouseAdapter.java,
1812         java/awt/event/MouseEvent.java,
1813         java/awt/event/MouseListener.java,
1814         java/awt/event/MouseMotionAdapter.java,
1815         java/awt/event/MouseMotionListener.java,
1816         java/awt/event/MouseWheelEvent.java,
1817         java/awt/event/MouseWheelListener.java,
1818         java/awt/event/PaintEvent.java,
1819         java/awt/event/TextEvent.java,
1820         java/awt/event/TextListener.java,
1821         java/awt/event/WindowAdapter.java,
1822         java/awt/event/WindowEvent.java,
1823         java/awt/event/WindowFocusListener.java,
1824         java/awt/event/WindowListener.java,
1825         java/awt/event/WindowStateListener.java,
1826         java/awt/font/TextHitInfo.java,
1827         java/awt/geom/CubicCurve2D.java,
1828         java/awt/geom/Dimension2D.java,
1829         java/awt/geom/Ellipse2D.java,
1830         java/awt/geom/IllegalPathStateException.java,
1831         java/awt/geom/Line2D.java,
1832         java/awt/geom/NoninvertibleTransformException.java,
1833         java/awt/geom/PathIterator.java,
1834         java/awt/geom/Point2D.java,
1835         java/awt/geom/QuadCurve2D.java,
1836         java/awt/geom/RectangularShape.java,
1837         java/awt/geom/RoundRectangle2D.java,
1838         java/awt/im/InputContext.java,
1839         java/awt/im/InputMethodHighlight.java,
1840         java/awt/im/InputMethodRequests.java,
1841         java/awt/im/InputSubset.java,
1842         java/awt/im/spi/InputMethod.java,
1843         java/awt/im/spi/InputMethodDescriptor.java,
1844         java/awt/image/BandCombineOp.java,
1845         java/awt/image/BandedSampleModel.java,
1846         java/awt/image/ByteLookupTable.java,
1847         java/awt/image/ComponentSampleModel.java,
1848         java/awt/image/DataBuffer.java,
1849         java/awt/image/DataBufferByte.java,
1850         java/awt/image/DataBufferDouble.java,
1851         java/awt/image/DataBufferFloat.java,
1852         java/awt/image/DataBufferInt.java,
1853         java/awt/image/DataBufferShort.java,
1854         java/awt/image/DataBufferUShort.java,
1855         java/awt/image/ImagingOpException.java,
1856         java/awt/image/Kernel.java,
1857         java/awt/image/LookupTable.java,
1858         java/awt/image/MultiPixelPackedSampleModel.java,
1859         java/awt/image/PackedColorModel.java,
1860         java/awt/image/PixelInterleavedSampleModel.java,
1861         java/awt/image/RGBImageFilter.java,
1862         java/awt/image/Raster.java,
1863         java/awt/image/RasterFormatException.java,
1864         java/awt/image/SampleModel.java,
1865         java/awt/image/ShortLookupTable.java,
1866         java/awt/image/SinglePixelPackedSampleModel.java,
1867         java/awt/image/WritableRaster.java,
1868         java/awt/print/PrinterAbortException.java,
1869         java/awt/print/PrinterException.java,
1870         java/awt/print/PrinterIOException.java,
1871         java/beans/AppletInitializer.java,
1872         java/beans/ExceptionListener.java,
1873         java/beans/PropertyChangeEvent.java,
1874         java/beans/PropertyChangeListenerProxy.java,
1875         java/beans/PropertyChangeSupport.java,
1876         java/beans/PropertyDescriptor.java,
1877         java/beans/VetoableChangeListenerProxy.java,
1878         java/beans/VetoableChangeSupport.java,
1879         java/io/BufferedReader.java,
1880         java/io/ByteArrayInputStream.java,
1881         java/io/ByteArrayOutputStream.java,
1882         java/io/CharArrayReader.java,
1883         java/io/CharArrayWriter.java,
1884         java/io/CharConversionException.java,
1885         java/io/DataInput.java,
1886         java/io/DataInputStream.java,
1887         java/io/DataOutput.java,
1888         java/io/DataOutputStream.java,
1889         java/io/EOFException.java,
1890         java/io/FileInputStream.java,
1891         java/io/FileNotFoundException.java,
1892         java/io/FileOutputStream.java,
1893         java/io/FilenameFilter.java,
1894         java/io/FilterInputStream.java,
1895         java/io/FilterOutputStream.java,
1896         java/io/FilterReader.java,
1897         java/io/FilterWriter.java,
1898         java/io/IOException.java,
1899         java/io/InputStream.java,
1900         java/io/InterruptedIOException.java,
1901         java/io/LineNumberInputStream.java,
1902         java/io/LineNumberReader.java,
1903         java/io/ObjectInputStream.java,
1904         java/io/ObjectStreamException.java,
1905         java/io/OptionalDataException.java,
1906         java/io/OutputStream.java,
1907         java/io/OutputStreamWriter.java,
1908         java/io/PrintStream.java,
1909         java/io/PrintWriter.java,
1910         java/io/PushbackInputStream.java,
1911         java/io/PushbackReader.java,
1912         java/io/RandomAccessFile.java,
1913         java/io/Reader.java,
1914         java/io/SequenceInputStream.java,
1915         java/io/Serializable.java,
1916         java/io/StreamCorruptedException.java,
1917         java/io/StreamTokenizer.java,
1918         java/io/StringBufferInputStream.java,
1919         java/io/StringWriter.java,
1920         java/io/SyncFailedException.java,
1921         java/io/UTFDataFormatException.java,
1922         java/io/UnsupportedEncodingException.java,
1923         java/io/WriteAbortedException.java,
1924         java/io/Writer.java,
1925         java/lang/AbstractMethodError.java,
1926         java/lang/ArithmeticException.java,
1927         java/lang/ArrayIndexOutOfBoundsException.java,
1928         java/lang/ArrayStoreException.java,
1929         java/lang/AssertionError.java,
1930         java/lang/Boolean.java,
1931         java/lang/Byte.java,
1932         java/lang/Class.java,
1933         java/lang/ClassCastException.java,
1934         java/lang/ClassCircularityError.java,
1935         java/lang/ClassLoader.java,
1936         java/lang/ClassNotFoundException.java,
1937         java/lang/CloneNotSupportedException.java,
1938         java/lang/Cloneable.java,
1939         java/lang/Comparable.java,
1940         java/lang/Compiler.java,
1941         java/lang/Double.java,
1942         java/lang/Error.java,
1943         java/lang/Exception.java,
1944         java/lang/ExceptionInInitializerError.java,
1945         java/lang/Float.java,
1946         java/lang/IllegalAccessError.java,
1947         java/lang/IllegalAccessException.java,
1948         java/lang/IllegalArgumentException.java,
1949         java/lang/IllegalMonitorStateException.java,
1950         java/lang/IllegalStateException.java,
1951         java/lang/IllegalThreadStateException.java,
1952         java/lang/IncompatibleClassChangeError.java,
1953         java/lang/IndexOutOfBoundsException.java,
1954         java/lang/InheritableThreadLocal.java,
1955         java/lang/InstantiationError.java,
1956         java/lang/InstantiationException.java,
1957         java/lang/Integer.java,
1958         java/lang/InternalError.java,
1959         java/lang/InterruptedException.java,
1960         java/lang/LinkageError.java,
1961         java/lang/Long.java,
1962         java/lang/NegativeArraySizeException.java,
1963         java/lang/NoClassDefFoundError.java,
1964         java/lang/NoSuchFieldError.java,
1965         java/lang/NoSuchFieldException.java,
1966         java/lang/NoSuchMethodError.java,
1967         java/lang/NoSuchMethodException.java,
1968         java/lang/NullPointerException.java,
1969         java/lang/Number.java,
1970         java/lang/NumberFormatException.java,
1971         java/lang/OutOfMemoryError.java,
1972         java/lang/Process.java,
1973         java/lang/Runnable.java,
1974         java/lang/Runtime.java,
1975         java/lang/RuntimeException.java,
1976         java/lang/RuntimePermission.java,
1977         java/lang/SecurityException.java,
1978         java/lang/SecurityManager.java,
1979         java/lang/Short.java,
1980         java/lang/StackOverflowError.java,
1981         java/lang/StackTraceElement.java,
1982         java/lang/StringBuffer.java,
1983         java/lang/StringIndexOutOfBoundsException.java,
1984         java/lang/ThreadDeath.java,
1985         java/lang/ThreadGroup.java,
1986         java/lang/Throwable.java,
1987         java/lang/UnsatisfiedLinkError.java,
1988         java/lang/UnsupportedOperationException.java,
1989         java/lang/VerifyError.java,
1990         java/lang/VirtualMachineError.java,
1991         java/lang/reflect/AccessibleObject.java,
1992         java/lang/reflect/Array.java,
1993         java/lang/reflect/InvocationTargetException.java,
1994         java/lang/reflect/Member.java,
1995         java/lang/reflect/Modifier.java,
1996         java/lang/reflect/Proxy.java,
1997         java/lang/reflect/ReflectPermission.java,
1998         java/lang/reflect/UndeclaredThrowableException.java,
1999         java/math/BigInteger.java,
2000         java/net/NetworkInterface.java,
2001         java/nio/ByteBufferHelper.java,
2002         java/nio/ByteBufferImpl.java,
2003         java/nio/DirectByteBufferImpl.java,
2004         java/nio/DoubleBufferImpl.java,
2005         java/nio/FloatBufferImpl.java,
2006         java/nio/IntBufferImpl.java,
2007         java/nio/LongBufferImpl.java,
2008         java/nio/ShortBufferImpl.java,
2009         java/nio/channels/Channel.java,
2010         java/nio/channels/IllegalBlockingModeException.java,
2011         java/nio/charset/spi/CharsetProvider.java,
2012         java/security/AccessControlException.java,
2013         java/security/BasicPermission.java,
2014         java/security/DigestException.java,
2015         java/security/DigestInputStream.java,
2016         java/security/DigestOutputStream.java,
2017         java/security/GeneralSecurityException.java,
2018         java/security/Guard.java,
2019         java/security/GuardedObject.java,
2020         java/security/InvalidAlgorithmParameterException.java,
2021         java/security/InvalidKeyException.java,
2022         java/security/InvalidParameterException.java,
2023         java/security/Key.java,
2024         java/security/KeyException.java,
2025         java/security/KeyManagementException.java,
2026         java/security/KeyStoreException.java,
2027         java/security/MessageDigestSpi.java,
2028         java/security/NoSuchAlgorithmException.java,
2029         java/security/NoSuchProviderException.java,
2030         java/security/Permission.java,
2031         java/security/PermissionCollection.java,
2032         java/security/Permissions.java,
2033         java/security/Principal.java,
2034         java/security/PrivateKey.java,
2035         java/security/PrivilegedActionException.java,
2036         java/security/ProviderException.java,
2037         java/security/PublicKey.java,
2038         java/security/SecureRandom.java,
2039         java/security/SecureRandomSpi.java,
2040         java/security/SignatureException.java,
2041         java/security/SignatureSpi.java,
2042         java/security/SignedObject.java,
2043         java/security/Signer.java,
2044         java/security/UnrecoverableKeyException.java,
2045         java/security/UnresolvedPermission.java,
2046         java/security/acl/AclNotFoundException.java,
2047         java/security/acl/LastOwnerException.java,
2048         java/security/acl/NotOwnerException.java,
2049         java/security/cert/CertPath.java,
2050         java/security/cert/CertPathBuilderException.java,
2051         java/security/cert/CertPathValidatorException.java,
2052         java/security/cert/CertStoreException.java,
2053         java/text/BreakIterator.java,
2054         java/text/ChoiceFormat.java,
2055         java/text/CollationElementIterator.java,
2056         java/text/CollationKey.java,
2057         java/text/Collator.java,
2058         java/text/DateFormat.java,
2059         java/text/DateFormatSymbols.java,
2060         java/text/DecimalFormat.java,
2061         java/text/DecimalFormatSymbols.java,
2062         java/text/FieldPosition.java,
2063         java/text/Format.java,
2064         java/text/NumberFormat.java,
2065         java/text/ParseException.java,
2066         java/text/ParsePosition.java,
2067         java/text/StringCharacterIterator.java,
2068         java/util/AbstractCollection.java,
2069         java/util/AbstractList.java,
2070         java/util/AbstractMap.java,
2071         java/util/AbstractSequentialList.java,
2072         java/util/AbstractSet.java,
2073         java/util/ArrayList.java,
2074         java/util/Arrays.java,
2075         java/util/BitSet.java,
2076         java/util/Collection.java,
2077         java/util/Collections.java,
2078         java/util/Comparator.java,
2079         java/util/ConcurrentModificationException.java,
2080         java/util/Currency.java,
2081         java/util/Date.java,
2082         java/util/EmptyStackException.java,
2083         java/util/Enumeration.java,
2084         java/util/EventListener.java,
2085         java/util/EventListenerProxy.java,
2086         java/util/EventObject.java,
2087         java/util/HashMap.java,
2088         java/util/HashSet.java,
2089         java/util/Hashtable.java,
2090         java/util/IdentityHashMap.java,
2091         java/util/Iterator.java,
2092         java/util/LinkedHashSet.java,
2093         java/util/LinkedList.java,
2094         java/util/List.java,
2095         java/util/ListIterator.java,
2096         java/util/ListResourceBundle.java,
2097         java/util/Map.java,
2098         java/util/MissingResourceException.java,
2099         java/util/NoSuchElementException.java,
2100         java/util/Observable.java,
2101         java/util/Observer.java,
2102         java/util/Properties.java,
2103         java/util/PropertyPermissionCollection.java,
2104         java/util/RandomAccess.java,
2105         java/util/Set.java,
2106         java/util/SortedMap.java,
2107         java/util/SortedSet.java,
2108         java/util/Stack.java,
2109         java/util/StringTokenizer.java,
2110         java/util/TooManyListenersException.java,
2111         java/util/TreeMap.java,
2112         java/util/TreeSet.java,
2113         java/util/Vector.java,
2114         java/util/logging/FileHandler.java,
2115         java/util/logging/Level.java,
2116         java/util/prefs/BackingStoreException.java,
2117         java/util/prefs/InvalidPreferencesFormatException.java,
2118         java/util/prefs/Preferences.java,
2119         javax/accessibility/Accessible.java,
2120         javax/accessibility/AccessibleAction.java,
2121         javax/accessibility/AccessibleBundle.java,
2122         javax/accessibility/AccessibleComponent.java,
2123         javax/accessibility/AccessibleContext.java,
2124         javax/accessibility/AccessibleEditableText.java,
2125         javax/accessibility/AccessibleExtendedComponent.java,
2126         javax/accessibility/AccessibleExtendedTable.java,
2127         javax/accessibility/AccessibleHyperlink.java,
2128         javax/accessibility/AccessibleHypertext.java,
2129         javax/accessibility/AccessibleIcon.java,
2130         javax/accessibility/AccessibleKeyBinding.java,
2131         javax/accessibility/AccessibleRelation.java,
2132         javax/accessibility/AccessibleRelationSet.java,
2133         javax/accessibility/AccessibleResourceBundle.java,
2134         javax/accessibility/AccessibleRole.java,
2135         javax/accessibility/AccessibleSelection.java,
2136         javax/accessibility/AccessibleState.java,
2137         javax/accessibility/AccessibleStateSet.java,
2138         javax/accessibility/AccessibleTable.java,
2139         javax/accessibility/AccessibleTableModelChange.java,
2140         javax/accessibility/AccessibleText.java,
2141         javax/accessibility/AccessibleValue.java,
2142         javax/imageio/IIOException.java,
2143         javax/imageio/ImageIO.java,
2144         javax/imageio/spi/IIOServiceProvider.java,
2145         javax/imageio/spi/ImageInputStreamSpi.java,
2146         javax/imageio/spi/ImageOutputStreamSpi.java,
2147         javax/imageio/spi/ImageReaderWriterSpi.java,
2148         javax/imageio/spi/ImageTranscoderSpi.java,
2149         javax/imageio/spi/RegisterableService.java,
2150         javax/imageio/spi/ServiceRegistry.java,
2151         javax/imageio/stream/IIOByteBuffer.java,
2152         javax/imageio/stream/ImageInputStream.java,
2153         javax/imageio/stream/ImageOutputStream.java,
2154         javax/naming/Binding.java,
2155         javax/naming/CannotProceedException.java,
2156         javax/naming/CompositeName.java,
2157         javax/naming/CompoundName.java,
2158         javax/naming/LinkException.java,
2159         javax/naming/LinkRef.java,
2160         javax/naming/NameClassPair.java,
2161         javax/naming/Reference.java,
2162         javax/naming/ReferralException.java,
2163         javax/naming/directory/Attribute.java,
2164         javax/naming/directory/AttributeModificationException.java,
2165         javax/naming/directory/Attributes.java,
2166         javax/naming/directory/DirContext.java,
2167         javax/naming/directory/ModificationItem.java,
2168         javax/naming/directory/SearchControls.java,
2169         javax/naming/directory/SearchResult.java,
2170         javax/naming/event/EventContext.java,
2171         javax/naming/event/EventDirContext.java,
2172         javax/naming/event/NamespaceChangeListener.java,
2173         javax/naming/event/NamingExceptionEvent.java,
2174         javax/naming/event/NamingListener.java,
2175         javax/naming/event/ObjectChangeListener.java,
2176         javax/naming/ldap/Control.java,
2177         javax/naming/ldap/ExtendedResponse.java,
2178         javax/naming/ldap/HasControls.java,
2179         javax/naming/ldap/LdapContext.java,
2180         javax/naming/ldap/UnsolicitedNotification.java,
2181         javax/naming/ldap/UnsolicitedNotificationEvent.java,
2182         javax/naming/ldap/UnsolicitedNotificationListener.java,
2183         javax/naming/spi/DirectoryManager.java,
2184         javax/naming/spi/ResolveResult.java,
2185         javax/naming/spi/Resolver.java,
2186         javax/security/auth/callback/Callback.java,
2187         javax/security/auth/callback/CallbackHandler.java,
2188         javax/security/auth/callback/ChoiceCallback.java,
2189         javax/security/auth/callback/ConfirmationCallback.java,
2190         javax/security/auth/callback/LanguageCallback.java,
2191         javax/security/auth/callback/NameCallback.java,
2192         javax/security/auth/callback/PasswordCallback.java,
2193         javax/security/auth/callback/TextInputCallback.java,
2194         javax/security/auth/callback/TextOutputCallback.java,
2195         javax/security/auth/callback/UnsupportedCallbackException.java,
2196         javax/security/sasl/Sasl.java,
2197         javax/security/sasl/SaslServerFactory.java,
2198         javax/swing/DefaultBoundedRangeModel.java,
2199         javax/swing/JComponent.java,
2200         javax/swing/JList.java,
2201         javax/swing/JProgressBar.java,
2202         javax/swing/JRadioButton.java,
2203         javax/swing/JTextArea.java,
2204         javax/swing/JTextField.java,
2205         javax/swing/JToggleButton.java,
2206         javax/swing/JTree.java,
2207         javax/swing/SpinnerListModel.java,
2208         javax/swing/event/EventListenerList.java,
2209         javax/swing/text/JTextComponent.java,
2210         javax/swing/text/StringContent.java,
2211         javax/swing/text/Utilities.java,
2212         javax/swing/undo/UndoManager.java,
2213         javax/swing/undo/UndoableEditSupport.java,
2214         javax/transaction/HeuristicCommitException.java,
2215         javax/transaction/HeuristicMixedException.java,
2216         javax/transaction/HeuristicRollbackException.java,
2217         javax/transaction/InvalidTransactionException.java,
2218         javax/transaction/NotSupportedException.java,
2219         javax/transaction/RollbackException.java,
2220         javax/transaction/Status.java,
2221         javax/transaction/Synchronization.java,
2222         javax/transaction/SystemException.java,
2223         javax/transaction/Transaction.java,
2224         javax/transaction/TransactionManager.java,
2225         javax/transaction/TransactionRequiredException.java,
2226         javax/transaction/TransactionRolledbackException.java,
2227         javax/transaction/UserTransaction.java,
2228         javax/transaction/xa/XAException.java,
2229         javax/transaction/xa/XAResource.java,
2230         javax/transaction/xa/Xid.java,
2231         javax/xml/XMLConstants.java,
2232         javax/xml/datatype/DatatypeConfigurationException.java,
2233         javax/xml/datatype/DatatypeConstants.java,
2234         javax/xml/datatype/DatatypeFactory.java,
2235         javax/xml/datatype/Duration.java,
2236         javax/xml/datatype/XMLGregorianCalendar.java,
2237         javax/xml/namespace/NamespaceContext.java,
2238         javax/xml/namespace/QName.java,
2239         javax/xml/parsers/DocumentBuilder.java,
2240         javax/xml/parsers/DocumentBuilderFactory.java,
2241         javax/xml/parsers/FactoryConfigurationError.java,
2242         javax/xml/parsers/ParserConfigurationException.java,
2243         javax/xml/parsers/SAXParser.java,
2244         javax/xml/parsers/SAXParserFactory.java,
2245         javax/xml/transform/ErrorListener.java,
2246         javax/xml/transform/OutputKeys.java,
2247         javax/xml/transform/Result.java,
2248         javax/xml/transform/Source.java,
2249         javax/xml/transform/SourceLocator.java,
2250         javax/xml/transform/Templates.java,
2251         javax/xml/transform/Transformer.java,
2252         javax/xml/transform/TransformerConfigurationException.java,
2253         javax/xml/transform/TransformerException.java,
2254         javax/xml/transform/TransformerFactory.java,
2255         javax/xml/transform/TransformerFactoryConfigurationError.java,
2256         javax/xml/transform/URIResolver.java,
2257         javax/xml/transform/dom/DOMLocator.java,
2258         javax/xml/transform/dom/DOMResult.java,
2259         javax/xml/transform/dom/DOMSource.java,
2260         javax/xml/transform/sax/SAXResult.java,
2261         javax/xml/transform/sax/SAXSource.java,
2262         javax/xml/transform/sax/SAXTransformerFactory.java,
2263         javax/xml/transform/sax/TemplatesHandler.java,
2264         javax/xml/transform/sax/TransformerHandler.java,
2265         javax/xml/transform/stream/StreamResult.java,
2266         javax/xml/transform/stream/StreamSource.java,
2267         javax/xml/validation/Schema.java,
2268         javax/xml/validation/SchemaFactory.java,
2269         javax/xml/validation/TypeInfoProvider.java,
2270         javax/xml/validation/Validator.java,
2271         javax/xml/validation/ValidatorHandler.java,
2272         javax/xml/xpath/XPathConstants.java,
2273         javax/xml/xpath/XPathException.java,
2274         javax/xml/xpath/XPathExpression.java,
2275         javax/xml/xpath/XPathExpressionException.java,
2276         javax/xml/xpath/XPathFactory.java,
2277         javax/xml/xpath/XPathFactoryConfigurationException.java,
2278         javax/xml/xpath/XPathFunction.java,
2279         javax/xml/xpath/XPathFunctionException.java,
2280         javax/xml/xpath/XPathFunctionResolver.java:
2281         Fixed usage of @author tag, reworked import statements,
2282         removed CVS tags, changed the modifier order and fixed
2283         HTML usage in javadocs.
2284
2285 2005-02-16  Julian Scheid  <julian@sektor37.de>
2286
2287         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
2288         in.position().
2289         (encodeLoop): Likewise.
2290
2291 2005-02-16  Mark Wielaard  <mark@klomp.org>
2292
2293         * Makefile.am (ordinary_java_source_files): Add new files
2294         gnu/java/security/ber/BER.java,
2295         gnu/java/security/ber/BEREncodingException.java,
2296         gnu/java/security/ber/BERReader.java,
2297         gnu/java/security/ber/BERValue.java,
2298         gnu/java/security/pkcs/PKCS7SignedData.java and
2299         gnu/java/security/pkcs/SignerInfo.java.
2300         * Makefile.in: Regenerated.
2301
2302 2005-02-16  Casey Marshall  <csm@gnu.org>
2303
2304         * gnu/java/security/provider/GnuDSAPrivateKey.java
2305         (encodedKey): new field.
2306         (getFormat): return "PKCS#8".
2307         (getEncoded): implemented.
2308         (toString): check for 'null' values.
2309         * gnu/java/security/provider/GnuDSAPublicKey.java
2310         (encodedKey): new field.
2311         (getFormat): return "X.509".
2312         (getEncoded): implemented.
2313         (toString): check for 'null' values.
2314
2315 2005-02-16  Michael Koch  <konqueror@gmx.de>
2316
2317         * java/util/jar/JarFile.java: Imports reworked.
2318
2319 2005-02-16  Mark Wielaard  <mark@klomp.org>
2320
2321         * java/util/jar/JarFile.java (verify): Make package private.
2322         (signaturesRead): Likewise.
2323         (verified): Likewise.
2324         (entryCerts): Likewise.
2325         (DEBUG): Likewise.
2326         (debug): Likewise.
2327         (entries): Construct new JarEnumeration with reference to this.
2328         (JarEnumeration): Make static.
2329         (JarEnumeration.jarfile): New field.
2330         (JarEnumeration.nextElement): Use and synchronize on jarfile.
2331         Compare verified value to Boolean.TRUE or Boolean.False only
2332         when verify is true.
2333         (getEntry): Make synchronized. Compare value of verified to
2334         Boolean.TRUE.
2335         (getInputStream): Construct EntryInputStream with reference to this.
2336         (getManifest): Make synchronized.
2337         (EntryInputStream): Make static.
2338         (EntryInputStream.jarfile): New field.
2339         (EntryInputStream.EntryInputStream): Check if manifest exists,
2340         before getting attributes.
2341         (eof): Synchronize on jarfile.
2342
2343 2005-02-16  Casey Marshall  <csm@gnu.org>
2344
2345         * java/util/jar/JarFile.java (verify): return if the jar is signed
2346         with an unsupported algorithm.
2347
2348 2005-02-16  Mark Wielaard  <mark@klomp.org>
2349
2350         * java/util/jar/JarFile.java (EntryInputStream): Add actual
2351         InputStream as argument.
2352         (getInputStream): Construct a new EntryInputStream with the result of
2353         super.getInputStream(entry).
2354
2355 2005-02-16  Casey Marshall  <csm@gnu.org>
2356
2357         Signed JAR file support.
2358         * java/net/URLClassLoader.java
2359         (JarURLResource.getCertificates): re-read jar entry to ensure
2360         certificates are picked up.
2361         (findClass): fill in class `signers' field, too.
2362         * java/util/jar/JarFile.java (META_INF): new constant.
2363         (PKCS7_DSA_SUFFIX): new constant.
2364         (PKCS7_RSA_SUFFIX): new constant.
2365         (DIGEST_KEY_SUFFIX): new constant.
2366         (SF_SUFFIX): new constant.
2367         (MD2_OID): new constant.
2368         (MD4_OID): new constant.
2369         (MD5_OID): new constant.
2370         (SHA1_OID): new constant.
2371         (DSA_ENCRYPTION_OID): new constant.
2372         (RSA_ENCRYPTION_OID): new constant.
2373         (signaturesRead): new field.
2374         (verified): new field.
2375         (entryCerts): new field.
2376         (DEBUG): new constant.
2377         (debug): new method.
2378         (JarEnumeration.nextElement): fill in entry certificates, read
2379         signatures if they haven't been read.
2380         (getEntry): likewise.
2381         (getInputStream): verify stream if it hasn't been verified yet.
2382         (readSignatures): new method.
2383         (verify): new method.
2384         (verifyHashes): new method.
2385         (readManifestEntry): new method.
2386         (EntryInputStream): new class.
2387         * gnu/java/io/Base64InputStream.java (decode): new class
2388         method.
2389         * gnu/java/security/der/DERReader.java don't make class
2390         final.
2391         (in): made protected.
2392         (encBuf): likewise.
2393         (readLength): likewise.
2394         * gnu/java/security/ber/BER.java,
2395         * gnu/java/security/ber/BEREncodingException.java,
2396         * gnu/java/security/ber/BERReader.java,
2397         * gnu/java/security/ber/BERValue.java,
2398         * gnu/java/security/pkcs/PKCS7SignedData.java,
2399         * gnu/java/security/pkcs/SignerInfo.java:
2400         new files.
2401
2402 2005-02-16  Tom Tromey  <tromey@redhat.com>
2403
2404         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
2405         copied file on exit.
2406
2407 2005-02-15  Mark Wielaard  <mark@klomp.org>
2408
2409         * java/awt/BasicStroke.java (hashCode): Check for null dash.
2410
2411 2005-02-15  Michael Koch  <konqueror@gmx.de>
2412
2413         * gnu/java/awt/peer/gtk/GtkArg.java,
2414         gnu/java/awt/peer/gtk/GtkArgList.java:
2415         Removed.
2416
2417 2005-02-15  Craig Black  <craig.black@aonix.com>
2418
2419         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
2420         (postMenuActionEvent): Implement to notify ItemListeners.
2421         * java/awt/CheckboxMenuItem.java
2422         (dispatchEventImpl): Update state on ItemEvent.
2423         * java/awt/MenuItem.java
2424         (processActionEvent): Retarget event source.
2425
2426 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2427
2428         * gnu/java/awt/color/ClutProfileConverter.java,
2429         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
2430         gnu/java/awt/peer/gtk/GdkFontPeer.java,
2431         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2432         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2433         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2434         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2435         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
2436         gnu/java/awt/peer/gtk/GdkTextLayout.java,
2437         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2438         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2439         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
2440         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2441         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2442         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2443         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2444         gnu/java/awt/peer/gtk/GtkFontPeer.java,
2445         gnu/java/awt/peer/gtk/GtkFramePeer.java,
2446         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2447         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
2448         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2449         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
2450         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
2451         gnu/java/awt/peer/gtk/GtkToolkit.java,
2452         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2453         javax/swing/JPopupMenu.java,
2454         javax/swing/JSpinner.java,
2455         javax/swing/SortingFocusTraversalPolicy.java,
2456         javax/swing/SwingUtilities.java,
2457         javax/swing/plaf/basic/BasicComboBoxEditor.java,
2458         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
2459         javax/swing/tree/DefaultMutableTreeNode.java:
2460         Removed unused imports and expanded starred
2461         imports.
2462
2463 2005-02-15  Mark Wielaard  <mark@klomp.org>
2464
2465         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
2466         IllegalArgumentException when the given String is null.
2467
2468         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
2469         when given keystoke sequence cannot be parsed.
2470
2471         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
2472         if one is installed. Only install the given menubar is not null.
2473
2474         * javax/swing/JViewport.java (getViewSize): Return an empty
2475         Dimension when the view isn't set or preferred component size when
2476         no viewSize is set.
2477
2478         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
2479         empty Dimension when there is no view set.
2480         (minimumLayoutSize): Likewise.
2481         (layoutContainer): Don't try to layout when there is no view.
2482
2483 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2484
2485         * jawt.c: New file.
2486         * include/jawt.h: Likewise.
2487         * include/jawt_md.h: Likewise.
2488         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
2489         jawt_md.h files.
2490         * jni/classpath/classpath_jawt.h: Likewise.
2491         * jni/gtk-peer/gtk_jawt.c: Likewise.
2492         * Makefile.am: Build libjawt.so.
2493
2494 2005-02-15  Michael Koch  <konqueror@gmx.de>
2495
2496         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
2497         Merged file header with classpath CVS head.
2498         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2499         Merged code formatting with classpath CVS head.
2500         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
2501         Removed debug code.
2502         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2503         Handle special JNI strings with 2 '\0' at the end.
2504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2505         Merged file header with classpath CVS head.
2506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2507         Merged code formatting with classpath CVS head.
2508
2509 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2510
2511         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
2512         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
2513         (handle_response): Use GTK_RESPONSE_ACCEPT.
2514
2515 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2516
2517         * Makefile.am: Fix library build breakage.
2518         * Makefile.in: Regenerate.
2519
2520 2005-02-15  Michael Koch  <konqueror@gmx.de>
2521
2522         * javax/swing/JTabbedPane.java
2523         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
2524
2525 2005-02-15  Michael Koch  <konqueror@gmx.de>
2526
2527         * javax/swing/tree/DefaultMutableTreeNode.java:
2528         Reworked Javadocs all over.
2529         (getPathToRoot): Fixed direction of result array initialization.
2530
2531 2005-02-15  Michael Koch  <konqueror@gmx.de>
2532
2533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2534          Fix includes for cairo 0.3.0 snappshot.
2535         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2536         Merged file header from classpath CVS HEAD.
2537
2538 2005-02-15  Craig Black  <craig.black@aonix.com>
2539
2540         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2541         (copyState): Pass a JNI global reference to signal handler.
2542         (realize_cb): Use and free JNI global reference.
2543         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2544         (create): Pass a JNI global reference to signal handler.
2545         (selection_changed): Match declaration.
2546         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2547         (dispose): Do not remove entries from state tables until after widget is
2548         destroyed.
2549
2550 2005-02-15  Michael Koch  <konqueror@gmx.de>
2551
2552         * java/awt/Container.javai (paramString):
2553         If layoutMgr is null just return result of super.paramString().
2554         * java/awt/Scrollbar.java: Reformatted.
2555         * java/awt/im/InputContext.java (static):
2556         Removed redundant initializations.
2557
2558 2005-02-15  Michael Koch  <konqueror@gmx.de>
2559
2560         * javax/swing/ImageIcon.java,
2561         javax/swing/UIManager.java,
2562         javax/swing/text/EditorKit.java,
2563         javax/swing/text/Segment.java:
2564         More whitespace cleanups.
2565
2566 2005-02-15  Michael Koch  <konqueror@gmx.de>
2567
2568         * gnu/java/awt/EmbeddedWindow.java,
2569         gnu/java/awt/image/ImageDecoder.java,
2570         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2571         java/awt/DefaultKeyboardFocusManager.java,
2572         java/awt/Frame.java,
2573         java/awt/image/RGBImageFilter.java,
2574         javax/swing/AbstractButton.java,
2575         javax/swing/ActionMap.java,
2576         javax/swing/ComponentInputMap.java,
2577         javax/swing/DefaultDesktopManager.java,
2578         javax/swing/ImageIcon.java,
2579         javax/swing/InputMap.java,
2580         javax/swing/JButton.java,
2581         javax/swing/JCheckBox.java,
2582         javax/swing/JCheckBoxMenuItem.java,
2583         javax/swing/JEditorPane.java,
2584         javax/swing/JMenu.java,
2585         javax/swing/JMenuItem.java,
2586         javax/swing/JOptionPane.java,
2587         javax/swing/JRootPane.java,
2588         javax/swing/JTable.java,
2589         javax/swing/MenuSelectionManager.java,
2590         javax/swing/RepaintManager.java,
2591         javax/swing/ScrollPaneLayout.java,
2592         javax/swing/SortingFocusTraversalPolicy.java,
2593         javax/swing/UIManager.java,
2594         javax/swing/ViewportLayout.java,
2595         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
2596         javax/swing/plaf/basic/BasicInternalFrameUI.java,
2597         javax/swing/plaf/basic/BasicLabelUI.java,
2598         javax/swing/plaf/basic/BasicListUI.java,
2599         javax/swing/plaf/basic/BasicMenuItemUI.java,
2600         javax/swing/plaf/basic/BasicMenuUI.java,
2601         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2602         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2603         javax/swing/plaf/basic/BasicRootPaneUI.java,
2604         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2605         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2606         javax/swing/plaf/basic/BasicTextUI.java,
2607         javax/swing/table/TableColumnModel.java,
2608         javax/swing/text/AbstractDocument.java,
2609         javax/swing/text/EditorKit.java,
2610         javax/swing/text/Position.java,
2611         javax/swing/text/Segment.java,
2612         javax/swing/text/StyledEditorKit.java,
2613         javax/swing/text/ViewFactory.java:
2614         Cleanup whitespace differences to classpath CVS HEAD.
2615
2616 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2617
2618         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2619         (finalize): Call finish from here.
2620         (produce): Not from here.
2621         * Makefile.am (gtk_c_source_files):
2622         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
2623         * Makefile.in: Regenerate.
2624         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2625         (cairoSetFont):
2626         (cairoDrawGdkTextLayout):
2627         (cairoDrawString):
2628         (getPeerTextMetrics):
2629         (getPeerFontMetrics): Remove.
2630         (setFont): Don't call cairoSetFont.
2631         (cairoDrawGlyphVector): Accept font peer argument.
2632         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
2633         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2634         (ensure_metrics_cairo):
2635         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
2636         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
2637         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
2638         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
2639         (metrics_cairo):
2640         (metrics_surface): Remove.
2641         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
2642         Pass and install font peer.
2643
2644 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2645
2646         * Makefile.am: Create "split library" structure.
2647         * Makefile.in: Regenerate.
2648
2649 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2650
2651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2654         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2655         Release GDK lock during upcalls.
2656
2657 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2658
2659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
2660         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2661         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2662         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
2663         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
2664         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
2665         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2666         (getGlyphVector):
2667         (getFontMetrics):
2668         (getTextMetrics): New native methods.
2669         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
2670         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
2671         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
2672         * Makefile.in: Regenerate.
2673
2674 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2675
2676         * javax/swing/SwingUtilities.java:
2677         (getAccessibleAt(java.awt.Component, java.awt.Point)):
2678         Implemented and documented.
2679         (getAccessibleChild(java.awt.Component, int)): Likewise.
2680         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
2681         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
2682         (getAccessibleStateSet(java.awt.Component)): Likewise.
2683
2684 2005-02-15  Michael Koch  <konqueror@gmx.de>
2685
2686         * javax/swing/SwingUtilities.java
2687         (getFontMetrics): Removed.
2688
2689 2005-02-15  Michael Koch  <konqueror@gmx.de>
2690
2691         * java/awt/Container.java
2692         (paramString): Implemented.
2693         * javax/swing/AbstractButton.java
2694         (paramString): Implemented.
2695         * javax/swing/JComponent.java
2696         (paramString): Implemented.
2697         * javax/swing/JMenu.java
2698         (paramString): Implemented.
2699         * javax/swing/JMenuBar.java
2700         (paramString): Implemented.
2701         * javax/swing/JMenuItem.java
2702         (paramString): Implemented.
2703         * javax/swing/JPopupMenu.java
2704         (paramString): Implemented.
2705
2706 2005-02-15  Michael Koch  <konqueror@gmx.de>
2707
2708         * javax/swing/JMenu.java
2709         (uiClassID): Removed.
2710         (JMenu): Set invoker on popup menu.
2711         (getUIClassID): Return id directly.
2712         (getItemCount): Simply return getMenuComponentCount().
2713         Fixed javadoc.
2714         (isTopLevelMenu): Simplified.
2715         * javax/swing/JMenuItem.java
2716         (uiClassID): Removed.
2717         (getUIClassID): Return id directly.
2718         * javax/swing/JPopupMenu.java
2719         (uiClassID): Removed.
2720         (JPopupMenu): Always initialize correctly.
2721         (getSubElements): Only return components implementing MenuElement
2722         interface.
2723         (HeavyWeightPopup.hide): Removed.
2724
2725 2005-02-15  Michael Koch  <konqueror@gmx.de>
2726
2727         * java/awt/image/ReplicateScaleFilter.java
2728         (replicatePixels): Made private.
2729         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2730         (DefaultRGBChooserPanel): Made package private.
2731         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2732         (RecentSwatchPanel): Likewise.
2733         * javax/swing/event/MouseInputAdapter.java: Reformatted.
2734         (MouseInputAdapter): Made abstract.
2735         * javax/swing/tree/DefaultMutableTreeNode.java
2736         (random): Removed.
2737         (growTree): Likewise.
2738
2739 2005-02-15  Michael Koch  <konqueror@gmx.de>
2740
2741         * java/awt/dnd/DropTarget.java (addDropTargetListener):
2742         Clarified comments.
2743
2744 2005-02-15  Michael Koch  <konqueror@gmx.de>
2745
2746         * javax/swing/JComponent.java (getComponentGraphics):
2747         Removed accidently commited code.
2748
2749 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2750
2751         * java/awt/dnd/DropTarget.java
2752         (addDropTargetListener): Despite documentation, do not throw.
2753         * javax/swing/JComponent.java: Set a default DropTarget.
2754
2755 2005-02-15  Michael Koch  <konqueror@gmx.de>
2756
2757         * javax/swing/AbstractAction.java
2758         (ENABLED_PROPERTY): Removed.
2759         (setEnabled): Replaced constant with real string.
2760         * javax/swing/AbstractButton.java
2761         (createActionPropertyChangeListener.propertyChange): Likewise.
2762         * javax/swing/JComboBox.java
2763         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
2764         (EDITABLE_CHANGED_PROPERTY): Removed.
2765         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
2766         (ENABLED_CHANGED_PROPERTY):Likewise.
2767         (RENDERER_CHANGED_PROPERTY):Likewise.
2768         (EDITOR_CHANGED_PROPERTY):Likewise.
2769         (MODEL_CHANGED_PROPERTY):Likewise.
2770         (uiClassID):Likewise.
2771         (getUIClassID): Replaced constant with real string.
2772         (setModel):Likewise.
2773         (setEditable):Likewise.
2774         (setMaximumRowCount):Likewise.
2775         (setRenderer):Likewise.
2776         (setEditor):Likewise.
2777         (setEnabled):Likewise.
2778         * javax/swing/JLabel.java
2779         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
2780         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
2781         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
2782         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2783         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2784         (ICON_CHANGED_PROPERTY): Likewise.
2785         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
2786         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
2787         (TEXT_CHANGED_PROPERTY): Likewise.
2788         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2789         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2790         (setText): Replaced constant with real string.
2791         (setIcon): Likewise.
2792         (setDisabledIcon): Likewise.
2793         (setDisplayedMnemonic): Likewise.
2794         (setIconTextGap): Likewise.
2795         (setVerticalAlignment): Likewise.
2796         (setHorizontalAlignment): Likewise.
2797         (setVerticalTextPosition): Likewise.
2798         (setHorizontalTextPosition): Likewise.
2799         (setLabelFor): Replaced constant with real string.
2800         Fire property change event after property got changed.
2801         * javax/swing/JList.java
2802         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
2803         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
2804         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
2805         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
2806         (MODEL_PROPERTY_CHANGED): Likewise.
2807         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
2808         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
2809         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
2810         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
2811         (setFixedCellWidth): Reimplemented.
2812         (setFixedCellHeight): Exit if new value is identical.
2813         Replaced constant with real string.
2814         (setSelectionBackground): Likewise.
2815         (setSelectionForeground): Likewise.
2816         (setPrototypeCellValue): Likewise.
2817         (setCellRenderer): Replaced constant with real string.
2818         (setModel): Likewise.
2819         (setSelectionModel): Likewise.
2820         * javax/swing/JMenuBar.java
2821         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2822         (MODEL_CHANGED_PROPERTY): Likewise.
2823         (MARGIN_CHANGED_PROPERTY): Likewise.
2824         (setBorderPainted): Reimplemented.
2825         (setMargin): Likewise.
2826         (setSelectionModel): Replaced constant with real string.
2827         * javax/swing/JPopupMenu.java
2828         (LABEL_CHANGED_PROPERTY): Removed.
2829         (VISIBLE_CHANGED_PROPERTY): Likewise.
2830         (borderPainted): Likewise.
2831         (setLabel): Replaced constant with real string.
2832         (setVisible): Exit if new value is identical.
2833         Replaced constant with real string.
2834         * javax/swing/JProgressBar.java
2835         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2836         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2837         (STRING_CHANGED_PROPERTY): Likewise.
2838         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
2839         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
2840         (setOrientation): Replaced constant with real string.
2841         (setStringPainted): Likewise.
2842         (setString): Likewise.
2843         (setBorderPainted): Likewise.
2844         (setIndeterminate): Likewise.
2845         * javax/swing/JScrollBar.java
2846         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
2847         (MODEL_CHANGED_PROPERTY): Likewise.
2848         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2849         (setOrientation): Replaced constant with real string.
2850         (setModel): Likewise.
2851         (setUnitIncrement): Likewise.
2852         (setBlockIncrement): Likewise.
2853         * javax/swing/JScrollPane.java
2854         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
2855         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
2856         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2857         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2858         (LAYOUT_CHANGED_PROPERTY): Likewise.
2859         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
2860         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2861         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2862         (VIEWPORT_CHANGED_PROPERTY): Likewise.
2863         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
2864         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
2865         (setComponentOrientation): Replaced constant with real string.
2866         (setColumnHeader): Likewise.
2867         (setHorizontalScrollBar): Likewise.
2868         (setHorizontalScrollBarPolicy): Likewise.
2869         (setRowHeader): Likewise.
2870         (setVerticalScrollBar): Likewise.
2871         (setVerticalScrollBarPolicy): Likewise.
2872         (setWheelScrollingEnabled): Likewise.
2873         (setViewport): Likewise.
2874         (setViewportBorder): Likewise.
2875         * javax/swing/JSlider.java
2876         (INVERTED_CHANGED_PROPERTY): Removed.
2877         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
2878         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2879         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2880         (MODEL_CHANGED_PROPERTY): Likewise.
2881         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2882         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
2883         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
2884         (setModel): Replaced constant with real string.
2885         (setOrientation): Likewise.
2886         (setLabelTable): Likewise.
2887         (setInverted): Likewise.
2888         (setMajorTickSpacing): Likewise.
2889         (setMinorTickSpacing): Likewise.
2890         (setPaintTicks): Likewise.
2891         (setPaintLabels): Likewise.
2892         * javax/swing/JTabbedPane.java
2893         (MODEL_CHANGED_PROPERTY): Removed.
2894         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
2895         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
2896         (setModel): Replaced constant with real string.
2897         (setTabPlacement): Likewise.
2898         (setTabLayoutPolicy): Likewise.
2899         * javax/swing/JToolBar.java
2900         (ORIENTATION_CHANGED_PROPERTY): Removed.
2901         (FLOATABLE_CHANGED_PROPERTY): Likewise.
2902         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
2903         (MARGIN_CHANGED_PROPERTY): Likewise.
2904         (ROLLOVER_CHANGED_PROPERTY): Likewise.
2905         (setRollover): Replaced constant with real string.
2906         (setMargin): Likewise.
2907         (setBorderPainted): Likewise.
2908         (setFloatable): Likewise.
2909         (setOrientation): Likewise.
2910         * javax/swing/plaf/basic/BasicComboBoxUI.java
2911         (PropertyChangeHandler.propertyChange): Likewise.
2912         * javax/swing/plaf/basic/BasicComboPopup.java
2913         (PropertyChangeHandler.propertyChange): Likewise.
2914         * javax/swing/plaf/basic/BasicMenuBarUI.java
2915         (PropertyChangeHandler.propertyChange): Likewise.
2916         * javax/swing/plaf/basic/BasicProgressBarUI.java
2917         (PropertyChangeHandler.propertyChange): Likewise.
2918         * javax/swing/plaf/basic/BasicScrollBarUI.java
2919         (PropertyChangeHandler.propertyChange): Likewise.
2920         * javax/swing/plaf/basic/BasicSliderUI.java
2921         (PropertyChangeHandler.propertyChange): Likewise.
2922         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2923         (PropertyChangeHandler.propertyChange): Likewise.
2924         * javax/swing/plaf/basic/BasicToolBarUI.java
2925         (PropertyChangeHandler.propertyChange): Likewise.
2926
2927 2005-02-15  Michael Koch  <konqueror@gmx.de>
2928
2929         * javax/swing/DefaultButtonModel.java
2930         (changeState): Made private.
2931         * javax/swing/DefaultDesktopManager.java
2932         (setWasIcon): Fixed second argument to be java.lang.Boolean.
2933         * javax/swing/JLayeredPane.java
2934         (layerToRange): Made private.
2935         (incrLayer): Likewise.
2936         (decrLayer): Likewise.
2937         * javax/swing/JTable.java
2938         (dragEnabled): Likewise.
2939         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
2940         * javax/swing/KeyStroke.java
2941         (Keystroke): Made private.
2942         * javax/swing/TransferHandler.java
2943         (COMMAND_COPY): Likewise.
2944         (COMMAND_CUT): Likewise.
2945         (COMMAND_PASTE): Likewise.
2946
2947 2005-02-15  Michael Koch  <konqueror@gmx.de>
2948
2949         * javax/swing/JTextField.java
2950         (postActionEvent): Use text in field when actionCommand is null.
2951         (getActionCommand): Removed.
2952
2953 2005-02-15  Michael Koch  <konqueror@gmx.de>
2954
2955         * javax/swing/AbstractSet.java: Removed.
2956         * Makefile.am: Removed javax/swing/AbstractSet.java.
2957         * Makefile.in: Regenerated.
2958
2959 2005-02-15  Michael Koch  <konqueror@gmx.de>
2960
2961         * java/awt/Window.java
2962         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
2963         * java/awt/dnd/DnDConstants.java
2964         (DnDConstants): New private constructor.
2965
2966 2005-02-15  Michael Koch  <konqueror@gmx.de>
2967
2968         * javax/swing/DefaultCellRenderer.java: Removed.
2969         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
2970         * Makefile.in: Regenerated.
2971
2972 2005-02-15  Michael Koch  <konqueror@gmx.de>
2973
2974         * javax/swing/AbstractButton.java
2975         (fireItemStateChanged): Made protected.
2976         (fireActionPerformed): Likewise.
2977         (fireStateChanged): Likewise.
2978         * javax/swing/DefaultButtonModel.java
2979         (fireItemStateChanged): Likewise.
2980         (fireActionPerformed): Likewise.
2981         (fireStateChanged): Likewise.
2982         * javax/swing/JApplet.java
2983         (JApplet): Removed.
2984         (frameInit): Likewise.
2985         (setRootPane): Made protected.
2986         (createRootPane): Likewise.
2987         * javax/swing/JComponent.java
2988         (getClientProperty): Likewise.
2989         (putClientProperty): Likewise.
2990         * javax/swing/JEditorPane.java
2991         (getContentType): Likewise.
2992         (setContentType): Likewise.
2993         * javax/swing/JFrame.java
2994         (setRootPane): Likewise.
2995         (createRootPane): Likewise.
2996         * javax/swing/JInternalFrame.java
2997         (getFocusCycleRootAncestor): Made final. Added @since tag.
2998         (isFocusCycleRoot): Likewise.
2999         (getWarningString): Made final.
3000         * javax/swing/JScrollBar.java
3001         (changeListener): Removed.
3002         (changeEvent): Likewise.
3003         (createChangeListener): Likewise.
3004         (fireStateChanged): Likewise.
3005         (addChangeListener): Likewise.
3006         (removeChangeListener): Likewise.
3007         (getChangeListeners): Likewise.
3008         * javax/swing/JScrollPane.java
3009         (createViewport): Made protected.
3010         * javax/swing/JViewport.java
3011         (addImpl): Likewise.
3012         (setBorder): New method.
3013         * javax/swing/JWindow.java
3014         (setRootPane): Made protected.
3015         (createRootPane): Likewise.
3016         * javax/swing/plaf/basic/BasicButtonUI.java
3017         (installListeners): Likewise.
3018         (uninstallListeners): Likewise.
3019         * javax/swing/plaf/basic/BasicProgressBarUI.java
3020         (incrementAnimationIndex): Likewise.
3021         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3022         (createLayoutManager): Likewise.
3023         * javax/swing/table/DefaultTableCellRenderer.java
3024         (firePropertyChange): Likewise.
3025         * javax/swing/table/JTableHeader.java
3026         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
3027         New constructor.
3028         * javax/swing/text/PlainDocument.java
3029         (reindex): Made private.
3030         * javax/swing/text/PlainView.java
3031         (drawLine): Made protected.
3032         (getTabSize): Likewise.
3033         * javax/swing/text/View.java
3034         (setSize): Removed.
3035         (preferenceChanged): New method.
3036         (getBreakWeight): Likewise.
3037         (breakView): Likewise.
3038         (getViewIndex): Likewise.
3039
3040 2005-02-15  Michael Koch  <konqueror@gmx.de>
3041
3042         * javax/swing/JScrollPane.java
3043         (ScrollBar): Made class protected.
3044         * javax/swing/JSpinner.java
3045         (JSpinner): Added @since tag.
3046         (listenerList): Removed.
3047         * javax/swing/JTable.java
3048         (setValueAt): New method.
3049         (getColumn): Likewise.
3050         * javax/swing/JWindow.java
3051         (rootPaneCheckingEnabled): Renamed from checking.
3052
3053 2005-02-15  Michael Koch  <konqueror@gmx.de>
3054
3055         * javax/swing/plaf/basic/BasicTextUI.java
3056         (RootView.modelToView): Made it public and return a java.awt.Shape.
3057         Handle null subview.
3058         (uninstall): Set textComponent to null when its not possible used
3059         anymore.
3060         * javax/swing/text/View.java
3061         (setParent): Use better argument name.
3062         (getContainer): Get parent via getParent().
3063         (getViewFactory): Likewise.
3064         (getAttributes): Get element via getElement().
3065         (getStartOffset): Likewise.
3066         (getEndOffset): Likewise.
3067         (getResizeWeight): New method.
3068         (getMaximumSpan): Likewise.
3069         (getMinimumSpan): Likewise.
3070         (setSize): Likewise.
3071         (getGraphics): Likewise.
3072
3073 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3074
3075         * java/awt/Checkbox.java:
3076         (AccessibleAWTCheckbox()): Added public constructor
3077         to call superclass.
3078         * java/awt/Choice.java:
3079         (AccessibleAWTChoice): Added class documentation.
3080         (AccessibleAWTChoice()): Added public constructor
3081         to call superclass.
3082         (AccessibleAWTChoice.getAccessibleAction()): Documented.
3083         (AccessibleAWTChoice.getAccessibleRole()): Documented,
3084         and changed role to COMBO_BOX.
3085         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
3086         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
3087         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
3088
3089 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3090             Michael Koch  <konqueror@gmx.de>
3091
3092         * javax/swing/LayoutFocusTraversalPolicy.java,
3093         javax/swing/SortingFocusTraversalPolicy.java:
3094         New classes.
3095         * Makefile.am: Added new classes.
3096         * Makefike.in: Regenerated.
3097
3098
3099 2005-02-15  Michael Koch  <konqueror@gmx.de>
3100
3101         * javax/swing/DebugGraphics.java: Mostly implemented.
3102
3103 2005-02-15  Michael Koch  <konqueror@gmx.de>
3104
3105         * javax/swing/SwingUtilities.java
3106         (findFocusOwner): New method.
3107
3108 2005-02-15  Michael Koch  <konqueror@gmx.de>
3109
3110         * javax/swing/text/DefaultEditorKit.java
3111         (read): Added '\n' after each line.
3112         * javax/swing/text/PlainView.java
3113         (modelToView): Update metrics.
3114         (drawLine): Use offsets from element.
3115         (paint): Update metrics. Draw all lines.
3116
3117 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3118
3119         * java/awt/Checkbox.java:
3120         (AccessibleAWTCheckbox): Added class documentation
3121         * java/awt/Scrollbar.java:
3122         (AccessibleAWTScrollBar): typo corrected and docs added
3123         (AccessibleAWTScrollBar.getAccessibleRole()): documented
3124         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
3125         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
3126         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
3127         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
3128         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
3129         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
3130         (getAccessibleContext()): name of accessible class corrected
3131
3132 2005-02-15  Mark Wielaard  <mark@klomp.org>
3133
3134         * java/awt/BasicStroke.java (hashCode): Implement.
3135         (equals): Document.
3136
3137 2005-02-15  Michael Koch  <konqueror@gmx.de>
3138
3139         * java/awt/print/PrinterJob.java
3140         (pageDialog): Throws java.awt.HeadlessException.
3141         (printDialog): Likewise.
3142
3143 2005-02-15  Mark Wielaard  <mark@klomp.org>
3144
3145         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
3146
3147 2005-02-15  Michael Koch  <konqueror@gmx.de>
3148
3149         * javax/swing/JTable.java
3150         (getValueAt): New method.
3151         * javax/swing/table/JTableHeader.java
3152         (columnAtPoint): New method.
3153
3154 2005-02-15  Michael Koch  <konqueror@gmx.de>
3155
3156         * javax/swing/JTextField.java
3157         (actions): New field.
3158         (static): Initalize actions field.
3159         (getActions): New method.
3160
3161 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3162
3163         * java/awt/Checkbox.java:
3164         (AccessibleAWTCheckbox): name capitalization corrected
3165         and serialization UID added.
3166         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
3167         documented.
3168         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
3169         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
3170         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
3171         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
3172         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
3173         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
3174         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
3175         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
3176         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
3177         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
3178         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
3179         documented
3180         (getAccessibleContext()): name of accessible class corrected
3181
3182 2005-02-15  Sven de Marothy  <sven@physto.se>
3183
3184         * java/awt/geom/doc-files/Area-1.png,
3185         java/awt/geom/doc-files/Ellipse-1.png,
3186         java/awt/geom/doc-files/GeneralPath-1.png:
3187         New files.
3188
3189 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3190
3191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
3192         Use union to avoid type-punning warning.
3193
3194 2005-02-15  Michael Koch  <konqueror@gmx.de>
3195
3196         * javax/swing/DefaultListSelectionModel.java
3197         (clone): New method.
3198
3199 2005-02-15  Mark Wielaard  <mark@klomp.org>
3200
3201         Reported by Martin Platter <motse@complang.tuwien.ac.at>
3202         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3203         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
3204         Correct method signature of gtkSetFilename.
3205
3206 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
3207
3208         * javax/swing/text/StringContent.java: New file.
3209
3210 2005-02-15  Michael Koch  <konqueror@gmx.de>
3211
3212         * Makefile.am: Added javax/swing/text/StringContent.java.
3213         * Makefile.in: Regenerated.
3214
3215 2005-02-15  Michael Koch  <konqueror@gmx.de>
3216
3217         * gnu/java/awt/ClasspathToolkit.java:
3218         Import statements reworked.
3219         (imageCache): Made it of type java.util.HashMap.
3220
3221 2005-02-15  Michael Koch  <konqueror@gmx.de>
3222
3223         * javax/imageio/stream/MemoryCacheImageInputStream.java:
3224         Reworked import statements.
3225
3226 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3227
3228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
3229         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
3231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
3233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
3234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
3235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
3236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
3237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
3238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
3239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
3240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
3241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
3242         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3243         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
3244         Rewrite uses of extern variable to be function calls.
3245         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
3246         function, from extern variable.
3247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3248         (gdk_env): Remove variable, add new function.
3249         (java_vm): Add new variable.
3250         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
3251         java_vm rather than old gdk_env variable.
3252
3253 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
3254
3255         * javax/swing/DefaultListModel.java
3256         (add): fire correct event,
3257         (addElement): corrected interval indices in event,
3258         (clear): corrected upper bound for interval, only fire event if
3259         list is not empty,
3260         (setSize): fire appropriate event.
3261
3262 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3263
3264         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
3265         * gnu/awt/xlib/XToolkit.java: Likewise.
3266         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3267         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3268         * gnu/java/awt/ClasspathToolkit.java: Likewise.
3269         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
3270         * java/awt/EventQueue.java (getNextEvent):
3271         Adjust event loop to switch to native mode after 100ms.
3272         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
3273         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
3274         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
3275         Wake up event thread.
3276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3277         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
3278         Adjust event loop to switch to java mode after 100ms.
3279
3280 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3281
3282         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
3283         accidentally removed in last change.
3284
3285 2005-02-15  Michael Koch  <konqueror@gmx.de>
3286
3287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3288         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
3289
3290 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3291
3292         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
3293         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
3294         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
3295         * jni.cc: Reuse bottom frame between calls, avoid clearing
3296         frame when no local references are made.
3297
3298 2005-02-15  Michael Koch  <konqueror@gmx.de>
3299
3300         * javax/swing/UIDefaults.java (UIDefaults):
3301         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
3302         Fixed HTML entity and removed a redundant comma.
3303
3304 2005-02-15  Michael Koch  <konqueror@gmx.de>
3305
3306         * javax/swing/text/DefaultEditorKit.java
3307         (deinstall): Removed.
3308         (install): Likewise.
3309
3310 2005-02-15  Michael Koch  <konqueror@gmx.de>
3311
3312         * javax/swing/UIDefaults.java (put): Handle value of null.
3313
3314 2005-02-15  Michael Koch  <konqueror@gmx.de>
3315
3316         * java/awt/Robot.java,
3317         java/awt/Scrollbar.java,
3318         java/awt/print/PrinterJob.java,
3319         javax/swing/JTable.java,
3320         javax/swing/text/AbstractDocument.java:
3321         Reworked import statements.
3322
3323 2005-02-15  Michael Koch  <konqueror@gmx.de>
3324
3325         * javax/swing/JEditorPane.java
3326         (read): Implemented.
3327         (write): Likewise.
3328         * javax/swing/text/DefaultEditorKit.java
3329         (page): Renamed from page_url. Made private.
3330         (editorKit): Renamed from kit. Made private.
3331         (ctype): Removed.
3332         (JEditorPane): All constructors reimplemented.
3333         (getContentType): Use content type from editor kit.
3334         (getEditorKit): Return editorKit.
3335         (getEditorKitForContentType):Likewise.
3336         (getPage): Return page.
3337         (setContentType): Reimplemented.
3338         (setEditorKit): Likewise.
3339         (setEditorKitForContentType): Removed wrong implementation.
3340         (setPage): Implemented.
3341
3342 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3343
3344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3345         (nativeSetIconImageFromData): Re-add native implementation.
3346
3347 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
3348
3349         * javax/swing/table/DefaultTableModel.java
3350         (DefaultTableModel()): Added Javadocs.
3351         (DefaultTableModel(int, int)): Fixed implementation.
3352         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
3353         for negative rowCount.
3354         (DefaultTableModel(Object[], int)): Added Javadocs.
3355         (DefaultTableModel(Vector, Vector)): Likewise.
3356         (DefaultTableModel(Object[][], Object[])): Likewise.
3357         (getDataVector): Likewise.
3358         (setDataVector(Vector, Vector)): Likewise.
3359         (setDataVector(Object[][], Object[])): Likewise.
3360         (newDataAvailable): Likewise.
3361         (newRowsAdded): Likewise.
3362         (rowsRemoved): Likewise.
3363         (setColumnIdentifiers(Vector)): Allow for null argument.
3364         (setColumnIdentifiers(Object[])): Added Javadocs.
3365         (setNumRows): Likewise.
3366         (setRowCount): Adds new rows if necessary, and sends more specific
3367         TableModelEvent.
3368         (setColumnCount): Allow for null columnIdentifiers.
3369         (addColumn(Object)): Added Javadocs.
3370         (addColumn(Object, Vector)): Handle null columnData.
3371         (addColumn(Object, Object[])): Handle columnData with more or less
3372         entries than rows in the table.
3373         (addRow(Vector)): Fire appropriate event.
3374         (addRow(Object[])): Added Javadocs.
3375         (insertRow(int, Vector)): Fire appropriate event.
3376         (insertRow(int, Object[])): Added Javadocs.
3377         (moveRow): Reimplemented.
3378         (removeRow(int)): Fire appropriate event.
3379         (getColumnCount): Allow for null columnIdentifiers.
3380         (getColumnName): Now returns empty string when column index is too
3381         large.
3382         (isCellEditable): Added Javadocs.
3383         (getValueAt): Likewise.
3384         (setValueAt): Fire more specific event.
3385         (convertToVector): Added Javadocs.
3386         * javax/swing/table/TableModel.java
3387         Added Javadocs.
3388
3389 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3390
3391         * libgcj.spec.in (lib): Add -l-javax-imageio.
3392
3393 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3394
3395         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
3396         references to event queue q with method call q().
3397         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
3398         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3399         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
3400         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
3401         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
3402         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
3403         (q): New method.
3404
3405 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3406
3407         * gnu/java/awt/ClasspathToolkit.java
3408         (registerImageIOSpis): New method.
3409         * gnu/java/awt/image/ImageDecoder.java
3410         (imageDecoder): New constructor using InputStream
3411         (startProduction): Handle existing InputStream.
3412         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3413         (findSimpleIntegerArray): Make public and static.
3414         (updateBufferedImage): Set each pixel, in a loop.
3415         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3416         Implement ImageIO SPI classes.
3417         (createBufferedImage): Rewrite in terms of SPI classes.
3418         * gnu/java/awt/peer/gtk/GtkToolkit.java
3419         (registerImageIOSpis): New method.
3420         * java/lang/reflect/natMethod.cc
3421         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
3422         which lets JNI call interface methods properly.
3423         * javax/imageio/ImageIO.java
3424         (WriterFormatFilter.filter): Fix copy-and-paste typos.
3425         (WriterMIMETypeFilter.filter): Likewise.
3426         (ImageReaderIterator): Pass extension argument through to SPI.
3427         (getReadersByFilter): Likewise.
3428         (getWritersByFilter): Likewise.
3429         (getImageReadersByFormatName): Likewise.
3430         (getImageReadersByMIMEType): Likewise.
3431         (getImageReadersBySuffix): Likewise.
3432         (getImageWritersByFormatName): Likewise.
3433         (getImageWritersByMIMEType): Likewise.
3434         (getImageWritersBySuffix): Likewise.
3435         (read): Implement.
3436         (write): Implement.
3437         * javax/imageio/ImageReader.java
3438         (progressListeners): Initialize.
3439         (setInput): Implement.
3440         * javax/imageio/ImageWriter.java
3441         (progressListeners): Initialize.
3442         (warningListeners): Likewise.
3443         (warningLocales): Likewise.
3444         (setOutput): Test "isInstance" rather than class equality.
3445         * javax/imageio/spi/IIORegistry.java
3446         (static): Add reader and writer SPIs.
3447         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
3448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3449         (query_formats): New function.
3450         (save_to_stream): Likewise.
3451         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
3452
3453 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3454
3455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
3456         Call XFlush.
3457         (keyPress): Likewise.
3458         (keyRelease): Likewise.
3459
3460 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3461
3462         * javax/swing/JTable.java
3463         (columnAtPoint): New Method. Implemented.
3464         (rowAtPoint): Likewise.
3465         (countSelections): Fixed few small count errors.
3466         (getSelections): Likewise.
3467         (setSelectionMode): Set selection mode for column
3468         selection model in addition to row selection model.
3469         * javax/swing/plaf/basic/BasicTableUI.java:
3470         (getRowForPoint): Removed. Replaced by
3471         JTable.rowAtPoint().
3472         (getColForPoint): Removed. Replaced by
3473         JTable.columnAtPoint().
3474         (updateSelection): Updated to call JTable.columnAtPoint
3475         and JTable.rowAtPoint.
3476         * javax/swing/table/DefaultTableColumnModel.java:
3477         (getSelectedColumns): Implemented.
3478         (getSelectedColumnCount): Implemented.
3479
3480 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3481
3482         * Makefile.am
3483         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
3484         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
3485         * Makefile.in: Regenerate.
3486         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
3487         * gnu/awt/xlib/XFramePeer.java: Likewise.
3488         * gnu/awt/xlib/XToolkit.java: Likewise.
3489         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3490         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3491         * gnu/java/awt/ClasspathToolkit.java
3492         (nativeQueueEmpty)
3493         (wakeNativeQueue)
3494         (iterateNativeQueue): New methods.
3495         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
3496         * gnu/java/awt/peer/gtk/GtkToolkit.java
3497         (gtkInit): Absorb from defunct GtkMainThread class.
3498         (static): Run gtkInit in static startup block.
3499         (GtkToolkit): Remove construction of GtkMainThread and queue.
3500         (getSystemEventQueueImpl): Construct queue when requested.
3501         (nativeQueueEmpty)
3502         (wakeNativeQueue)
3503         (iterateNativeQueue): New methods.
3504         * java/awt/Component.java (removeNotify): Remove race.
3505         * java/awt/EventDispatchThread.java
3506         (EventDispatchThread): Don't start on construction.
3507         (run): Remove isInterrupted check.
3508         * java/awt/EventQueue.java (shutdown): New flag.
3509         (isShutdown): New method checking J2SE shutdown condition.
3510         (setShutdown): New method.
3511         (getNextEvent): Restructure to use ClasspathToolkit.
3512         (postEvent): Activate new thread on posting, wake thread on
3513         post of possible shutdown condition event.
3514         * java/awt/Frame.java
3515         (Frame): Call noteFrame in all constructors.
3516         (fireDummyEvent): New helper method.
3517         (addNotify): Fire a dummy event to wake up queue.
3518         (removeNotify): Fire a dummy event to wake up queue.
3519         (noteFrame): New method.
3520         (weakFrames): New static field.
3521         (getFrames): Implement.
3522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
3523         Remove.
3524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
3525         Move everything from GtkMainThread into this file
3526         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
3527         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
3528         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
3529         New functions to implement single-threaded queue semantics.
3530
3531 2005-02-15  Michael Koch  <konqueror@gmx.de>
3532
3533         * javax/swing/plaf/metal/MetalLookAndFeel.java
3534         (getControlTextFont): New method.
3535         (getMenuTextFont): Likewise.
3536         (getSubTextFont): Likewise.
3537         (getSystemTextFont): Likewise.
3538         (getUserTextFont): Likewise.
3539         (getWindowTitleFont): Likewise.
3540
3541 2005-02-15  Michael Koch  <konqueror@gmx.de>
3542
3543         * javax/swing/text/AbstractDocument.java
3544         (documentFilter): New field.
3545         (getDocumentFilter): New method.
3546         (setDocumentFilter): Likewise.
3547         (dump): Likewise.
3548
3549 2005-02-15  Michael Koch  <konqueror@gmx.de>
3550
3551         * javax/swing/JTree.java
3552         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
3553
3554 2005-02-15  Michael Koch  <konqueror@gmx.de>
3555
3556         * javax/swing/text/AbstractDocument.java
3557         (AbstractElement.getLength): Fixed off-by-one error.
3558         (AbstractElement.children): Made abstract.
3559         (AbstractElement.getAllowsChildren): Likewise.
3560         (AbstractElement.getElement): Likewise.
3561         (AbstractElement.dumpElement): New private method.
3562         (AbstractElement.dump): New method.
3563         (BranchElememt.getName): Fixed implementation.
3564         (BranchElememt.toString): Likewise.
3565         (BranchElememt.getElement): Fixed arguments.
3566         (LeafElement.getName): Fixed implementation.
3567         (LeafElement.toString): Likewise.
3568         * javax/swing/text/GapContent.java
3569         (GapContent): Put default content into buffer.
3570         * javax/swing/text/PlainDocument.java
3571         (reindex): Use empty attribute sets instead of null.
3572         (createDefaultRoot): Reimplemented.
3573         (insertUpdate): Call super method.
3574         (removeUpdate): Likewise.
3575         (getParagraphElement): Implemented.
3576
3577 2005-02-15  Michael Koch  <konqueror@gmx.de>
3578
3579         * gnu/java/awt/ClasspathToolkit.java
3580         (createRobot): Throws java.awt.AWTException.
3581         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
3582         Added '__attribute__((unused))' to all unused method arguments.
3583
3584 2005-02-15  Michael Koch  <konqueror@gmx.de>
3585
3586         * javax/swing/DefaultBoundedRangeModel.java
3587         (fireValueChanged): Fixed off-by-one error.
3588
3589 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3590
3591         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
3592         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
3593         GdkRobotPeer.java.
3594         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
3595         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
3596         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
3597         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
3598         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
3599         (getDefaultScreenDevice): Implement.
3600         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
3601         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
3602         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
3603         * java/awt/Robot.java: Implement.
3604         * java/awt/peer/RobotPeer.java: Rename parameters.
3605         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
3606         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3607         (awt_keycode_to_keysym): Make non-static.
3608         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
3609         AWT_BUTTON3_MASK): Declare constants.
3610         (awt_keycode_to_keysym): Declare.
3611
3612         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
3613         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
3614         and is non-empty pass its value to "make check".
3615         (test_mauve_sim): Likewise.
3616
3617 2005-02-15  Michael Koch  <konqueror@gmx.de>
3618
3619         * javax/imageio/IIOParam.java
3620         (setSourceBands): New method.
3621         (setSourceSubsampling): Likewise.
3622         * javax/imageio/ImageReadParam.java
3623         (setDestination): Likewise.
3624         (setDestinationBands): Likewise.
3625         (setSourceProgressivePasses): Likewise.
3626         * javax/imageio/metadata/IIOInvalidTreeException.java
3627         (serialVersionUID): New static field.
3628         * javax/imageio/metadata/IIOMetadataNode.java
3629         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
3630         (parent): Dont initailize with default value explicitely.
3631         (Object): Likewise.
3632         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
3633         (removeAttributeNode): Likewise.
3634         (removeAttributeNS): Likewise.
3635         (setAttribute): Likewise.
3636         (setAttributeNode): Likewise.
3637         (setAttributeNodeNS): Likewise.
3638         (setAttributeNS): Likewise.
3639         (appendChild): Likewise.
3640         (getNodeValue): Likewise.
3641         (insertBefore): Likewise.
3642         (removeChild): Likewise.
3643         (replaceChild): Likewise.
3644         (setPrefix): Likewise.
3645
3646 2005-02-15  Michael Koch  <konqueror@gmx.de>
3647
3648         * javax/swing/LookAndFeel.java
3649         (getDesktopPropertyValue): New method.
3650
3651 2005-02-15  Michael Koch  <konqueror@gmx.de>
3652
3653         * javax/swing/JTree.java
3654         (hasChildren): New instance field.
3655
3656 2005-02-15  Michael Koch  <konqueror@gmx.de>
3657
3658         * javax/swing/JComponent.java
3659         (getToolTipText): New method.
3660         (getTitledBorderText): Likewise.
3661         (getAccessibleKeyBinding): Likewise.
3662         (getVerifyInputWhenFocusTarget): Likewise.
3663         (setVerifyInputWhenFocusTarget): Likewise.
3664         (verifyInputWhenFocusTarget): New instance field.
3665
3666 2005-02-15  Michael Koch  <konqueror@gmx.de>
3667
3668         * javax/swing/DefaultListSelectionModel.java
3669         (fireValueChanged): New method.
3670
3671 2005-02-15  Michael Koch  <konqueror@gmx.de>
3672
3673         * javax/swing/DefaultBoundedRangeModel.java:
3674         Fixed javadocs all over.
3675         (fireStateChanged): Simplified.
3676         * javax/swing/BoundedRangeModel.java:
3677         Reformatted.
3678
3679 2005-02-15  Michael Koch  <konqueror@gmx.de>
3680
3681         * javax/swing/JRootPane.java
3682         (setMenuBar): Added @deprecated tag.
3683         (getMenuBar): Likewise.
3684         * javax/swing/JTable.java
3685         (sizeColumnsToFit): Likewise.
3686
3687 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
3688
3689         * javax/swing/ImageIcon.java (setImage): Implemented.
3690
3691 2005-02-15  Michael Koch  <konqueror@gmx.de>
3692
3693         * javax/swing/JTable.java:
3694         Removed unused imports.
3695
3696 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3697
3698         (prepareRenderer): Get column's index in dataModel instead
3699         of column's view index.
3700         (getColumnCount): return count of the columns in ColumnModel,
3701         not in dataModel.
3702         (removeColumn): Implemented.
3703         (moveColumm): Likewise.
3704         (setRowHeight): throw IllegalArgumentException if height is
3705         less then 1.
3706         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
3707         (DefaultTableColumnModel):Add call to createSelectionModel().
3708         (addColumn): Fire columnAdded event to registered listeners.
3709         (removeColumn): Fire columnRemoved event to registered listeners.
3710         (moveColumn): Fire columnMoved event to registered listeners.
3711         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
3712         (getColumnIndex): Changed parameter name.
3713         (setColumnSelectionAllowed): Likewise.
3714         (fireColumnAdded): Implemented.
3715         (fireColumnRemoved): Likewise.
3716         (fireColumnMoved): Likewise.
3717         (fireColumnMarginChanged): Likewise.
3718         (getListeners): Changed parameter name.
3719         (propertyChange): Implemented.
3720         (valueChanged): Changed parameter name.
3721         (createSelectionModel): Implemented.
3722
3723 2005-02-15  Michael Koch  <konqueror@gmx.de>
3724
3725         * gnu/java/awt/peer/gtk/GtkToolkit.java:
3726         Explicitely import used classes.
3727         (getLocalGraphicsEnvironment): Simplify.
3728         * java/awt/Window.java (Window):
3729         Enable code to get the default GraphicsConfiguration.
3730
3731 2005-02-15  Michael Koch  <konqueror@gmx.de>
3732
3733         * javax/swing/plaf/metal/DefaultMetalTheme.java
3734         (CONTROL_TEXT_FONT): New static field.
3735         (MENU_TEXT_FONT): Likewise.
3736         (SUB_TEXT_FONT): Likewise.
3737         (SYSTEM_TEXT_FONT): Likewise.
3738         (USER_TEXT_FONT): Likewise.
3739         (WINDOW_TITLE_FONT): Likewise.
3740         (getControlTextFont): New method.
3741         (getMenuTextFont): Likewise.
3742         (getSubTextFont): Likewise.
3743         (getSystemTextFont): Likewise.
3744         (getUserTextFont): Likewise.
3745         (getWindowTitleFont): Likewise.
3746         * javax/swing/plaf/metal/MetalTheme.java
3747         (BLACK): Initialize with Color.BLACK.
3748         (WHITE): Initialize with Color.WHITE.
3749         (getInactiveControlTextColor): Return getControlDisabled().
3750         (getMenuDisabledForeground): Return getSecondary3().
3751         (getControlTextFont): New abstract method.
3752         (getMenuTextFont): Likewise.
3753         (getSubTextFont): Likewise.
3754         (getSystemTextFont): Likewise.
3755         (getUserTextFont): Likewise.
3756         (getWindowTitleFont): Likewise.
3757
3758 2005-02-15  Michael Koch  <konqueror@gmx.de>
3759
3760         * javax/swing/JFormattedTextField.java
3761         (getFocusLostBehavior): Fixed typo in method name.
3762         (setFocusLostBehavior): Likewise.
3763
3764 2005-02-15  Michael Koch  <konqueror@gmx.de>
3765
3766         * javax/swing/TransferHandler.java:
3767         Reworked import statements.
3768
3769 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3770
3771         * java/awt/Button.java,
3772         java/awt/Canvas.java,
3773         java/awt/Checkbox.java,
3774         java/awt/CheckboxMenuItem.java,
3775         java/awt/Choice.java,
3776         java/awt/Dialog.java,
3777         java/awt/Frame.java,
3778         java/awt/Label.java,
3779         java/awt/List.java,
3780         java/awt/Menu.java,
3781         java/awt/MenuBar.java,
3782         java/awt/MenuItem.java,
3783         java/awt/PopupMenu.java,
3784         java/awt/ScrollPane.java,
3785         java/awt/Scrollbar.java,
3786         java/awt/TextArea.java,
3787         java/awt/Window.java (getAccessibleContext): Clean up comments.
3788         Reformat.
3789         * java/awt/Button.java,
3790         java/awt/Checkbox.java,
3791         java/awt/Choice.java,
3792         java/awt/Menu.java,
3793         java/awt/PopupMenu.java,
3794         java/awt/TextArea.java (getAccessibleContext): Only create new
3795         accessible once.
3796         * java/awt/TextComponent.java (getAccessibleContext): Implement.
3797
3798 2005-02-15  Michael Koch  <konqueror@gmx.de>
3799
3800         * java/awt/Button.java,
3801         javax/swing/JApplet.java,
3802         javax/swing/JFormattedTextField.java,
3803         javax/swing/JWindow.java,
3804         javax/swing/JTree.java,
3805         javax/swing/plaf/basic/BasicEditorPaneUI.java,
3806         javax/swing/plaf/basic/BasicTextPaneUI.java,
3807         javax/swing/plaf/basic/BasicTreeUI.java:
3808         Reworked import statements.
3809
3810 2005-02-15  Michael Koch  <konqueror@gmx.de>
3811
3812         * Makefile.am: Put javax.imageio into its own library and link it
3813         against lib-org-w3c-dom.la to fix bootstrapping.
3814         * Makefile.in: Regenerated.
3815
3816 2005-02-15  Michael Koch  <konqueror@gmx.de>
3817
3818         * javax/swing/text/TextAction.java
3819         (getTextComponent): Simplified. Added Javadoc.
3820         (augmentList): Implemented. Added Javadoc.
3821         (getFocusedComponent): Added javadoc.
3822
3823 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3824
3825         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
3826         getAccessibleContext): Implement.
3827         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
3828         getAccessibleContext): Implement.
3829
3830 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3831
3832         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
3833         Implement.
3834         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
3835         Implement.
3836         * java/awt/Window.java (getAccessibleContext): Fix comment.
3837         Remove extra import.
3838
3839 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3840
3841         * java/awt/Window.java (AccessibleAWTWindow): Implement.
3842         (isActive, isFocused, getAccessibleContext): Implement.
3843
3844 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3845
3846         * java/awt/MenuItem.java (getAccessibleContext): Implement.
3847         * java/awt/MenuComponent.java (accessibleContext): Make package
3848         visible.
3849         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
3850         AccessibleAWTCheckboxMenuItem): Implement.
3851
3852 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3853
3854         * java/awt/List.java: Implement AccessibleAWTList,
3855         AccessibleAWTListChild.
3856
3857 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3858
3859         * java/awt/Choice.java: Add implements declaration for
3860         Accessible.
3861
3862 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3863
3864         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
3865         instead of Object.
3866
3867 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3868
3869         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
3870         implemented interface list.
3871
3872 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3873
3874         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
3875         * javax/imageio/metadata/IIOAttr.java: New class.
3876         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
3877         * javax/imageio/metadata/IIONodeList.java: New class.
3878         * Makefile.am: Added new files.
3879         * Makefile.in: Regenerated.
3880
3881 2005-02-15  Michael Koch  <konqueror@gmx.de>
3882
3883         * javax/swing/AbstractAction.java,
3884         javax/swing/AbstractCellEditor.java,
3885         javax/swing/AbstractListModel.java,
3886         javax/swing/DefaultBoundedRangeModel.java,
3887         javax/swing/DefaultButtonModel.java,
3888         javax/swing/DefaultCellEditor.java,
3889         javax/swing/DefaultComboBoxModel.java,
3890         javax/swing/DefaultDesktopManager.java,
3891         javax/swing/JMenu.java,
3892         javax/swing/JSlider.java,
3893         javax/swing/KeyStroke.java,
3894         javax/swing/OverlayLayout.java,
3895         javax/swing/ScrollPaneLayout.java,
3896         javax/swing/SizeRequirements.java,
3897         javax/swing/ViewportLayout.java:
3898         Made serialVersionUID private.
3899
3900 2005-02-15  Michael Koch  <konqueror@gmx.de>
3901
3902         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
3903         Reformatted.
3904
3905 2005-02-15  Michael Koch  <konqueror@gmx.de>
3906
3907         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
3908
3909 2005-02-15  Michael Koch  <konqueror@gmx.de>
3910
3911         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
3912
3913 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
3914
3915         * java/awt/EventDispatchThread.java,
3916         java/awt/Toolkit.java:
3917         Don't catch java.lang.ThreadDeath.
3918
3919 2005-02-15  Michael Koch  <konqueror@gmx.de>
3920
3921         * javax/swing/text/PasswordView.java
3922         (drawEchoCharacter): Added javadoc.
3923         (drawSelectedText): Likewise.
3924         (drawUnselectedText): Likewise.
3925
3926 2005-02-15  Michael Koch  <konqueror@gmx.de>
3927
3928         * javax/swing/JRootPane.java
3929         (windowDecorationStyle): New field.
3930         (setMenuBar): New method.
3931         (getMenuBar): Likewise.
3932         (getWindowDecorationStyle): Likewise.
3933         (setWindowDecorationStyle): Likewise.
3934
3935 2005-02-15  Michael Koch  <konqueror@gmx.de>
3936
3937         * javax/swing/DefaultListSelectionModel.java
3938         (leadAnchorNotificationEnabled): Made protected.
3939
3940 2005-02-15  Michael Koch  <konqueror@gmx.de>
3941
3942         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
3943         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
3944         * Makefile.in: Regenerated.
3945
3946
3947 2005-02-15  Michael Koch  <konqueror@gmx.de>
3948
3949         * javax/swing/JFormattedTextField.java: Implemented.
3950         * javax/swing/JWindow.java
3951         (JWindow): New constructors.
3952         (initWindow): Renamed from initFrame.
3953         * javax/swing/UIDefaults.java
3954         (ActiveValue): Made interface static.
3955         (LazyValue): Likewise.
3956         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
3957         (TitlePaneLayout.TitlePaneLayout): New constructor.
3958         * javax/swing/plaf/basic/BasicSliderUI.java
3959         (ChangeHandler): Made public.
3960         (FocusHandler): Likewise.
3961         (PropertyChangeHandler): Likewise.
3962         (ScrollListener): Likewise.
3963         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3964         (FocusHandler): Likewise.
3965         (MouseHandler): Likewise.
3966         * javax/swing/plaf/basic/BasicTextPaneUI.java
3967         (BasicTextPaneUI): Extend BasicEditorPaneUI.
3968         * javax/swing/plaf/basic/BasicToolBarUI.java
3969         (BasicToolBarUI): Simplified. Reworked javadoc.
3970         (canDock): Simplified. Make public.
3971         (DockingListener): Made public.
3972         * javax/swing/text/JTextComponent.java
3973         (navigationFilter): New field.
3974         (getNavigationFilter): New method.
3975         (setNavigationFilter): Likewise.
3976
3977 2005-02-15  Michael Koch  <konqueror@gmx.de>
3978
3979         * javax/swing/plaf/metal/MetalTheme.java
3980         (getControlTextColor): Return getControlInfo().
3981         (getHighlightedTextColor): Return getControlTextColor().
3982
3983 2005-02-15  Michael Koch  <konqueror@gmx.de>
3984
3985         * javax/swing/plaf/basic/BasicButtonListener.java
3986         (BasicButtonListener): New constructor.
3987         * javax/swing/plaf/basic/BasicButtonUI.java
3988         (createButtonListener): Usw new BasicButtonListener constructor.
3989
3990 2005-02-15  Michael Koch  <konqueror@gmx.de>
3991
3992         * javax/imageio/event/package.html,
3993         javax/imageio/metadata/package.html: New files.
3994
3995 2005-02-15  Michael Koch  <konqueror@gmx.de>
3996
3997         * java/awt/image/MemoryImageSource.java: Reformatted.
3998
3999 2005-02-15  Michael Koch  <konqueror@gmx.de>
4000
4001         * javax/swing/tree/TreeCellEditor.java: Refomatted.
4002
4003 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
4004
4005         * java/awt/color/ICC_Profile.java
4006         (finalize): Removed pointless field assignments.
4007
4008 2005-02-15  Michael Koch  <konqueror@gmx.de>
4009
4010         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
4011         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
4012         * Makefile.in: Regenerated.
4013
4014 2005-02-15  Michael Koch  <konqueror@gmx.de>
4015
4016         * javax/swing/text/DefaultStyledDocument.java: New file.
4017         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
4018         * Makefile.in: Regenerated.
4019
4020 2005-02-15  Michael Koch  <konqueror@gmx.de>
4021
4022         * javax/swing/JFileChooser.java
4023         (showDialog): Return CANCEL_OPTION for now.
4024         (showOpenDialog): Likewise.
4025         (showSaveDialog): Likewise.
4026
4027 2005-02-15  Michael Koch  <konqueror@gmx.de>
4028
4029         * javax/swing/JApplet.java
4030         (HIDE_ON_CLOSE): Removed.
4031         (EXIT_ON_CLOSE): Likewise.
4032         (DISPOSE_ON_CLOSE): Likewise.
4033         (DO_NOTHING_ON_CLOSE): Likewise.
4034         (close_action): Likewise.
4035         (getDefaultCloseOperation): Likewise.
4036         (setDefaultCloseOperation): Likewise.
4037         (processWindowEvent): Likewise.
4038         (getPreferredSize): Simplified.
4039         * javax/swing/JInternalFrame.java
4040         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
4041         value.
4042         * javax/swing/JWindow.java
4043         (HIDE_ON_CLOSE): Removed.
4044         (EXIT_ON_CLOSE): Likewise.
4045         (DISPOS