1 2005-07-19 Matthias Klose <doko@debian.org>
3 * classpath/java/awt/im/InputContext.java (clinit): Initialize
6 2005-07-18 Tom Tromey <tromey@redhat.com>
9 * sources.am, Makefile.in: Rebuilt.
10 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
12 (emit_source_var): Don't emit patsubst with './'.
14 2005-07-18 Tom Tromey <tromey@redhat.com>
16 * Makefile.in: Rebuilt.
17 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
19 2005-07-17 Andreas Jaeger <aj@suse.de>
21 * defineclass.cc (handleClassBegin): Remove unused variable.
23 2005-07-16 Andreas Schwab <schwab@suse.de>
25 * scripts/makemake.tcl (emit_package_rule): Emit command to create
27 * Makefile.am (%.lo): Don't create it here.
28 * sources.am, Makefile.in: Regenerated.
30 2005-07-15 Tom Tromey <tromey@redhat.com>
32 Major merge with Classpath.
33 Removed many duplicate files.
35 * classpath: Imported new directory.
36 * standard.omit: New file.
37 * Makefile.in, aclocal.m4, configure: Rebuilt.
38 * sources.am: New file.
39 * configure.ac: Run Classpath configure script. Moved code around
40 to support. Disable xlib AWT peers (temporarily).
41 * Makefile.am (SUBDIRS): Added 'classpath'
43 (AM_CPPFLAGS): Added more -I options.
44 (BOOTCLASSPATH): Simplified.
45 Completely redid how sources are built.
47 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
48 * include/jni.h: Removed (in Classpath).
49 * scripts/classes.pl: Updated to look at built classes.
50 * scripts/makemake.tcl: New file.
51 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
53 (gcj_jni_invocation_compile_c_to_binary): Likewise.
55 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
57 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
58 (eventMask): New field.
59 (XCanvasPeer(Component)): Use attributes field.
60 (setBackground): Implemented.
61 (setEventMask): Process mask only if changed.
62 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
63 (eventLoopThread): New field.
64 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
67 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
69 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
71 (configureNotify): Set and clear processingConfigureNotify.
72 (setBounds): Process only if processingConfigureNotify is false.
73 (toBack): Implemented.
74 (toFront): Implemented.
75 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
76 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
78 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
79 (wakeNativeQueue): Do nothing.
80 (iterateNativeQueue): Do queue.wait if blocking.
81 * gnu/gcj/xlib/Font.java (loadFont): New method.
82 (loadFontImpl): Renamed native method, was loadFont.
83 * gnu/gcj/xlib/Window.java (toFront): New method.
85 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
87 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
88 (toFront): New method.
89 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
91 2005-07-14 Andrew Haley <aph@redhat.com>
93 * gnu/java/net/protocol/file/Connection.java (unquote): New
95 (connect): Unquote filename.
96 gnu/java/net/protocol/jar/Connection.java (getInputStream):
98 (getJarFile): Likewise.
100 * java/net/URLConnection.java (getContentHandler): Guard cast with
103 * java/net/URL.java (URL): If the file part of a spec is absolute,
104 ignore the file part of its context.
106 2005-07-14 Aaron Luchko <aluchko@redhat.com>
108 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
109 Implemented VirtualMachine Command Set.
111 2005-07-14 Tom Tromey <tromey@redhat.com>
113 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
116 2005-07-12 Aaron Luchko <aluchko@redhat.com>
118 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
119 Implemented the Field CommandSet.
120 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
121 Implemented the InterfaceType CommandSet.
123 2005-07-12 Aaron Luchko <aluchko@redhat.com>
125 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
126 shutdown to jdwp instead of connection.
128 2005-07-12 Aaron Luchko <aluchko@redhat.com>
130 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
133 2005-07-08 Colin Walters <walters@verbum.org>
135 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
136 check for abstract classes or interfaces here; JVM spec
137 says it should throw an exception, so we'll do so later.
138 * interpret.cc (run): Throw an InstantiationException for
139 abstract classes and interfaces.
141 2005-07-08 Andrew Haley <aph@redhat.com>
143 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
144 (regular, non-realtime scheduling), not SCHED_RR (realtime,
147 2005-07-07 Aaron Luchko <aluchko@redhat.com>
149 * gnu/classpath/jdwp/util/Signature.java
150 (computeFieldSignature): New Method.
152 2005-07-07 Aaron Luchko <aluchko@redhat.com>
154 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
157 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
159 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
160 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
162 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
164 * testsuite/libjava.compile/PR21045.java: New test.
165 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
166 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
168 2005-07-06 Tom Tromey <tromey@redhat.com>
170 * java/io/InputStreamReader.java (refill): Handle no-progress
172 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
174 2005-07-06 Tom Tromey <tromey@redhat.com>
176 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
178 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
180 * testsuite/libjava.compile/PR19674.java: New test.
182 2005-07-05 Aaron Luchko <aluchko@redhat.com>
184 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
187 2005-07-04 Aaron Luchko <aluchko@redhat.com>
189 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
190 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
191 CommandSets to handle JdwpCommandPackets.
192 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
195 2005-07-01 Tom Tromey <tromey@redhat.com>
197 * libtool-version: Updated.
199 2005-06-30 Aaron Luchko <aluchko@redhat.com>
201 * gnu/classpath/jdwp/util/JdwpString.java: New file.
203 2005-06-30 Keith Seitz <keiths@redhat.com>
205 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
206 (myWrite): New abstract method.
209 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
211 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
213 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
214 JdwpPacket.write instead of JdwpPacket.toBytes.
216 2005-06-30 Keith Seitz <keiths@redhat.com>
218 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
220 (_bytes): New member.
221 (_doStream): New member.
222 (JdwpConnection): Initialize new members.
224 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
226 * all files: Update for new FSF address.
228 2005-06-29 Tom Tromey <tromey@redhat.com>
231 * testsuite/libjava.lang/pr22211.java: New file.
232 * java/lang/natThread.cc (finish_): Synchronize when updating
234 (_Jv_AttachCurrentThread): Likewise.
235 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
236 * java/lang/Thread.java (isAlive): Now synchronized.
238 2005-06-29 Tom Tromey <tromey@redhat.com>
240 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
243 2005-06-28 Robin Green <greenrd@greenrd.org>
246 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
249 2005-06-27 Tom Tromey <tromey@redhat.com>
251 PR java/21540, PR java/13788:
252 * testsuite/libjava.compile/pr21540.java: New file.
253 * testsuite/libjava.compile/pr13788.java: New file.
254 * testsuite/libjava.jacks/jacks.xfail: Updated.
256 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
258 * testsuite/libjava.mauve/xfails: Updated to reflect current state
259 of mauve and libjava.
261 2005-06-24 Tom Tromey <tromey@redhat.com>
263 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
264 where class' name is NULL.
265 (_Jv_FindClass): Don't wait for class state.
266 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
268 * include/java-interp.h (_Jv_DefineClass): Updated.
269 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
270 (struct _Jv_ClassReader): Likewise.
271 (found_name): New field.
272 (handleClassBegin): Set *found_name.
273 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
274 (handleClassBegin): Throw error if super class not set.
275 (read_methods): Correctly call check_tag and prepare_pool_entry.
277 2005-06-24 Tom Tromey <tromey@redhat.com>
279 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
281 2005-06-24 Tom Tromey <tromey@redhat.com>
283 * verify.cc (verify_instructions_0): Correctly handle situation
284 where PC falls off end.
286 2005-06-24 Tom Tromey <tromey@redhat.com>
288 * interpret.cc (compile): Handle case where table entry is
291 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
293 * testsuite/libjava.compile/PR20697.java: New test-case.
295 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
297 * Makefile.am (SUBDIRS): Use append for conditional.
298 (toolexeclib_LTLIBRARIES): Likewise.
299 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
300 a conditional append.
301 * Makefile.in: Regenerate.
303 2005-06-17 Keith Seitz <keiths@redhat.com>
305 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
306 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
307 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
309 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
310 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
312 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
313 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
314 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
315 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
317 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
318 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
320 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
322 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
323 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
324 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
325 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
326 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
327 * Makefile.in: Regenerate.
329 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
331 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
332 (USING_POSIX_PLATFORM): ... here.
333 * Makefile.am: Delete USING_ECOS_PLATFORM.
334 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
335 external/Makefile.in, external/sax/Makefile.in,
336 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
338 2005-06-15 Tom Tromey <tromey@redhat.com>
341 * testsuite/libjava.lang/pr17536.java: New file.
342 * testsuite/libjava.lang/pr17536.out: New file.
344 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
347 * gnu/java/net/protocol/http/HTTPURLConnection.java
348 (getHeaderFieldKey): Check index.
350 2005-06-15 Tom Tromey <tromey@redhat.com>
353 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
355 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
356 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
358 (append_partial_itable): Use it.
359 (set_vtable_entries): Likewise.
361 2005-06-15 Tom Tromey <tromey@redhat.com>
363 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
364 last_was_sep in loop.
366 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
368 * configure.host: Handle Solaris 10/x86.
370 2005-06-14 Keith Seitz <keiths@redhat.com>
372 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
373 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
375 2005-06-14 Keith Seitz <keiths@redhat.com>
377 * gnu/classpath/jdwp/id/ArrayId.java: New file.
378 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
379 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
380 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
381 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
382 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
383 * gnu/classpath/jdwp/id/JdwpId.java: New file.
384 * gnu/classpath/jdwp/id/ObjectId.java: New file.
385 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
386 * gnu/classpath/jdwp/id/StringId.java: New file.
387 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
388 * gnu/classpath/jdwp/id/ThreadId.java: New file.
390 2005-06-14 Tom Tromey <tromey@redhat.com>
393 * configure, aclocal.m4, Makefile.in: Rebuilt.
395 2005-06-14 Tom Tromey <tromey@redhat.com>
397 * java/lang/Class.java (getClasses): New method.
398 (internalGetClasses): Likewise.
399 (getClassLoader): Updated documentation.
400 (getDeclaredClasses): New overload; old overload no longer
402 (_getConstructors): Removed.
403 (resourcePath): Updated.
404 * java/lang/natClass.cc (getClasses): Removed.
405 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
407 (_getConstructors): Removed.
409 2005-06-13 Jim Huang <jserv@kaffe.org>
412 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
413 (_Jv_JNI_NewObject): Likewise.
415 2005-06-13 Tom Tromey <tromey@redhat.com>
418 * testsuite/libjava.lang/pr21844.java: New file.
419 * testsuite/libjava.lang/pr21844.out: New file.
421 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
424 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
427 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
429 * java/text/MessageFormat.java (parse): When parsing strings, check
430 for an empty pattern trailer.
432 2005-06-06 Keith Seitz <keiths@redhat.com>
434 * gnu/classpath/jdwp/util/Signature.java: New file.
435 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
437 2005-06-05 Anthony Green <green@redhat.com>
439 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
442 2005-06-04 Anthony Green <green@redhat.com>
444 * java/net/URLClassLoader.java: import gnu.gcj.Core,
445 and gnu.java.net.protocol.core.CoreInputStream.
446 (CureURLLoader): New class.
447 (CoreResource): New class.
448 (addURLImpl): Add special treatment for the "core" protocol.
449 * gnu/gcj/natCore.cc (find): New method.
450 * gnu/gcj/Core.java (find): New method.
452 2005-06-03 Keith Seitz <keiths@redhat.com>
454 * gnu/classpath/jdwp/transport/ITransport.java: New file.
455 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
456 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
458 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
460 * jawt.c: Remove malloc.h, covered by stdlib.h.
462 * testsuite/libjava.jni/jni.exp
463 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
466 2005-06-02 Keith Seitz <keiths@redhat.com>
468 * gnu/classpath/jdwp/transport/TransportException.java: New file.
470 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
472 * mauve-libgcj: Remove implemented classes from the fail section.
473 Add two new not implemented to it.
475 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
477 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
478 AC_SUBST definition from configure.host.
479 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
480 to -fomit-frame-pointer on 32-bit x86 targets.
482 2005-06-01 Tom Tromey <tromey@redhat.com>
484 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
486 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
489 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
490 (static): Add possessive matching to JAVA_1_4 syntax.
491 * gnu/regexp/RETokenRepeated.java (possessive): New field.
492 (makePossessive, isPossessive): New methods.
493 (match): Don't back off during possessive matching.
494 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
495 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
498 2005-06-01 Keith Seitz <keiths@redhat.com>
500 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
501 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
502 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
504 2005-06-01 Tom Tromey <tromey@redhat.com>
507 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
508 (currentLoader): New method.
509 * java/io/ObjectInputStream.java (resolveProxyClass): Use
511 (currentLoader): Now native.
512 (currentClassLoader): Removed.
513 * testsuite/libjava.lang/pr21785.java: New file.
514 * testsuite/libjava.lang/pr21785.out: New file.
516 2005-06-01 Tom Tromey <tromey@redhat.com>
519 * java/lang/natString.cc (substring): Changed sharing heuristic.
521 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
524 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
525 MAXPATHLEN. Format exception message using a StringBuffer instead.
527 2005-05-29 Michael Koch <konqueror@gmx.de>
530 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
532 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
534 * ChangeLog: Fix typo.
536 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
538 Testsuite adjustments for PR java/19870.
539 * testsuite/libjava.lang/PR19870.java: New testcase.
540 * testsuite/libjava.lang/PR19870.out: Expected output for the
542 * testsuite/libjava.jacks/jacks.xfail: Add
543 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
546 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
548 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
549 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
550 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
552 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
553 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
554 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
555 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
557 2005-05-25 Richard Henderson <rth@redhat.com>
560 * sysdep/descriptor-n.h: New file.
561 * sysdep/descriptor-y.h: New file.
562 * sysdep/powerpc/descriptor.h: New file.
563 * configure.host: Set $descriptor_h appropriate for the host.
564 * configure.ac: Link it.
565 * configure: Regenerate.
566 * stacktrace.cc: Include sysdep/descriptor.h.
567 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
569 2005-05-25 Chris Burdess <dog@gnu.org>
571 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
572 end entity callbacks.
574 2005-05-24 Gary Benson <gbenson@redhat.com>
577 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
578 Handle DateFormat.DEFAULT case correctly.
580 2005-05-21 Tom Tromey <tromey@redhat.com>
583 * java/lang/ref/natReference.cc (find_slot): Handle case where
584 table has no NULL entries.
585 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
586 table has no NULL entries.
588 2005-05-22 Andreas Jaeger <aj@suse.de>
590 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
593 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
595 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
597 2005-05-19 Richard Henderson <rth@redhat.com>
599 * exception.cc: Revert 05-17 gcc_unreachable change.
601 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
603 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
604 _Jv_RegisterInitiatingLoader to register array classes, not
606 (_Jv_RegisterInitiatingLoader): Give up if called very early during
607 bootstrapping. Add a FIXME to handle this case better.
609 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
611 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
613 (libgcj_la_SOURCES): New. Move sources here.
614 (libgcj.la): Remove rule.
616 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
619 * gnu/java/security/provider/DSASignature.java: Import updates
622 2005-05-18 Anthony Green <green@redhat.com>
624 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
625 classpath_jawt_object_unlock, classpath_jawt_create_lock,
626 classpath_jawt_destroy_lock): New functions.
627 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
628 classpath_jawt_object_unlock, classpath_jawt_create_lock,
629 classpath_jawt_destroy_lock): New functions.
630 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
632 * jawt.c: #include malloc.h.
633 (_Jv_Lock): Use lock.
635 (_Jv_GetDrawingSurface): Initialize lock.
636 (_Jv_FreeDrawingSurface): Destroy lock.
637 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
639 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
641 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
642 * Makefile.in: Regenerate.
644 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
646 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
647 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
648 * aclocal.m4, configure, config.h.in, include/config.h.in,
649 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
650 external/Makefile.in, external/sax/Makefile.in,
651 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
653 2005-05-17 David Daney <ddaney@avtrex.com>
656 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
658 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
660 * exception.cc (abort): Remove std::abort hack.
661 (gcc_unreacheable): Define.
663 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
665 * Makefile.am (Makefile.deps): Do not create native.list and
667 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
668 * Makefile.in: Regenerate.
670 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
672 * configure.ac (--enable-libgcj-multifile): Remove.
674 * Makefile.am (all_native_compiled_source_files,
675 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
676 all_libgcj_lo_files, all_xlib_lo_files,
677 all_java_deps_files, all_java_stamp_files,
678 all_java_filelist_files): New variables.
679 (EXTRA_DIST): New Automake variable.
680 (CLEANFILES): Add .stamp, .list and .lo files.
681 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
682 (classes.stamp): Depend on $(all_java_stamp_files).
683 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
684 going through write_entries_to_file.
686 (all_java_source_files, all_property_files): Move earlier.
687 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
688 all_java_class_files): Remove.
689 (gtk_awt_peer_sources): Rename to...
690 (gtk_awt_peer_source_files): ... this. Adjust throughout.
693 (libgcj0_convenience_la_SOURCES): Remove Java source files.
694 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
695 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
696 (libgcj_la_SOURCES): Remove.
697 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
698 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
699 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
701 * configure: Regenerate.
702 * Makefile.in: Regenerate.
703 * external/Makefile.in: Regenerate.
704 * external/sax/Makefile.in: Regenerate.
705 * external/w3c_dom/Makefile.in: Regenerate.
706 * gcj/Makefile.in: Regenerate.
707 * include/Makefile.in: Regenerate.
708 * libltdl/Makefile.in: Regenerate.
709 * testsuite/Makefile.in: Regenerate.
711 2005-05-16 Tom Tromey <tromey@redhat.com>
713 * java/nio/charset/Charset.java (encode, decode): Synchronize on
714 'this', not the class.
716 2005-05-16 Tom Tromey <tromey@redhat.com>
718 * gnu/java/net/protocol/http/Headers.java (parse): Include final
721 2005-05-16 Tom Tromey <tromey@redhat.com>
724 * java/net/URI.java (unquote): Handle lower-case letters as well.
726 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
729 * gnu/regexp/RE.java: Add support for quoting constructs.
731 2005-05-15 Tom Tromey <tromey@redhat.com>
733 * java/lang/String.java (startsWith): Fixed javadoc.
735 2005-05-15 Tom Tromey <tromey@redhat.com>
738 * testsuite/libjava.compile/pr21519.java: New file.
739 * testsuite/libjava.compile/pr21519.no-link: New file.
741 2005-05-15 Tom Tromey <tromey@redhat.com>
743 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
745 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
748 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
749 interrupt status flag if _Jv_CondWait is interrupted.
751 2005-05-13 Tom Tromey <tromey@redhat.com>
753 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
756 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
758 * include/jvm.h (gcj::verifyClasses): Declare.
759 * link.cc (gcj::verbose_class_flag): Moved.
760 * prims.cc (gcj::verifyClasses): Define here.
761 (gcj::verbose_class_flag): Move definition here.
762 (_Jv_Linker::wait_for_state): Don't call verify_class
763 if gcj::verifyClasses is not set.
764 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
766 2005-05-12 Aaron Luchko <aluchko@redhat.com>
768 * gij.cc (main): Recognize '-verify', '-noverify', and
771 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
773 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
775 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
777 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
780 2005-05-11 Tom Tromey <tromey@redhat.com>
782 * external/w3c_dom/Makefile.in: Rebuilt.
783 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
785 * external/sax/Makefile.in: Rebuilt.
786 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
788 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
790 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
791 Call _Jv_CopyClassesToSystemLoader.
792 * java/lang/natClassLoader.cc (system_class_list): New global.
793 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
795 (_Jv_CopyClassesToSystemLoader): New function.
796 (SYSTEM_LOADER_INITIALIZED): New define.
797 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
798 (_Jv_CheckABIVersion): Use it.
799 (_Jv_ClassForBootstrapLoader): New function.
800 * Makefile.in: Rebuilt.
801 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
803 2005-05-10 Tom Tromey <tromey@redhat.com>
805 * gcj/javaprims.h: Updated.
806 * java/lang/String.java (String(StringBuilder)): New constructor.
807 * java/lang/natStringBuilder.cc: New file.
808 * java/lang/StringBuilder.java: New file.
809 * Makefile.in: Rebuilt.
810 * Makefile.am (core_java_source_files): Added StringBuilder.java.
811 (nat_source_files): Added natStringBuilder.cc.
813 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
816 * testsuite/libjava.jacks/jacks.xfail: Adjust.
818 2005-05-09 Mike Stump <mrs@apple.com>
820 * configure: Regenerate.
822 2005-05-09 David Daney <ddaney@avtrex.com>
824 * java/util/BitSet.java (get(int, int)): Fix breakage when
825 requested set doesn't start on a multiple of 64.
827 2005-05-07 Matthias Klose <doko@debian.org>
829 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
831 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
833 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
834 * Makefile.in: Regenerate.
835 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
836 (createCompatibleVolatileImage(int,int)): Implement.
837 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
839 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
841 (createVolatileImage): Implement.
842 (createBuffers): Likewise.
843 (getBackBuffer): Likewise.
845 (destroyBuffers): Likewise.
846 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
847 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
848 (CanvasFlipBufferStrategy): Likewise.
849 (createBufferStrategy(int)): New method.
850 (createBufferStrategy(int,BufferCapabilities)): Likewise.
851 * java/awt/Component.java (BltBufferStrategy): Implement and
853 (FlipBufferStrategy): Likewise.
854 * java/awt/Window.java (WindowBltBufferStrategy): New class.
855 (WindowFlipBufferStrategy): Likewise.
856 (createBufferStrategy(int)): New method.
857 (createBufferStrategy(int,BufferCapabilities)): Likewise.
858 (getBufferStrategy): Likewise.
859 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
860 front to frontCaps and back to backCaps.
862 2005-05-06 Michael Koch <konqueror@gmx.de>
864 * java/awt/BufferCapabilities.java
865 (BufferCapabilities): Merged javadoc.
867 2005-05-06 Michael Koch <konqueror@gmx.de>
869 * java/util/Locale.java
870 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
871 (getLocale): New methods. Use it everywhere where instances of Locales
873 (getDisplayLanguage): Merged javadoc.
874 (getDisplayCountry): Likewise.
875 (getDisplayVariant): Likewise.
877 2005-05-06 Archie Cobbs <archie@dellroad.org>
879 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
880 use DeleteLocalRef() to avoid exhausting local native references.
882 2005-05-06 Mark Wielaard <mark@klomp.org>
884 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
885 (window_delete_cb): Don't use C++ style comments.
887 2005-05-06 Robert Schuster <thebohemian@gmx.net>
889 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
892 2005-05-06 Robert Schuster <thebohemian@gmx.net>
894 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
895 (window_delete_cb): Made the function return TRUE.
897 2005-05-06 Roman Kennke <roman@kennke.org>
899 * javax/swing/text/PlainView.java
900 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
902 * javax/swing/text/Utilities.java
903 (drawTabbedText): Initilialize local variable pos correctly.
905 2005-05-06 Roman Kennke <roman@kennke.org>
907 * javax/swing/text/AbstractDocument.java
908 (LeafElement): Made start and end package private fields for
909 effective reindexing.
910 * javax/swing/text/PlainDocument.java
911 (constructor): The field rootElement is always BranchElement,
912 so we handle it as such.
913 (removeUpdate): Rewritten reindexing for removeUpdate so that
914 the actual removal is taken into account.
916 2005-05-06 Roman Kennke <roman@kennke.org>
918 * javax/swing/text/GapContent.java:
919 Removed debugging output stuff, which I accidentally left in.
921 2005-05-06 Roman Kennke <roman@kennke.org>
923 * javax/swing/text/GapContent.java:
924 Implemented a real GapContent. Only the public methods have
925 been implemented so far and still no UndoableEdit support.
927 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
929 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
932 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
934 * java/awt/image/BufferStrategy.java: Document.
936 * java/awt/BufferCapabilities.java: Document.
938 2005-05-04 Tom Tromey <tromey@redhat.com>
940 * java/nio/channels/FileLock.java (toString): Entirely avoid
943 2005-05-04 Andrew Overholt <overholt@redhat.com>
945 * java/nio/channels/FileLock.java (toString): Re-implement using
948 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
950 * java/awt/ImageCapabilities.java: Document.
952 * java/awt/image/VolatileImage.java: Unindent copyright header.
954 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
956 * java/awt/image/VolatileImage.java: Document.
958 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
960 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
961 (init_glib_threads): Check if threading system is already
964 2005-05-03 Andrew Overholt <overholt@redhat.com>
967 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
968 could not be acquired.
969 * java/nio/channels/FileLock.java (toString): Re-implement to be
970 in line with other implementations.
972 2005-05-03 Tom Tromey <tromey@redhat.com>
974 * java/lang/VMSecurityManager.java (currentClassLoader): Use
975 'systemClasssLoader' directly.
977 2005-05-03 Tom Tromey <tromey@redhat.com>
979 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
980 call VMClassLoader.getSystemClassLoader.
982 2005-04-29 Michael Koch <konqueror@gmx.de>
984 * java/net/NetworkInterface.java
986 (NetworkInterface(String,InetAddress)): Made package-private.
987 (NetworkInterface(String,InetAddress[])): New constructor.
988 (getRealNetworkInterfaces): Removed.
989 (getByName): Use VMNetworkInterface.getInterfaces().
990 (getByInetAddress): Likewise.
991 (getNetworkInterfaces): Likewise.
992 * java/net/VMNetworkInterface.java,
993 java/net/natVMNetworkInterfaceNoNet.cc,
994 java/net/natVMNetworkInterfacePosix.c,c
995 java/net/natVMNetworkInterfaceWin32.cc: New files.
996 * java/net/natNetworkInterfaceNoNet.cc,
997 java/net/natNetworkInterfacePosix.cc,
998 java/net/natNetworkInterfaceWin32.cc: Removed.
1001 * configure, Makefile.in: Regenerated.
1003 2005-04-29 Andrew Haley <aph@redhat.com>
1005 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1007 2005-04-29 Dalibor Topic <robilad@kaffe.org>
1009 * java/nio/channels/FileChannelImpl.java
1010 (FileChannelImpl(String, int)): Removed.
1011 (FileChannelImpl(File, int)): Added. Check if opened file is a
1013 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1014 Call FileChannelImpl(File, int).
1015 * java/io/FileOutputStream.java (FileInputStream): Call
1016 FileChannelImpl(File, int).
1017 * java/io/RandomAccessFile.java (RandomAccessFile):
1018 Call FileChannelImpl(File, int). Switched constructors around.
1020 2005-04-27 Andrew Haley <aph@redhat.com>
1023 * prims.cc (_Jv_ResolvePoolEntry): New function.
1024 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1025 * link.cc (_Jv_Linker::find_field): New arg: found_class.
1026 (resolve_pool_entry): Initialize the class in which a field is
1028 (link_symbol_table): Pass new arg to found_class.
1030 2005-04-29 Michael Koch <konqueror@gmx.de>
1032 * java/nio/charset/Charset.java
1033 (provider): Reformatted.
1035 2005-04-29 Michael Koch <konqueror@gmx.de>
1037 * gnu/java/net/protocol/http/HTTPConnection.java:
1038 (userAgent): Initialize from system properties.
1039 (initUserAgent): Removed.
1041 2005-04-29 Mark Wielaard <mark@klomp.org>
1043 * java/util/ResourceBundle.java (getObject): Clarify
1044 MissingResourceException detailed message.
1045 (tryBundle(String,ClassLoader)): Likewise.
1047 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1049 * java/beans/FeatureDescriptor.java:
1050 (getShortDescription): Implemented fallback mechanism and fixed
1051 documentation (fixes bug #12637).
1052 (getDisplayName): Dito.
1054 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1056 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1057 will now be set correctly.
1058 (flushCaches): Now flushes all cached intermediate data.
1060 2005-04-28 Michael Koch <konqueror@gmx.de>
1062 * java/net/InetAddress.java
1063 (aton): Fixed javadoc.
1066 2005-04-28 Tom Tromey <tromey@redhat.com>
1068 * javax/swing/Timer.java
1069 (drainEvents, queueEvent): Now package-private.
1071 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1073 * javax/swing/Timer.java
1074 (constructor): Assigning initialDelay.
1076 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1078 * javax/swing/Timer.java
1079 (Waker.run): firing the first action event.
1081 2005-04-28 Michael Koch <konqueror@gmx.de>
1083 * javax/swing/Timer.java: Reordered all fields and methods,
1084 Added more javadocs.
1086 2005-04-28 Michael Koch <konqueror@gmx.de>
1088 * javax/swing/Timer.java: Javadocs merged
1091 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
1093 * gnu/java/net/protocol/file/Connection.java
1094 (StaticData): New inner class to contain statics.
1095 (connect, getHeaderField): Modified to use StaticData.
1097 2005-04-28 Michael Koch <konqueror@gmx.de>
1099 * gnu/java/net/protocol/file/Connection.java
1100 (lineSeparator): Initialize with SystemProperties.getProperty().
1102 2005-04-27 Chris Burdess <dog@gnu.org>
1104 * gnu/java/net/protocol/file/Connection.java: Return correct content
1105 length for directory listing.
1106 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1107 #11285: return valid URLs for directories.i
1109 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1111 * Makefile.am (ordinary_java_source_files): Add
1112 gnu/java/net/protocol/https/Handler.java.
1113 * Makefile.in: Regenerate.
1114 * java/net/URL.java: Remove org.metastatic.jessie from default
1115 protocol search path.
1117 2005-04-27 Chris Burdess <dog@gnu.org>
1119 * gnu/java/net/protocol/https/Handler.java: New file.
1121 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
1123 * javax/imageio/spi/IIORegistry.java (IIORegistry):
1124 Don't assume that awt Toolkit is always ClasspathToolkit.
1126 2005-04-27 Chris Burdess <dog@gnu.org>
1128 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1129 absolute and relative paths in Location header.
1131 2005-04-27 Chris Burdess <dog@gnu.org>
1133 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1134 FileNotFoundException and implement getErrorStream on 404.
1136 2005-04-27 Sven de Marothy <sven@physto.se>
1138 * java/util/TimeZone.java,
1139 (getDefaultDisplayName): Fix previous fix.
1141 2005-04-27 Sven de Marothy <sven@physto.se>
1143 * java/util/TimeZone.java,
1144 (getDefaultDisplayName): Don't print zero offsets.
1146 2005-04-27 Roman Kennke <roman@kennke.org>
1148 * javax/swing/plaf/basic/BasicScrollBarUI
1149 (getThumbBounds): Do not make thumb smaller than
1151 * javax/swing/plaf/metal/MetalLookAndFeel
1152 (initComponentDefaults): Added color defaults for ScrollBar.
1153 * javax/swing/plaf/metal/MetalScrollBarUI
1154 (paintThumb): Added.
1155 (getMinimumThumbSize): Added.
1157 2005-04-27 Roman Kennke <roman@kennke.org>
1159 * javax/swing/plaf/metal/MetalLookAndFeel
1160 (initComponentDefaults): Added some default colors.
1162 2005-04-27 Roman Kennke <roman@kennke.org>
1164 * javax/swing/plaf/basic/BasicScrollBarUI.java
1165 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1166 to 'ScrollBar.thumbShadow'. The formes does not exist.
1167 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1169 2005-04-27 Roman Kennke <roman@kennke.org>
1171 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1172 * javax/swing/BoxLayout.java: Likewise.
1173 * javax/swing/UIManager.java: Likewise.
1174 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1175 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1176 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1177 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1178 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1179 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1180 * javax/swing/text/Document.java: Likewise.
1181 * javax/swing/text/GapContent.java: Likewise.
1182 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1183 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1185 2005-04-27 Roman Kennke <roman@kennke.org>
1187 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1188 (getPropertyPrefix): Added.
1190 2005-04-27 Roman Kennke <roman@kennke.org>
1192 * javax/swing/plaf/basic/BasicButtonUI.java
1193 (getPropertyPrefix): Added.
1194 (installDefaults): Use getPropertyPrefix instead of hard-coded
1197 2005-04-27 Roman Kennke <roman@kennke.org>
1199 * javax/swing/JToggleButton.java
1200 (JToggleButton): Removed horizontalAlignment setting, this
1201 was wrong. Added setting of an actionCommand, ToggleButtons
1202 have "" as default actionCommand.
1204 2005-04-27 Michael Koch <konqueror@gmx.de>
1206 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1207 to work around CNI limitation.
1209 2005-04-27 Sven de Marothy <sven@physto.se>
1211 * java/nio/charset/Charset.java:
1212 (defaultCharset()): New method.
1213 Status updated to 1.5
1215 2005-04-27 Sven de Marothy <sven@physto.se>
1217 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1219 2005-04-27 Sven de Marothy <sven@physto.se>
1221 * java/nio/charset/Charset.java: Reset cached de/encoders.
1223 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1225 * java/nio/charset/Charset.java (forName): Throws
1226 IllegalArgumentException when argument is null
1227 and added documentation.
1229 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1231 * java/nio/charset/Charset.java (providers):
1232 New method to make an array of CharsetProviders defined in
1233 META-INF/services/java.nio.charset.spi.CharsetProvider.
1234 (charsetForName, availableCharsets): Use the
1235 new method providers().
1237 2005-04-26 Michael Koch <konqueror@gmx.de>
1239 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1240 Fixed typos in javadocs.
1241 (isSiteLocalAddress): Fixed handling of byte values.
1242 (isMCLinkLocal): Likewise.
1243 * java/net/Inet4Address.java
1244 (isMulticastAddress): Call super method.
1245 (isLoopbackAddress): Likewise.
1246 (isAnyLocalAddress): Likewise.
1247 (isLinkLocalAddress): Likewise.
1248 (isSiteLocalAddress): Likewise.
1249 (isMCGlobal): Likewise.
1250 (isMCNodeLocal): Likewise.
1251 (isMCLinkLocal): Likewise.
1252 (isMCSiteLocal): Likewise.
1253 (isMCOrgLocal): Likewise.
1254 (getHostAddress): Likewise.
1256 2005-04-26 Sven de Marothy <sven@physto.se>
1258 * java/net/InetAddress.java
1259 (toString): Don't print empty hostnames.
1261 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1264 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1265 'false' to native lock().
1266 (lock): Pass 'true' to native lock().
1268 2005-04-26 Michael Koch <konqueror@gmx.de>
1270 * java/net/InetAddress.java:
1271 Fixed typos in javadocs.
1273 2005-04-26 Andrew Haley <aph@redhat.com>
1276 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1279 2005-04-26 Tom Tromey <tromey@redhat.com>
1281 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1282 gnu): Now package-private.
1283 * javax/swing/text/html/parser/DocumentParser.java (parser,
1284 callBack, gnu): Now package-private.
1285 * javax/swing/text/StringContent.java (content, setOffset,
1286 checkLocation): Now package-private.
1287 * javax/swing/text/JTextComponent.java (doc): Now
1289 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1290 lastGoodOrientation, origParent, borders, cachedBounds,
1291 cachedOrientation, DragWindow): Now package-private.
1292 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1293 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1294 tabAreaRect, contentRect, createIncreaseButton,
1295 createDecreaseButton, findPointForIndex): Now package-private.
1296 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1297 (currentDividerLocation, moveDividerTo): Now package-private.
1298 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1300 * javax/swing/plaf/basic/BasicScrollBarUI.java
1301 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1302 Now package-private.
1303 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1304 (topWindowListener): Now package-private.
1305 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1306 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1307 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1309 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1311 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1312 Now package-private.
1313 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1315 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1316 borderInsets): Now package-private.
1317 (arrowButtonWidth): Likewise. Now a constant.
1318 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1319 makeTabs, updatePreviewPanel): Now package-private.
1320 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1321 darkShadow, highlight): Now package-private.
1322 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1323 (addColorToQueue): Now package-private.
1324 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1325 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1326 GSpinner, BSpinner): Now package-private.
1327 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1328 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1329 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1330 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1331 updateTrack): Now package-private.
1332 * javax/swing/TransferHandler.java (clipboard): Now
1334 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1336 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1338 * javax/swing/RepaintManager.java (globalManager): Now
1340 * javax/swing/JFormattedTextField.java (editValid): Now
1342 * javax/swing/JColorChooser.java (makeModal): Now
1344 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1345 index, path): Now package-private.
1346 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1347 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1348 pointEquals): Now package-private.
1349 * java/awt/geom/Arc2D.java (type): Now package-private.
1350 * java/awt/Window.java (windowFocusOwner): Now package-private.
1351 * java/awt/TextComponent.java (editable, selectionStart,
1352 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1354 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1356 * java/awt/MenuComponent.java (focusListener): Now
1358 * java/awt/Frame.java (state): Now package-private.
1359 * java/awt/Choice.java (pItems): Now package-private.
1360 * java/awt/Checkbox.java (state): Now package-private.
1361 * java/awt/Button.java (actionCommand, label): Now
1363 * gnu/javax/swing/text/html/parser/support/Parser.java
1364 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1366 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1368 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1369 clip, transform, font, comp): Now package-private.
1371 2005-04-26 Tom Tromey <tromey@redhat.com>
1373 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1376 2005-04-26 Mark Wielaard <mark@klomp.org>
1378 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1379 to MalformedURLException.
1381 2005-04-26 Michael Koch <konqueror@gmx.de>
1383 * java/security/AccessControlContext.java:
1385 (protectedDomains): Renamed from 'protectionDomain'.
1386 * java/security/AccessController.java:
1389 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1391 * gnu/java/security/action/GetSecurityPropertyAction.java
1392 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1393 of extending GetPropertyAction.
1396 (setParamters): New methods.
1397 (GetSecurityPropertyAction): Use new setParameters methods.
1399 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1401 * java/security/Security.java,
1402 java/security/cert/X509CRLSelector.java,
1403 java/security/cert/X509CertSelector.java:
1404 Modified to use SystemProperties.
1406 2005-04-26 Michael Koch <konqueror@gmx.de>
1408 * java/lang/System.java
1409 (setSecurityManager): Fixed comment.
1410 (getSecurityManager): Removed obsolete comment.
1412 2005-04-25 Tom Tromey <tromey@redhat.com>
1414 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1416 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1419 (connectSignals): Realize the window widget after connecting
1422 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1424 * java/awt/GraphicsEnvironment.java
1425 (localGraphicsEnvironment): New field.
1426 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1428 (isHeadless): Added support for java.awt.headless property.
1429 (isHeadlessInstance): Call headless().
1431 2005-04-25 Roman Kennke <roman@kennke.org>
1433 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1434 (getDisplayMode): Added. Returns the current display mode.
1435 (isFullScreenSupported): Added.
1436 * java/awt/GraphicsDevice.java
1437 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1438 This resizes and relocates the fullscreen window so that it uses
1439 the whole screen. This is not a fully accelerated fullscreen
1442 2005-04-25 Michael Koch <konqueror@gmx.de>
1444 * java/lang/Runtime.java,
1445 java/lang/SecurityManager.java,
1446 java/lang/System.java,
1447 java/lang/ThreadGroup.java:
1448 Replaced java.lang.Runtime.securityManager by
1449 java.lang.SecurityManager.current (as used in GNU classpath).
1451 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1453 * java/awt/Transparency.java
1454 (getTransparency): fixed API docs.
1456 2005-04-25 Archie Cobbs <archie@dellroad.org>
1458 * java/lang/Throwable.java: simplify initializing cause in constructor
1460 2005-04-25 Michael Koch <konqueror@gmx.de>
1462 * gnu/classpath/SystemProperties.java: New file.
1463 * gnu/classpath/natSystemProperties.cc: New file.
1464 * java/lang/Runtime.java
1465 (defaultProperties): Removed.
1467 (): Made thrown exceptions more verbose.
1468 (insertSystemProperties): Removed.
1469 * java/lang/System.java
1471 (properties): Likewise.
1472 (setSecurityManager): Reordered modifiers.
1473 (getenv): Improved javadoc.
1475 (isWordsBigEndian): Removed.
1476 * java/lang/natRuntime.cc
1477 (_Jv_SetDLLSearchPath): Likewise.
1478 (file_encoding): Likewise.
1479 (default_file_encoding): Likewise.
1480 (getpwuid_adaptor): Likewise.
1481 (insertSystemProperties): Likewise.
1482 * java/lang/natSystem.cc
1483 (isWordsBigEndian): Likewise.
1485 (ordinary_java_source_files):
1486 Added gnu/classpath/SystemProperties.java.
1487 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1488 * Makefile.in: Regenerated.
1490 2005-04-25 Roman Kennke <roman@kennke.org>
1492 * javax/swing/plaf/basic/BasicScrollBarUI.java
1493 (initDefaults): Initialize thumb*Color fields correctly.
1495 2005-04-25 Roman Kennke <roman@kennke.org>
1497 * javax/swing/text/GapContent.java:
1500 2005-04-25 Roman Kennke <roman@kennke.org>
1502 * javax/swing/plaf/metal/MetalBorders.java:
1503 Added inner class ScrollPaneBorder.
1504 * javax/swing/plaf/metal/MetalLookAndFeel.java
1505 (initComponentDefaults): Added default for "ScrollPane.border"
1506 to use the new ScrollPaneBorder.
1508 2005-04-25 Roman Kennke <roman@kennke.org>
1510 * javax/swing/text/AbstractDocument.java:
1511 Added FIXME comments. This class still has to be
1512 implemented thread-safe.
1514 2005-04-25 Roman Kennke <roman@kennke.org>
1516 * javax/swing/tree/DefaultTreeSelectionModel.java
1517 (DefaultTreeSelectionModel): Initialize listenerList here.
1519 2005-04-25 Roman Kennke <roman@kennke.org>
1521 * javax/swing/plaf/metal/MetalTextFieldUI.java
1522 (createUI): Return one instance per Component instead of a
1525 2005-04-25 Roman Kennke <roman@kennke.org>
1527 * javax/swing/text/Document.java:
1528 Added API documentation comments.
1530 2005-04-25 Roman Kennke <roman@kennke.org>
1532 * javax/swing/text/AbstractDocument.java
1533 (getDocumentProperties): Implemented.
1534 (setDocumentProperties): Implemented.
1535 (getProperty): Implemented.
1536 (putProperty): Implemented.
1538 2005-04-25 Roman Kennke <roman@kennke.org>
1540 * javax/swing/BoxLayout
1541 (preferredLayoutSize): Fixed computation so that it correctly
1542 adds the top and bottom insets of the container.
1544 2005-04-25 Roman Kennke <roman@kennke.org>
1546 * javax/swing/plaf/basic/BasicMenuItemUI.java
1547 (paintText): Make use of the 'selectionForeground' UI default
1550 2005-04-25 Roman Kennke <roman@kennke.org>
1552 * javax/swing/plaf/basic/BasicLookAndFeel.java
1553 (initSystemColorDefaults): Modified colors to match the
1554 BasicLookAndFeel in the reference implementation.
1555 (initComponentDefaults): Likewise.
1557 2005-04-25 Tom Tromey <tromey@redhat.com>
1559 * include/jni.h (_Jv_va_list): Removed.
1560 Moved configuration code...
1561 * include/jni_md.h: ... here. New file.
1562 * include/Makefile.in: Rebuilt.
1563 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1565 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1567 * java/io/FileInputStream.java (FileInputStream(File)),
1568 java/io/FileOutputStream.java (FileOutputStream(File)):
1569 Removed unnecessary File.isDirectory() check.
1571 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1573 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1574 gij if get_multilibs fails.
1576 2005-04-22 Anthony Green <green@redhat.com>
1578 * jni.cc (natrehash): Don't bother clearing memory again.
1579 * interpret.cc (do_allocate_static_fields): Ditto.
1580 * java/lang/natString.cc (rehash): Ditto.
1582 2005-04-22 Roman Kennke <roman@kennke.org>
1584 * javax/swing/plaf/basic/BasicLookAndFeel.java
1585 (initComponentDefaults): Changed Button.border to be
1586 BasicBorders.getButtonBorder as it should be.
1588 2005-04-22 Roman Kennke <roman@kennke.org>
1590 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1591 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1592 should according to a mauve testcase, instead of the preferred
1595 2005-04-22 Roman Kennke <roman@kennke.org>
1597 * javax/swing/JMenu.java
1598 (add): add(Component) now calls PopupMenu.insert(..) instead of
1599 PopupMenu.add(..). add(..) is not implemented for Component,
1600 so JComponent.add(..) is called instead, adding the component
1603 2005-04-22 Roman Kennke <roman@kennke.org>
1605 * javax/swing/plaf/basic/BasicButtonListener.java
1606 (mousePressed): replaced query to getModifiersEx with getModifiers.
1607 This method relied on faulty behaviour in getModifierEx.
1608 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1609 This method relied on faulty behaviour in getModifierEx.
1611 2005-04-22 Roman Kennke <roman@kennke.org>
1613 * javax/swing/plaf/metal/MetalLookAndFeel.java
1614 (getDefaults): Call addCustomEntriesToTable on the theme.
1616 2005-04-22 Roman Kennke <roman@kennke.org>
1618 * javax/swing/tree/DefaultTreeSelectionModel.java
1619 (constructor): Added implementation.
1620 (getRowMapper): Added implementation.
1621 (setSelectionMode): Added implementation.
1622 (getSelectionMode): Added implementation.
1623 (getSelectionPath): Added implementation.
1624 (getSelectionPaths): Added implementation.
1625 (getSelectionCount): Added implementation.
1626 (isSelectionEmpty): Added implementation.
1627 (getSelectionRows): Added implementation.
1628 (getMinSelectionRow): Added implementation.
1629 (getMaxSelectionRow): Added implementation.
1630 (getLeadSelectionRow): Added implementation.
1631 (getLeadSelectionPath): Added implementation.
1633 2005-04-22 Casey Marshall <csm@gnu.org>
1635 * gnu/java/security/der/DERValue.java
1636 (getValueAs): new method.
1637 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1638 (<init>): read both dates with 'DERValue.getValueAs', with
1639 'GENERALIZED_TIME' as the argument.
1641 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1643 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1644 be null, check for that case and don't deference it.
1646 2005-04-22 Sven de Marothy <sven@physto.se>
1648 * java/util/logging/LogManager.java: Reformatted.
1649 (readConfiguration): If a logger for a key is not found, create one.
1651 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1653 * java/rmi/Naming.java:
1654 Added class documentation.
1655 (lookup(String)): Call parseURL and getName.
1656 (bind(String,java.rmi.Remote)): Likewise.
1657 (unbind(String)): Likewise.
1658 (rebind(String, java.rmi.Remote)): Likewise.
1659 (list(String)): Call parseURL.
1660 (parseURL(String)): New method to handle parsing and defaults.
1661 (getName(java.net.URL)): New method to handle finding the service name.
1663 2005-04-21 Tom Tromey <tromey@redhat.com>
1665 * java/lang/natClass.cc (initializeClass): Link class.
1667 2005-04-21 Tom Tromey <tromey@redhat.com>
1669 * java/lang/AssertionError.java: Typo fix.
1671 2005-04-21 Tom Tromey <tromey@redhat.com>
1673 * java/lang/VMClassLoader.java (transformException): Removed.
1674 (resolveClass): No longer native. Now does nothing.
1675 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1677 2005-04-21 Anthony Green <green@redhat.com>
1680 * testsuite/libjava.special/special.exp,
1681 testsuite/libjava.special/pr21115I.java,
1682 testsuite/libjava.special/pr21115.java,
1683 testsuite/libjava.special/pr21115.out: New files.
1685 2005-04-21 Chris Burdess <dog@gnu.org>
1687 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1688 CRLF-delimited chunks.
1690 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1692 * java/net/URI.java:
1693 Added class documentation.
1694 (parseURI(String)): Only handle scheme-specific parts
1695 if URI is not opaque. Allow for parts that can't be null.
1696 (toString()): Output the scheme-specific part whole, rather
1697 than as its possibly non-existent components.
1699 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1701 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1702 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1703 Adjusted to match new regexp.
1705 2005-04-20 Michael Koch <konqueror@gmx.de>
1707 * gnu/java/net/protocol/file/Connection.java,
1708 gnu/java/net/protocol/jar/Connection.java:
1709 Reorganized import statements. Fixed @author tags.
1711 2005-04-20 Chris Burdess <dog@gnu.org>
1713 * java/io/DataOutputStream.java (writeUTF): Use block write for
1716 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1718 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1719 (readLine): Changed newline handling.
1721 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1723 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1724 ColorModel,byte[],int,int): Fixed byte to int conversion.
1726 2005-04-20 Michael Koch <konqueror@gmx.de>
1728 * java/io/FilePermission.java
1729 (serialVersionUID): Made private.
1730 (ALL_FILES): New constant.
1731 (implies): Handle '<<ALL FILES>>' case.
1733 2005-04-20 Sven de Marothy <sven@physto.se>
1735 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1736 (drawImage): Don't notify the image observer for offscreen images.
1737 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1738 (setPixels): Don't notify the image observer.
1740 2005-04-20 Sven de Marothy <sven@physto.se>
1742 * java/nio/ByteBufferImpl.java:
1743 (putChar): Inlined for speed.
1744 (put, get): Bulk methods can use arraycopy.
1745 * java/nio/CharBufferImpl.java:
1746 (put, get): Bulk methods can use arraycopy.
1748 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1750 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1752 * java/nio/CharBufferImpl.java
1753 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1754 (get(), put(char)): Inlined checks and field updates. Fixed to
1755 take array_offset into account.
1756 (get(int), put(int, char)): Fixed to take array_offset into account.
1758 2005-04-20 Sven de Marothy <sven@physto.se>
1760 * java/text/SimpleDateFormat.java:
1761 (formatWithAttribute): Pad year before truncating digits.
1763 2005-04-20 Michael Koch <konqueror@gmx.de>
1765 * gnu/java/net/PlainDatagramSocketImpl.java:
1766 Merged copyright header.
1767 * gnu/java/net/PlainSocketImpl.java:
1768 Reorganized import statements. Fixed @author tags.
1770 2005-04-20 Michael Koch <konqueror@gmx.de>
1772 * gnu/java/lang/ClassHelper.java,
1773 gnu/java/lang/reflect/TypeSignature.java:
1776 2005-04-20 Michael Koch <konqueror@gmx.de>
1778 * gnu/java/beans/IntrospectionIncubator.java:
1779 Fixed HTML tags in javadocs.
1781 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1783 * gnu/java/beans/IntrospectionIncubator.java
1784 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1785 set(), is(), add() and remove() with properties or events.
1787 2005-04-20 Michael Koch <konqueror@gmx.de>
1789 * gnu/java/awt/image/XBMDecoder.java:
1790 Fixed modifier order.
1792 2005-04-20 Roman Kennke <roman@kennke.org>
1794 * javax/swing/plaf/basic/BasicButtonUI.java
1795 (paint): This should not care about margin and insets
1796 at the same time, as insets already include the margin
1798 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1799 (getPreferredButtonSize): Likewise.
1800 * javax/swing/plaf/metal/MetalBorders.java
1801 (getBorderInsets): Likewise.
1803 2005-04-20 Roman Kennke <roman@kennke.org>
1805 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1806 (createMessageArea): The JPanel that holds the message area
1807 doesn't need to override getPreferredSize. This prevents some
1808 message components from rendering nicely.
1810 2005-04-20 Roman Kennke <roman@kennke.org>
1812 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1813 (createUI): Do not share instances between components.
1814 * javax/swing/plaf/metal/MetalSliderUI.java
1815 (createUI): Do not share instances between components.
1817 2005-04-20 Roman Kennke <roman@kennke.org>
1819 * javax/swing/plaf/metal/MetalBorders:
1820 (PopupMenuBorder): Added.
1821 * javax/swing/plaf/metal/MetalLookAndFeel
1822 (initComponentDefaults): Added PopupMenuBorder.
1824 2005-04-20 Roman Kennke <roman@kennke.org>
1826 * javax/swing/tree/DefaultTreeSelectionModel.java:
1827 Added API documentation all over the class.
1829 2005-04-20 Roman Kennke <roman@kennke.org>
1831 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1832 (installDefaults): Link managed JScrollPane in instance field.
1833 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1835 2005-04-20 Roman Kennke <roman@kennke.org>
1837 * javax/swing/plaf/basic/BasicScrollBarUI.java
1838 (PropertyChangeHandler.propertyChange): Add default
1839 to switch statement to avoid errors with unusual values
1841 (installComponents): Likewise.
1843 2005-04-20 Roman Kennke <roman@kennke.org>
1845 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1846 (createUI): Instances cannot be shared among JScrollPanes.
1848 2005-04-20 Roman Kennke <roman@kennke.org>
1850 * javax/swing/plaf/metal/MetalLookAndFeel.java
1851 (initComponentDefaults): Added defaults for Menu, MenuBar
1854 2005-04-20 Roman Kennke <roman@kennke.org>
1856 * javax/swing/plaf/basic/BasicScrollBarUI.java
1857 (installUI): Install listeners after everything all, otherwise
1858 we get strange NPEs in some situations, especially with
1860 (createIncreaseButton): Orientation is expected to be
1861 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1862 HORIZONTAL or VERTICAL.
1863 (createDecreaseButton): Orientation is expected to be
1864 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1865 HORIZONTAL or VERTICAL.
1866 (installComponents): Orientation for buttons is expected to be
1867 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1868 HORIZONTAL or VERTICAL.
1870 2005-04-20 Roman Kennke <roman@kennke.org>
1872 * javax/swing/JToolBar.java
1873 (addImpl): Adjust added AbstractButtons to look and feel like
1875 * javax/swing/plaf/metal/MetalBorders.java:
1876 Adjusted insets of ButtonBorder.
1877 (RolloverMarginBorder): Added class for toolbar buttons.
1878 (getButtonBorder): Adjusted factory method to return a shared
1879 instance of button border.
1880 (getToolbarButtonBorder): Added factory method to return a shared
1881 instance of toolbar button border.
1882 (getMarginBorder): Added factory method to return a shared
1883 instance of margin border.
1884 * javax/swing/plaf/metal/MetalButtonUI.java
1885 (installDefauls): If button is child of a JToolBar then set
1886 special border on this button.
1888 2005-04-20 Michael Koch <konqueror@gmx.de>
1890 * java/net/URLConnection.java
1891 (getContent): Fixed javadoc comment.
1893 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1895 * java/net/URL.java:
1896 (toURI()): Implemented.
1898 2005-04-19 Michael Koch <konqueror@gmx.de>
1900 * java/net/InetAddress.java
1901 (InetAddress): Fixed javadoc comment.
1903 (lookup): Added javadoc.
1904 (getFamily): Likewise.
1905 * java/net/ServerSocket.java
1906 (getChannel): Improved javadoc comment.
1908 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1910 * gnu/xml/dom/html2/DomHTMLParser.java:
1911 Changed 'enum' references to become 'enumeration'.
1913 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1915 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1917 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1919 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1920 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1921 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1922 (validateParameters(TagElement,htmlAttributeSet)):
1923 Replaced 'enum' with 'enumeration'.
1924 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1927 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1929 * javax/swing/text/html/parser/Entity.java (getType): New method.
1930 * javax/swing/text/html/parser/DocumentParser.java:
1931 Inherit from javax.swing.text.html.parser.Parser.
1933 2005-04-19 Chris Burdess <dog@gnu.org>
1935 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1936 check for HTML/XHTML namespace.
1938 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1940 * javax/swing/text/html/parser/Parser.java,
1941 javax/swing/text/html/parser/Entity.java:
1942 Inheriting from DTDConstants.
1943 * javax/swing/text/html/parser/AttributeList.java
1944 (getValues): Changed return type.
1945 * javax/swing/text/html/parser/DocumentParser
1946 (parse): Adding the callback parameter that receives
1949 2005-04-19 Chris Burdess <dog@gnu.org>
1951 * gnu/xml/dom/DomImpl.java,
1952 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1953 gnu/xml/dom/html2/DomHTMLDocument.java,
1954 gnu/xml/dom/html2/DomHTMLElement.java,
1955 gnu/xml/dom/html2/DomHTMLFormElement.java,
1956 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1957 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1958 gnu/xml/dom/html2/DomHTMLImpl.java,
1959 gnu/xml/dom/html2/DomHTMLInputElement.java,
1960 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1961 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1962 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1963 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1964 gnu/xml/dom/html2/DomHTMLTableElement.java,
1965 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1966 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1967 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1968 UI events, and tree utility functions.
1970 2005-04-19 Michael Koch <konqueror@gmx.de>
1972 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1973 gnu/javax/swing/text/html/parser/gnuDTD.java,
1974 gnu/javax/swing/text/html/parser/models/node.java:
1975 Reworked import statements.
1977 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1979 * javax/swing/text/html/HTMLDocument.java: New file.
1981 2005-04-19 Michael Koch <konqueror@gmx.de>
1983 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1985 * javax/swing/text/html/parser/AttributeList.java:
1986 Fixed order of modifiers.
1987 (AttributeList): Made final.
1988 * javax/swing/text/html/parser/ContentModel.java:
1989 Fixed html characters in javadocs.
1990 * javax/swing/text/html/parser/DTD.java
1991 (DTD): Don't implement java.io.Serializable directly.
1992 (getElement): Simplified.
1993 * javax/swing/text/html/parser/DTDConstants.java:
1995 * javax/swing/text/html/parser/Element.java:
1996 Fixed order of modifiers.
1997 * javax/swing/text/html/parser/Parser.java:
1998 Reformatted. Don't use fully-qualified class names.
1999 * javax/swing/text/html/parser/ParserDelegator.java:
2000 Fixed order of modifiers.
2001 * javax/swing/text/rtf/RTFParser.java:
2002 Re-ordered import statements.
2003 * javax/swing/text/rtf/RTFScanner.java:
2004 Removed unused import statement.
2006 2005-04-19 Chris Burdess <dog@gnu.org>
2008 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2009 gnu/xml/dom/html2/DomHTMLCollection.java,
2010 gnu/xml/dom/html2/DomHTMLDocument.java,
2011 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2013 * gnu/xml/dom/html2/DomHTMLDListElement.java,
2014 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2015 gnu/xml/dom/html2/DomHTMLDivElement.java,
2016 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2017 gnu/xml/dom/html2/DomHTMLFontElement.java,
2018 gnu/xml/dom/html2/DomHTMLFormElement.java,
2019 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2020 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2021 gnu/xml/dom/html2/DomHTMLHRElement.java,
2022 gnu/xml/dom/html2/DomHTMLHeadElement.java,
2023 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2024 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2025 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2026 gnu/xml/dom/html2/DomHTMLImageElement.java,
2027 gnu/xml/dom/html2/DomHTMLInputElement.java,
2028 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2029 gnu/xml/dom/html2/DomHTMLLIElement.java,
2030 gnu/xml/dom/html2/DomHTMLLabelElement.java,
2031 gnu/xml/dom/html2/DomHTMLLegendElement.java,
2032 gnu/xml/dom/html2/DomHTMLLinkElement.java,
2033 gnu/xml/dom/html2/DomHTMLMapElement.java,
2034 gnu/xml/dom/html2/DomHTMLMenuElement.java,
2035 gnu/xml/dom/html2/DomHTMLMetaElement.java,
2036 gnu/xml/dom/html2/DomHTMLModElement.java,
2037 gnu/xml/dom/html2/DomHTMLOListElement.java,
2038 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2039 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2040 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2041 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2042 gnu/xml/dom/html2/DomHTMLParamElement.java,
2043 gnu/xml/dom/html2/DomHTMLPreElement.java,
2044 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2045 gnu/xml/dom/html2/DomHTMLScriptElement.java,
2046 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2047 gnu/xml/dom/html2/DomHTMLStyleElement.java,
2048 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2049 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2050 gnu/xml/dom/html2/DomHTMLTableColElement.java,
2051 gnu/xml/dom/html2/DomHTMLTableElement.java,
2052 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2053 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2054 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2055 gnu/xml/dom/html2/DomHTMLTitleElement.java,
2056 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2058 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2060 * javax/swing/text/ChangedCharSetException.java,
2061 javax/swing/text/html/HTMLEditorKit.java,
2062 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2063 javax/swing/text/html/parser/AttributeList.java,
2064 javax/swing/text/html/parser/ContentModel.java,
2065 javax/swing/text/html/parser/DocumentParser.java,
2066 javax/swing/text/html/parser/DTD.java,
2067 javax/swing/text/html/parser/DTDConstants.java,
2068 javax/swing/text/html/parser/Element.java,
2069 javax/swing/text/html/parser/Entity.java,
2070 javax/swing/text/html/parser/Parser.java,
2071 javax/swing/text/html/parser/TagElement.java,
2072 gnu/javax/swing/text/html/package.html,
2073 gnu/javax/swing/text/html/parser/gnuDTD.java,
2074 gnu/javax/swing/text/html/parser/HTML_401F.java,
2075 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2076 gnu/javax/swing/text/html/parser/htmlValidator.java,
2077 gnu/javax/swing/text/html/parser/package.html,
2078 gnu/javax/swing/text/html/parser/models/list.java,
2079 gnu/javax/swing/text/html/parser/models/node.java,
2080 gnu/javax/swing/text/html/parser/models/noTagModel.java,
2081 gnu/javax/swing/text/html/parser/models/package.html,
2082 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2083 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2084 gnu/javax/swing/text/html/parser/models/transformer.java,
2085 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2086 gnu/javax/swing/text/html/parser/support/package.html,
2087 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2088 gnu/javax/swing/text/html/parser/support/Parser.java,
2089 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2090 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2091 gnu/javax/swing/text/html/parser/support/low/Constants.java,
2092 gnu/javax/swing/text/html/parser/support/low/Location.java,
2093 gnu/javax/swing/text/html/parser/support/low/node.java,
2094 gnu/javax/swing/text/html/parser/support/low/package.html,
2095 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2096 gnu/javax/swing/text/html/parser/support/low/pattern.java,
2097 gnu/javax/swing/text/html/parser/support/low/Queue.java,
2098 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2100 * javax/swing/text/html/HTML.java,
2101 javax/swing/text/html/parser/ParserDelegator.java:
2102 New files (replacing).
2103 * javax/swing/text/html/package.html,
2104 javax/swing/text/html/parser/package.html: Documenting the
2107 2005-04-19 Chris Burdess <dog@gnu.org>
2109 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2110 gnu/xml/dom/html2/DomHTMLAppletElement.java,
2111 gnu/xml/dom/html2/DomHTMLAreaElement.java,
2112 gnu/xml/dom/html2/DomHTMLBaseElement.java,
2113 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2114 gnu/xml/dom/html2/DomHTMLBodyElement.java,
2115 gnu/xml/dom/html2/DomHTMLBRElement.java,
2116 gnu/xml/dom/html2/DomHTMLButtonElement.java,
2117 gnu/xml/dom/html2/DomHTMLCollection.java,
2118 gnu/xml/dom/html2/DomHTMLDocument.java,
2119 gnu/xml/dom/html2/DomHTMLElement.java: New files.
2121 2005-04-19 Michael Koch <konqueror@gmx.de>
2123 * Makefile.am: Added new files.
2124 * Makefile.in: Regenerated.
2126 2005-04-19 Roman Kennke <roman@kennke.org>
2128 * javax/swing/text/JTextComponent.java
2129 (JTextComponent): Added repaintListener which issues repaint
2130 requests when the underlying document changes.
2131 (setDocument): Adds repaintListener to document when the
2132 document is changed.
2133 * javax/swing/text/DefaultEditorKit.java:
2134 Removed repaint calls on JTextComponent. This is now handled
2135 through a DocumentListener in JTextComponent that repaints
2136 the component when needed.
2138 2005-04-19 Roman Kennke <roman@kennke.org>
2141 * javax/swing/text/StyleContext.java
2142 (NamedStyle.setResolveParent): Added null
2145 2005-04-19 Michael Koch <konqueror@gmx.de>
2147 * java/rmi/server/RemoteObject.java:
2148 Removed unused import statement.
2150 2005-04-19 Michael Koch <konqueror@gmx.de>
2152 * java/net/URL.java: Formatting cleanups.
2154 2005-04-19 Michael Koch <konqueror@gmx.de>
2156 * java/awt/FontMetrics.java: Reformatted.
2157 (getFontRenderContext): Handle case when java.awt.Graphics context is
2160 2005-04-19 Michael Koch <konqueror@gmx.de>
2162 * java/awt/FontMetrics.java
2163 (getStringBounds): New methods.
2166 2005-04-19 Michael Koch <konqueror@gmx.de>
2168 * gnu/java/security/x509/X509Certificate.java
2169 (parse): Handle val == null case.
2171 2005-04-19 Roman Kennke <roman@kennke.org>
2173 * javax/swing/plaf/metal/MetalLookAndFeel.java
2174 (initComponentDefaults): Added defaults for Menu, MenuBar
2177 2005-04-19 Roman Kennke <roman@kennke.org>
2179 * javax/swing/plaf/metal/MetalLookAndFeel.java
2180 (initComponentDefaults): Added Label.font.
2181 (initSystemColorDefaults): Added this method and adjusted the
2182 general control color.
2184 2005-04-19 Roman Kennke <roman@kennke.org>
2186 * javax/swing/plaf/metal/MetalBorders.java:
2188 * javax/swing/plaf/metal/MetalButtonUI.java:
2189 (installDefaults): Install button font.
2190 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2191 (initComponentDefaults): Added button border, font and margin.
2192 Changed components background color to the Metal current themes
2195 2005-04-19 Roman Kennke <roman@kennke.org>
2197 * javax/swing/plaf/metal/MetalLookAndFeel.java
2198 (initComponentDefaults): Added to set Metal specific component
2201 2005-04-19 Mark Wielaard <mark@klomp.org>
2203 * javax/swing/plaf/metal/MetalLookAndFeel.java
2204 (initClassDefaults): Call super.initClassDefaults().
2206 2005-04-19 Roman Kennke <roman@kennke.org>
2208 * javax/swing/plaf/metal/MetalLookAndFeel.java
2209 (initClassDefaults): Added to include the *UI classes.
2211 2005-04-19 Roman Kennke <roman@kennke.org>
2213 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2215 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2217 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2219 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2221 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2223 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2225 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2227 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2229 * javax/swing/plaf/metal/MetalSliderUI.java:
2231 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2233 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2235 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2237 2005-04-19 Roman Kennke <roman@kennke.org>
2239 * javax/swing/plaf/metal/MetalButtonUI.java:
2240 Added skeleton class.
2241 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2242 Added skeleton class.
2243 * javax/swing/plaf/metal/MetalLabelUI.java:
2244 Added skeleton class.
2245 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2246 Added skeleton class.
2247 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2248 Added skeleton class.
2249 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2250 Added skeleton class.
2252 2005-04-19 Roman Kennke <roman@kennke.org>
2254 * javax/swing/UIDefaults.java:
2255 Added API documentation for all methods.
2257 2005-04-19 Roman Kennke <roman@kennke.org>
2259 * javax/swing/UIDefaults.java
2260 (put): Now uses new checkAndPut method instead of checking
2262 (putDefaults): Fixed so that it accepts null-values and
2263 treats them like remove(key).
2264 (checkAndPut): Added. This checks for null-values and calls
2267 2005-04-19 Michael Koch <konqueror@gmx.de>
2269 * Makefile.am: Added new files.
2270 * Makefile.in: Regenerated.
2272 2005-04-19 Mark Wielaard <mark@klomp.org>
2274 * java/lang/natRuntime.cc (insertSystemProperties): Set
2275 java.class.path to CLASSPATH only when not empty. Fall back to
2276 default path "." when java.class.path is empty.
2278 2005-04-19 Michael Koch <konqueror@gmx.de>
2280 * javax/swing/text/rtf/ControlWordToken.java,
2281 javax/swing/text/rtf/RTFEditorKit.java,
2282 javax/swing/text/rtf/RTFParseException.java,
2283 javax/swing/text/rtf/RTFParser.java,
2284 javax/swing/text/rtf/RTFScanner.java,
2285 javax/swing/text/rtf/TextToken.java,
2286 javax/swing/text/rtf/Token.java: New files.
2287 * Makefile.am: Added new files.
2288 * Makefile.in: Regenerated.
2290 2005-04-19 Michael Koch <konqueror@gmx.de>
2292 * java/awt/geom/QuadCurve2D.java:
2293 Fixed Brian Gough's name for real.
2295 2005-04-19 Roman Kennke <roman@kennke.org>
2297 * javax/swing/UIManager.java:
2298 Make the UIManager respect the swing.defaultlaf system
2301 2005-04-19 Tom Tromey <tromey@redhat.com>
2303 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2306 2005-04-19 Roman Kennke <roman@kennke.org>
2308 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2309 Fixed tabs to spaces.
2311 2005-04-19 Roman Kennke <roman@kennke.org>
2313 * javax/swing/plaf/basic/BasicMenuUI.java
2314 (getMaximumSize): Now returns preferredSize because JMenu should
2315 never be bigger than that.
2316 * javax/swing/JRootPane
2317 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2319 2005-04-19 Roman Kennke <roman@kennke.org>
2321 * javax/swing/JRootPane.java:
2322 Fixed various tabs to be spaces.
2323 (RootLayout.layoutContainer): Made menubar left aligned.
2325 2005-04-19 Roman Kennke <roman@ontographics.com>
2327 * javax/swing/JList.java
2328 (getPreferredScrollableViewportSize):
2329 The previous implementation was merely guessing the size,
2330 now it respects layoutOrientation, visibleRowCount
2332 (getScrollableTracksViewportHeight):
2333 Reimplemented so that layoutOrientation, visibleRowCount
2334 and preferred size are respected.
2335 (getScrollableTracksViewportWidth):
2336 Reimplemented so that layoutOrientation, visibleRowCount
2337 and preferred size are respected.
2338 * javax/swing/plaf/basic/BasicListUI.java
2340 Improved calculation of preferredSize when JList is
2341 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2343 The previous implementation assumed a layoutOrientation of
2344 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2345 JList.VERTICAL_WRAP.
2347 2005-04-19 Roman Kennke <roman@ontographics.com>
2349 * javax/swing/plaf/basic/BasicListUI.java
2350 (paintCell): use CellRendererPane for painting the cells.
2352 2005-04-19 Roman Kennke <roman@ontographics.com>
2354 * javax/swing/plaf/basic/BasicListUI:
2355 fixed modifiers of several fields, methods and inner
2356 classes to match the 'spec'.
2357 (getMaximumSize): removed. It's not in the spec and the
2358 implementations was superfluous.
2360 2005-04-19 Roman Kennke <roman@ontographics.com>
2362 * javax/swing/plaf/basic/BasicListUI:
2363 make BasicListUI capable of wrapping lists
2364 (layoutOrientation property of javax.swing.JList)
2366 2005-04-19 Roman Kennke <roman@ontographics.com>
2368 * javax/swing/plaf/basic/BasicListUI
2369 (updateLayoutState,paint): make BasicListUI aware of the
2370 width of the rendered JList.
2372 2005-04-19 Roman Kennke <roman@kennke.org>
2374 * javax/swing/ImageIcon.java
2375 Added API documentation.
2377 2005-04-19 Roman Kennke <roman@kennke.org>
2379 * javax/swing/text/ImageIcon.java
2380 (ImageIcon): Use setImage instead of direct assignment.
2381 (setImage): Call loadImage to make sure that the image is loaded.
2382 (loadImage): Waits for the image to complete loading.
2383 (getImageLoadStatus): Added. Returns the load status of the
2386 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2388 * javax/swing/JTextArea.java (replaceRange):
2389 Fixing doc.remove(start, length) misinterpretation.
2391 2005-04-19 Roman Kennke <roman@ontographics.com>
2393 * javax/swing/CellRendererPane.java:
2394 implemented all methods of this class.
2395 reformatted all wrong formatted code.
2397 2005-04-19 Roman Kennke <roman@kennke.org>
2399 * javax/swing/BoxLayout.java:
2400 (layoutContainer): Made this layout manager respect the
2401 minimum, maximum and preferred size more correctly.
2403 2005-04-19 Roman Kennke <roman@ontographics.com>
2405 * javax/swing/BoxLayout.java:
2406 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2407 layoutContainer): Make these methods and thereby the
2408 BoxLayout respect the insets (like borders) of the
2409 component that is laid out.
2411 2005-04-19 Roman Kennke <roman@kennke.org>
2413 * javax/swing/JComponent.java:
2414 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2415 Untabified the file.
2417 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2419 * javax/swing/JComboBox.java (constructors): selecting the
2420 first item if the box was constructed from the provided
2421 non - empty array or vector.
2423 2005-04-19 Michael Koch <konqueror@gmx.de>
2425 * gnu/java/awt/peer/gtk/GdkGraphics.java
2426 (getClipBounds): Handle clip being null.
2427 (setClip): Likewise.
2428 * java/beans/beancontext/BeanContextSupport.java
2432 (removeAll): Likewise.
2433 (retainAll): Likewise.
2435 2005-04-19 Michael Koch <konqueror@gmx.de>
2437 * java/beans/beancontext/BeanContextServicesSupport.java
2438 (BeanContextServicesSupport): Reimplemented.
2439 (addBeanContextServicesListener): Implemented.
2440 (initialize): Likewise.
2441 (removeBeanContextServicesListener): Likewise.
2442 * java/beans/beancontext/BeanContextSupport.java
2444 (addBeanContextMembershipListener): Likewise.
2445 (getLocale): Likewise.
2446 (initialize): Likewise.
2447 (iterator): Likewise.
2449 (toArray): Likewise.
2451 2005-04-19 Roman Kennke <roman@kennke.org>
2453 * java/awt/MediaTracker.java:
2454 Reindented tabs to spaces.
2456 2005-04-19 Roman Kennke <roman@kennke.org>
2458 * java/awt/MediaTracker.java
2459 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2460 confused the media tracker and lead to lockups. The LOADING
2461 bit is handled on other places.
2462 (addImage): Removed the 'start image tracking' stuff. This
2463 is not necessary and could confuse the media tracker.
2464 (checkAll): Improved the check for image status so that
2465 images that already complete images are detected. Also now
2466 are really all images checked and if necessary loaded. Before
2467 the method bailed out after the first incomplete image.
2468 (statusAll): Detect images that are complete after the
2469 call to Component.prepareImage(..).
2470 (checkID): The same as in checkAll.
2471 (statusID): The same as in statusAll.
2473 2005-04-19 Roman Kennke <roman@kennke.org>
2475 * java/awt/MediaTracker.java
2476 (addImage): Synchronized list access.
2477 (waitForAll): Fixed comparison of time (changed < to >).
2478 (waitForID): Fixed comparison of time (changed < to >).
2479 (removeImage): Synchronized list access.
2481 2005-04-19 Roman Kennke <roman@kennke.org>
2483 * java/awt/MediaTracker.java
2484 Added API documentation.
2486 2005-04-19 Roman Kennke <roman@kennke.org>
2488 * java/awt/MediaTracker.java
2489 (MediaEntry.imageUpdate): Fixed flags. The different flags
2490 must not be ORed together.
2491 (checkAll): Modified to handle different meaning of the flags.
2492 (waitForAll): Fixed so that it waits maximum the
2493 specified amount of milliseconds.
2494 (statusAll): Modified to handle different meaning of the flags.
2495 (waitForID): Fixed so that it waits maximum the
2496 specified amount of milliseconds.
2498 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2500 * java/awt/Font.java (decode): Handle null argument and allow
2503 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2505 * java/beans/EventHandler.java: Reworked documentation.
2506 (invoke): Fixed behavior to match spec.
2508 2005-04-19 Michael Koch <konqueror@gmx.de>
2510 * java/awt/print/PrinterJob.java
2511 (pageDialog): New method.
2512 (printDialog): Implemented.
2514 2005-04-19 Michael Koch <konqueror@gmx.de>
2516 * java/awt/image/ConvolveOp.java:
2517 Removed comment added by eclipse.
2519 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2521 * java/awt/image/IndexColorModel.java
2522 (getRGB): Check if pixel is negative.
2524 2005-04-19 Michael Koch <konqueror@gmx.de>
2526 * java/awt/image/RasterOp.java:
2527 Fixed wrong formatting.
2529 2005-04-18 Roman Kennke <roman@kennke.org>
2531 * java/awt/Compmonent.java
2532 (setComponentOrientation): Made this property firing a
2533 PropertyChangeEvent.
2535 2005-04-18 Roman Kennke <roman@kennke.org>
2537 * java/awt/BorderLayout.java
2538 (calcSize): Check for overflow when component sizes are added.
2540 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2542 * java/awt/AWTEvent.java (toString): Added case
2543 for source not being an AWT component.
2545 2005-04-18 Chris Burdess <dog@gnu.org>
2547 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2549 2005-04-18 Michael Koch <konqueror@gmx.de>
2551 gnu/java/awt/EmbeddedWindowSupport.java,
2552 gnu/java/net/HeaderFieldHelper.java,
2553 gnu/java/net/URLParseError.java,
2554 gnu/java/net/protocol/file/Handler.java,
2555 gnu/java/net/protocol/jar/Handler.java:
2556 Fixed usage of @author tag.
2558 2005-04-18 Michael Koch <konqueror@gmx.de>
2560 * gnu/xml/aelfred2/XmlParser.java:
2561 Reverted my typo fix.
2563 2005-04-18 Michael Koch <konqueror@gmx.de>
2565 * java/awt/geom/CubicCurve2D.java,
2566 java/awt/geom/QuadCurve2D.java:
2567 Fixed mentioning of Brian Gouph.
2569 2005-04-18 Michael Koch <konqueror@gmx.de>
2571 * gnu/java/awt/Buffers.java,
2572 gnu/java/awt/image/ImageDecoder.java,
2573 gnu/java/awt/image/XBMDecoder.java,
2574 gnu/java/awt/peer/ClasspathFontPeer.java,
2575 gnu/java/net/CRLFInputStream.java,
2576 gnu/java/net/EmptyX509TrustManager.java,
2577 gnu/java/net/LineInputStream.java,
2578 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2579 gnu/java/net/protocol/ftp/BlockInputStream.java,
2580 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2581 gnu/java/net/protocol/ftp/DTP.java,
2582 gnu/java/net/protocol/ftp/DTPInputStream.java,
2583 gnu/java/net/protocol/ftp/FTPConnection.java,
2584 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2585 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2586 gnu/java/net/protocol/ftp/StreamInputStream.java,
2587 gnu/java/net/protocol/http/ChunkedInputStream.java,
2588 gnu/java/net/protocol/http/HTTPConnection.java,
2589 gnu/java/net/protocol/http/HTTPURLConnection.java,
2590 gnu/java/net/protocol/http/Headers.java,
2591 gnu/java/net/protocol/http/Request.java,
2592 gnu/java/nio/ChannelInputStream.java,
2593 gnu/java/nio/ChannelOutputStream.java,
2594 gnu/java/nio/InputStreamChannel.java,
2595 gnu/java/nio/OutputStreamChannel.java,
2596 gnu/java/nio/SelectorProviderImpl.java,
2597 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2598 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2599 gnu/java/rmi/dgc/DGCImpl.java,
2600 gnu/java/rmi/registry/RegistryImpl.java,
2601 gnu/java/rmi/server/ProtocolConstants.java,
2602 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2603 gnu/java/rmi/server/RMIIncomingThread.java,
2604 gnu/java/rmi/server/RMIObjectInputStream.java,
2605 gnu/java/rmi/server/RMIObjectOutputStream.java,
2606 gnu/java/rmi/server/RMIVoidValue.java,
2607 gnu/java/rmi/server/UnicastConnectionManager.java,
2608 gnu/java/rmi/server/UnicastRef.java,
2609 gnu/java/rmi/server/UnicastRemoteCall.java,
2610 gnu/java/rmi/server/UnicastRemoteStub.java,
2611 gnu/java/rmi/server/UnicastServerRef.java,
2612 gnu/java/security/OID.java,
2613 gnu/java/security/der/DERReader.java,
2614 gnu/java/security/provider/CollectionCertStoreImpl.java,
2615 gnu/java/security/provider/DSAParameterGenerator.java,
2616 gnu/java/security/provider/DefaultPolicy.java,
2617 gnu/java/security/provider/EncodedKeyFactory.java,
2618 gnu/java/security/provider/GnuDHPublicKey.java,
2619 gnu/java/security/provider/GnuDSAPrivateKey.java,
2620 gnu/java/security/provider/GnuDSAPublicKey.java,
2621 gnu/java/security/provider/GnuRSAPrivateKey.java,
2622 gnu/java/security/provider/GnuRSAPublicKey.java,
2623 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2624 gnu/java/security/provider/RSA.java,
2625 gnu/java/security/provider/SHA1PRNG.java,
2626 gnu/java/security/provider/SHA1withRSA.java,
2627 gnu/java/security/provider/X509CertificateFactory.java,
2628 gnu/java/security/x509/GnuPKIExtension.java,
2629 gnu/java/security/x509/X500DistinguishedName.java,
2630 gnu/java/security/x509/X509CRL.java,
2631 gnu/java/security/x509/X509CRLEntry.java,
2632 gnu/java/security/x509/X509CertPath.java,
2633 gnu/java/security/x509/X509CertSelectorImpl.java,
2634 gnu/java/security/x509/X509Certificate.java,
2635 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2636 gnu/java/security/x509/ext/BasicConstraints.java,
2637 gnu/java/security/x509/ext/CRLNumber.java,
2638 gnu/java/security/x509/ext/CertificatePolicies.java,
2639 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2640 gnu/java/security/x509/ext/Extension.java,
2641 gnu/java/security/x509/ext/GeneralNames.java,
2642 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2643 gnu/java/security/x509/ext/KeyUsage.java,
2644 gnu/java/security/x509/ext/PolicyConstraint.java,
2645 gnu/java/security/x509/ext/PolicyMappings.java,
2646 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2647 gnu/java/security/x509/ext/ReasonCode.java,
2648 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2649 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2650 Reorganized import statements.
2652 2005-04-18 Michael Koch <konqueror@gmx.de>
2654 * gnu/java/awt/color/CieXyzConverter.java,
2655 gnu/java/awt/color/ClutProfileConverter.java,
2656 gnu/java/awt/color/ColorLookUpTable.java,
2657 gnu/java/awt/color/ColorSpaceConverter.java,
2658 gnu/java/awt/color/GrayProfileConverter.java,
2659 gnu/java/awt/color/GrayScaleConverter.java,
2660 gnu/java/awt/color/LinearRGBConverter.java,
2661 gnu/java/awt/color/ProfileHeader.java,
2662 gnu/java/awt/color/PyccConverter.java,
2663 gnu/java/awt/color/RgbProfileConverter.java,
2664 gnu/java/awt/color/SrgbConverter.java,
2665 gnu/java/awt/color/TagEntry.java,
2666 gnu/java/awt/color/ToneReproductionCurve.java:
2667 Standardized file headers.
2669 2005-04-16 Tom Tromey <tromey@redhat.com>
2671 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2672 'ANY' package-private.
2674 2005-04-15 Tom Tromey <tromey@redhat.com>
2676 * Makefile.in: Rebuilt.
2677 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2678 (libgcj0_convenience_la_LIBADD): ... here.
2680 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2682 * gij.cc (version): Properly quote java version.
2683 (main): Fix typo in comment.
2685 2005-04-13 Mark Wielaard <mark@klomp.org>
2687 * java/lang/natRuntime.cc (insertSystemProperties): Set
2688 java.class.path to CLASSPATH if not already set.
2690 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2692 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2694 2005-04-12 Mike Stump <mrs@apple.com>
2696 * configure: Regenerate.
2698 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2701 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2702 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2704 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2707 * scripts/TexinfoDoclet.java: Removed.
2708 * Makefile.am (texinfo): Removed.
2709 * Makefile.in: Regenerated.
2711 2005-04-11 Michael Koch <konqueror@gmx.de>
2713 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2714 Fixed wrong casting.
2716 2005-04-06 Andrew Haley <aph@redhat.com>
2718 * testsuite/libjava.lang/bytearray.java: New file.
2719 * testsuite/libjava.lang/bytearray.out: New file.
2720 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2721 (loadClass): Use it.
2722 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2724 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2726 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2727 gcj-dbtool dependency
2728 * Makefile.in: Regenerated
2730 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2732 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2733 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2735 2005-04-05 Andrew Haley <aph@redhat.com>
2737 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2738 (Tokenizer): New class.
2739 (getFiles): New method.
2740 (main): Add "-" argument.
2742 Read list of files from stdin when merging map databases.
2743 (usage): Add "-" argument.
2747 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2750 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2751 * Makefile.in: Regenerate.
2752 * configure.ac: Add --with-java-home option.
2753 * configure: Regenerate.
2754 * external/Makefile.in: Regenerate.
2755 * external/sax/Makefile.in: Regenerate.
2756 * external/w3c_dom/Makefile.in: Regenerate.
2757 * gcj/Makefile.in: Regenerate.
2758 * include/Makefile.in: Regenerate.
2759 * testsuite/Makefile.in: Regenerate.
2760 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2763 2005-04-05 Tom Tromey <tromey@redhat.com>
2765 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2766 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2767 Rewrote to use _Jv_FindClassFromSignature.
2768 * verify.cc (resolve): throw NoClassDefFoundError.
2769 * link.cc (resolve_field): Throw NoClassDefFoundError.
2770 (find_field): Likewise.
2771 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2772 Handle error cases. Added 'endp' argument.
2773 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2775 2005-04-05 Tom Tromey <tromey@redhat.com>
2777 * Makefile.in: Rebuilt.
2778 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2779 gtk_awt_peer_sources.
2780 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2781 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2782 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2783 (gtk-awt-peer.lo): New target.
2785 2005-04-04 Steve Pribyl <steve@netfuel.com>
2788 * configure.ac: Fix fastjar definition for cross builds.
2789 * configure: Rebuilt.
2791 2005-04-04 Tom Tromey <tromey@redhat.com>
2793 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2794 it was already found.
2796 2005-04-04 Tom Tromey <tromey@redhat.com>
2798 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2799 org.metastatic.jessie.
2801 2005-04-02 Anthony Green <green@redhat.com>
2804 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2806 2005-04-02 Mark Wielaard <mark@klomp.org>
2808 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2809 Attributes and attribute order doesn't matter.
2810 (BasicAttributesEnumeration.where): Initialize to zero.
2811 (BasicAttributesEnumeration.nextElement): Update and compare where
2812 appropriately (zero based).
2814 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2816 PR libgcj/20090, PR libgcj/20526
2817 * gij.cc (nonstandard_opts_help): New function.
2818 (add_option): New function.
2819 (main): Support java options. Set java.class.path. Don't set
2821 * prims.cc (parse_x_arg): New function.
2822 (parse_init_args): Call parse_x_arg for -X and _ options, when
2823 ignoreUnrecognized is true.
2824 (new _Jv_RunMain): New vm_args variant.
2825 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2826 (_Jv_Jar_Class_Path): Remove variable.
2827 * include/java-props.h: Likewise.
2828 * include/cni.h (JvRealloc): New function.
2829 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2830 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2831 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2833 * configure.ac (JV_VERSION): Define.
2834 (JV_API_VERSION): Likewise.
2835 * configure: Regenerate.
2836 * include/config.h.in: Regenerate.
2838 2005-04-01 Mark Anderson <mark@panonet.net>
2840 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2841 -Infinity as parameters.
2843 2005-04-01 Michael Koch <konqueror@gmx.de>
2845 * java/io/PipedInputStream.java
2846 (read): Make sure a positive byte value is returned. Revised javadoc.
2847 Thanks to Olafur Bragason for reporting these bugs.
2849 2005-04-01 Tom Tromey <tromey@redhat.com>
2851 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2852 Updated for name change.
2853 (nativeFindClass): New method.
2854 (loadClass): Use nativeFindClass.
2855 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2857 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2858 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2860 (initialize): New method.
2861 (nativeFindClass): Declare.
2862 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2863 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2864 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2866 (definePackageForNative): Removed.
2867 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2868 Moved to VMClassLoader.java.
2869 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2870 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2871 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2872 removed VMClassLoader.java.
2873 (nat_source_files): Removed natVMClassLoader.cc.
2875 2005-04-01 Tom Tromey <tromey@redhat.com>
2877 * Makefile.in: Rebuilt.
2878 * Makefile.am (db_pathtail): Use $(gcc_version), not
2881 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2883 * java/util/Timer.java
2884 (run): Stop the queue if a task throws an exception.
2886 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2888 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2890 2005-03-29 Ian Lance Taylor <ian@airs.com>
2892 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2893 * external/sax/Makefile.in: Rebuild.
2894 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2896 * external/w3c_dom/Makefile.in: Rebuild.
2898 2005-03-29 Tom Tromey <tromey@redhat.com>
2900 * java/lang/natRuntime.cc (insertSystemProperties): Set
2901 gnu.gcj.runtime.endorsed.dirs.
2902 * Makefile.in: Rebuilt.
2903 * Makefile.am (ordinary_java_source_files): Added
2904 HelperClassLoader.java.
2905 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2906 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2908 (init): Use addDirectoriesFromProperty.
2909 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2910 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2911 gnu.gcj.runtime.endorsed.dirs.
2912 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2914 2005-03-26 Chris Burdess <dog@gnu.org>
2916 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2919 2005-03-13 Michael Koch <konqueror@gmx.de>
2921 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2923 2005-03-11 Chris Burdess <dog@gnu.org>
2925 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2928 2005-02-27 Chris Burdess <dog@gnu.org>
2930 * gnu/xml/aelfred2/JAXPFactory.java,
2931 gnu/xml/aelfred2/SAXDriver.java,
2932 gnu/xml/aelfred2/XmlParser.java,
2933 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2934 formatting conventions. Replaced arrays of Object with struct-like
2935 classes for easier maintainability. Made SAXDriver.stringInterning
2936 package private to allow access from XmlParser inside the loop without
2937 a method call overhead.
2939 2005-03-11 Chris Burdess <dog@gnu.org>
2941 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2944 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2946 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2947 settings to sub Makefiles.
2948 (GCJH, ZIP): Prefix with top_builddir.
2949 * configure: Rebuild.
2950 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2951 * external/w3c_dom/Makefile.in: Rebuild.
2952 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2953 * external/sax/Makefile.in: Rebuild.
2955 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2957 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2958 libsocket to the libraries to link for Solaris.
2960 2005-03-28 Per Bothner <per@bothner.com>
2962 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2963 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2965 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2967 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2968 to fix a ONESTEP fallout.
2969 * Makefile.in: Regenerate.
2971 2005-03-25 Mike Stump <mrs@apple.com>
2973 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2974 paths like we do for the compiler, as we use it in external/sax
2975 and it doesn't get MULTIBUILDTOP right when multilibing.
2977 2005-03-24 Anthony Green <green@redhat.com>
2979 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2981 (usage): Add [LIBDIR] to help output.
2982 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2983 * Makefile.am (AM_CXXFLAGS): Define
2984 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2985 (db_pathtail): New macro.
2987 2005-03-24 Tom Tromey <tromey@redhat.com>
2989 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2990 add sax and w3c libraries.
2991 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2993 * external/w3c_dom/Makefile.in: Rebuilt.
2994 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
2996 (libw3c_gcj_la_LDFLAGS): New variable.
2997 (noinst_LTLIBRARIES): Renamed.
2998 * external/sax/Makefile.in: Rebuilt.
2999 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3001 (libsax_gcj_la_LDFLAGS): New variable.
3002 (noinst_LTLIBRARIES): Renamed.
3004 2005-03-23 Tom Tromey <tromey@redhat.com>
3006 * Makefile.in: Rebuilt.
3007 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3008 (libgcj0_convenience_la_SOURCES): Don't include
3009 gnu_xml_source_files.
3010 (libgcj0_convenience_la_LIBADD): New variable.
3011 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3012 (all_java_source_files): javax_imageio_source_files,
3013 javax_xml_source_files, and gnu_java_beans_source_files.
3014 ($(gnu_xml_source_files:.java=.lo)): Removed target.
3015 (gnu-xml.lo): New target.
3016 (javax-imageio.lo): Likewise.
3017 (javax-xml.lo): Likewise.
3018 (gnu-java-beans.lo): Likewise.
3019 (gnu_java_beans_source_files): New variable.
3020 (javax_imageio_source_files): Likewise.
3021 (javax_xml_source_files): Likewise.
3022 (javax_source_files): Moved files to other variable.
3023 (awt_java_source_files): Likewise.
3024 (ordinary_java_source_files): Added BootClassLoader.java.
3025 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3026 not system class loader.
3027 (initBootLoader): New method.
3028 (loadClass): Search bootLoader.
3029 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3030 boot loader, not system class loader.
3031 (_Jv_UnregisterInitiatingLoader): Likewise.
3032 (_Jv_FindClass): Likewise. Ensure entries in
3033 bootstrap_class_list are unique.
3034 * java/lang/natClass.cc (getClassLoader): Don't special case
3035 system class loader.
3036 * java/lang/VMClassLoader.java (bootLoader): New field.
3037 (getResource): Use bootLoader.
3038 (getResources): Likewise.
3039 (initBootLoader): Declare.
3040 * gnu/gcj/runtime/BootClassLoader.java: New file.
3041 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3042 (EMPTY_ENUMERATION): Now package-private.
3043 * external/w3c_com/Makefile.in: Rebuilt.
3044 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3045 (w3c.jar): New target.
3046 (classes.stamp): Updated.
3047 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3048 Changed name of library.
3049 (libw3c_gcj_la_SOURCES): New variable.
3050 (libw3c_gcj_la_GCJFLAGS): Likewise.
3051 (source_files): Renamed from lib3c_convenience_la_SOURCES.
3052 * external/sax/Makefile.in: Rebuilt.
3053 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3054 (sax.jar): New target.
3055 (classes.stamp): Updated.
3056 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3057 Changed name of library.
3058 (libsax_gcj_la_SOURCES): New variable.
3059 (libsax_gcj_la_GCJFLAGS): Likewise.
3060 (source_files): Renamed from libsax_convenience_la_SOURCES.
3061 * stacktrace.cc (non_system_trace_fn): Don't look at system class
3063 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3065 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3067 2005-03-23 Sven de Marothy <sven@physto.se>
3069 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3071 * java/util/Calendar.java
3072 (set): Use starting day of week when one is needed if none is given.
3073 * java/text/SimpleDateFormat.java
3074 (parse): Handle 1-12 and 1-24 timestamps correctly.
3075 * java/util/GregorianCalendar.java
3076 (computeTime, computeFields): HOUR should be in 0-11 format.
3077 (nonLeniencyCheck): Adjust leniency checking to that fact.
3078 (getLinearDay): Should be private.
3080 2005-03-23 Tom Tromey <tromey@redhat.com>
3082 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3083 (_Jv_CheckABIVersion): Use it.
3085 2005-03-22 Mike Stump <mrs@apple.com>
3087 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3089 * include/posix.h: .dylib is used on all Apple MACH platforms.
3090 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3092 2005-03-22 Tom Tromey <tromey@redhat.com>
3094 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3096 2005-03-21 Tom Tromey <tromey@redhat.com>
3098 * java/lang/VMCompiler.java (static block): Also catch
3099 BufferUnderflowException.
3101 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3103 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
3104 set tool_include_dir. In all substitutions, leave $(gcc_version)
3105 to be expanded by the Makefile.
3106 * aclocal.m4, configure: Regenerate.
3107 * Makefile.am: Set gcc_version. Replace all uses of
3108 @gcc_version@ with $(gcc_version).
3109 * external/Makefile.am, external/sax/Makefile.am
3110 * external/w3c_dom/Makefile.am, gcj/Makefile.am
3111 * testsuite/Makefile.am: Set gcc_version.
3112 * include/Makefile.am: Set gcc_version and tool_include_dir.
3113 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3114 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3115 * testsuite/Makefile.in: Regenerate.
3117 2005-03-17 Andrew Haley <aph@redhat.com>
3119 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3121 Pass klass to _Jv_StackTrace::GetClassContext().
3122 * java/lang/ClassLoader.java (getParent): Pass class to
3123 VMSecurityManager.getClassContext()
3124 (getSystemClassLoader): Likewise.
3125 * java/lang/Package.java (getPackage): Likewise.
3126 (getPackages): Likewise.
3127 * java/lang/SecurityManager.java (getClassContext): Likewise.
3128 (currentClassLoader): Likewise.
3129 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3130 (currentClassLoader) Add new arg: caller.
3131 Pass caller to VMSecurityManager.getClassContext.
3133 * stacktrace.cc (GetClassContext): Correct calculation of
3136 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3137 im->source_file_name.
3139 2005-03-16 Andrew Haley <aph@redhat.com>
3141 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3143 2005-03-16 Tom Tromey <tromey@redhat.com>
3145 * link.cc (ensure_class_linked): Removed #ifdef.
3146 (print_class_loaded): Likewise.
3147 (wait_for_state): Likewise.
3148 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3149 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3150 * include/java-interp.h: ... here.
3152 2005-03-16 Tom Tromey <tromey@redhat.com>
3154 * gnu/java/lang/MainThread.java (run): Load main class using
3155 system class loader.
3157 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3159 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3160 lgcc_s to the libraries to link for Darwin.
3162 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3164 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3165 interpreter-specific code with #ifdef INTERPRETER.
3166 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3167 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3168 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3169 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3170 #ifdef INTERPRETER. Also protect declarations that use it.
3171 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3172 #ifdef INTERPRETER block.
3174 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3177 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3178 * Makefile.in: Rebuilt.
3180 2005-03-15 David Daney <ddaney@avtrex.com>
3182 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3185 2005-03-15 David Daney <ddaney@avtrex.com>
3187 * java/io/BufferedInputStream.java (available): Use 'in' instead
3188 of 'super' for underlying stream access.
3190 (read(byte[], int, int)): Ditto.
3192 (skip): Call skip on underlying stream when possible.
3194 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3196 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3197 SJLJ_EXCEPTIONS is defined.
3199 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3201 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3204 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3206 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3208 (libjava_arguments): Likewise.
3210 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3211 (gcj_jni_test_one): Likewise.
3212 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3213 Add flags to keep the Darwin linker quiet.
3214 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3215 Add -liconv for Darwin.
3217 2005-03-11 Tom Tromey <tromey@redhat.com>
3219 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3220 (_Jv_CheckABIVersion): Use it.
3222 2005-03-11 Tom Tromey <tromey@redhat.com>
3224 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3225 (usage): Document '-p'.
3226 * Makefile.in: Rebuilt.
3227 * Makefile.am (dbexecdir): New variable.
3228 (db_name): Likewise.
3229 (dbexec_DATA): Likewise.
3230 ($(db_name)): New target.
3231 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3232 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3235 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3237 * exception.cc: Remove stray MethodRef.h include.
3238 * java/lang/natClass.cc: Likewise.
3239 * gnu/gcj/runtime/MethodRef.java: Removed.
3240 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3241 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3242 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3243 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3244 * Makefile.in: Rebuilt.
3246 2005-03-10 Tom Tromey <tromey@redhat.com>
3248 * Makefile.in: Rebuilt.
3249 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3251 2005-03-10 Chris Burdess <dog@bluezoo.org>
3253 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3254 not currently parsing the DTD.
3256 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3258 New Stack Trace infrastructure.
3259 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3260 (gnu/gcj/runtime/StackTrace.java): Removed.
3261 (ordinary_java_source_files): Remove obsolete files.
3262 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3263 * configure.host (fallback_backtrace_h): Set backtrace header
3264 for mingw and cygwin targets.
3265 * configure.ac: Make symlink for fallback backtrace headers.
3266 * Makefile.in, configure: Rebuilt.
3267 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3268 Read 'LineNumberTable' attribute.
3269 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3271 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3273 * exception.cc: Remove unused include.
3274 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3275 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3276 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3277 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3278 table to direct threaded instruction values.
3279 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3280 (_Jv_InterpMethod::run): No longer member function. All
3281 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3282 is made or where an instruction could throw.
3283 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3285 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3286 (catch_fpe): Likewise.
3287 * stacktrace.cc: New file. Stack trace code now here.
3288 * gnu/gcj/runtime/MethodRef.java:
3289 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3290 calls addr2line to look up PC addresses in a given binary or shared
3292 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3293 gnu/gcj/runtime/natStackTrace.cc: Removed.
3294 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3295 this function name is specially recognised by the stack trace code
3296 and shouldn't be changed.
3297 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3298 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3299 (_Jv_InterpMethod::run): Update declaration.
3300 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3302 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3303 * include/java-stack.h: New file. Declarations for stack tracing.
3304 * include/jvm.h (_Jv_Frame_info): Removed.
3305 * java/lang/Class.h: Update friend declarations.
3306 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3308 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3309 (getStackTrace): Now native.
3310 (data): New RawDataManaged field.
3311 * java/lang/natClass.cc: Update includes.
3312 (forName): Use _Jv_StackTrace::GetCallingClass for
3313 calling-classloader check.
3314 (getClassLoader): Likewise.
3315 * java/lang/natRuntime.cc: Update includes.
3316 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3317 * java/lang/natVMSecurityManager.cc: Update includes.
3318 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3319 * java/lang/natVMThrowable.cc: New file. Native methods for
3321 * java/lang/reflect/natArray.cc: Update includes.
3322 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3323 accessibility check.
3324 * java/lang/reflect/natConstructor.cc: Update includes.
3325 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3326 accessibility check.
3327 * java/lang/reflect/natField.cc: Update includes.
3328 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3329 accessibility check.
3330 * java/lang/reflect/natMethod.cc: Update includes.
3331 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3332 accessibility check.
3333 * java/util/natResourceBundle.cc: Update includes.
3334 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3335 * java/util/logging/natLogger.cc: Update includes. Use
3336 _Jv_StackTrace::GetCallerInfo to get call-site info.
3337 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3339 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3342 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3344 * testsuite/libjava.compile/PR20312.java: New file.
3345 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3346 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3348 2005-03-09 Andrew Haley <aph@redhat.com>
3350 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3352 (smallTransferTo): New.
3353 (transferFrom): Loop around smallTransferFrom, copying pageSize
3355 (transferTo): Likewise.
3357 2005-03-09 David Daney <ddaney@avtrex.com>
3360 Merge BufferedInputStream from GNU Classpath.
3361 * java/io/BufferedInputStream.java (marktarget): Field removed.
3362 (CHUNKSIZE): Field removed.
3363 (bufferSize): New field.
3364 (BufferedInputStream): Initialize fields.
3365 (close): Invalidate mark and buffer indexes.
3367 (read()): Move mark handling code to refill.
3368 (read(byte[], int, int)): Ditto.
3369 (skip): Ditto and simplify EOF testing.
3370 (refill): Rewritten.
3371 * java/io/InputStreamReader.java (refill): Removed mark and reset
3372 of internal BufferedInputStream.
3374 2005-03-09 Tom Tromey <tromey@redhat.com>
3376 * java/lang/natVMClassLoader.cc (defineClass): Reference
3377 'systemClassLoader' field directly.
3378 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3380 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3381 Reference 'systemClassLoader' field directly.
3382 (_Jv_UnregisterInitiatingLoader): Likewise.
3383 (_Jv_FindClass): Likewise.
3385 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3387 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3389 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3390 the file in GNU Classpath style.
3392 2005-03-09 Tom Tromey <tromey@redhat.com>
3394 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3395 (toString): Synchronize.
3397 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3399 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3400 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3402 2005-03-07 Tom Tromey <tromey@redhat.com>
3404 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3405 (usage): Document '-f'.
3407 2005-03-07 Tom Tromey <tromey@redhat.com>
3409 * java/lang/VMCompiler.java (md5Digest): New field.
3410 (compileClass): Clone md5Digest instead of looking up a new one.
3412 2005-03-07 Tom Tromey <tromey@redhat.com>
3415 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3416 * link.cc (find_field_helper): Added 'type' argument.
3417 (find_field): Updated.
3419 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3420 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3421 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3422 throw UnsupportedOperationException, fixed comments.
3423 (setFont, setForeground): Fixed comments.
3424 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3425 return type to boolean.
3426 (getNextEvent): Fixed javadocs.
3427 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3428 (nativeQueueEmpty): Removed unused code.
3429 (iterateNativeQueue): Removed outer loop.
3431 2005-03-06 Roger Sayle <roger@eyesopen.com>
3434 * Makefile.am (libgcj0_convenience.la): Revert last change.
3435 * Makefile.in: Regenerate.
3437 2005-03-05 Anthony Green <green@redhat.com>
3439 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3440 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3441 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3442 (_Jv_GetDrawingSurface): Set visualID.
3443 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3444 (JAWT_GetAWT): Set Lock and Unlock.
3445 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3447 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3448 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3449 JAWT_LOCK_SURFACE_CHANGED): New macros.
3450 (struct _JAWT): Add Lock and Unlock.
3452 2005-03-05 Roger Sayle <roger@eyesopen.com>
3453 Alexandre Oliva <aoliva@redhat.com>
3454 Kelley Cook <kcook@gcc.gnu.org>
3457 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3458 of the object files to link to avoid exceeding the command line
3459 length limits on some platforms.
3460 (clean-local): Clean up objectlist files.
3461 * Makefile.in: Regenerate.
3463 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3465 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3466 spec_case. Initialize pointer mlo.
3468 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3471 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3473 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3476 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3477 uninitialized variable z.
3479 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3480 possible unused variables.
3482 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3484 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3486 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3489 * testsuite/libjava.jni/jni.exp
3490 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3492 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3494 2005-02-23 David Daney <ddaney@avtrex.com>
3496 * configure.host: Don't use -mxgot for MIPS builds.
3498 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3501 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3502 (COMPPATH): Removed.
3503 (ZIP, GCJH): Replace it with ../$(host_subdir).
3504 (built_gcc_dir): Add $(host_subdir).
3505 * configure: Regenerate.
3506 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3507 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3508 external/w3c_dom/Makefile.in: Regenerate.
3510 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3512 * java/awt/font/TextAttribute.java: changed names to lower case;
3513 (readResolve): implemented.
3514 Added doc comments all over.
3516 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3519 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3520 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3521 value. Move argument parsing code to prims.cc.
3522 * prims.cc (no_properties): Remove.
3523 (_Jv_Compiler_Properties): Initialize to NULL.
3524 (_Jv_Properties_Count): Initialize to 0.
3525 (parse_verbose_args): New function.
3526 (parse_init_args): New function.
3527 (_Jv_CreateJavaVM): Call parse_init_args.
3528 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3529 * gcj/cni.h (JvVMOption): New struct.
3530 (JvVMInitArgs): Likewise.
3531 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3533 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3534 (_Jv_VMInitArgs): Likewise.
3535 * include/java-props.h (_Jv_Properties_Count): Declare.
3536 * java/lang/natRuntime.cc (insertSystemProperties): Use
3537 _Jv_Properties_Count in for loop exit condition.
3538 * testsuite/libjava.jni/jni.exp
3539 (gcj_invocation_compile_c_to_binary): New procedure.
3540 (gcj_invocation_test_one): Likewise.
3541 (gcj_jni_run): Run JNI invocation API tests.
3542 * testsuite/libjava.jni/invocation/PR16923.c,
3543 testsuite/libjava.jni/invocation/PR16923.java,
3544 testsuite/libjava.jni/invocation/PR16923.out: New test.
3546 2005-02-23 Michael Koch <konqueror@gmx.de>
3548 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3549 * Makefile.in: Regenerated.
3551 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3553 * gnu/java/nio/ChannelReader: Fixed comments.
3555 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3557 * java/nio/channels/Channels: Added FIXMEs about
3558 stub method implementation.
3559 (newReader): Implemented.
3560 * gnu/java/nio/ChannelReader: New class.
3562 2005-02-23 Michael Koch <konqueror@gmx.de>
3564 * java/text/SimpleDateFormat.java:
3565 Removed unused import.
3567 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3570 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3571 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3572 * Makefile.in: Regenerate.
3573 * configure.ac: Check for libXtst.
3574 * configure: Regenerate.
3576 2005-02-22 Mark Wielaard <address@bogus.example.com>
3578 * java/security/AlgorithmParameterGenerator.java (getInstance):
3579 Mention provider when throwing NoSuchProviderException.
3580 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3581 * java/security/KeyFactory.java (getInstance): Likewise.
3582 * java/security/KeyStore.java (getInstance): Likewise.
3583 * java/security/SecureRandom.java (getInstance): Likewise.
3584 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3586 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3588 * java/lang/reflect/Proxy.java,
3590 java/security/SecureRandom.java,
3591 java/util/Timer.java,
3592 java/util/prefs/AbstractPreferences.java:
3593 Don't catch java.lang.ThreadDeath.
3595 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3597 * java/awt/font/TransformAttribute.java,
3598 (TransformAttribute(AffineTransform)): throw
3599 IllegalArgumentException for null transform.
3600 (getTransform): return a copy of transform.
3601 Added doc comments to all.
3603 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3605 * java/io/Externalizable.java,
3606 java/io/Serializable.java
3607 (serialVersionUID): Removed.
3608 * java/rmi/server/RemoteObject.java,
3609 java/rmi/server/UID.java
3610 (serialVersionUID): Made private.
3611 * java/rmi/server/RemoteRef.java,
3612 java/rmi/server/ServerRef.java
3613 (serialVersionUID): Set proper value.
3614 * java/security/interfaces/DSAPrivateKey.java,
3615 java/security/interfaces/DSAPublicKey.java,
3616 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3617 java/security/interfaces/RSAPrivateCrtKey.java,
3618 java/security/interfaces/RSAPrivateKey.java,
3619 java/security/interfaces/RSAPublicKey.java,
3620 javax/crypto/SecretKey.java
3621 (serialVersionUID): Added.
3623 2005-02-22 Tom Tromey <tromey@redhat.com>
3625 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3627 2005-02-22 Tom Tromey <tromey@redhat.com>
3630 * verify.cc (type::EITHER): New constant.
3631 (check_field_constant): Use it.
3632 (type::compatible): Handle it.
3634 2005-02-22 Michael Koch <konqueror@gmx.de>
3636 * gnu/java/security/PolicyFile.java,
3637 gnu/java/security/pkcs/PKCS7SignedData.java,
3638 gnu/java/security/pkcs/SignerInfo.java:
3639 Fixed copyright header.
3641 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3643 * java/beans/PropertyDescriptor.java
3644 (PropertyDescriptor,setReadMethod): Set propertyType.
3646 2005-02-22 Michael Koch <konqueror@gmx.de>
3648 * java/nio/DirectByteBufferImpl.java
3649 (owner): Fixed formatting of javadoc.
3650 * java/text/DateFormat.java
3651 (getAvailableLocales): Fixed formatting.
3652 * java/text/SimpleDateFormat.java:
3653 Fixed formatting and import statement order.
3654 * java/util/Calendar.java
3655 (Calendar): Fixed javadoc to be HTML compliant.
3656 * java/util/SimpleTimeZone.java:
3659 2005-02-22 Roman Kennke <roman@ontographics.com>
3661 * javax/swing/plaf/basic/BasicLookAndFeel.java
3662 (initComponentDefaults): Fixed Button left and right margin.
3664 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3666 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3670 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3671 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3672 (getWidth): New method.
3673 (getHeight): Likewise.
3674 (create): Remove width, height and insets parameters. Move size
3676 (realize_cb): ... here. New function.
3677 (connectSignals): Connect realize_cb.
3678 (request_frame_extents): Remove FIXME. Move
3679 postInsetsChangedEvent lookup ...
3680 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3681 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3682 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3684 (windowGetWidthID): Likewise.
3685 (windowGetHeightID): Likewise.
3687 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3691 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3693 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3695 Merge serialization from GNU Classpath.
3696 * gcj/method.h: Add missing #includes.
3697 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3698 primitive class IDs on the stream here...
3699 (resolveClass): ...not here.
3700 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3702 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3703 setLongNative, setIntNative, setShortNative, setCharNative,
3704 setByteNative, setBooleanNative, setObjectNative): New native methods.
3705 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3706 setLongNative, setIntNative, setShortNative, setCharNative,
3707 setByteNative, setBooleanNative, setObjectNative): Implement them.
3708 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3709 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3710 the constructor here.
3711 (callConstructor): Removed.
3712 (getCallersClassLoader): Removed.
3713 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3714 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3715 to control whether setting final field values is permitted. Call
3716 getAddr() with checkFinal parameter instead of setAddr().
3717 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3718 only if not done already.
3719 (getAddr): Add checkFinal parameter. Do the final field check only if
3723 2005-02-21 Mark Wielaard <mark@klomp.org>
3726 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3729 2005-02-21 Mark Wielaard <mark@klomp.org>
3732 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3733 without a super class and us ObjectStreamClass.lookupForClassObject().
3734 (resolveClass): Check for primitive types.
3735 (lookupClass): Return null when argument is null.
3737 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3739 * java/io/ObjectInputStream.java
3740 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3742 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3744 * java/io/ObjectOutputStream.java
3745 (writeObject, callWriteMethod): Replaced reflection with accessing
3746 cached info in ObjectStreamClass.
3747 (getMethod): Removed.
3748 * java/io/ObjectStreamClass.java
3749 (findMethod): Added check to make sure the method found has the
3751 (cacheMethods): Added writeReplace and writeObject methods.
3752 (setFlags): Look at new writeObjectMethod field instead of doing
3754 (writeReplaceMethod): New field.
3755 (writeObjectMethod): New field.
3757 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3758 Jeroen Frijters <jeroen@frijters.net>
3760 * java/io/ObjectInputStream.java
3761 (newObject): Changed prototype. Get a constructor reflect object
3763 (callConstructor): Removed.
3764 (allocateObject): Changed prototype.
3765 (readClassDescriptor): Build the constructor reflection directly.
3766 (readObject): Invoke newObject using the new prototype.
3768 * java/io/ObjectStreamClass.java
3769 (firstNonSerializableParent): Removed.
3770 (firstNonSerializableParentConstructor): Added.
3772 2005-02-21 Mark Wielaard <mark@klomp.org>
3774 * gnu/java/locale/LocaleInformation_en.java: Extend
3775 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3777 2005-02-21 Mark Wielaard <mark@klomp.org>
3779 * java/text/SimpleDateFormat.java
3780 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3781 NullPointerException when formatData is null.
3783 2005-02-21 Mark Wielaard <mark@klomp.org>
3785 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3786 taking dstSavings into account.
3788 2005-02-21 Sven de Marothy <sven@physto.se>
3790 * java/text/SimpleDateFormat.java,
3791 (parse): Set correct DST_OFFSET to the correct value.
3793 2005-02-21 Mark Wielaard <mark@klomp.org>
3795 * java/util/SimpleTimeZone.java (checkRule): Throw
3796 IllegalArgumentException when month out of range.
3798 2005-02-21 Sven de Marothy <sven@physto.se>
3800 * java/util/GregorianCalendar.java,
3801 (add): Don't set fields directly anymore. Use set()
3803 2005-02-21 Mark Wielaard <mark@klomp.org>
3805 * java/text/SimpleDateFormat.java (CompiledField.toString):
3806 Use StringBuffer, not StringBuilder.
3807 (toString): Likewise.
3809 2005-02-21 Sven de Marothy <sven@physto.se>
3811 * java/util/Calendar.java
3812 (clear): Dates should clear to local time.
3813 * java/util/GregorianCalendar.java
3814 (computeTime): Fix priority problem with DAY_OF_WEEK,
3815 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3817 2005-02-21 Sven de Marothy <sven@physto.se>
3819 * java/util/Calendar.java
3820 (Calendar): Constructor should clear fields.
3822 2005-02-21 Sven de Marothy <sven@physto.se>
3824 * java/text/SimpleDateFormat.java
3825 (parse): Tweak handling of 2-year dates
3826 * java/util/Calendar.java
3827 (clear): Clear fields to correct value.
3828 * java/util/GregorianCalendar.java
3829 (computeTime): Correct handling of time zones.
3830 Correct field minimum values.
3832 2005-02-21 Sven de Marothy <sven@physto.se>
3834 * java/util/Calendar.java
3835 (set) Invalidate all fields on first call to set().
3837 2005-02-21 Sven de Marothy <sven@physto.se>
3839 * java/util/GregorianCalendar.java
3840 (computeTime): Fixed handling of time zones.
3842 2005-02-21 Sven de Marothy <sven@physto.se>
3844 * java/util/Calendar.java
3845 (clear): Set values to Epoch instead of zero.
3846 (set): Set isSet to the relevant field pattern instead of just
3848 * java/util/GregorianCalendar.java
3849 (getBundle): Removed.
3850 (getDayOfYear): Removed.
3851 (getFirstDayOfMonth): New private method.
3852 (nonLeniencyCheck): New private method.
3853 (computeTime): Correct handling of insufficient data.
3855 2005-02-21 Sven de Marothy <sven@physto.se>
3857 * java/util/Calendar.java: Invalidate ERA field on setting
3859 * java/util/SimpleTimeZone.java:
3860 (getDaysInMonth): Reimplemented.
3861 * java/util/GregorianCalendar.java:
3862 (getLinearTime): Removed.
3863 (isLeapYear(int,boolean)): Removed.
3864 (before(), after()): Removed.
3865 (computeTime): Reimplemented.
3867 2005-02-21 Sven de Marothy <sven@physto.se>
3869 * java/util/Calendar.java: Reformatted.
3870 * java/util/GregorianCalendar.java: Reformatted.
3871 * java/util/SimpleTimeZone.java: Reformatted.
3873 2005-02-21 Sven de Marothy <sven@physto.se>
3875 * java/util/GregorianCalendar.java
3876 (GregorianCalendar): Update fields in the constructor
3878 2005-02-21 Noa Resare <noa@resare.com>
3880 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3881 (set(int,int)): Set and use new field.
3882 (set(int,int,int)): Check new field.
3884 2005-02-21 Noa Resare <address@hidden>
3886 * java/util/Calendar.java(set):
3887 Fix for DST related regression.
3889 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3891 * java/util/Calendar.java
3892 (setTimeInMillis): Added call to clear, removed computeFields call.
3893 * java/util/Date.java
3894 (Date(int,int,int,int,int,int)): Removed workaround for
3895 GregorianCalendar bug.
3896 * java/util/GregorianCalendar.java
3897 (GregorianCalendar): Chained all constructors to a (new)
3899 (computeTime): Fixed support for lenient month treatment.
3900 (getLinearDay): Return long instead of int.
3901 (calculateDay): Added fields argument and changed day argument
3904 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3906 * java/text/SimpleDateFormat.java
3907 Lots of documentation updates.
3908 (readObject(java.io.ObjectInputStream)): Wraps
3909 IllegalArgumentException as specified.
3910 (compileFormat(String)): Uses standardChars
3911 rather than the local pattern characters.
3912 Throws IllegalArgumentException rather than
3914 (toString()): Extended to include all variables
3916 (translateLocalizedPattern(String, String, String)):
3917 Renamed to better define the use of this method.
3919 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3921 * java/text/DateFormat.java:
3922 Documented pattern character offset constants and
3924 (Field): Added new static fields for new pattern chars.
3925 * java/text/SimpleDateFormat.java:
3926 (CompiledField): Changed name of FieldSizePair class
3927 to CompiledField after adding the character as an
3928 attribute. Changed fields to private and added
3929 accessors to give encapsulation.
3930 (CompiledField.CompiledField(int,int,char)): Extended
3931 with character field.
3932 (CompiledField.getField()): New accessor method.
3933 (CompiledField.getSize()): New acceessor method.
3934 (CompiledField.getCharacter()): New accessor method.
3935 (CompiledField.toString()): Added primarily for debugging.
3936 (standardChars): Now uses extended 24 character sequence.
3937 (compileFormat(String)): Changed to use CompiledField.
3938 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3939 java.text.FieldPosition)): Changed to use CompiledField.
3940 New handler for RFC 822 timezones added.
3942 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3944 * java/text/SimpleDateFormat.java:
3945 (parse(String, java.text.ParsePosition)):
3946 Changed 'E' and 'M' cases to use both
3947 short and long names. Extended 'z'
3948 case to also handle 'Z', and deal
3949 with simple GMT offsets such as +0100.
3950 (computeOffset(String)): New private method,
3951 which converts a GMT offset specification,
3952 such as GMT-0500 to a numeric offset in
3954 * java/util/TimeZone.java:
3955 (timezones()): Added "CEST", the daylight
3956 savings time version of "CET", or Central
3959 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3961 * java/text/SimpleDateFormat.java:
3962 (parse): Set the DST offset to 0 when parsing
3963 GMT offset timezones.
3965 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3967 * java/text/SimpleDateFormat.java:
3968 (parse): Use offset to set ZONE_OFFSET
3969 rather than the DST_OFFSET, so that
3970 GMT offset timezones change the right
3973 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3975 * java/text/SimpleDateFormat.java:
3976 (getDateFormatSymbols()): return a copy
3977 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3978 throw exception on null input
3979 (clone()): implemented to clone
3982 2005-02-21 Sven de Marothy <sven@physto.se>
3984 * java/text/SimpleDateFormat.java
3985 (parse): comparison should be case-insensitive, ignore null
3988 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3990 * gnu/java/beans/IntrospectionIncubator.java
3991 (addMethod) Reverts the patch that ntroduced a regression (see bug
3992 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3994 2005-02-21 Michael Koch <konqueror@gmx.de>
3996 * java/awt/Checkbox.java
3997 (next_checkbox_number): New static variable.
3998 (generateName): New method.
3999 (getUniqueLong): Likewise.
4000 * java/awt/Window.java
4001 (next_window_number): New static variable.
4002 (generateName): New method.
4003 (getUniqueLong): Likewise.
4005 2005-02-21 Mark Wielaard <mark@klomp.org>
4007 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
4010 2005-02-21 Andrew Haley <aph@redhat.com>
4012 * Makefile.in: Rebuilt.
4013 * Makefile.am (nat_source_files): Added natLogger.cc.
4014 * java/util/logging/natLogger.cc: New file.
4015 * java/util/logging/Logger.java (getCallerStackFrame): Now
4018 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
4020 * Makefile.am (all_property_files): Remove left over.
4021 (classes.stamp): Add stamp for the ONESTEP build, also known as
4022 --enable-libgcj-multifile.
4023 * Makefile.in: Regenerated.
4025 2005-02-21 Michael Koch <konqueror@gmx.de>
4027 * java/awt/Button.java,
4028 java/awt/Container.java,
4030 java/awt/Frame.java,
4031 java/text/CollationElementIterator.java,
4032 java/text/RuleBasedCollator.java,
4033 java/util/PropertyPermission.java:
4034 Fixed formatting issues all over.
4036 2005-02-21 Mark Wielaard <mark@klomp.org>
4038 * java/io/FileDescriptor.java (sync): Add real exception to
4039 SyncFailedException.
4041 2005-02-21 Michael Koch <konqueror@gmx.de>
4043 * java/io/InputStreamReader.java:
4046 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
4049 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4051 2005-02-20 Dalibor Topic <robilad@kaffe.org>
4053 * libraries/javalib/gnu/regexp/RE.java,
4054 libraries/javalib/java/io/ObjectInputStream.java,
4055 libraries/javalib/java/security/AllPermission.java,
4056 libraries/javalib/java/security/BasicPermission.java,
4057 libraries/javalib/java/security/Permissions.java,
4058 libraries/javalib/java/text/MessageFormat.java:
4059 Made 'inner' classes real public static inner classes,
4060 and made them final where possible, or removed them
4063 2005-02-20 Michael Koch <konqueror@gmx.de>
4065 * gnu/java/text/FormatCharacterIterator.java:
4066 Removed redundant modifiers.
4068 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4070 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4073 2005-02-19 Michael Koch <konqueror@gmx.de>
4075 * Makefile.am: Added new files in gnu/java/beans and
4076 java/beans/XMLDecoder.java.
4077 * Makefile.in: Regenerated.
4079 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4081 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4082 assignment behavior by using java.lang.reflect.Array.set()
4085 2005-02-19 Dalibor Topic <robilad@kaffe.org>
4087 * gnu/java/beans/EmptyBeanInfo.java,
4088 gnu/java/beans/info/ComponentBeanInfo.java:
4089 Removed unused files.
4091 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4093 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
4094 of AppletStub for java.beans.Beans.instantiate.
4095 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
4097 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
4098 to be conformant with Javadoc guidelines.
4099 (instantiate): Added two more overloaded variants, reworked user
4100 documentation, fixed exception behavior, fixed behavior when
4103 2005-02-19 Mark Wielaard <mark@klomp.org>
4105 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
4107 * gnu/java/beans/decoder/DummyContext.java: Likewise.
4109 2005-02-19 Robert Schuster <theBohemian@gmx.net>
4111 * gnu/java/beans/decoder/AbstractContext.java,
4112 gnu/java/beans/decoder/AbstractCreatableContext.java,
4113 gnu/java/beans/decoder/AbstractElementHandler.java,
4114 gnu/java/beans/decoder/AbstractObjectContext.java,
4115 gnu/java/beans/decoder/ArrayContext.java,
4116 gnu/java/beans/decoder/ArrayHandler.java,
4117 gnu/java/beans/decoder/AssemblyException.java,
4118 gnu/java/beans/decoder/BooleanHandler.java,
4119 gnu/java/beans/decoder/ByteHandler.java,
4120 gnu/java/beans/decoder/CharHandler.java,
4121 gnu/java/beans/decoder/ClassHandler.java,
4122 gnu/java/beans/decoder/ConstructorContext.java,
4123 gnu/java/beans/decoder/Context.java,
4124 gnu/java/beans/decoder/DecoderContext.java,
4125 gnu/java/beans/decoder/DefaultExceptionListener.java,
4126 gnu/java/beans/decoder/DoubleHandler.java,
4127 gnu/java/beans/decoder/DummyContext.java,
4128 gnu/java/beans/decoder/DummyHandler.java,
4129 gnu/java/beans/decoder/ElementHandler.java,
4130 gnu/java/beans/decoder/FloatHandler.java,
4131 gnu/java/beans/decoder/GrowableArrayContext.java,
4132 gnu/java/beans/decoder/IndexContext.java,
4133 gnu/java/beans/decoder/IntHandler.java,
4134 gnu/java/beans/decoder/JavaHandler.java,
4135 gnu/java/beans/decoder/LongHandler.java,
4136 gnu/java/beans/decoder/MethodContext.java,
4137 gnu/java/beans/decoder/MethodFinder.java,
4138 gnu/java/beans/decoder/NullHandler.java,
4139 gnu/java/beans/decoder/ObjectContext.java,
4140 gnu/java/beans/decoder/ObjectHandler.java,
4141 gnu/java/beans/decoder/PersistenceParser.java,
4142 gnu/java/beans/decoder/PropertyContext.java,
4143 gnu/java/beans/decoder/ShortHandler.java,
4144 gnu/java/beans/decoder/SimpleHandler.java,
4145 gnu/java/beans/decoder/StaticMethodContext.java,
4146 gnu/java/beans/decoder/StringHandler.java,
4147 gnu/java/beans/decoder/VoidHandler.java: New class
4148 implementing java.beans.XMLDecoder decoding functionality.
4149 * java/beans/XMLDecoder.java: New class.
4151 2005-02-19 Michael Koch <konqueror@gmx.de>
4153 * javax/swing/JTextField.java
4154 (notfiyAction): Added javadoc.
4156 2005-02-19 Sven de Marothy <sven@physto.se>
4158 * javax/swing/SpinnerDateModel.java: Implemented.
4160 2005-02-19 Michael Koch <konqueror@gmx.de>
4162 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4163 * Makefile.in: Regenerated.
4165 2005-02-19 Michael Koch <konqueror@gmx.de>
4167 * gnu/java/nio/SelectorImpl.java:
4168 Reworked import statements.
4169 (register): Removed unused code.
4170 * java/nio/channels/Channels.java: Reformatted.
4171 * java/nio/charset/Charset.java: Likewise.
4172 * java/rmi/server/RemoteObject.java
4173 (serialVersionUID): Made private.
4174 * java/rmi/server/UID.java
4175 (serialVersionUID): Likewise.
4177 2005-02-19 Michael Koch <konqueror@gmx.de>
4179 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4180 gnu/java/net/protocol/ftp/BlockInputStream.java,
4181 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4182 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4183 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4184 gnu/java/net/protocol/ftp/DTPInputStream.java,
4185 gnu/java/net/protocol/ftp/DTP.java,
4186 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4187 gnu/java/net/protocol/ftp/FTPConnection.java,
4188 gnu/java/net/protocol/ftp/FTPException.java,
4189 gnu/java/net/protocol/ftp/FTPResponse.java,
4190 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4191 gnu/java/net/protocol/ftp/Handler.java,
4192 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4193 gnu/java/net/protocol/ftp/StreamInputStream.java,
4194 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4195 gnu/java/net/CRLFInputStream.java,
4196 gnu/java/net/CRLFOutputStream.java,
4197 gnu/java/net/GetLocalHostAction.java,
4198 gnu/java/net/protocol/ftp/package.html: New files.
4199 * Makefile.am: Added new files.
4200 * Makefile.in: Regenerated.
4202 2005-02-18 Tom Tromey <tromey@redhat.com>
4204 * link.cc (make_vtable): Remove abstract method check.
4205 (append_partial_itable): Likewise.
4208 * verify.cc (type::equals): Fixed test.
4209 * testsuite/libjava.lang/PR20056.out: New file.
4210 * testsuite/libjava.lang/PR20056.java: New file.
4212 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4214 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4215 not the HashEntry. Reported by Jean-Marie White.
4217 2005-02-18 Tom Tromey <tromey@redhat.com>
4220 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4221 * link.cc (has_field_p): New function.
4222 * verify.cc (check_field_constant): Added 'putfield' argument.
4223 (verify_instructions_0): Updated.
4224 (type::equals): New method.
4226 2005-02-18 Anthony Green <green@redhat.com>
4228 * NEWS: Draft of libgcj NEWS for 4.0.
4230 2005-02-18 Anthony Green <green@redhat.com>
4232 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4233 architecture names to "i386" for compatibility reasons. Win32
4236 2005-02-18 Anthony Green <green@redhat.com>
4238 * gij.cc (version): Change year for '--version' to 2005.
4239 * gnu/gcj/convert/Convert.java: Ditto.
4240 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4241 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4243 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4244 recent copyright year in `--version' output.
4246 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4248 * java/nio/charset/Charset.java (forName): Throws
4249 IllegalArgumentException when argument is null
4250 and added documentation.
4252 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4254 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4255 Move the position of the source buffer forward.
4257 2005-02-17 Tom Tromey <tromey@redhat.com>
4259 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4260 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4261 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4262 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4263 Changed type of second argument. Rewrote.
4264 (make_vtable): Use it.
4265 (append_partial_itable): Updated.
4266 (layout_vtable_methods): Updated.
4268 2005-02-17 Michael Koch <konqueror@gmx.de>
4270 * gnu/java/net/PlainSocketImpl.java
4271 (shutdownInput): Added javadoc.
4272 (shutdownOutput): Likewise.
4274 2005-02-17 Michael Koch <konqueror@gmx.de>
4276 * javax/print/attribute/standard/Chromaticity.java,
4277 javax/print/attribute/standard/Destination.java,
4278 javax/print/attribute/standard/MediaPrintableArea.java,
4279 javax/print/attribute/standard/MediaSize.java: New files.
4280 * Makefile.am: Added new files.
4281 * Makefile.in: Regenerated.
4283 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4284 Michael Koch <konqueror@gmx.de>
4286 * gnu/java/net/protocol/http/Cookie.java,
4287 gnu/java/net/protocol/http/HTTPConnection.java,
4288 gnu/java/net/protocol/http/HTTPDateFormat.java,
4289 gnu/java/net/protocol/http/Request.java,
4290 gnu/java/nio/PipeImpl.java,
4291 gnu/java/rmi/dgc/DGCImpl.java,
4292 gnu/java/rmi/server/ConnectionRunnerPool.java,
4293 gnu/java/rmi/server/UnicastConnectionManager.java,
4294 gnu/java/security/der/DERWriter.java,
4295 gnu/java/security/pkcs/SignerInfo.java,
4296 gnu/java/security/provider/EncodedKeyFactory.java,
4297 gnu/java/security/provider/GnuDHPublicKey.java,
4298 gnu/java/security/provider/GnuDSAPrivateKey.java,
4299 gnu/java/security/provider/GnuDSAPublicKey.java,
4300 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4301 gnu/java/security/x509/X500DistinguishedName.java,
4302 gnu/java/security/x509/X509CRL.java,
4303 gnu/java/security/x509/X509CRLEntry.java,
4304 gnu/java/security/x509/X509Certificate.java,
4305 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4306 gnu/java/security/x509/ext/CertificatePolicies.java,
4307 gnu/java/security/x509/ext/PolicyConstraint.java,
4308 gnu/xml/dom/Consumer.java,
4309 gnu/xml/dom/DomCharacterData.java,
4310 gnu/xml/dom/DomDocument.java,
4311 gnu/xml/dom/DomDocumentBuilder.java,
4312 gnu/xml/dom/DomIterator.java,
4313 gnu/xml/dom/DomNode.java,
4314 gnu/xml/dom/DomXPathExpression.java,
4315 gnu/xml/dom/DomXPathResult.java,
4316 gnu/xml/dom/JAXPFactory.java,
4317 gnu/xml/pipeline/CallFilter.java,
4318 gnu/xml/pipeline/DomConsumer.java,
4319 gnu/xml/pipeline/LinkFilter.java,
4320 gnu/xml/pipeline/NSFilter.java,
4321 gnu/xml/pipeline/TeeConsumer.java,
4322 gnu/xml/pipeline/ValidationConsumer.java,
4323 gnu/xml/pipeline/WellFormednessFilter.java,
4324 gnu/xml/pipeline/XIncludeFilter.java,
4325 gnu/xml/pipeline/XsltFilter.java,
4326 gnu/xml/transform/ApplyImportsNode.java,
4327 gnu/xml/transform/Bindings.java,
4328 gnu/xml/transform/DocumentFunction.java,
4329 gnu/xml/transform/FormatNumberFunction.java,
4330 gnu/xml/transform/NodeNumberNode.java,
4331 gnu/xml/transform/NumberNode.java,
4332 gnu/xml/transform/Stylesheet.java,
4333 gnu/xml/transform/SystemPropertyFunction.java,
4334 gnu/xml/transform/Template.java,
4335 gnu/xml/transform/TemplatesImpl.java,
4336 gnu/xml/transform/TransformerImpl.java,
4337 gnu/xml/transform/ValueOfNode.java,
4338 gnu/xml/transform/XSLURIResolver.java,
4339 gnu/xml/util/DoParse.java,
4340 gnu/xml/util/Resolver.java,
4341 gnu/xml/xpath/Expr.java,
4342 gnu/xml/xpath/FunctionCall.java,
4343 gnu/xml/xpath/RelationalExpr.java,
4344 gnu/xml/xpath/Selector.java,
4345 gnu/xml/xpath/XPathParser.java:
4346 Reworked import statements, fixed modifier order and some little
4349 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4351 * java/nio/ByteBufferImpl.java (compact):
4352 Set position and limit even if no bytes were moved.
4354 2005-02-17 Michael Koch <konqueror@gmx.de>
4356 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4357 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4358 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4359 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4360 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4361 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4362 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4363 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4364 * java/nio/FloatBufferImpl.java (compact): Set position.
4365 * java/nio/CharBufferImpl.java (compact): Likewise.
4366 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4367 * java/nio/IntBufferImpl.java (compact): Likewise.
4368 * java/nio/LongBufferImpl.java (compact): Likewise.
4369 * java/nio/ShortBufferImpl.java (compact): Likewise.
4371 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4373 * java/nio/ByteBufferImpl.java,
4374 java/nio/CharBufferImpl.java,
4375 java/nio/DirectByteBufferImpl.java,
4376 java/nio/DoubleBufferImpl.java,
4377 java/nio/FloatBufferImpl.java,
4378 java/nio/IntBufferImpl.java,
4379 java/nio/LongBufferImpl.java,
4380 java/nio/MappedByteBufferImpl.java,
4381 java/nio/ShortBufferImpl.java
4382 (compact): Added explicit read-only check and invalidate mark.
4384 2005-02-17 Michael Koch <konqueror@gmx.de>
4386 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4387 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4388 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4389 gnu/java/awt/peer/gtk/GdkGraphics.java,
4390 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4391 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4392 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4393 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4394 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4395 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4396 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4397 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4398 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4399 gnu/java/awt/peer/gtk/GtkClipboard.java,
4400 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4401 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4402 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4403 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4404 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4405 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4406 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4407 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4408 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4409 gnu/java/awt/peer/gtk/GtkToolkit.java,
4410 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4411 java/applet/Applet.java,
4412 java/awt/AWTError.java,
4413 java/awt/AWTEvent.java,
4414 java/awt/AWTEventMulticaster.java,
4415 java/awt/AWTException.java,
4416 java/awt/AWTKeyStroke.java,
4417 java/awt/AWTPermission.java,
4418 java/awt/ActiveEvent.java,
4419 java/awt/Adjustable.java,
4420 java/awt/AlphaComposite.java,
4421 java/awt/AttributeValue.java,
4422 java/awt/BorderLayout.java,
4423 java/awt/BufferCapabilities.java,
4424 java/awt/Button.java,
4425 java/awt/Canvas.java,
4426 java/awt/CheckboxGroup.java,
4427 java/awt/CheckboxMenuItem.java,
4428 java/awt/Color.java,
4429 java/awt/ColorPaintContext.java,
4430 java/awt/Component.java,
4431 java/awt/ComponentOrientation.java,
4432 java/awt/Composite.java,
4433 java/awt/CompositeContext.java,
4434 java/awt/Container.java,
4435 java/awt/ContainerOrderFocusTraversalPolicy.java,
4436 java/awt/DefaultFocusTraversalPolicy.java,
4437 java/awt/Dialog.java,
4438 java/awt/Dimension.java,
4439 java/awt/DisplayMode.java,
4440 java/awt/EventQueue.java,
4441 java/awt/FileDialog.java,
4442 java/awt/FontFormatException.java,
4443 java/awt/Graphics.java,
4444 java/awt/Graphics2D.java,
4445 java/awt/GraphicsConfigTemplate.java,
4446 java/awt/GraphicsConfiguration.java,
4447 java/awt/GraphicsDevice.java,
4448 java/awt/GridBagLayout.java,
4449 java/awt/GridBagLayoutInfo.java,
4450 java/awt/GridLayout.java,
4451 java/awt/HeadlessException.java,
4452 java/awt/IllegalComponentStateException.java,
4453 java/awt/Image.java,
4454 java/awt/Insets.java,
4455 java/awt/ItemSelectable.java,
4456 java/awt/JobAttributes.java,
4457 java/awt/KeyEventDispatcher.java,
4458 java/awt/KeyEventPostProcessor.java,
4459 java/awt/KeyboardFocusManager.java,
4460 java/awt/Label.java,
4461 java/awt/LayoutManager.java,
4462 java/awt/MenuBar.java,
4463 java/awt/MenuComponent.java,
4464 java/awt/MenuContainer.java,
4465 java/awt/PageAttributes.java,
4466 java/awt/Paint.java,
4467 java/awt/PaintContext.java,
4468 java/awt/Panel.java,
4469 java/awt/Point.java,
4470 java/awt/Polygon.java,
4471 java/awt/PrintGraphics.java,
4472 java/awt/PrintJob.java,
4473 java/awt/Rectangle.java,
4474 java/awt/RenderingHints.java,
4475 java/awt/Shape.java,
4476 java/awt/Stroke.java,
4477 java/awt/SystemColor.java,
4478 java/awt/Toolkit.java,
4479 java/awt/Transparency.java,
4480 java/awt/Window.java,
4481 java/awt/color/CMMException.java,
4482 java/awt/color/ColorSpace.java,
4483 java/awt/color/ICC_ColorSpace.java,
4484 java/awt/color/ICC_Profile.java,
4485 java/awt/color/ProfileDataException.java,
4486 java/awt/datatransfer/FlavorTable.java,
4487 java/awt/datatransfer/MimeTypeParseException.java,
4488 java/awt/datatransfer/Transferable.java,
4489 java/awt/datatransfer/UnsupportedFlavorException.java,
4490 java/awt/dnd/Autoscroll.java,
4491 java/awt/dnd/DnDConstants.java,
4492 java/awt/dnd/DragGestureListener.java,
4493 java/awt/dnd/DragSourceAdapter.java,
4494 java/awt/dnd/DragSourceDropEvent.java,
4495 java/awt/dnd/DragSourceListener.java,
4496 java/awt/dnd/DragSourceMotionListener.java,
4497 java/awt/dnd/DropTargetAdapter.java,
4498 java/awt/dnd/DropTargetContext.java,
4499 java/awt/dnd/DropTargetListener.java,
4500 java/awt/dnd/InvalidDnDOperationException.java,
4501 java/awt/dnd/MouseDragGestureRecognizer.java,
4502 java/awt/dnd/peer/DropTargetContextPeer.java,
4503 java/awt/event/AWTEventListener.java,
4504 java/awt/event/AWTEventListenerProxy.java,
4505 java/awt/event/ActionEvent.java,
4506 java/awt/event/AdjustmentEvent.java,
4507 java/awt/event/AdjustmentListener.java,
4508 java/awt/event/ComponentAdapter.java,
4509 java/awt/event/ComponentEvent.java,
4510 java/awt/event/ComponentListener.java,
4511 java/awt/event/ContainerAdapter.java,
4512 java/awt/event/ContainerEvent.java,
4513 java/awt/event/ContainerListener.java,
4514 java/awt/event/FocusAdapter.java,
4515 java/awt/event/FocusEvent.java,
4516 java/awt/event/FocusListener.java,
4517 java/awt/event/InputEvent.java,
4518 java/awt/event/InputMethodEvent.java,
4519 java/awt/event/InputMethodListener.java,
4520 java/awt/event/InvocationEvent.java,
4521 java/awt/event/ItemEvent.java,
4522 java/awt/event/ItemListener.java,
4523 java/awt/event/KeyAdapter.java,
4524 java/awt/event/KeyEvent.java,
4525 java/awt/event/KeyListener.java,
4526 java/awt/event/MouseAdapter.java,
4527 java/awt/event/MouseEvent.java,
4528 java/awt/event/MouseListener.java,
4529 java/awt/event/MouseMotionAdapter.java,
4530 java/awt/event/MouseMotionListener.java,
4531 java/awt/event/MouseWheelEvent.java,
4532 java/awt/event/MouseWheelListener.java,
4533 java/awt/event/PaintEvent.java,
4534 java/awt/event/TextEvent.java,
4535 java/awt/event/TextListener.java,
4536 java/awt/event/WindowAdapter.java,
4537 java/awt/event/WindowEvent.java,
4538 java/awt/event/WindowFocusListener.java,
4539 java/awt/event/WindowListener.java,
4540 java/awt/event/WindowStateListener.java,
4541 java/awt/font/TextHitInfo.java,
4542 java/awt/geom/CubicCurve2D.java,
4543 java/awt/geom/Dimension2D.java,
4544 java/awt/geom/Ellipse2D.java,
4545 java/awt/geom/IllegalPathStateException.java,
4546 java/awt/geom/Line2D.java,
4547 java/awt/geom/NoninvertibleTransformException.java,
4548 java/awt/geom/PathIterator.java,
4549 java/awt/geom/Point2D.java,
4550 java/awt/geom/QuadCurve2D.java,
4551 java/awt/geom/RectangularShape.java,
4552 java/awt/geom/RoundRectangle2D.java,
4553 java/awt/im/InputContext.java,
4554 java/awt/im/InputMethodHighlight.java,
4555 java/awt/im/InputMethodRequests.java,
4556 java/awt/im/InputSubset.java,
4557 java/awt/im/spi/InputMethod.java,
4558 java/awt/im/spi/InputMethodDescriptor.java,
4559 java/awt/image/BandCombineOp.java,
4560 java/awt/image/BandedSampleModel.java,
4561 java/awt/image/ByteLookupTable.java,
4562 java/awt/image/ComponentSampleModel.java,
4563 java/awt/image/DataBuffer.java,
4564 java/awt/image/DataBufferByte.java,
4565 java/awt/image/DataBufferDouble.java,
4566 java/awt/image/DataBufferFloat.java,
4567 java/awt/image/DataBufferInt.java,
4568 java/awt/image/DataBufferShort.java,
4569 java/awt/image/DataBufferUShort.java,
4570 java/awt/image/ImagingOpException.java,
4571 java/awt/image/Kernel.java,
4572 java/awt/image/LookupTable.java,
4573 java/awt/image/MultiPixelPackedSampleModel.java,
4574 java/awt/image/PackedColorModel.java,
4575 java/awt/image/PixelInterleavedSampleModel.java,
4576 java/awt/image/RGBImageFilter.java,
4577 java/awt/image/Raster.java,
4578 java/awt/image/RasterFormatException.java,
4579 java/awt/image/SampleModel.java,
4580 java/awt/image/ShortLookupTable.java,
4581 java/awt/image/SinglePixelPackedSampleModel.java,
4582 java/awt/image/WritableRaster.java,
4583 java/awt/print/PrinterAbortException.java,
4584 java/awt/print/PrinterException.java,
4585 java/awt/print/PrinterIOException.java,
4586 java/beans/AppletInitializer.java,
4587 java/beans/ExceptionListener.java,
4588 java/beans/PropertyChangeEvent.java,
4589 java/beans/PropertyChangeListenerProxy.java,
4590 java/beans/PropertyChangeSupport.java,
4591 java/beans/PropertyDescriptor.java,
4592 java/beans/VetoableChangeListenerProxy.java,
4593 java/beans/VetoableChangeSupport.java,
4594 java/io/BufferedReader.java,
4595 java/io/ByteArrayInputStream.java,
4596 java/io/ByteArrayOutputStream.java,
4597 java/io/CharArrayReader.java,
4598 java/io/CharArrayWriter.java,
4599 java/io/CharConversionException.java,
4600 java/io/DataInput.java,
4601 java/io/DataInputStream.java,
4602 java/io/DataOutput.java,
4603 java/io/DataOutputStream.java,
4604 java/io/EOFException.java,
4605 java/io/FileInputStream.java,
4606 java/io/FileNotFoundException.java,
4607 java/io/FileOutputStream.java,
4608 java/io/FilenameFilter.java,
4609 java/io/FilterInputStream.java,
4610 java/io/FilterOutputStream.java,
4611 java/io/FilterReader.java,
4612 java/io/FilterWriter.java,
4613 java/io/IOException.java,
4614 java/io/InputStream.java,
4615 java/io/InterruptedIOException.java,
4616 java/io/LineNumberInputStream.java,
4617 java/io/LineNumberReader.java,
4618 java/io/ObjectInputStream.java,
4619 java/io/ObjectStreamException.java,
4620 java/io/OptionalDataException.java,
4621 java/io/OutputStream.java,
4622 java/io/OutputStreamWriter.java,
4623 java/io/PrintStream.java,
4624 java/io/PrintWriter.java,
4625 java/io/PushbackInputStream.java,
4626 java/io/PushbackReader.java,
4627 java/io/RandomAccessFile.java,
4628 java/io/Reader.java,
4629 java/io/SequenceInputStream.java,
4630 java/io/Serializable.java,
4631 java/io/StreamCorruptedException.java,
4632 java/io/StreamTokenizer.java,
4633 java/io/StringBufferInputStream.java,
4634 java/io/StringWriter.java,
4635 java/io/SyncFailedException.java,
4636 java/io/UTFDataFormatException.java,
4637 java/io/UnsupportedEncodingException.java,
4638 java/io/WriteAbortedException.java,
4639 java/io/Writer.java,
4640 java/lang/AbstractMethodError.java,
4641 java/lang/ArithmeticException.java,
4642 java/lang/ArrayIndexOutOfBoundsException.java,
4643 java/lang/ArrayStoreException.java,
4644 java/lang/AssertionError.java,
4645 java/lang/Boolean.java,
4646 java/lang/Byte.java,
4647 java/lang/Class.java,
4648 java/lang/ClassCastException.java,
4649 java/lang/ClassCircularityError.java,
4650 java/lang/ClassLoader.java,
4651 java/lang/ClassNotFoundException.java,
4652 java/lang/CloneNotSupportedException.java,
4653 java/lang/Cloneable.java,
4654 java/lang/Comparable.java,
4655 java/lang/Compiler.java,
4656 java/lang/Double.java,
4657 java/lang/Error.java,
4658 java/lang/Exception.java,
4659 java/lang/ExceptionInInitializerError.java,
4660 java/lang/Float.java,
4661 java/lang/IllegalAccessError.java,
4662 java/lang/IllegalAccessException.java,
4663 java/lang/IllegalArgumentException.java,
4664 java/lang/IllegalMonitorStateException.java,
4665 java/lang/IllegalStateException.java,
4666 java/lang/IllegalThreadStateException.java,
4667 java/lang/IncompatibleClassChangeError.java,
4668 java/lang/IndexOutOfBoundsException.java,
4669 java/lang/InheritableThreadLocal.java,
4670 java/lang/InstantiationError.java,
4671 java/lang/InstantiationException.java,
4672 java/lang/Integer.java,
4673 java/lang/InternalError.java,
4674 java/lang/InterruptedException.java,
4675 java/lang/LinkageError.java,
4676 java/lang/Long.java,
4677 java/lang/NegativeArraySizeException.java,
4678 java/lang/NoClassDefFoundError.java,
4679 java/lang/NoSuchFieldError.java,
4680 java/lang/NoSuchFieldException.java,
4681 java/lang/NoSuchMethodError.java,
4682 java/lang/NoSuchMethodException.java,
4683 java/lang/NullPointerException.java,
4684 java/lang/Number.java,
4685 java/lang/NumberFormatException.java,
4686 java/lang/OutOfMemoryError.java,
4687 java/lang/Process.java,
4688 java/lang/Runnable.java,
4689 java/lang/Runtime.java,
4690 java/lang/RuntimeException.java,
4691 java/lang/RuntimePermission.java,
4692 java/lang/SecurityException.java,
4693 java/lang/SecurityManager.java,
4694 java/lang/Short.java,
4695 java/lang/StackOverflowError.java,
4696 java/lang/StackTraceElement.java,
4697 java/lang/StringBuffer.java,
4698 java/lang/StringIndexOutOfBoundsException.java,
4699 java/lang/ThreadDeath.java,
4700 java/lang/ThreadGroup.java,
4701 java/lang/Throwable.java,
4702 java/lang/UnsatisfiedLinkError.java,
4703 java/lang/UnsupportedOperationException.java,
4704 java/lang/VerifyError.java,
4705 java/lang/VirtualMachineError.java,
4706 java/lang/reflect/AccessibleObject.java,
4707 java/lang/reflect/Array.java,
4708 java/lang/reflect/InvocationTargetException.java,
4709 java/lang/reflect/Member.java,
4710 java/lang/reflect/Modifier.java,
4711 java/lang/reflect/Proxy.java,
4712 java/lang/reflect/ReflectPermission.java,
4713 java/lang/reflect/UndeclaredThrowableException.java,
4714 java/math/BigInteger.java,
4715 java/net/NetworkInterface.java,
4716 java/nio/ByteBufferHelper.java,
4717 java/nio/ByteBufferImpl.java,
4718 java/nio/DirectByteBufferImpl.java,
4719 java/nio/DoubleBufferImpl.java,
4720 java/nio/FloatBufferImpl.java,
4721 java/nio/IntBufferImpl.java,
4722 java/nio/LongBufferImpl.java,
4723 java/nio/ShortBufferImpl.java,
4724 java/nio/channels/Channel.java,
4725 java/nio/channels/IllegalBlockingModeException.java,
4726 java/nio/charset/spi/CharsetProvider.java,
4727 java/security/AccessControlException.java,
4728 java/security/BasicPermission.java,
4729 java/security/DigestException.java,
4730 java/security/DigestInputStream.java,
4731 java/security/DigestOutputStream.java,
4732 java/security/GeneralSecurityException.java,
4733 java/security/Guard.java,
4734 java/security/GuardedObject.java,
4735 java/security/InvalidAlgorithmParameterException.java,
4736 java/security/InvalidKeyException.java,
4737 java/security/InvalidParameterException.java,
4738 java/security/Key.java,
4739 java/security/KeyException.java,
4740 java/security/KeyManagementException.java,
4741 java/security/KeyStoreException.java,
4742 java/security/MessageDigestSpi.java,
4743 java/security/NoSuchAlgorithmException.java,
4744 java/security/NoSuchProviderException.java,
4745 java/security/Permission.java,
4746 java/security/PermissionCollection.java,
4747 java/security/Permissions.java,
4748 java/security/Principal.java,
4749 java/security/PrivateKey.java,
4750 java/security/PrivilegedActionException.java,
4751 java/security/ProviderException.java,
4752 java/security/PublicKey.java,
4753 java/security/SecureRandom.java,
4754 java/security/SecureRandomSpi.java,
4755 java/security/SignatureException.java,
4756 java/security/SignatureSpi.java,
4757 java/security/SignedObject.java,
4758 java/security/Signer.java,
4759 java/security/UnrecoverableKeyException.java,
4760 java/security/UnresolvedPermission.java,
4761 java/security/acl/AclNotFoundException.java,
4762 java/security/acl/LastOwnerException.java,
4763 java/security/acl/NotOwnerException.java,
4764 java/security/cert/CertPath.java,
4765 java/security/cert/CertPathBuilderException.java,
4766 java/security/cert/CertPathValidatorException.java,
4767 java/security/cert/CertStoreException.java,
4768 java/text/BreakIterator.java,
4769 java/text/ChoiceFormat.java,
4770 java/text/CollationElementIterator.java,
4771 java/text/CollationKey.java,
4772 java/text/Collator.java,
4773 java/text/DateFormat.java,
4774 java/text/DateFormatSymbols.java,
4775 java/text/DecimalFormat.java,
4776 java/text/DecimalFormatSymbols.java,
4777 java/text/FieldPosition.java,
4778 java/text/Format.java,
4779 java/text/NumberFormat.java,
4780 java/text/ParseException.java,
4781 java/text/ParsePosition.java,
4782 java/text/StringCharacterIterator.java,
4783 java/util/AbstractCollection.java,
4784 java/util/AbstractList.java,
4785 java/util/AbstractMap.java,
4786 java/util/AbstractSequentialList.java,
4787 java/util/AbstractSet.java,
4788 java/util/ArrayList.java,
4789 java/util/Arrays.java,
4790 java/util/BitSet.java,
4791 java/util/Collection.java,
4792 java/util/Collections.java,
4793 java/util/Comparator.java,
4794 java/util/ConcurrentModificationException.java,
4795 java/util/Currency.java,
4796 java/util/Date.java,
4797 java/util/EmptyStackException.java,
4798 java/util/Enumeration.java,
4799 java/util/EventListener.java,
4800 java/util/EventListenerProxy.java,
4801 java/util/EventObject.java,
4802 java/util/HashMap.java,
4803 java/util/HashSet.java,
4804 java/util/Hashtable.java,
4805 java/util/IdentityHashMap.java,
4806 java/util/Iterator.java,
4807 java/util/LinkedHashSet.java,
4808 java/util/LinkedList.java,
4809 java/util/List.java,
4810 java/util/ListIterator.java,
4811 java/util/ListResourceBundle.java,
4813 java/util/MissingResourceException.java,
4814 java/util/NoSuchElementException.java,
4815 java/util/Observable.java,
4816 java/util/Observer.java,
4817 java/util/Properties.java,
4818 java/util/PropertyPermissionCollection.java,
4819 java/util/RandomAccess.java,
4821 java/util/SortedMap.java,
4822 java/util/SortedSet.java,
4823 java/util/Stack.java,
4824 java/util/StringTokenizer.java,
4825 java/util/TooManyListenersException.java,
4826 java/util/TreeMap.java,
4827 java/util/TreeSet.java,
4828 java/util/Vector.java,
4829 java/util/logging/FileHandler.java,
4830 java/util/logging/Level.java,
4831 java/util/prefs/BackingStoreException.java,
4832 java/util/prefs/InvalidPreferencesFormatException.java,
4833 java/util/prefs/Preferences.java,
4834 javax/accessibility/Accessible.java,
4835 javax/accessibility/AccessibleAction.java,
4836 javax/accessibility/AccessibleBundle.java,
4837 javax/accessibility/AccessibleComponent.java,
4838 javax/accessibility/AccessibleContext.java,
4839 javax/accessibility/AccessibleEditableText.java,
4840 javax/accessibility/AccessibleExtendedComponent.java,
4841 javax/accessibility/AccessibleExtendedTable.java,
4842 javax/accessibility/AccessibleHyperlink.java,
4843 javax/accessibility/AccessibleHypertext.java,
4844 javax/accessibility/AccessibleIcon.java,
4845 javax/accessibility/AccessibleKeyBinding.java,
4846 javax/accessibility/AccessibleRelation.java,
4847 javax/accessibility/AccessibleRelationSet.java,
4848 javax/accessibility/AccessibleResourceBundle.java,
4849 javax/accessibility/AccessibleRole.java,
4850 javax/accessibility/AccessibleSelection.java,
4851 javax/accessibility/AccessibleState.java,
4852 javax/accessibility/AccessibleStateSet.java,
4853 javax/accessibility/AccessibleTable.java,
4854 javax/accessibility/AccessibleTableModelChange.java,
4855 javax/accessibility/AccessibleText.java,
4856 javax/accessibility/AccessibleValue.java,
4857 javax/imageio/IIOException.java,
4858 javax/imageio/ImageIO.java,
4859 javax/imageio/spi/IIOServiceProvider.java,
4860 javax/imageio/spi/ImageInputStreamSpi.java,
4861 javax/imageio/spi/ImageOutputStreamSpi.java,
4862 javax/imageio/spi/ImageReaderWriterSpi.java,
4863 javax/imageio/spi/ImageTranscoderSpi.java,
4864 javax/imageio/spi/RegisterableService.java,
4865 javax/imageio/spi/ServiceRegistry.java,
4866 javax/imageio/stream/IIOByteBuffer.java,
4867 javax/imageio/stream/ImageInputStream.java,
4868 javax/imageio/stream/ImageOutputStream.java,
4869 javax/naming/Binding.java,
4870 javax/naming/CannotProceedException.java,
4871 javax/naming/CompositeName.java,
4872 javax/naming/CompoundName.java,
4873 javax/naming/LinkException.java,
4874 javax/naming/LinkRef.java,
4875 javax/naming/NameClassPair.java,
4876 javax/naming/Reference.java,
4877 javax/naming/ReferralException.java,
4878 javax/naming/directory/Attribute.java,
4879 javax/naming/directory/AttributeModificationException.java,
4880 javax/naming/directory/Attributes.java,
4881 javax/naming/directory/DirContext.java,
4882 javax/naming/directory/ModificationItem.java,
4883 javax/naming/directory/SearchControls.java,
4884 javax/naming/directory/SearchResult.java,
4885 javax/naming/event/EventContext.java,
4886 javax/naming/event/EventDirContext.java,
4887 javax/naming/event/NamespaceChangeListener.java,
4888 javax/naming/event/NamingExceptionEvent.java,
4889 javax/naming/event/NamingListener.java,
4890 javax/naming/event/ObjectChangeListener.java,
4891 javax/naming/ldap/Control.java,
4892 javax/naming/ldap/ExtendedResponse.java,
4893 javax/naming/ldap/HasControls.java,
4894 javax/naming/ldap/LdapContext.java,
4895 javax/naming/ldap/UnsolicitedNotification.java,
4896 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4897 javax/naming/ldap/UnsolicitedNotificationListener.java,
4898 javax/naming/spi/DirectoryManager.java,
4899 javax/naming/spi/ResolveResult.java,
4900 javax/naming/spi/Resolver.java,
4901 javax/security/auth/callback/Callback.java,
4902 javax/security/auth/callback/CallbackHandler.java,
4903 javax/security/auth/callback/ChoiceCallback.java,
4904 javax/security/auth/callback/ConfirmationCallback.java,
4905 javax/security/auth/callback/LanguageCallback.java,
4906 javax/security/auth/callback/NameCallback.java,
4907 javax/security/auth/callback/PasswordCallback.java,
4908 javax/security/auth/callback/TextInputCallback.java,
4909 javax/security/auth/callback/TextOutputCallback.java,
4910 javax/security/auth/callback/UnsupportedCallbackException.java,
4911 javax/security/sasl/Sasl.java,
4912 javax/security/sasl/SaslServerFactory.java,
4913 javax/swing/DefaultBoundedRangeModel.java,
4914 javax/swing/JComponent.java,
4915 javax/swing/JList.java,
4916 javax/swing/JProgressBar.java,
4917 javax/swing/JRadioButton.java,
4918 javax/swing/JTextArea.java,
4919 javax/swing/JTextField.java,
4920 javax/swing/JToggleButton.java,
4921 javax/swing/JTree.java,
4922 javax/swing/SpinnerListModel.java,
4923 javax/swing/event/EventListenerList.java,
4924 javax/swing/text/JTextComponent.java,
4925 javax/swing/text/StringContent.java,
4926 javax/swing/text/Utilities.java,
4927 javax/swing/undo/UndoManager.java,
4928 javax/swing/undo/UndoableEditSupport.java,
4929 javax/transaction/HeuristicCommitException.java,
4930 javax/transaction/HeuristicMixedException.java,
4931 javax/transaction/HeuristicRollbackException.java,
4932 javax/transaction/InvalidTransactionException.java,
4933 javax/transaction/NotSupportedException.java,
4934 javax/transaction/RollbackException.java,
4935 javax/transaction/Status.java,
4936 javax/transaction/Synchronization.java,
4937 javax/transaction/SystemException.java,
4938 javax/transaction/Transaction.java,
4939 javax/transaction/TransactionManager.java,
4940 javax/transaction/TransactionRequiredException.java,
4941 javax/transaction/TransactionRolledbackException.java,
4942 javax/transaction/UserTransaction.java,
4943 javax/transaction/xa/XAException.java,
4944 javax/transaction/xa/XAResource.java,
4945 javax/transaction/xa/Xid.java,
4946 javax/xml/XMLConstants.java,
4947 javax/xml/datatype/DatatypeConfigurationException.java,
4948 javax/xml/datatype/DatatypeConstants.java,
4949 javax/xml/datatype/DatatypeFactory.java,
4950 javax/xml/datatype/Duration.java,
4951 javax/xml/datatype/XMLGregorianCalendar.java,
4952 javax/xml/namespace/NamespaceContext.java,
4953 javax/xml/namespace/QName.java,
4954 javax/xml/parsers/DocumentBuilder.java,
4955 javax/xml/parsers/DocumentBuilderFactory.java,
4956 javax/xml/parsers/FactoryConfigurationError.java,
4957 javax/xml/parsers/ParserConfigurationException.java,
4958 javax/xml/parsers/SAXParser.java,
4959 javax/xml/parsers/SAXParserFactory.java,
4960 javax/xml/transform/ErrorListener.java,
4961 javax/xml/transform/OutputKeys.java,
4962 javax/xml/transform/Result.java,
4963 javax/xml/transform/Source.java,
4964 javax/xml/transform/SourceLocator.java,
4965 javax/xml/transform/Templates.java,
4966 javax/xml/transform/Transformer.java,
4967 javax/xml/transform/TransformerConfigurationException.java,
4968 javax/xml/transform/TransformerException.java,
4969 javax/xml/transform/TransformerFactory.java,
4970 javax/xml/transform/TransformerFactoryConfigurationError.java,
4971 javax/xml/transform/URIResolver.java,
4972 javax/xml/transform/dom/DOMLocator.java,
4973 javax/xml/transform/dom/DOMResult.java,
4974 javax/xml/transform/dom/DOMSource.java,
4975 javax/xml/transform/sax/SAXResult.java,
4976 javax/xml/transform/sax/SAXSource.java,
4977 javax/xml/transform/sax/SAXTransformerFactory.java,
4978 javax/xml/transform/sax/TemplatesHandler.java,
4979 javax/xml/transform/sax/TransformerHandler.java,
4980 javax/xml/transform/stream/StreamResult.java,
4981 javax/xml/transform/stream/StreamSource.java,
4982 javax/xml/validation/Schema.java,
4983 javax/xml/validation/SchemaFactory.java,
4984 javax/xml/validation/TypeInfoProvider.java,
4985 javax/xml/validation/Validator.java,
4986 javax/xml/validation/ValidatorHandler.java,
4987 javax/xml/xpath/XPathConstants.java,
4988 javax/xml/xpath/XPathException.java,
4989 javax/xml/xpath/XPathExpression.java,
4990 javax/xml/xpath/XPathExpressionException.java,
4991 javax/xml/xpath/XPathFactory.java,
4992 javax/xml/xpath/XPathFactoryConfigurationException.java,
4993 javax/xml/xpath/XPathFunction.java,
4994 javax/xml/xpath/XPathFunctionException.java,
4995 javax/xml/xpath/XPathFunctionResolver.java:
4996 Fixed usage of @author tag, reworked import statements,
4997 removed CVS tags, changed the modifier order and fixed
4998 HTML usage in javadocs.
5000 2005-02-16 Julian Scheid <julian@sektor37.de>
5002 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
5004 (encodeLoop): Likewise.
5006 2005-02-16 Mark Wielaard <mark@klomp.org>
5008 * Makefile.am (ordinary_java_source_files): Add new files
5009 gnu/java/security/ber/BER.java,
5010 gnu/java/security/ber/BEREncodingException.java,
5011 gnu/java/security/ber/BERReader.java,
5012 gnu/java/security/ber/BERValue.java,
5013 gnu/java/security/pkcs/PKCS7SignedData.java and
5014 gnu/java/security/pkcs/SignerInfo.java.
5015 * Makefile.in: Regenerated.
5017 2005-02-16 Casey Marshall <csm@gnu.org>
5019 * gnu/java/security/provider/GnuDSAPrivateKey.java
5020 (encodedKey): new field.
5021 (getFormat): return "PKCS#8".
5022 (getEncoded): implemented.
5023 (toString): check for 'null' values.
5024 * gnu/java/security/provider/GnuDSAPublicKey.java
5025 (encodedKey): new field.
5026 (getFormat): return "X.509".
5027 (getEncoded): implemented.
5028 (toString): check for 'null' values.
5030 2005-02-16 Michael Koch <konqueror@gmx.de>
5032 * java/util/jar/JarFile.java: Imports reworked.
5034 2005-02-16 Mark Wielaard <mark@klomp.org>
5036 * java/util/jar/JarFile.java (verify): Make package private.
5037 (signaturesRead): Likewise.
5038 (verified): Likewise.
5039 (entryCerts): Likewise.
5042 (entries): Construct new JarEnumeration with reference to this.
5043 (JarEnumeration): Make static.
5044 (JarEnumeration.jarfile): New field.
5045 (JarEnumeration.nextElement): Use and synchronize on jarfile.
5046 Compare verified value to Boolean.TRUE or Boolean.False only
5047 when verify is true.
5048 (getEntry): Make synchronized. Compare value of verified to
5050 (getInputStream): Construct EntryInputStream with reference to this.
5051 (getManifest): Make synchronized.
5052 (EntryInputStream): Make static.
5053 (EntryInputStream.jarfile): New field.
5054 (EntryInputStream.EntryInputStream): Check if manifest exists,
5055 before getting attributes.
5056 (eof): Synchronize on jarfile.
5058 2005-02-16 Casey Marshall <csm@gnu.org>
5060 * java/util/jar/JarFile.java (verify): return if the jar is signed
5061 with an unsupported algorithm.
5063 2005-02-16 Mark Wielaard <mark@klomp.org>
5065 * java/util/jar/JarFile.java (EntryInputStream): Add actual
5066 InputStream as argument.
5067 (getInputStream): Construct a new EntryInputStream with the result of
5068 super.getInputStream(entry).
5070 2005-02-16 Casey Marshall <csm@gnu.org>
5072 Signed JAR file support.
5073 * java/net/URLClassLoader.java
5074 (JarURLResource.getCertificates): re-read jar entry to ensure
5075 certificates are picked up.
5076 (findClass): fill in class `signers' field, too.
5077 * java/util/jar/JarFile.java (META_INF): new constant.
5078 (PKCS7_DSA_SUFFIX): new constant.
5079 (PKCS7_RSA_SUFFIX): new constant.
5080 (DIGEST_KEY_SUFFIX): new constant.
5081 (SF_SUFFIX): new constant.
5082 (MD2_OID): new constant.
5083 (MD4_OID): new constant.
5084 (MD5_OID): new constant.
5085 (SHA1_OID): new constant.
5086 (DSA_ENCRYPTION_OID): new constant.
5087 (RSA_ENCRYPTION_OID): new constant.
5088 (signaturesRead): new field.
5089 (verified): new field.
5090 (entryCerts): new field.
5091 (DEBUG): new constant.
5092 (debug): new method.
5093 (JarEnumeration.nextElement): fill in entry certificates, read
5094 signatures if they haven't been read.
5095 (getEntry): likewise.
5096 (getInputStream): verify stream if it hasn't been verified yet.
5097 (readSignatures): new method.
5098 (verify): new method.
5099 (verifyHashes): new method.
5100 (readManifestEntry): new method.
5101 (EntryInputStream): new class.
5102 * gnu/java/io/Base64InputStream.java (decode): new class
5104 * gnu/java/security/der/DERReader.java don't make class
5106 (in): made protected.
5108 (readLength): likewise.
5109 * gnu/java/security/ber/BER.java,
5110 * gnu/java/security/ber/BEREncodingException.java,
5111 * gnu/java/security/ber/BERReader.java,
5112 * gnu/java/security/ber/BERValue.java,
5113 * gnu/java/security/pkcs/PKCS7SignedData.java,
5114 * gnu/java/security/pkcs/SignerInfo.java:
5117 2005-02-16 Tom Tromey <tromey@redhat.com>
5119 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
5120 copied file on exit.
5122 2005-02-15 Mark Wielaard <mark@klomp.org>
5124 * java/awt/BasicStroke.java (hashCode): Check for null dash.
5126 2005-02-15 Michael Koch <konqueror@gmx.de>
5128 * gnu/java/awt/peer/gtk/GtkArg.java,
5129 gnu/java/awt/peer/gtk/GtkArgList.java:
5132 2005-02-15 Craig Black <craig.black@aonix.com>
5134 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5135 (postMenuActionEvent): Implement to notify ItemListeners.
5136 * java/awt/CheckboxMenuItem.java
5137 (dispatchEventImpl): Update state on ItemEvent.
5138 * java/awt/MenuItem.java
5139 (processActionEvent): Retarget event source.
5141 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5143 * gnu/java/awt/color/ClutProfileConverter.java,
5144 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5145 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5146 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5147 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5148 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5149 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5150 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5151 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5152 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5153 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5154 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5155 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5156 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5157 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5158 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5159 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5160 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5161 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5162 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5163 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5164 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5165 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5166 gnu/java/awt/peer/gtk/GtkToolkit.java,
5167 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5168 javax/swing/JPopupMenu.java,
5169 javax/swing/JSpinner.java,
5170 javax/swing/SortingFocusTraversalPolicy.java,
5171 javax/swing/SwingUtilities.java,
5172 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5173 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5174 javax/swing/tree/DefaultMutableTreeNode.java:
5175 Removed unused imports and expanded starred
5178 2005-02-15 Mark Wielaard <mark@klomp.org>
5180 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5181 IllegalArgumentException when the given String is null.
5183 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5184 when given keystoke sequence cannot be parsed.
5186 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5187 if one is installed. Only install the given menubar is not null.
5189 * javax/swing/JViewport.java (getViewSize): Return an empty
5190 Dimension when the view isn't set or preferred component size when
5193 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5194 empty Dimension when there is no view set.
5195 (minimumLayoutSize): Likewise.
5196 (layoutContainer): Don't try to layout when there is no view.
5198 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5201 * include/jawt.h: Likewise.
5202 * include/jawt_md.h: Likewise.
5203 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5205 * jni/classpath/classpath_jawt.h: Likewise.
5206 * jni/gtk-peer/gtk_jawt.c: Likewise.
5207 * Makefile.am: Build libjawt.so.
5209 2005-02-15 Michael Koch <konqueror@gmx.de>
5211 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5212 Merged file header with classpath CVS head.
5213 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5214 Merged code formatting with classpath CVS head.
5215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5217 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5218 Handle special JNI strings with 2 '\0' at the end.
5219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5220 Merged file header with classpath CVS head.
5221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5222 Merged code formatting with classpath CVS head.
5224 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5227 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5228 (handle_response): Use GTK_RESPONSE_ACCEPT.
5230 2005-02-15 Graydon Hoare <graydon@redhat.com>
5232 * Makefile.am: Fix library build breakage.
5233 * Makefile.in: Regenerate.
5235 2005-02-15 Michael Koch <konqueror@gmx.de>
5237 * javax/swing/JTabbedPane.java
5238 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5240 2005-02-15 Michael Koch <konqueror@gmx.de>
5242 * javax/swing/tree/DefaultMutableTreeNode.java:
5243 Reworked Javadocs all over.
5244 (getPathToRoot): Fixed direction of result array initialization.
5246 2005-02-15 Michael Koch <konqueror@gmx.de>
5248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5249 Fix includes for cairo 0.3.0 snappshot.
5250 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5251 Merged file header from classpath CVS HEAD.
5253 2005-02-15 Craig Black <craig.black@aonix.com>
5255 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5256 (copyState): Pass a JNI global reference to signal handler.
5257 (realize_cb): Use and free JNI global reference.
5258 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5259 (create): Pass a JNI global reference to signal handler.
5260 (selection_changed): Match declaration.
5261 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5262 (dispose): Do not remove entries from state tables until after widget is
5265 2005-02-15 Michael Koch <konqueror@gmx.de>
5267 * java/awt/Container.javai (paramString):
5268 If layoutMgr is null just return result of super.paramString().
5269 * java/awt/Scrollbar.java: Reformatted.
5270 * java/awt/im/InputContext.java (static):
5271 Removed redundant initializations.
5273 2005-02-15 Michael Koch <konqueror@gmx.de>
5275 * javax/swing/ImageIcon.java,
5276 javax/swing/UIManager.java,
5277 javax/swing/text/EditorKit.java,
5278 javax/swing/text/Segment.java:
5279 More whitespace cleanups.
5281 2005-02-15 Michael Koch <konqueror@gmx.de>
5283 * gnu/java/awt/EmbeddedWindow.java,
5284 gnu/java/awt/image/ImageDecoder.java,
5285 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5286 java/awt/DefaultKeyboardFocusManager.java,
5287 java/awt/Frame.java,
5288 java/awt/image/RGBImageFilter.java,
5289 javax/swing/AbstractButton.java,
5290 javax/swing/ActionMap.java,
5291 javax/swing/ComponentInputMap.java,
5292 javax/swing/DefaultDesktopManager.java,
5293 javax/swing/ImageIcon.java,
5294 javax/swing/InputMap.java,
5295 javax/swing/JButton.java,
5296 javax/swing/JCheckBox.java,
5297 javax/swing/JCheckBoxMenuItem.java,
5298 javax/swing/JEditorPane.java,
5299 javax/swing/JMenu.java,
5300 javax/swing/JMenuItem.java,
5301 javax/swing/JOptionPane.java,
5302 javax/swing/JRootPane.java,
5303 javax/swing/JTable.java,
5304 javax/swing/MenuSelectionManager.java,
5305 javax/swing/RepaintManager.java,
5306 javax/swing/ScrollPaneLayout.java,
5307 javax/swing/SortingFocusTraversalPolicy.java,
5308 javax/swing/UIManager.java,
5309 javax/swing/ViewportLayout.java,
5310 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5311 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5312 javax/swing/plaf/basic/BasicLabelUI.java,
5313 javax/swing/plaf/basic/BasicListUI.java,
5314 javax/swing/plaf/basic/BasicMenuItemUI.java,
5315 javax/swing/plaf/basic/BasicMenuUI.java,
5316 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5317 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5318 javax/swing/plaf/basic/BasicRootPaneUI.java,
5319 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5320 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5321 javax/swing/plaf/basic/BasicTextUI.java,
5322 javax/swing/table/TableColumnModel.java,
5323 javax/swing/text/AbstractDocument.java,
5324 javax/swing/text/EditorKit.java,
5325 javax/swing/text/Position.java,
5326 javax/swing/text/Segment.java,
5327 javax/swing/text/StyledEditorKit.java,
5328 javax/swing/text/ViewFactory.java:
5329 Cleanup whitespace differences to classpath CVS HEAD.
5331 2005-02-15 Graydon Hoare <graydon@redhat.com>
5333 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5334 (finalize): Call finish from here.
5335 (produce): Not from here.
5336 * Makefile.am (gtk_c_source_files):
5337 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5338 * Makefile.in: Regenerate.
5339 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5341 (cairoDrawGdkTextLayout):
5343 (getPeerTextMetrics):
5344 (getPeerFontMetrics): Remove.
5345 (setFont): Don't call cairoSetFont.
5346 (cairoDrawGlyphVector): Accept font peer argument.
5347 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5348 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5349 (ensure_metrics_cairo):
5350 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5351 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5352 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5353 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5355 (metrics_surface): Remove.
5356 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5357 Pass and install font peer.
5359 2005-02-15 Graydon Hoare <graydon@redhat.com>
5361 * Makefile.am: Create "split library" structure.
5362 * Makefile.in: Regenerate.
5364 2005-02-15 Graydon Hoare <graydon@redhat.com>
5366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5367 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5369 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5370 Release GDK lock during upcalls.
5372 2005-02-15 Graydon Hoare <graydon@redhat.com>
5374 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5375 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5376 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5377 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5378 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5380 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5383 (getTextMetrics): New native methods.
5384 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5385 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5386 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5387 * Makefile.in: Regenerate.
5389 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5391 * javax/swing/SwingUtilities.java:
5392 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5393 Implemented and documented.
5394 (getAccessibleChild(java.awt.Component, int)): Likewise.
5395 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5396 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5397 (getAccessibleStateSet(java.awt.Component)): Likewise.
5399 2005-02-15 Michael Koch <konqueror@gmx.de>
5401 * javax/swing/SwingUtilities.java
5402 (getFontMetrics): Removed.
5404 2005-02-15 Michael Koch <konqueror@gmx.de>
5406 * java/awt/Container.java
5407 (paramString): Implemented.
5408 * javax/swing/AbstractButton.java
5409 (paramString): Implemented.
5410 * javax/swing/JComponent.java
5411 (paramString): Implemented.
5412 * javax/swing/JMenu.java
5413 (paramString): Implemented.
5414 * javax/swing/JMenuBar.java
5415 (paramString): Implemented.
5416 * javax/swing/JMenuItem.java
5417 (paramString): Implemented.
5418 * javax/swing/JPopupMenu.java
5419 (paramString): Implemented.
5421 2005-02-15 Michael Koch <konqueror@gmx.de>
5423 * javax/swing/JMenu.java
5424 (uiClassID): Removed.
5425 (JMenu): Set invoker on popup menu.
5426 (getUIClassID): Return id directly.
5427 (getItemCount): Simply return getMenuComponentCount().
5429 (isTopLevelMenu): Simplified.
5430 * javax/swing/JMenuItem.java
5431 (uiClassID): Removed.
5432 (getUIClassID): Return id directly.
5433 * javax/swing/JPopupMenu.java
5434 (uiClassID): Removed.
5435 (JPopupMenu): Always initialize correctly.
5436 (getSubElements): Only return components implementing MenuElement
5438 (HeavyWeightPopup.hide): Removed.
5440 2005-02-15 Michael Koch <konqueror@gmx.de>
5442 * java/awt/image/ReplicateScaleFilter.java
5443 (replicatePixels): Made private.
5444 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5445 (DefaultRGBChooserPanel): Made package private.
5446 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5447 (RecentSwatchPanel): Likewise.
5448 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5449 (MouseInputAdapter): Made abstract.
5450 * javax/swing/tree/DefaultMutableTreeNode.java
5452 (growTree): Likewise.
5454 2005-02-15 Michael Koch <konqueror@gmx.de>
5456 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5459 2005-02-15 Michael Koch <konqueror@gmx.de>
5461 * javax/swing/JComponent.java (getComponentGraphics):
5462 Removed accidently commited code.
5464 2005-02-15 Graydon Hoare <graydon@redhat.com>
5466 * java/awt/dnd/DropTarget.java
5467 (addDropTargetListener): Despite documentation, do not throw.
5468 * javax/swing/JComponent.java: Set a default DropTarget.
5470 2005-02-15 Michael Koch <konqueror@gmx.de>
5472 * javax/swing/AbstractAction.java
5473 (ENABLED_PROPERTY): Removed.
5474 (setEnabled): Replaced constant with real string.
5475 * javax/swing/AbstractButton.java
5476 (createActionPropertyChangeListener.propertyChange): Likewise.
5477 * javax/swing/JComboBox.java
5478 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5479 (EDITABLE_CHANGED_PROPERTY): Removed.
5480 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5481 (ENABLED_CHANGED_PROPERTY):Likewise.
5482 (RENDERER_CHANGED_PROPERTY):Likewise.
5483 (EDITOR_CHANGED_PROPERTY):Likewise.
5484 (MODEL_CHANGED_PROPERTY):Likewise.
5485 (uiClassID):Likewise.
5486 (getUIClassID): Replaced constant with real string.
5487 (setModel):Likewise.
5488 (setEditable):Likewise.
5489 (setMaximumRowCount):Likewise.
5490 (setRenderer):Likewise.
5491 (setEditor):Likewise.
5492 (setEnabled):Likewise.
5493 * javax/swing/JLabel.java
5494 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5495 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5496 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5497 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5498 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5499 (ICON_CHANGED_PROPERTY): Likewise.
5500 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5501 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5502 (TEXT_CHANGED_PROPERTY): Likewise.
5503 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5504 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5505 (setText): Replaced constant with real string.
5506 (setIcon): Likewise.
5507 (setDisabledIcon): Likewise.
5508 (setDisplayedMnemonic): Likewise.
5509 (setIconTextGap): Likewise.
5510 (setVerticalAlignment): Likewise.
5511 (setHorizontalAlignment): Likewise.
5512 (setVerticalTextPosition): Likewise.
5513 (setHorizontalTextPosition): Likewise.
5514 (setLabelFor): Replaced constant with real string.
5515 Fire property change event after property got changed.
5516 * javax/swing/JList.java
5517 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5518 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5519 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5520 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5521 (MODEL_PROPERTY_CHANGED): Likewise.
5522 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5523 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5524 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5525 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5526 (setFixedCellWidth): Reimplemented.
5527 (setFixedCellHeight): Exit if new value is identical.
5528 Replaced constant with real string.
5529 (setSelectionBackground): Likewise.
5530 (setSelectionForeground): Likewise.
5531 (setPrototypeCellValue): Likewise.
5532 (setCellRenderer): Replaced constant with real string.
5533 (setModel): Likewise.
5534 (setSelectionModel): Likewise.
5535 * javax/swing/JMenuBar.java
5536 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5537 (MODEL_CHANGED_PROPERTY): Likewise.
5538 (MARGIN_CHANGED_PROPERTY): Likewise.
5539 (setBorderPainted): Reimplemented.
5540 (setMargin): Likewise.
5541 (setSelectionModel): Replaced constant with real string.
5542 * javax/swing/JPopupMenu.java
5543 (LABEL_CHANGED_PROPERTY): Removed.
5544 (VISIBLE_CHANGED_PROPERTY): Likewise.
5545 (borderPainted): Likewise.
5546 (setLabel): Replaced constant with real string.
5547 (setVisible): Exit if new value is identical.
5548 Replaced constant with real string.
5549 * javax/swing/JProgressBar.java
5550 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5551 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5552 (STRING_CHANGED_PROPERTY): Likewise.
5553 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5554 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5555 (setOrientation): Replaced constant with real string.
5556 (setStringPainted): Likewise.
5557 (setString): Likewise.
5558 (setBorderPainted): Likewise.
5559 (setIndeterminate): Likewise.
5560 * javax/swing/JScrollBar.java
5561 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5562 (MODEL_CHANGED_PROPERTY): Likewise.
5563 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5564 (setOrientation): Replaced constant with real string.
5565 (setModel): Likewise.
5566 (setUnitIncrement): Likewise.
5567 (setBlockIncrement): Likewise.
5568 * javax/swing/JScrollPane.java
5569 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5570 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5571 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5572 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5573 (LAYOUT_CHANGED_PROPERTY): Likewise.
5574 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5575 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5576 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5577 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5578 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5579 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5580 (setComponentOrientation): Replaced constant with real string.
5581 (setColumnHeader): Likewise.
5582 (setHorizontalScrollBar): Likewise.
5583 (setHorizontalScrollBarPolicy): Likewise.
5584 (setRowHeader): Likewise.
5585 (setVerticalScrollBar): Likewise.
5586 (setVerticalScrollBarPolicy): Likewise.
5587 (setWheelScrollingEnabled): Likewise.
5588 (setViewport): Likewise.
5589 (setViewportBorder): Likewise.
5590 * javax/swing/JSlider.java
5591 (INVERTED_CHANGED_PROPERTY): Removed.
5592 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5593 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5594 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5595 (MODEL_CHANGED_PROPERTY): Likewise.
5596 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5597 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5598 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5599 (setModel): Replaced constant with real string.
5600 (setOrientation): Likewise.
5601 (setLabelTable): Likewise.
5602 (setInverted): Likewise.
5603 (setMajorTickSpacing): Likewise.
5604 (setMinorTickSpacing): Likewise.
5605 (setPaintTicks): Likewise.
5606 (setPaintLabels): Likewise.
5607 * javax/swing/JTabbedPane.java
5608 (MODEL_CHANGED_PROPERTY): Removed.
5609 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5610 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5611 (setModel): Replaced constant with real string.
5612 (setTabPlacement): Likewise.
5613 (setTabLayoutPolicy): Likewise.
5614 * javax/swing/JToolBar.java
5615 (ORIENTATION_CHANGED_PROPERTY): Removed.
5616 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5617 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5618 (MARGIN_CHANGED_PROPERTY): Likewise.
5619 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5620 (setRollover): Replaced constant with real string.
5621 (setMargin): Likewise.
5622 (setBorderPainted): Likewise.
5623 (setFloatable): Likewise.
5624 (setOrientation): Likewise.
5625 * javax/swing/plaf/basic/BasicComboBoxUI.java
5626 (PropertyChangeHandler.propertyChange): Likewise.
5627 * javax/swing/plaf/basic/BasicComboPopup.java
5628 (PropertyChangeHandler.propertyChange): Likewise.
5629 * javax/swing/plaf/basic/BasicMenuBarUI.java
5630 (PropertyChangeHandler.propertyChange): Likewise.
5631 * javax/swing/plaf/basic/BasicProgressBarUI.java
5632 (PropertyChangeHandler.propertyChange): Likewise.
5633 * javax/swing/plaf/basic/BasicScrollBarUI.java
5634 (PropertyChangeHandler.propertyChange): Likewise.
5635 * javax/swing/plaf/basic/BasicSliderUI.java
5636 (PropertyChangeHandler.propertyChange): Likewise.
5637 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5638 (PropertyChangeHandler.propertyChange): Likewise.
5639 * javax/swing/plaf/basic/BasicToolBarUI.java
5640 (PropertyChangeHandler.propertyChange): Likewise.
5642 2005-02-15 Michael Koch <konqueror@gmx.de>
5644 * javax/swing/DefaultButtonModel.java
5645 (changeState): Made private.
5646 * javax/swing/DefaultDesktopManager.java
5647 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5648 * javax/swing/JLayeredPane.java
5649 (layerToRange): Made private.
5650 (incrLayer): Likewise.
5651 (decrLayer): Likewise.
5652 * javax/swing/JTable.java
5653 (dragEnabled): Likewise.
5654 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5655 * javax/swing/KeyStroke.java
5656 (Keystroke): Made private.
5657 * javax/swing/TransferHandler.java
5658 (COMMAND_COPY): Likewise.
5659 (COMMAND_CUT): Likewise.
5660 (COMMAND_PASTE): Likewise.
5662 2005-02-15 Michael Koch <konqueror@gmx.de>
5664 * javax/swing/JTextField.java
5665 (postActionEvent): Use text in field when actionCommand is null.
5666 (getActionCommand): Removed.
5668 2005-02-15 Michael Koch <konqueror@gmx.de>
5670 * javax/swing/AbstractSet.java: Removed.
5671 * Makefile.am: Removed javax/swing/AbstractSet.java.
5672 * Makefile.in: Regenerated.
5674 2005-02-15 Michael Koch <konqueror@gmx.de>
5676 * java/awt/Window.java
5677 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5678 * java/awt/dnd/DnDConstants.java
5679 (DnDConstants): New private constructor.
5681 2005-02-15 Michael Koch <konqueror@gmx.de>
5683 * javax/swing/DefaultCellRenderer.java: Removed.
5684 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5685 * Makefile.in: Regenerated.
5687 2005-02-15 Michael Koch <konqueror@gmx.de>
5689 * javax/swing/AbstractButton.java
5690 (fireItemStateChanged): Made protected.
5691 (fireActionPerformed): Likewise.
5692 (fireStateChanged): Likewise.
5693 * javax/swing/DefaultButtonModel.java
5694 (fireItemStateChanged): Likewise.
5695 (fireActionPerformed): Likewise.
5696 (fireStateChanged): Likewise.
5697 * javax/swing/JApplet.java
5699 (frameInit): Likewise.
5700 (setRootPane): Made protected.
5701 (createRootPane): Likewise.
5702 * javax/swing/JComponent.java
5703 (getClientProperty): Likewise.
5704 (putClientProperty): Likewise.
5705 * javax/swing/JEditorPane.java
5706 (getContentType): Likewise.
5707 (setContentType): Likewise.
5708 * javax/swing/JFrame.java
5709 (setRootPane): Likewise.
5710 (createRootPane): Likewise.
5711 * javax/swing/JInternalFrame.java
5712 (getFocusCycleRootAncestor): Made final. Added @since tag.
5713 (isFocusCycleRoot): Likewise.
5714 (getWarningString): Made final.
5715 * javax/swing/JScrollBar.java
5716 (changeListener): Removed.
5717 (changeEvent): Likewise.
5718 (createChangeListener): Likewise.
5719 (fireStateChanged): Likewise.
5720 (addChangeListener): Likewise.
5721 (removeChangeListener): Likewise.
5722 (getChangeListeners): Likewise.
5723 * javax/swing/JScrollPane.java
5724 (createViewport): Made protected.
5725 * javax/swing/JViewport.java
5726 (addImpl): Likewise.
5727 (setBorder): New method.
5728 * javax/swing/JWindow.java
5729 (setRootPane): Made protected.
5730 (createRootPane): Likewise.
5731 * javax/swing/plaf/basic/BasicButtonUI.java
5732 (installListeners): Likewise.
5733 (uninstallListeners): Likewise.
5734 * javax/swing/plaf/basic/BasicProgressBarUI.java
5735 (incrementAnimationIndex): Likewise.
5736 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5737 (createLayoutManager): Likewise.
5738 * javax/swing/table/DefaultTableCellRenderer.java
5739 (firePropertyChange): Likewise.
5740 * javax/swing/table/JTableHeader.java
5741 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5743 * javax/swing/text/PlainDocument.java
5744 (reindex): Made private.
5745 * javax/swing/text/PlainView.java
5746 (drawLine): Made protected.
5747 (getTabSize): Likewise.
5748 * javax/swing/text/View.java
5750 (preferenceChanged): New method.
5751 (getBreakWeight): Likewise.
5752 (breakView): Likewise.
5753 (getViewIndex): Likewise.
5755 2005-02-15 Michael Koch <konqueror@gmx.de>
5757 * javax/swing/JScrollPane.java
5758 (ScrollBar): Made class protected.
5759 * javax/swing/JSpinner.java
5760 (JSpinner): Added @since tag.
5761 (listenerList): Removed.
5762 * javax/swing/JTable.java
5763 (setValueAt): New method.
5764 (getColumn): Likewise.
5765 * javax/swing/JWindow.java
5766 (rootPaneCheckingEnabled): Renamed from checking.
5768 2005-02-15 Michael Koch <konqueror@gmx.de>
5770 * javax/swing/plaf/basic/BasicTextUI.java
5771 (RootView.modelToView): Made it public and return a java.awt.Shape.
5772 Handle null subview.
5773 (uninstall): Set textComponent to null when its not possible used
5775 * javax/swing/text/View.java
5776 (setParent): Use better argument name.
5777 (getContainer): Get parent via getParent().
5778 (getViewFactory): Likewise.
5779 (getAttributes): Get element via getElement().
5780 (getStartOffset): Likewise.
5781 (getEndOffset): Likewise.
5782 (getResizeWeight): New method.
5783 (getMaximumSpan): Likewise.
5784 (getMinimumSpan): Likewise.
5785 (setSize): Likewise.
5786 (getGraphics): Likewise.
5788 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5790 * java/awt/Checkbox.java:
5791 (AccessibleAWTCheckbox()): Added public constructor
5793 * java/awt/Choice.java:
5794 (AccessibleAWTChoice): Added class documentation.
5795 (AccessibleAWTChoice()): Added public constructor
5797 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5798 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5799 and changed role to COMBO_BOX.
5800 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5801 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5802 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5804 2005-02-15 Graydon Hoare <graydon@redhat.com>
5805 Michael Koch <konqueror@gmx.de>
5807 * javax/swing/LayoutFocusTraversalPolicy.java,
5808 javax/swing/SortingFocusTraversalPolicy.java:
5810 * Makefile.am: Added new classes.
5811 * Makefike.in: Regenerated.
5814 2005-02-15 Michael Koch <konqueror@gmx.de>
5816 * javax/swing/DebugGraphics.java: Mostly implemented.
5818 2005-02-15 Michael Koch <konqueror@gmx.de>
5820 * javax/swing/SwingUtilities.java
5821 (findFocusOwner): New method.
5823 2005-02-15 Michael Koch <konqueror@gmx.de>
5825 * javax/swing/text/DefaultEditorKit.java
5826 (read): Added '\n' after each line.
5827 * javax/swing/text/PlainView.java
5828 (modelToView): Update metrics.
5829 (drawLine): Use offsets from element.
5830 (paint): Update metrics. Draw all lines.
5832 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5834 * java/awt/Checkbox.java:
5835 (AccessibleAWTCheckbox): Added class documentation
5836 * java/awt/Scrollbar.java:
5837 (AccessibleAWTScrollBar): typo corrected and docs added
5838 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5839 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5840 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5841 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5842 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5843 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5844 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5845 (getAccessibleContext()): name of accessible class corrected
5847 2005-02-15 Mark Wielaard <mark@klomp.org>
5849 * java/awt/BasicStroke.java (hashCode): Implement.
5852 2005-02-15 Michael Koch <konqueror@gmx.de>
5854 * java/awt/print/PrinterJob.java
5855 (pageDialog): Throws java.awt.HeadlessException.
5856 (printDialog): Likewise.
5858 2005-02-15 Mark Wielaard <mark@klomp.org>
5860 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5862 2005-02-15 Michael Koch <konqueror@gmx.de>
5864 * javax/swing/JTable.java
5865 (getValueAt): New method.
5866 * javax/swing/table/JTableHeader.java
5867 (columnAtPoint): New method.
5869 2005-02-15 Michael Koch <konqueror@gmx.de>
5871 * javax/swing/JTextField.java
5872 (actions): New field.
5873 (static): Initalize actions field.
5874 (getActions): New method.
5876 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5878 * java/awt/Checkbox.java:
5879 (AccessibleAWTCheckbox): name capitalization corrected
5880 and serialization UID added.
5881 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5883 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5884 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5885 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5886 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5887 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5888 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5889 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5890 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5891 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5892 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5893 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5895 (getAccessibleContext()): name of accessible class corrected
5897 2005-02-15 Sven de Marothy <sven@physto.se>
5899 * java/awt/geom/doc-files/Area-1.png,
5900 java/awt/geom/doc-files/Ellipse-1.png,
5901 java/awt/geom/doc-files/GeneralPath-1.png:
5904 2005-02-15 Graydon Hoare <graydon@redhat.com>
5906 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5907 Use union to avoid type-punning warning.
5909 2005-02-15 Michael Koch <konqueror@gmx.de>
5911 * javax/swing/DefaultListSelectionModel.java
5912 (clone): New method.
5914 2005-02-15 Mark Wielaard <mark@klomp.org>
5916 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5917 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5918 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5919 Correct method signature of gtkSetFilename.
5921 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5923 * javax/swing/text/StringContent.java: New file.
5925 2005-02-15 Michael Koch <konqueror@gmx.de>
5927 * Makefile.am: Added javax/swing/text/StringContent.java.
5928 * Makefile.in: Regenerated.
5930 2005-02-15 Michael Koch <konqueror@gmx.de>
5932 * gnu/java/awt/ClasspathToolkit.java:
5933 Import statements reworked.
5934 (imageCache): Made it of type java.util.HashMap.
5936 2005-02-15 Michael Koch <konqueror@gmx.de>
5938 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5939 Reworked import statements.
5941 2005-02-15 Graydon Hoare <graydon@redhat.com>
5943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5956 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5958 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5959 Rewrite uses of extern variable to be function calls.
5960 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5961 function, from extern variable.
5962 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5963 (gdk_env): Remove variable, add new function.
5964 (java_vm): Add new variable.
5965 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5966 java_vm rather than old gdk_env variable.
5968 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5970 * javax/swing/DefaultListModel.java
5971 (add): fire correct event,
5972 (addElement): corrected interval indices in event,
5973 (clear): corrected upper bound for interval, only fire event if
5975 (setSize): fire appropriate event.
5977 2005-02-15 Graydon Hoare <graydon@redhat.com>
5979 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5980 * gnu/awt/xlib/XToolkit.java: Likewise.
5981 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5982 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5983 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5984 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5985 * java/awt/EventQueue.java (getNextEvent):
5986 Adjust event loop to switch to native mode after 100ms.
5987 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5989 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5990 Wake up event thread.
5991 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5992 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5993 Adjust event loop to switch to java mode after 100ms.
5995 2005-02-15 Graydon Hoare <graydon@redhat.com>
5997 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
5998 accidentally removed in last change.
6000 2005-02-15 Michael Koch <konqueror@gmx.de>
6002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6003 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
6005 2005-02-15 Graydon Hoare <graydon@redhat.com>
6007 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6008 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6009 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6010 * jni.cc: Reuse bottom frame between calls, avoid clearing
6011 frame when no local references are made.
6013 2005-02-15 Michael Koch <konqueror@gmx.de>
6015 * javax/swing/UIDefaults.java (UIDefaults):
6016 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6017 Fixed HTML entity and removed a redundant comma.
6019 2005-02-15 Michael Koch <konqueror@gmx.de>
6021 * javax/swing/text/DefaultEditorKit.java
6022 (deinstall): Removed.
6023 (install): Likewise.
6025 2005-02-15 Michael Koch <konqueror@gmx.de>
6027 * javax/swing/UIDefaults.java (put): Handle value of null.
6029 2005-02-15 Michael Koch <konqueror@gmx.de>
6031 * java/awt/Robot.java,
6032 java/awt/Scrollbar.java,
6033 java/awt/print/PrinterJob.java,
6034 javax/swing/JTable.java,
6035 javax/swing/text/AbstractDocument.java:
6036 Reworked import statements.
6038 2005-02-15 Michael Koch <konqueror@gmx.de>
6040 * javax/swing/JEditorPane.java
6041 (read): Implemented.
6043 * javax/swing/text/DefaultEditorKit.java
6044 (page): Renamed from page_url. Made private.
6045 (editorKit): Renamed from kit. Made private.
6047 (JEditorPane): All constructors reimplemented.
6048 (getContentType): Use content type from editor kit.
6049 (getEditorKit): Return editorKit.
6050 (getEditorKitForContentType):Likewise.
6051 (getPage): Return page.
6052 (setContentType): Reimplemented.
6053 (setEditorKit): Likewise.
6054 (setEditorKitForContentType): Removed wrong implementation.
6055 (setPage): Implemented.
6057 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6060 (nativeSetIconImageFromData): Re-add native implementation.
6062 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6064 * javax/swing/table/DefaultTableModel.java
6065 (DefaultTableModel()): Added Javadocs.
6066 (DefaultTableModel(int, int)): Fixed implementation.
6067 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6068 for negative rowCount.
6069 (DefaultTableModel(Object[], int)): Added Javadocs.
6070 (DefaultTableModel(Vector, Vector)): Likewise.
6071 (DefaultTableModel(Object[][], Object[])): Likewise.
6072 (getDataVector): Likewise.
6073 (setDataVector(Vector, Vector)): Likewise.
6074 (setDataVector(Object[][], Object[])): Likewise.
6075 (newDataAvailable): Likewise.
6076 (newRowsAdded): Likewise.
6077 (rowsRemoved): Likewise.
6078 (setColumnIdentifiers(Vector)): Allow for null argument.
6079 (setColumnIdentifiers(Object[])): Added Javadocs.
6080 (setNumRows): Likewise.
6081 (setRowCount): Adds new rows if necessary, and sends more specific
6083 (setColumnCount): Allow for null columnIdentifiers.
6084 (addColumn(Object)): Added Javadocs.
6085 (addColumn(Object, Vector)): Handle null columnData.
6086 (addColumn(Object, Object[])): Handle columnData with more or less
6087 entries than rows in the table.
6088 (addRow(Vector)): Fire appropriate event.
6089 (addRow(Object[])): Added Javadocs.
6090 (insertRow(int, Vector)): Fire appropriate event.
6091 (insertRow(int, Object[])): Added Javadocs.
6092 (moveRow): Reimplemented.
6093 (removeRow(int)): Fire appropriate event.
6094 (getColumnCount): Allow for null columnIdentifiers.
6095 (getColumnName): Now returns empty string when column index is too
6097 (isCellEditable): Added Javadocs.
6098 (getValueAt): Likewise.
6099 (setValueAt): Fire more specific event.
6100 (convertToVector): Added Javadocs.
6101 * javax/swing/table/TableModel.java
6104 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6106 * libgcj.spec.in (lib): Add -l-javax-imageio.
6108 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6110 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
6111 references to event queue q with method call q().
6112 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
6113 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
6114 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
6115 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
6116 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
6117 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
6120 2005-02-15 Graydon Hoare <graydon@redhat.com>
6122 * gnu/java/awt/ClasspathToolkit.java
6123 (registerImageIOSpis): New method.
6124 * gnu/java/awt/image/ImageDecoder.java
6125 (imageDecoder): New constructor using InputStream
6126 (startProduction): Handle existing InputStream.
6127 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6128 (findSimpleIntegerArray): Make public and static.
6129 (updateBufferedImage): Set each pixel, in a loop.
6130 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6131 Implement ImageIO SPI classes.
6132 (createBufferedImage): Rewrite in terms of SPI classes.
6133 * gnu/java/awt/peer/gtk/GtkToolkit.java
6134 (registerImageIOSpis): New method.
6135 * java/lang/reflect/natMethod.cc
6136 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6137 which lets JNI call interface methods properly.
6138 * javax/imageio/ImageIO.java
6139 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6140 (WriterMIMETypeFilter.filter): Likewise.
6141 (ImageReaderIterator): Pass extension argument through to SPI.
6142 (getReadersByFilter): Likewise.
6143 (getWritersByFilter): Likewise.
6144 (getImageReadersByFormatName): Likewise.
6145 (getImageReadersByMIMEType): Likewise.
6146 (getImageReadersBySuffix): Likewise.
6147 (getImageWritersByFormatName): Likewise.
6148 (getImageWritersByMIMEType): Likewise.
6149 (getImageWritersBySuffix): Likewise.
6152 * javax/imageio/ImageReader.java
6153 (progressListeners): Initialize.
6154 (setInput): Implement.
6155 * javax/imageio/ImageWriter.java
6156 (progressListeners): Initialize.
6157 (warningListeners): Likewise.
6158 (warningLocales): Likewise.
6159 (setOutput): Test "isInstance" rather than class equality.
6160 * javax/imageio/spi/IIORegistry.java
6161 (static): Add reader and writer SPIs.
6162 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6163 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6164 (query_formats): New function.
6165 (save_to_stream): Likewise.
6166 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6168 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6172 (keyPress): Likewise.
6173 (keyRelease): Likewise.
6175 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6177 * javax/swing/JTable.java
6178 (columnAtPoint): New Method. Implemented.
6179 (rowAtPoint): Likewise.
6180 (countSelections): Fixed few small count errors.
6181 (getSelections): Likewise.
6182 (setSelectionMode): Set selection mode for column
6183 selection model in addition to row selection model.
6184 * javax/swing/plaf/basic/BasicTableUI.java:
6185 (getRowForPoint): Removed. Replaced by
6186 JTable.rowAtPoint().
6187 (getColForPoint): Removed. Replaced by
6188 JTable.columnAtPoint().
6189 (updateSelection): Updated to call JTable.columnAtPoint
6190 and JTable.rowAtPoint.
6191 * javax/swing/table/DefaultTableColumnModel.java:
6192 (getSelectedColumns): Implemented.
6193 (getSelectedColumnCount): Implemented.
6195 2005-02-15 Graydon Hoare <graydon@redhat.com>
6198 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6199 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6200 * Makefile.in: Regenerate.
6201 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6202 * gnu/awt/xlib/XFramePeer.java: Likewise.
6203 * gnu/awt/xlib/XToolkit.java: Likewise.
6204 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6205 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6206 * gnu/java/awt/ClasspathToolkit.java
6209 (iterateNativeQueue): New methods.
6210 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6211 * gnu/java/awt/peer/gtk/GtkToolkit.java
6212 (gtkInit): Absorb from defunct GtkMainThread class.
6213 (static): Run gtkInit in static startup block.
6214 (GtkToolkit): Remove construction of GtkMainThread and queue.
6215 (getSystemEventQueueImpl): Construct queue when requested.
6218 (iterateNativeQueue): New methods.
6219 * java/awt/Component.java (removeNotify): Remove race.
6220 * java/awt/EventDispatchThread.java
6221 (EventDispatchThread): Don't start on construction.
6222 (run): Remove isInterrupted check.
6223 * java/awt/EventQueue.java (shutdown): New flag.
6224 (isShutdown): New method checking J2SE shutdown condition.
6225 (setShutdown): New method.
6226 (getNextEvent): Restructure to use ClasspathToolkit.
6227 (postEvent): Activate new thread on posting, wake thread on
6228 post of possible shutdown condition event.
6229 * java/awt/Frame.java
6230 (Frame): Call noteFrame in all constructors.
6231 (fireDummyEvent): New helper method.
6232 (addNotify): Fire a dummy event to wake up queue.
6233 (removeNotify): Fire a dummy event to wake up queue.
6234 (noteFrame): New method.
6235 (weakFrames): New static field.
6236 (getFrames): Implement.
6237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6240 Move everything from GtkMainThread into this file
6241 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6242 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6243 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6244 New functions to implement single-threaded queue semantics.
6246 2005-02-15 Michael Koch <konqueror@gmx.de>
6248 * javax/swing/plaf/metal/MetalLookAndFeel.java
6249 (getControlTextFont): New method.
6250 (getMenuTextFont): Likewise.
6251 (getSubTextFont): Likewise.
6252 (getSystemTextFont): Likewise.
6253 (getUserTextFont): Likewise.
6254 (getWindowTitleFont): Likewise.
6256 2005-02-15 Michael Koch <konqueror@gmx.de>
6258 * javax/swing/text/AbstractDocument.java
6259 (documentFilter): New field.
6260 (getDocumentFilter): New method.
6261 (setDocumentFilter): Likewise.
6264 2005-02-15 Michael Koch <konqueror@gmx.de>
6266 * javax/swing/JTree.java
6267 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6269 2005-02-15 Michael Koch <konqueror@gmx.de>
6271 * javax/swing/text/AbstractDocument.java
6272 (AbstractElement.getLength): Fixed off-by-one error.
6273 (AbstractElement.children): Made abstract.
6274 (AbstractElement.getAllowsChildren): Likewise.
6275 (AbstractElement.getElement): Likewise.
6276 (AbstractElement.dumpElement): New private method.
6277 (AbstractElement.dump): New method.
6278 (BranchElememt.getName): Fixed implementation.
6279 (BranchElememt.toString): Likewise.
6280 (BranchElememt.getElement): Fixed arguments.
6281 (LeafElement.getName): Fixed implementation.
6282 (LeafElement.toString): Likewise.
6283 * javax/swing/text/GapContent.java
6284 (GapContent): Put default content into buffer.
6285 * javax/swing/text/PlainDocument.java
6286 (reindex): Use empty attribute sets instead of null.
6287 (createDefaultRoot): Reimplemented.
6288 (insertUpdate): Call super method.
6289 (removeUpdate): Likewise.
6290 (getParagraphElement): Implemented.
6292 2005-02-15 Michael Koch <konqueror@gmx.de>
6294 * gnu/java/awt/ClasspathToolkit.java
6295 (createRobot): Throws java.awt.AWTException.
6296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6297 Added '__attribute__((unused))' to all unused method arguments.
6299 2005-02-15 Michael Koch <konqueror@gmx.de>
6301 * javax/swing/DefaultBoundedRangeModel.java
6302 (fireValueChanged): Fixed off-by-one error.
6304 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6306 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6307 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6309 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6310 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6311 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6312 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6313 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6314 (getDefaultScreenDevice): Implement.
6315 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6316 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6317 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6318 * java/awt/Robot.java: Implement.
6319 * java/awt/peer/RobotPeer.java: Rename parameters.
6320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6322 (awt_keycode_to_keysym): Make non-static.
6323 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6324 AWT_BUTTON3_MASK): Declare constants.
6325 (awt_keycode_to_keysym): Declare.
6327 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6328 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6329 and is non-empty pass its value to "make check".
6330 (test_mauve_sim): Likewise.
6332 2005-02-15 Michael Koch <konqueror@gmx.de>
6334 * javax/imageio/IIOParam.java
6335 (setSourceBands): New method.
6336 (setSourceSubsampling): Likewise.
6337 * javax/imageio/ImageReadParam.java
6338 (setDestination): Likewise.
6339 (setDestinationBands): Likewise.
6340 (setSourceProgressivePasses): Likewise.
6341 * javax/imageio/metadata/IIOInvalidTreeException.java
6342 (serialVersionUID): New static field.
6343 * javax/imageio/metadata/IIOMetadataNode.java
6344 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6345 (parent): Dont initailize with default value explicitely.
6347 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6348 (removeAttributeNode): Likewise.
6349 (removeAttributeNS): Likewise.
6350 (setAttribute): Likewise.
6351 (setAttributeNode): Likewise.
6352 (setAttributeNodeNS): Likewise.
6353 (setAttributeNS): Likewise.
6354 (appendChild): Likewise.
6355 (getNodeValue): Likewise.
6356 (insertBefore): Likewise.
6357 (removeChild): Likewise.
6358 (replaceChild): Likewise.
6359 (setPrefix): Likewise.
6361 2005-02-15 Michael Koch <konqueror@gmx.de>
6363 * javax/swing/LookAndFeel.java
6364 (getDesktopPropertyValue): New method.
6366 2005-02-15 Michael Koch <konqueror@gmx.de>
6368 * javax/swing/JTree.java
6369 (hasChildren): New instance field.
6371 2005-02-15 Michael Koch <konqueror@gmx.de>
6373 * javax/swing/JComponent.java
6374 (getToolTipText): New method.
6375 (getTitledBorderText): Likewise.
6376 (getAccessibleKeyBinding): Likewise.
6377 (getVerifyInputWhenFocusTarget): Likewise.
6378 (setVerifyInputWhenFocusTarget): Likewise.
6379 (verifyInputWhenFocusTarget): New instance field.
6381 2005-02-15 Michael Koch <konqueror@gmx.de>
6383 * javax/swing/DefaultListSelectionModel.java
6384 (fireValueChanged): New method.
6386 2005-02-15 Michael Koch <konqueror@gmx.de>
6388 * javax/swing/DefaultBoundedRangeModel.java:
6389 Fixed javadocs all over.
6390 (fireStateChanged): Simplified.
6391 * javax/swing/BoundedRangeModel.java:
6394 2005-02-15 Michael Koch <konqueror@gmx.de>
6396 * javax/swing/JRootPane.java
6397 (setMenuBar): Added @deprecated tag.
6398 (getMenuBar): Likewise.
6399 * javax/swing/JTable.java
6400 (sizeColumnsToFit): Likewise.
6402 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6404 * javax/swing/ImageIcon.java (setImage): Implemented.
6406 2005-02-15 Michael Koch <konqueror@gmx.de>
6408 * javax/swing/JTable.java:
6409 Removed unused imports.
6411 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6413 (prepareRenderer): Get column's index in dataModel instead
6414 of column's view index.
6415 (getColumnCount): return count of the columns in ColumnModel,
6417 (removeColumn): Implemented.
6418 (moveColumm): Likewise.
6419 (setRowHeight): throw IllegalArgumentException if height is
6421 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6422 (DefaultTableColumnModel):Add call to createSelectionModel().
6423 (addColumn): Fire columnAdded event to registered listeners.
6424 (removeColumn): Fire columnRemoved event to registered listeners.
6425 (moveColumn): Fire columnMoved event to registered listeners.
6426 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6427 (getColumnIndex): Changed parameter name.
6428 (setColumnSelectionAllowed): Likewise.
6429 (fireColumnAdded): Implemented.
6430 (fireColumnRemoved): Likewise.
6431 (fireColumnMoved): Likewise.
6432 (fireColumnMarginChanged): Likewise.
6433 (getListeners): Changed parameter name.
6434 (propertyChange): Implemented.
6435 (valueChanged): Changed parameter name.
6436 (createSelectionModel): Implemented.
6438 2005-02-15 Michael Koch <konqueror@gmx.de>
6440 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6441 Explicitely import used classes.
6442 (getLocalGraphicsEnvironment): Simplify.
6443 * java/awt/Window.java (Window):
6444 Enable code to get the default GraphicsConfiguration.
6446 2005-02-15 Michael Koch <konqueror@gmx.de>
6448 * javax/swing/plaf/metal/DefaultMetalTheme.java
6449 (CONTROL_TEXT_FONT): New static field.
6450 (MENU_TEXT_FONT): Likewise.
6451 (SUB_TEXT_FONT): Likewise.
6452 (SYSTEM_TEXT_FONT): Likewise.
6453 (USER_TEXT_FONT): Likewise.
6454 (WINDOW_TITLE_FONT): Likewise.
6455 (getControlTextFont): New method.
6456 (getMenuTextFont): Likewise.
6457 (getSubTextFont): Likewise.
6458 (getSystemTextFont): Likewise.
6459 (getUserTextFont): Likewise.
6460 (getWindowTitleFont): Likewise.
6461 * javax/swing/plaf/metal/MetalTheme.java
6462 (BLACK): Initialize with Color.BLACK.
6463 (WHITE): Initialize with Color.WHITE.
6464 (getInactiveControlTextColor): Return getControlDisabled().
6465 (getMenuDisabledForeground): Return getSecondary3().
6466 (getControlTextFont): New abstract method.
6467 (getMenuTextFont): Likewise.
6468 (getSubTextFont): Likewise.
6469 (getSystemTextFont): Likewise.
6470 (getUserTextFont): Likewise.
6471 (getWindowTitleFont): Likewise.
6473 2005-02-15 Michael Koch <konqueror@gmx.de>
6475 * javax/swing/JFormattedTextField.java
6476 (getFocusLostBehavior): Fixed typo in method name.
6477 (setFocusLostBehavior): Likewise.
6479 2005-02-15 Michael Koch <konqueror@gmx.de>
6481 * javax/swing/TransferHandler.java:
6482 Reworked import statements.
6484 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6486 * java/awt/Button.java,
6487 java/awt/Canvas.java,
6488 java/awt/Checkbox.java,
6489 java/awt/CheckboxMenuItem.java,
6490 java/awt/Choice.java,
6491 java/awt/Dialog.java,
6492 java/awt/Frame.java,
6493 java/awt/Label.java,
6496 java/awt/MenuBar.java,
6497 java/awt/MenuItem.java,
6498 java/awt/PopupMenu.java,
6499 java/awt/ScrollPane.java,
6500 java/awt/Scrollbar.java,
6501 java/awt/TextArea.java,
6502 java/awt/Window.java (getAccessibleContext): Clean up comments.
6504 * java/awt/Button.java,
6505 java/awt/Checkbox.java,
6506 java/awt/Choice.java,
6508 java/awt/PopupMenu.java,
6509 java/awt/TextArea.java (getAccessibleContext): Only create new
6511 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6513 2005-02-15 Michael Koch <konqueror@gmx.de>
6515 * java/awt/Button.java,
6516 javax/swing/JApplet.java,
6517 javax/swing/JFormattedTextField.java,
6518 javax/swing/JWindow.java,
6519 javax/swing/JTree.java,
6520 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6521 javax/swing/plaf/basic/BasicTextPaneUI.java,
6522 javax/swing/plaf/basic/BasicTreeUI.java:
6523 Reworked import statements.
6525 2005-02-15 Michael Koch <konqueror@gmx.de>
6527 * Makefile.am: Put javax.imageio into its own library and link it
6528 against lib-org-w3c-dom.la to fix bootstrapping.
6529 * Makefile.in: Regenerated.
6531 2005-02-15 Michael Koch <konqueror@gmx.de>
6533 * javax/swing/text/TextAction.java
6534 (getTextComponent): Simplified. Added Javadoc.
6535 (augmentList): Implemented. Added Javadoc.
6536 (getFocusedComponent): Added javadoc.
6538 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6540 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6541 getAccessibleContext): Implement.
6542 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6543 getAccessibleContext): Implement.
6545 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6547 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6549 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6551 * java/awt/Window.java (getAccessibleContext): Fix comment.
6552 Remove extra import.
6554 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6556 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6557 (isActive, isFocused, getAccessibleContext): Implement.
6559 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6561 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6562 * java/awt/MenuComponent.java (accessibleContext): Make package
6564 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6565 AccessibleAWTCheckboxMenuItem): Implement.
6567 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6569 * java/awt/List.java: Implement AccessibleAWTList,
6570 AccessibleAWTListChild.
6572 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6574 * java/awt/Choice.java: Add implements declaration for
6577 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6579 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6582 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6584 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6585 implemented interface list.
6587 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6589 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6590 * javax/imageio/metadata/IIOAttr.java: New class.
6591 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6592 * javax/imageio/metadata/IIONodeList.java: New class.
6593 * Makefile.am: Added new files.
6594 * Makefile.in: Regenerated.
6596 2005-02-15 Michael Koch <konqueror@gmx.de>
6598 * javax/swing/AbstractAction.java,
6599 javax/swing/AbstractCellEditor.java,
6600 javax/swing/AbstractListModel.java,
6601 javax/swing/DefaultBoundedRangeModel.java,
6602 javax/swing/DefaultButtonModel.java,
6603 javax/swing/DefaultCellEditor.java,
6604 javax/swing/DefaultComboBoxModel.java,
6605 javax/swing/DefaultDesktopManager.java,
6606 javax/swing/JMenu.java,
6607 javax/swing/JSlider.java,
6608 javax/swing/KeyStroke.java,
6609 javax/swing/OverlayLayout.java,
6610 javax/swing/ScrollPaneLayout.java,
6611 javax/swing/SizeRequirements.java,
6612 javax/swing/ViewportLayout.java:
6613 Made serialVersionUID private.
6615 2005-02-15 Michael Koch <konqueror@gmx.de>
6617 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6620 2005-02-15 Michael Koch <konqueror@gmx.de>
6622 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6624 2005-02-15 Michael Koch <konqueror@gmx.de>
6626 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6628 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6630 * java/awt/EventDispatchThread.java,
6631 java/awt/Toolkit.java:
6632 Don't catch java.lang.ThreadDeath.
6634 2005-02-15 Michael Koch <konqueror@gmx.de>
6636 * javax/swing/text/PasswordView.java
6637 (drawEchoCharacter): Added javadoc.
6638 (drawSelectedText): Likewise.
6639 (drawUnselectedText): Likewise.
6641 2005-02-15 Michael Koch <konqueror@gmx.de>
6643 * javax/swing/JRootPane.java
6644 (windowDecorationStyle): New field.
6645 (setMenuBar): New method.
6646 (getMenuBar): Likewise.
6647 (getWindowDecorationStyle): Likewise.
6648 (setWindowDecorationStyle): Likewise.
6650 2005-02-15 Michael Koch <konqueror@gmx.de>
6652 * javax/swing/DefaultListSelectionModel.java
6653 (leadAnchorNotificationEnabled): Made protected.
6655 2005-02-15 Michael Koch <konqueror@gmx.de>
6657 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6658 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6659 * Makefile.in: Regenerated.
6662 2005-02-15 Michael Koch <konqueror@gmx.de>
6664 * javax/swing/JFormattedTextField.java: Implemented.
6665 * javax/swing/JWindow.java
6666 (JWindow): New constructors.
6667 (initWindow): Renamed from initFrame.
6668 * javax/swing/UIDefaults.java
6669 (ActiveValue): Made interface static.
6670 (LazyValue): Likewise.
6671 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6672 (TitlePaneLayout.TitlePaneLayout): New constructor.
6673 * javax/swing/plaf/basic/BasicSliderUI.java
6674 (ChangeHandler): Made public.
6675 (FocusHandler): Likewise.
6676 (PropertyChangeHandler): Likewise.
6677 (ScrollListener): Likewise.
6678 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6679 (FocusHandler): Likewise.
6680 (MouseHandler): Likewise.
6681 * javax/swing/plaf/basic/BasicTextPaneUI.java
6682 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6683 * javax/swing/plaf/basic/BasicToolBarUI.java
6684 (BasicToolBarUI): Simplified. Reworked javadoc.
6685 (canDock): Simplified. Make public.
6686 (DockingListener): Made public.
6687 * javax/swing/text/JTextComponent.java
6688 (navigationFilter): New field.
6689 (getNavigationFilter): New method.
6690 (setNavigationFilter): Likewise.
6692 2005-02-15 Michael Koch <konqueror@gmx.de>
6694 * javax/swing/plaf/metal/MetalTheme.java
6695 (getControlTextColor): Return getControlInfo().
6696 (getHighlightedTextColor): Return getControlTextColor().
6698 2005-02-15 Michael Koch <konqueror@gmx.de>
6700 * javax/swing/plaf/basic/BasicButtonListener.java
6701 (BasicButtonListener): New constructor.
6702 * javax/swing/plaf/basic/BasicButtonUI.java
6703 (createButtonListener): Usw new BasicButtonListener constructor.
6705 2005-02-15 Michael Koch <konqueror@gmx.de>
6707 * javax/imageio/event/package.html,
6708 javax/imageio/metadata/package.html: New files.
6710 2005-02-15 Michael Koch <konqueror@gmx.de>
6712 * java/awt/image/MemoryImageSource.java: Reformatted.
6714 2005-02-15 Michael Koch <konqueror@gmx.de>
6716 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6718 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6720 * java/awt/color/ICC_Profile.java
6721 (finalize): Removed pointless field assignments.
6723 2005-02-15 Michael Koch <konqueror@gmx.de>
6725 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6726 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6727 * Makefile.in: Regenerated.
6729 2005-02-15 Michael Koch <konqueror@gmx.de>
6731 * javax/swing/text/DefaultStyledDocument.java: New file.
6732 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6733 * Makefile.in: Regenerated.
6735 2005-02-15 Michael Koch <konqueror@gmx.de>
6737 * javax/swing/JFileChooser.java
6738 (showDialog): Return CANCEL_OPTION for now.
6739 (showOpenDialog): Likewise.
6740 (showSaveDialog): Likewise.
6742 2005-02-15 Michael Koch <konqueror@gmx.de>
6744 * javax/swing/JApplet.java
6745 (HIDE_ON_CLOSE): Removed.
6746 (EXIT_ON_CLOSE): Likewise.
6747 (DISPOSE_ON_CLOSE): Likewise.
6748 (DO_NOTHING_ON_CLOSE): Likewise.
6749 (close_action): Likewise.
6750 (getDefaultCloseOperation): Likewise.
6751 (setDefaultCloseOperation): Likewise.
6752 (processWindowEvent): Likewise.
6753 (getPreferredSize): Simplified.
6754 * javax/swing/JInternalFrame.java
6755 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6757 * javax/swing/JWindow.java
6758 (HIDE_ON_CLOSE): Removed.
6759 (EXIT_ON_CLOSE): Likewise.
6760 (DISPOSE_ON_CLOSE): Likewise.
6761 (DO_NOTHING_ON_CLOSE): Likewise.
6762 (close_action): Likewise.
6763 (processKeyEvent): Likewise.
6764 (setDefaultCloseOperation): Likewise.
6765 (getPreferredSize): Simplified.
6767 2005-02-15 Michael Koch <konqueror@gmx.de>
6769 * javax/swing/JTextField.java
6770 (getPreferredSize): Re-implemented.
6772 2005-02-15 Michael Koch <konqueror@gmx.de>
6774 * javax/swing/JLabel.java
6775 (setDisplayedMnemonic): Use only upper case characters.
6776 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6777 PropertyChangeEvent after property got set to the new index.
6779 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6781 * javax/swing/JComboBox.java:
6782 (JComboBox): Removed selection of the
6783 first item in the model.
6785 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6787 * javax/swing/JComboBox.java
6788 added support for no item being selected
6789 (JComboBox): select first or nothing depending on element count
6790 (setModel): cleaned up unneeded "this." usage, added more
6791 docs, made exception behavior match that of the JDK
6792 (setLighWeightPopupEnabled): removed unneeded "this." usage
6794 (setMaximumRowCount): dito
6796 (setPrototypeDisplayValue): dito
6797 (getSelectedItem): simplified, added more user doc
6798 (setSelectedIndex): corrected exception behavior, added more user doc
6799 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6800 added performance warning to user doc
6801 (addItem): fixed exception behavior, added user doc
6802 (insertItemAt): dito
6804 (removeItemAt): dito
6805 (removeAll): fixed exception behavior, added user doc, added support
6806 for model not being instance of DefaultComboBoxModel
6807 (getSelectedItemObjects): simplified
6808 (getItemCount): fixed dependency on DefaultComboBoxModel
6809 (getItemAt): fixed dependency on MutableComboBoxModel
6810 * javax/swing/DefaultComboBoxModel.java:
6811 (setSelectedItem): updates selected item only if new
6812 value is null or known (match JDK behavior)
6813 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6814 (paintCurrentValue): renders "" if no item is selected
6816 2005-02-15 Michael Koch <konqueror@gmx.de>
6818 * javax/swing/plaf/metal/MetalTheme.java,
6819 javax/swing/plaf/metal/DefaultMetalTheme.java:
6821 * javax/swing/plaf/metal/MetalLookAndFeel.java
6822 * Makefile.am: Added the new files.
6823 * Makefile.in: Regenerated.
6825 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6827 * javax/swing/JTable.java
6828 (editorComp): New field.
6829 (JTable): Initialize local variables and call updateUI
6830 (selectionBackground): Make protected.
6831 (selectionForeground): Likewise.
6832 (initializeLocalVars): Create default editors and renderers,
6833 initialize editingColumn, editingRow variables.
6834 (createDefaultEditors): New Method.
6835 (createDefaultRenderers): Likewise.
6836 (createDefaultListSelectionModel): Removed
6837 (createDefaultSelectionModel): New Method.
6838 (createDefaultTableHeader): Likewise
6839 (removeColumn): Likewise.
6840 (getEditingColumn): Likewise.
6841 (setEditingColumn): Likewise.
6842 (getEditingRow): Likewise.
6843 (setEditingRow): Likewise.
6844 (getEditorComponent): Likewise.
6845 (isEditing): Likewise.
6846 (setDefaultEditor): Likewise.
6847 (addColumnSelectionInterval): Likewise.
6848 (addRowSelectionInterval): Likewise.
6849 (setColumnSelectionInterval): Likewise.
6850 (setRowSelectionInterval): Likewise.
6851 (removeColumnSelectionInterval): Likewise.
6852 (removeRowSelectionInterval): Likewise.
6853 (isColumnSelected): Likewise.
6854 (isRowSelected): Likewise.
6855 (isCellSelected): Likewise.
6856 (selectAll): Likewise.
6858 2005-02-15 Michael Koch <konqueror@gmx.de>
6860 * javax/swing/JTable.java
6861 (addColumn): New method.
6862 (getColumnClass): Likewise.
6863 (getColumnName): Likewise.
6865 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6867 * javax/swing/TransferHandler.java
6868 (createTransferable): Made protected.
6870 2005-02-15 Michael Koch <konqueror@gmx.de>
6872 * javax/swing/JTable.java,
6873 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6874 javax/swing/plaf/basic/BasicTableUI.java:
6875 Use fixed get/setIntercellSpacing() methods.
6877 2005-02-15 Michael Koch <konqueror@gmx.de>
6879 * javax/swing/JTable.java
6880 (getIntercellSpacing): Fixed typo in method name.
6881 (setIntercellSpacing): Likewise.
6883 2005-02-15 Michael Koch <konqueror@gmx.de>
6885 * javax/swing/text/JTextComponent.java
6886 (focusAccelerator): New variable.
6887 (getFocusAccelerator): New method.
6888 (setFocusAccelerator): Likewise.
6890 2005-02-15 Michael Koch <konqueror@gmx.de>
6892 * javax/swing/JComponent.java
6893 (setTransferHandler): Made public. Fire property change event.
6894 * javax/swing/TransferHandler.java: Implemented.
6895 * javax/swing/text/JTextComponent.java
6896 (DefaultTransferHandler): New inner class.
6897 (defaultTransferHandler): New variable.
6901 (doTransferAction): Likewise.
6903 2005-02-15 Michael Koch <konqueror@gmx.de>
6905 * javax/swing/JTree.java
6906 (collapsePath): New method.
6907 (collapseRow): Likewise.
6908 (expandPath): Likewise.
6909 (expandRow): Likewise.
6910 (checkExpandParents): Likewise.
6911 (doExpandParents): Likewise.
6912 (setExpandedState): Likewise.
6913 (makeVisible): Likewise.
6915 2005-02-15 Michael Koch <konqueror@gmx.de>
6917 * javax/swing/JPasswordField.java: Updated javadocs.
6919 2005-02-15 Michael Koch <konqueror@gmx.de>
6921 * javax/swing/JLayeredPane.java
6922 (getLayer): Fixed return type, made public.
6923 (getPosition): Use new getLayer().
6924 (SetPosition): Likewise.
6925 (getIndexOf): Likewise.
6927 * javax/swing/JInternalFrame.java
6928 (getLayer): Use new JLayeredPane.getLayer().
6931 2005-02-15 Michael Koch <konqueror@gmx.de>
6933 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6934 (setHeaderValue): Simplified. Do nothing when old value == new value.
6936 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6938 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6939 against null clip region.
6940 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6941 gtkWindowSetResizable.
6942 (postConfigureEvent): Only revalidate if frame size has changed.
6943 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6944 Only revalidate if frame size has changed.
6945 * java/awt/Component.java (reshape): Only repaint and post
6946 component events if component is showing.
6947 * java/awt/Container.java (addImpl): Only post container event if
6948 container is showing.
6950 * java/awt/Window.java (setLocationRelativeTo): Implement.
6951 (setBoundsCallback): Only post component events if component is
6953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6954 Protect against null graphics structure. Flush gdk event queue.
6956 2005-02-15 Michael Koch <konqueror@gmx.de>
6958 * javax/imageio/ImageReader.java,
6959 javax/imageio/ImageTranscoder.java,
6960 javax/imageio/ImageWriter.java,
6961 javax/imageio/spi/ImageInputStreamSpi.java,
6962 javax/imageio/spi/ImageOutputStreamSpi.java,
6963 javax/imageio/spi/ServiceRegistry.java,
6964 javax/imageio/stream/ImageInputStream.java,
6965 javax/imageio/stream/ImageOutputStream.java: Updated.
6966 * javax/imageio/IIOException.java,
6967 javax/imageio/IIOImage.java,
6968 javax/imageio/IIOParam.java,
6969 javax/imageio/IIOParamController.java,
6970 javax/imageio/ImageIO.java,
6971 javax/imageio/ImageReadParam.java,
6972 javax/imageio/ImageTypeSpecifier.java,
6973 javax/imageio/ImageWriteParam.java,
6974 javax/imageio/spi/IIORegistry.java,
6975 javax/imageio/spi/ImageReaderSpi.java,
6976 javax/imageio/spi/ImageWriterSpi.java,
6977 javax/imageio/stream/FileCacheImageInputStream.java,
6978 javax/imageio/stream/FileCacheImageOutputStream.java,
6979 javax/imageio/stream/FileImageInputStream.java,
6980 javax/imageio/stream/FileImageOutputStream.java,
6981 javax/imageio/stream/ImageInputStreamImpl.java,
6982 javax/imageio/stream/ImageOutputStreamImpl.java,
6983 javax/imageio/stream/MemoryCacheImageInputStream.java,
6984 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6985 javax/imageio/event/IIOReadProgressListener.java,
6986 javax/imageio/event/IIOReadUpdateListener.java,
6987 javax/imageio/event/IIOReadWarningListener.java,
6988 javax/imageio/event/IIOWriteProgressListener.java,
6989 javax/imageio/event/IIOWriteWarningListener.java,
6990 javax/imageio/metadata/IIOMetadata.java,
6991 javax/imageio/metadata/IIOMetadataController.java,
6992 javax/imageio/metadata/IIOMetadataFormat.java,
6993 javax/imageio/metadata/IIOInvalidTreeException.java,
6994 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6995 javax/imageio/metadata/IIOMetadataNode.java: New files.
6996 * Makefile.am (javax_source_files): Added new files
6997 * Makefile.in: Regenerated.
6999 2005-02-15 Graydon Hoare <graydon@redhat.com>
7001 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7002 Rework painting into BufferedImages
7003 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7004 Construct BufferedImage with alpha only when alpha is
7005 present in colormodel.
7006 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7007 Rework painting into client-side jint arrays.
7008 * jni/gtk-peer/gtkcairopeer.h:
7011 2005-02-15 Michael Koch <konqueror@gmx.de>
7013 * javax/swing/DefaultListCellRenderer.java
7014 (serialVersionUID): Made private.
7015 (getListCellRendererComponent): Set horizontal alignment.
7016 * javax/swing/JLabel.java
7017 (setVerticalAlignment): Re-implemented.
7018 (setHorizontalAlignment): Do nothing if old value = new value.
7019 * javax/swing/JList.java
7020 (setCellRenderer): Likewise.
7021 (setModel): Re-implemented.
7022 (setSelectionModel): Likewise.
7024 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7026 * java/awt/Component.java,
7027 java/awt/geom/Rectangle2D.java:
7030 2005-02-15 Michael Koch <konqueror@gmx.de>
7032 * javax/swing/AbstractListModel.java
7033 (fireContentsChanged): Simplified.
7034 (fireIntervalAdded): Likewise.
7035 (fireIntervalRemoved): Likewise.
7036 * javax/swing/DefaultSingleSelectionModel.java:
7038 (fireStateChanged): Simplified.
7039 * javax/swing/JPopupMenu.java
7040 (setSelectionModel): Set property.
7042 2005-02-15 Michael Koch <konqueror@gmx.de>
7044 * java/awt/print/Book.java: Reformatted.
7046 2005-02-15 Michael Koch <konqueror@gmx.de>
7048 * java/awt/geom/Area.java
7049 (QuadSegment.curveArea): Remove unused variables.
7050 (CubicSegment.curveArea): Likewise.
7052 2005-02-15 Michael Koch <konqueror@gmx.de>
7054 * javax/swing/JTree.java
7055 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7056 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7057 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7058 (EXPANDED): New constant.
7059 (COLLAPSED): Likewise.
7060 (nodeStates): New field.
7061 (cellEditor): New method.
7062 (cellRenderer): Likewise.
7063 (selectionModel): Likewise.
7064 (treeModel): Likewise.
7065 (scrollPathToVisible): Likewise.
7066 (scrollRowToVisible): Likewise.
7067 (isCollapsed): Likewise.
7068 (isExpanded): Likewise.
7069 (clearToggledPaths): Likewise.
7070 (getDescendantToggledPaths): Likewise.
7071 (hasBeenExpanded): Likewise.
7072 (isVisible): Likewise.
7073 (isPathEditable): Likewise.
7075 2005-02-15 Michael Koch <konqueror@gmx.de>
7077 * javax/swing/JLayeredPane.java: Reformatted.
7079 2005-02-15 Michael Koch <konqueror@gmx.de>
7081 * javax/swing/tree/DefaultMutableTreeNode.java:
7083 * javax/swing/tree/MutableTreeNode.java:
7086 2005-02-15 Michael Koch <konqueror@gmx.de>
7088 * javax/swing/JFormattedTextField.java
7089 (setDocument): Call setDocument of super class. Don't fire property
7092 2005-02-15 Sven de Marothy <sven@physto.se>
7094 * java/awt/image/IndexColorModel.java:
7095 Add FIXME with respect to alpha handling.
7096 (getAlpha): Default to returning opaque pixels.
7097 * java/awt/image/MultiPixelPackedSampleModel.java
7098 (MultiPixelPackedSampleModel): Corrected parameters, order of
7099 bit shifts and masks, stride length off by one.
7101 2005-02-15 Michael Koch <konqueror@gmx.de>
7103 * javax/swing/JList.java, javax/swing/JTree.java:
7104 Added much new methods and fixed much methods setting bound properties.
7106 2005-02-16 Mark Wielaard <mark@klomp.org>
7108 * Makefile.am (gnu_xml_source_files): Removed
7109 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
7110 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
7111 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7112 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
7113 gnu/xml/dom/DomDocumentFragment.java,
7114 gnu/xml/dom/DomProcessingInstruction.java and
7115 gnu/xml/dom/ls/DomLSException.java.
7116 * Makefile.in: Regenerated.
7118 2005-02-16 Tom Tromey <tromey@redhat.com>
7120 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
7121 attribute index is out of bounds.
7123 2005-02-16 Chris Burdess <dog@gnu.org>
7125 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7126 isDeclared methods. Improved performance of isSpecified methods.
7128 2005-02-16 Chris Burdess <dog@gnu.org>
7130 Fixes bug libgcj/19864
7131 * gnu/xml/dom/DomAttr.java,
7132 gnu/xml/dom/DomCDATA.java,
7133 gnu/xml/dom/DomCDATASection.java,
7134 gnu/xml/dom/DomCharacterData.java,
7135 gnu/xml/dom/DomDOMException.java,
7136 gnu/xml/dom/DomDoctype.java,
7137 gnu/xml/dom/DomDocument.java,
7138 gnu/xml/dom/DomDocumentConfiguration.java,
7139 gnu/xml/dom/DomDocumentFragment.java,
7140 gnu/xml/dom/DomElement.java,
7141 gnu/xml/dom/DomEx.java,
7142 gnu/xml/dom/DomFragment.java,
7143 gnu/xml/dom/DomImpl.java,
7144 gnu/xml/dom/DomIterator.java,
7145 gnu/xml/dom/DomNamedNodeMap.java,
7146 gnu/xml/dom/DomNode.java,
7147 gnu/xml/dom/DomNsNode.java,
7148 gnu/xml/dom/DomPI.java,
7149 gnu/xml/dom/DomProcessingInstruction.java,
7150 gnu/xml/dom/DomText.java,
7151 gnu/xml/dom/DomLSEx.java,
7152 gnu/xml/dom/DomLSException.java,
7153 gnu/xml/dom/DomLSParser.java,
7154 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7155 implementation class names to conform to Classpath guidelines. Make
7156 DomLSException use JDK 1.4+ exception chaining.
7157 * gnu/xml/util/SAXNullTransformerFactory.java,
7158 gnu/xml/xpath/Predicate.java: Use constants relative to
7159 declaring class or interface.
7161 2005-02-16 Andrew Haley <aph@redhat.com>
7163 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7164 null, create a new AccessControlContext.
7165 * java/security/SecureClassLoader.java (protectionDomainCache):
7167 (defineClass): Create a new protection domain and add it to our
7170 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7171 addStub() to keep track of the stub we've exported.
7172 (unexportObject): Call deleteStub().
7173 * java/rmi/server/RemoteObject.java (stubs): New field.
7174 (addStub): New method.
7175 (deleteStub): New method.
7178 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7179 true to findHelper (tryParents).
7180 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7182 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7183 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7185 If tryParents is false, don't scan parent class loaders.
7187 * java/security/Permissions.java (PermissionsHash.implies):
7188 Iterate over the collection and invoke implies() on each
7191 2005-02-16 Andrew Haley <aph@redhat.com>
7193 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7195 (PersistentByteMap): Set name
7196 Magic number changed to 0x67636a64 ("gcjd").
7197 (init): Force the map to be prime.
7198 (emptyPersistentByteMap): File name was a string, now a File.
7199 (addBytes): Share srings between entries.
7200 (stringTableSize): New method.
7201 (capacity): Scale by load factor.
7202 (force): New method.
7203 (getFile): New method.
7204 (close): New method.
7205 (putAll): New method.
7206 (ByteWrapper): New class.
7207 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7208 (main): Guess the average string size as 32, not 64.
7209 Copy a database before modifying it, so that we can update a
7210 database in a running system.
7211 If a database isn't big enough, resize it.
7212 "-m": new option: merges databases.
7213 "-a": Create a new detabase if it doesn't exist.
7214 (usage): Correct, add new option.
7215 (addJar): Copy a database before modifying it.
7216 (resizeMap): New method.
7218 2005-02-15 David Daney <ddaney@avtrex.com>
7219 Bryce McKinlay <mckinlay@redhat.com>
7221 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7222 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7223 ensure that GC threads inherit the new signal mask.
7224 (block_sigchld): Call JvFail rather than throwing exception if
7225 pthread_sigmask() fails.
7227 2005-02-15 Mark Wielaard <mark@klomp.org>
7229 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7230 file path elements are separated by spaces.
7232 2005-02-15 Mark Wielaard <mark@klomp.org>
7234 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7235 to describe attributes without a constant field value in this class.
7237 2005-02-15 Michael Koch <konqueror@gmx.de>
7239 * java/util/jar/Attributes.java
7240 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7242 2005-02-15 Mark Wielaard <mark@klomp.org>
7244 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7245 space for parsing CLASS_PATH attribute.
7247 2005-02-15 Mark Wielaard <mark@klomp.org>
7249 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7250 aside for "GCJLIBS" in directory where jarfiles are loaded.
7251 (JarURLLoader.getClass): Removed method.
7252 (JarURLLoader.toString): Removed method.
7253 (FileResource.toString): Removed method.
7255 2005-02-15 Mark Wielaard <mark@klomp.org>
7257 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7258 and/or cause before throwing.
7260 2005-02-15 Richard Henderson <rth@redhat.com>
7262 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7263 (libgcj0_convenience_la_SOURCES): ... here.
7264 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7265 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7266 * Makefile.in: Regenerate.
7268 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7271 * include/jawt.h: Likewise.
7272 * include/jawt_md.h: Likewise.
7273 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7275 * include/Makefile.in: Regenerate.
7276 * jni/classpath/classpath_jawt.h: Likewise.
7277 * jni/gtk-peer/gtk_jawt.c: Likewise.
7278 * Makefile.am: Build libjawt.so.
7279 * Makefile.in: Regenerate.
7281 2005-02-14 Tom Tromey <tromey@redhat.com>
7283 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7285 2005-02-14 Tom Tromey <tromey@redhat.com>
7287 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7288 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7290 2005-02-14 Tom Tromey <tromey@redhat.com>
7293 * testsuite/libjava.lang/PR19929.out: New file.
7294 * testsuite/libjava.lang/PR19929.java: New file.
7296 2005-02-14 Anthony Green <green@redhat.com>
7299 * testsuite/libjava.jni/PR18116.c: New file.
7300 * testsuite/libjava.jni/PR18116.java: New file.
7301 * testsuite/libjava.jni/PR18116.out: New file.
7303 2005-02-13 Anthony Green <green@redhat.com>
7306 * jni.cc (nathash_add): Don't strdup the method signature.
7307 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7311 2005-02-12 Mark Wielaard <mark@klomp.org>
7313 Fixes bug libgcj/8170
7314 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7315 ClassNotFoundException.
7316 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7317 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7318 (remove_internal): New field superceding remove_interpreter.
7319 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7320 Remove no-class methods starting with "_Jv_". And Replace null
7321 class or method names with the empty string. Stop at either the
7322 MainThread or a real Thread run() method.
7323 (newElement): Made static.
7324 * java/net/URLClassLoader.java (findClass): Throw
7325 ClassNotFoundExceptions including urls, plus parent using toString().
7326 (thisString): New field.
7327 (toString): New method.
7329 2005-02-10 Tom Tromey <tromey@redhat.com>
7331 * external/sax/Makefile.in: Rebuilt.
7332 * external/sax/Makefile.am (all-local): Removed.
7333 (BUILT_SOURCES): New variable.
7334 (mostlyclean-local): No error if no classes to delete.
7335 * external/w3c_dom/Makefile.in: Rebuilt.
7336 * external/w3c_dom/Makefile.am (all-local): Removed.
7337 (BUILT_SOURCES): New variable.
7338 (mostlyclean-local): No error if no classes to delete.
7340 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7342 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7343 of mauve and libjava.
7345 2005-02-09 Tom Tromey <tromey@redhat.com>
7347 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7348 jar file with OPEN_DELETE.
7349 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7350 OPEN_DELETE is used.
7352 2005-02-09 Tom Tromey <tromey@redhat.com>
7354 * java/util/zip/InflaterInputStream.java (markSupported):
7356 (mark, reset): Likewise.
7358 2005-02-08 Tom Tromey <tromey@redhat.com>
7360 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7361 name or port is missing.
7362 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7363 AUTHORITY_PORT_GROUP): Updated.
7365 2005-02-08 Tom Tromey <tromey@redhat.com>
7367 * configure: Rebuilt.
7368 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7371 2005-02-07 Tom Tromey <tromey@redhat.com>
7373 * java/lang/natRuntime.cc (insertSystemProperties): Set
7374 sun.boot.class.path earlier.
7376 2005-02-07 Tom Tromey <tromey@redhat.com>
7378 * defineclass.cc (handleClassBegin): Use
7379 _Jv_RegisterInitiatingLoader.
7380 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7381 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7382 class. Use _Jv_UnregisterInitiatingLoader.
7383 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7386 2005-02-07 Mark Wielaard <mark@klomp.org>
7388 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7389 java/util/regex/Matcher.java (lookingAt): Set position when match
7391 (matches): Implemented through lookingAt().
7393 2005-02-07 Mark Wielaard <mark@klomp.org>
7395 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7396 * java/util/regex/Pattern.java (split(CharSequence,int)):
7397 Fix while empties > 0 loops.
7399 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7401 * gnu/java/nio/charset/ISO_8859_1.java,
7402 gnu/java/nio/charset/US_ASCII.java,
7403 gnu/java/nio/charset/UTF_16.java,
7404 gnu/java/nio/charset/UTF_16_LE.java,
7405 gnu/java/nio/charset/UTF_16_BE.java,
7406 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7407 and aliases according to
7408 "http://www.iana.org/assignments/character-sets",
7409 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7410 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7411 * gnu/java/nio/charset/Provider.java: Made charset lookup
7412 case-insensitive which fixes bug #11740.
7414 2005-02-07 Tom Tromey <tromey@redhat.com>
7417 * Makefile.in: Rebuilt.
7418 * Makefile.am (src.zip): New target.
7419 (install-src.zip): Likewise.
7420 (sourcesdir): New variable.
7422 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7424 * javax/imageio/metadata/IIOMetadataNode.java:
7426 * javax/imageio/metadata/IIOAttr.java,
7427 javax/imageio/metadata/IIONamedNodeMap.java,
7428 javax/imageio/metadata/IIONodeList.java:
7431 2005-02-06 Graydon Hoare <graydon@redhat.com>
7433 * gnu/java/awt/ClasspathToolkit.java
7434 (registerImageIOSpis): New method.
7435 * javax/imageio/ImageIO.java
7436 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7437 (WriterMIMETypeFilter.filter): Likewise.
7438 (ImageReaderIterator): Pass extension argument through to SPI.
7439 (getReadersByFilter): Likewise.
7440 (getWritersByFilter): Likewise.
7441 (getImageReadersByFormatName): Likewise.
7442 (getImageReadersByMIMEType): Likewise.
7443 (getImageReadersBySuffix): Likewise.
7444 (getImageWritersByFormatName): Likewise.
7445 (getImageWritersByMIMEType): Likewise.
7446 (getImageWritersBySuffix): Likewise.
7449 * javax/imageio/ImageReader.java
7450 (progressListeners): Initialize.
7451 (setInput): Implement.
7452 * javax/imageio/ImageWriter.java
7453 (progressListeners): Initialize.
7454 (warningListeners): Likewise.
7455 (warningLocales): Likewise.
7456 (setOutput): Test "isInstance" rather than class equality.
7457 * javax/imageio/spi/IIORegistry.java
7458 (static): Add reader and writer SPIs.
7459 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7461 2005-02-06 Michael Koch <konqueror@gmx.de>
7463 * javax/imageio/metadata/IIOInvalidTreeException.java
7464 (IIOInvalidTreeException): Reformatted.
7465 * javax/imageio/spi/IIORegistry.java
7466 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7467 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7468 Reworked import statements.
7470 2005-02-06 Michael Koch <konqueror@gmx.de>
7472 * javax/imageio/stream/FileImageOutputStream.java:
7475 2005-02-06 Michael Koch <konqueror@gmx.de>
7477 * javax/imageio/stream/FileCacheImageInputStream.java,
7478 javax/imageio/stream/FileCacheImageOutputStream.java,
7479 javax/imageio/stream/FileImageInputStream.java,
7480 javax/imageio/stream/ImageInputStreamImpl.java,
7481 javax/imageio/stream/ImageOutputStreamImpl.java,
7482 javax/imageio/stream/MemoryCacheImageInputStream.java,
7483 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7484 Added all missing methods in javax.imageio.stream.
7486 2005-02-02 David Daney <ddaney@avtrex.com>
7488 * java/net/InetAddress.java (InetAddress): Make a private copy of
7490 * java/net/Inet4Address.java (getAddress): Return a copy of the
7492 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7494 (getAddress): Return a copy of the address.
7497 2005-02-02 Tom Tromey <tromey@redhat.com>
7499 * Makefile.in: Rebuilt.
7500 * Makefile.am (classes.stamp): New target, broken out from
7502 ($(all_java_class_files)): Depend on it.
7503 (libgcj-@gcc_version@.jar): Likewise.
7504 (all-recursive): Likewise.
7505 (CLEANFILES): Include classes.stamp.
7507 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7509 * link.cc: Include <stdio.h>
7511 2005-02-02 Tom Tromey <tromey@redhat.com>
7514 * Makefile.in: Rebuilt.
7515 * Makefile.am (ordinary_java_source_files): Added new class.
7516 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7517 Use system_instance, not instance.
7518 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7519 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7521 (system_instance): New field.
7522 (initialize): Initialize the system loader as well.
7523 (VMClassLoader): Default to LIB_CACHE.
7525 2005-02-02 Tom Tromey <tromey@redhat.com>
7527 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7528 * prims.cc: Fixed comment.
7530 2005-02-01 Tom Tromey <tromey@redhat.com>
7532 * Makefile.in: Rebuilt.
7533 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7534 (.java.class): Use BOOTCLASSPATH.
7536 2005-02-01 Tom Tromey <tromey@redhat.com>
7538 * external/w3c_dom/Makefile.am: New file.
7539 * external/w3c_dom/Makefile.in: New file.
7540 * external/sax/Makefile.am: New file.
7541 * external/sax/Makefile.in: New file.
7542 * external/Makefile.in: New file.
7543 * external/Makefile.am: New file.
7544 * external/README: New file from Classpath.
7545 * configure, aclocal.m4, Makefile.in: Rebuilt.
7546 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7547 * Makefile.am (SUBDIRS): Added external.
7548 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7549 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7550 (BOOTCLASSPATH): New variable.
7551 (AM_GCJFLAGS): Use it.
7552 (gnu_xml_source_files): New variable.
7553 (libgcj_la_SOURCES): Use it.
7554 (libgcj_la_LDADD): Include new convenience libraries.
7555 (lib_org_ietf_jgss_la_SOURCES): Removed.
7556 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7557 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7558 (lib_org_w3c_dom_la_SOURCES): Removed.
7559 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7560 (lib_org_w3c_dom_la_LIBADD): Likewise.
7561 (lib_org_xml_sax_la_SOURCES): Removed.
7562 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7563 (lib_org_xml_sax_la_LIBADD): Likewise.
7564 (all_java_source_files): Updated.
7565 (property_files): Likewise.
7566 (libgcj-@gcc_version@.jar): Include classes from external/.
7567 (javax_source_files): Updated.
7568 (ordinary_java_source_files): Updated.
7569 * javax/xml/XMLConstants.java,
7570 javax/xml/datatype/DatatypeConfigurationException.java,
7571 javax/xml/datatype/DatatypeConstants.java,
7572 javax/xml/datatype/DatatypeFactory.java,
7573 javax/xml/datatype/Duration.java,
7574 javax/xml/datatype/XMLGregorianCalendar.java,
7575 javax/xml/datatype/package.html,
7576 javax/xml/namespace/NamespaceContext.java,
7577 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7578 javax/xml/parsers/DocumentBuilder.java,
7579 javax/xml/parsers/DocumentBuilderFactory.java,
7580 javax/xml/parsers/FactoryConfigurationError.java,
7581 javax/xml/parsers/ParserConfigurationException.java,
7582 javax/xml/parsers/SAXParser.java,
7583 javax/xml/parsers/SAXParserFactory.java,
7584 javax/xml/parsers/package.html,
7585 javax/xml/transform/ErrorListener.java,
7586 javax/xml/transform/OutputKeys.java,
7587 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7588 javax/xml/transform/SourceLocator.java,
7589 javax/xml/transform/Templates.java,
7590 javax/xml/transform/Transformer.java,
7591 javax/xml/transform/TransformerConfigurationException.java,
7592 javax/xml/transform/TransformerException.java,
7593 javax/xml/transform/TransformerFactory.java,
7594 javax/xml/transform/TransformerFactoryConfigurationError.java,
7595 javax/xml/transform/URIResolver.java,
7596 javax/xml/transform/package.html,
7597 javax/xml/transform/dom/DOMLocator.java,
7598 javax/xml/transform/dom/DOMResult.java,
7599 javax/xml/transform/dom/DOMSource.java,
7600 javax/xml/transform/dom/package.html,
7601 javax/xml/transform/sax/SAXResult.java,
7602 javax/xml/transform/sax/SAXSource.java,
7603 javax/xml/transform/sax/SAXTransformerFactory.java,
7604 javax/xml/transform/sax/TemplatesHandler.java,
7605 javax/xml/transform/sax/TransformerHandler.java,
7606 javax/xml/transform/sax/package.html,
7607 javax/xml/transform/stream/StreamResult.java,
7608 javax/xml/transform/stream/StreamSource.java,
7609 javax/xml/transform/stream/package.html,
7610 javax/xml/validation/Schema.java,
7611 javax/xml/validation/SchemaFactory.java,
7612 javax/xml/validation/TypeInfoProvider.java,
7613 javax/xml/validation/Validator.java,
7614 javax/xml/validation/ValidatorHandler.java,
7615 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7616 javax/xml/xpath/XPathConstants.java,
7617 javax/xml/xpath/XPathException.java,
7618 javax/xml/xpath/XPathExpression.java,
7619 javax/xml/xpath/XPathExpressionException.java,
7620 javax/xml/xpath/XPathFactory.java,
7621 javax/xml/xpath/XPathFactoryConfigurationException.java,
7622 javax/xml/xpath/XPathFunction.java,
7623 javax/xml/xpath/XPathFunctionException.java,
7624 javax/xml/xpath/XPathFunctionResolver.java,
7625 javax/xml/xpath/XPathVariableResolver.java,
7626 javax/xml/xpath/package.html: New files, from GNU JAXP.
7627 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7628 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7629 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7630 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7631 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7632 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7633 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7634 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7635 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7636 org/w3c/dom/ranges/DocumentRange.java,
7637 org/w3c/dom/ranges/Range.java,
7638 org/w3c/dom/ranges/RangeException.java,
7639 org/w3c/dom/traversal/DocumentTraversal.java,
7640 org/w3c/dom/traversal/NodeFilter.java,
7641 org/w3c/dom/traversal/NodeIterator.java,
7642 org/w3c/dom/traversal/TreeWalker.java,
7643 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7644 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7645 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7646 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7647 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7648 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7649 org/xml/sax/SAXNotRecognizedException.java,
7650 org/xml/sax/SAXNotSupportedException.java,
7651 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7652 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7653 org/xml/sax/ext/DeclHandler.java,
7654 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7655 org/xml/sax/helpers/AttributeListImpl.java,
7656 org/xml/sax/helpers/AttributesImpl.java,
7657 org/xml/sax/helpers/DefaultHandler.java,
7658 org/xml/sax/helpers/LocatorImpl.java,
7659 org/xml/sax/helpers/NamespaceSupport.java,
7660 org/xml/sax/helpers/NewInstance.java,
7661 org/xml/sax/helpers/ParserAdapter.java,
7662 org/xml/sax/helpers/ParserFactory.java,
7663 org/xml/sax/helpers/XMLFilterImpl.java,
7664 org/xml/sax/helpers/XMLReaderAdapter.java,
7665 org/xml/sax/helpers/XMLReaderFactory.java,
7666 org/xml/sax/helpers/package.html: Moved to external/.
7667 * external/sax/README,
7668 external/sax/org/xml/sax/AttributeList.java,
7669 external/sax/org/xml/sax/Attributes.java,
7670 external/sax/org/xml/sax/ContentHandler.java,
7671 external/sax/org/xml/sax/DTDHandler.java,
7672 external/sax/org/xml/sax/DocumentHandler.java,
7673 external/sax/org/xml/sax/EntityResolver.java,
7674 external/sax/org/xml/sax/ErrorHandler.java,
7675 external/sax/org/xml/sax/HandlerBase.java,
7676 external/sax/org/xml/sax/InputSource.java,
7677 external/sax/org/xml/sax/Locator.java,
7678 external/sax/org/xml/sax/Parser.java,
7679 external/sax/org/xml/sax/SAXException.java,
7680 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7681 external/sax/org/xml/sax/SAXNotSupportedException.java,
7682 external/sax/org/xml/sax/SAXParseException.java,
7683 external/sax/org/xml/sax/XMLFilter.java,
7684 external/sax/org/xml/sax/XMLReader.java,
7685 external/sax/org/xml/sax/package.html,
7686 external/sax/org/xml/sax/ext/Attributes2.java,
7687 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7688 external/sax/org/xml/sax/ext/DeclHandler.java,
7689 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7690 external/sax/org/xml/sax/ext/EntityResolver2.java,
7691 external/sax/org/xml/sax/ext/LexicalHandler.java,
7692 external/sax/org/xml/sax/ext/Locator2.java,
7693 external/sax/org/xml/sax/ext/Locator2Impl.java,
7694 external/sax/org/xml/sax/ext/package.html,
7695 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7696 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7697 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7698 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7699 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7700 external/sax/org/xml/sax/helpers/NewInstance.java,
7701 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7702 external/sax/org/xml/sax/helpers/ParserFactory.java,
7703 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7704 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7705 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7706 external/sax/org/xml/sax/helpers/package.html,
7707 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7708 external/w3c_dom/org/w3c/dom/Attr.java,
7709 external/w3c_dom/org/w3c/dom/CDATASection.java,
7710 external/w3c_dom/org/w3c/dom/CharacterData.java,
7711 external/w3c_dom/org/w3c/dom/Comment.java,
7712 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7713 external/w3c_dom/org/w3c/dom/DOMError.java,
7714 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7715 external/w3c_dom/org/w3c/dom/DOMException.java,
7716 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7717 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7718 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7719 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7720 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7721 external/w3c_dom/org/w3c/dom/Document.java,
7722 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7723 external/w3c_dom/org/w3c/dom/DocumentType.java,
7724 external/w3c_dom/org/w3c/dom/Element.java,
7725 external/w3c_dom/org/w3c/dom/Entity.java,
7726 external/w3c_dom/org/w3c/dom/EntityReference.java,
7727 external/w3c_dom/org/w3c/dom/NameList.java,
7728 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7729 external/w3c_dom/org/w3c/dom/Node.java,
7730 external/w3c_dom/org/w3c/dom/NodeList.java,
7731 external/w3c_dom/org/w3c/dom/Notation.java,
7732 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7733 external/w3c_dom/org/w3c/dom/Text.java,
7734 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7735 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7736 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7737 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7738 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7739 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7740 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7741 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7742 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7743 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7744 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7745 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7746 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7747 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7748 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7749 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7750 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7751 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7752 external/w3c_dom/org/w3c/dom/css/Counter.java,
7753 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7754 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7755 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7756 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7757 external/w3c_dom/org/w3c/dom/css/Rect.java,
7758 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7759 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7760 external/w3c_dom/org/w3c/dom/events/Event.java,
7761 external/w3c_dom/org/w3c/dom/events/EventException.java,
7762 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7763 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7764 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7765 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7766 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7767 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7768 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7769 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7770 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7771 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7772 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7773 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7774 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7775 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7776 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7777 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7778 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7779 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7780 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7781 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7782 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7783 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7784 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7785 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7786 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7787 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7788 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7789 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7790 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7791 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7792 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7793 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7794 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7795 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7796 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7797 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7798 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7799 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7800 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7801 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7802 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7803 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7804 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7805 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7806 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7807 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7808 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7809 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7810 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7811 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7812 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7813 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7814 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7815 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7816 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7817 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7818 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7819 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7820 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7821 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7822 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7823 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7824 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7825 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7826 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7827 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7828 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7829 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7830 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7831 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7832 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7833 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7834 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7835 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7836 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7837 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7838 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7839 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7840 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7841 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7842 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7843 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7844 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7845 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7846 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7847 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7848 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7849 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7850 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7851 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7852 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7853 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7856 2005-01-31 Anthony Green <green@redhat.com>
7858 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7859 Support IP_MULTICAST_LOOP.
7860 (setOption): Support IP_MULTICAST_LOOP.
7862 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7863 SO_REUSEADDR support.
7864 (getOption): Support SO_REUSEADDR.
7866 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7869 * java/util/Date.java
7870 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7872 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7874 (getTimezoneOffset): Inverted sign.
7876 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7878 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7879 remove other passing tests and add new XFAILs.
7881 2005-01-24 Tom Tromey <tromey@redhat.com>
7883 * java/lang/Class.h (next): Updated documentation. Renamed to
7885 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7886 _Jv_CheckABIVersion.
7887 (_Jv_RegisterClasses_Counted): Likewise.
7888 (_Jv_RegisterClassHookDefault): Fix starting condition of
7889 duplicate-checking loop.
7890 * include/jvm.h (GCJ_VERSION): New define.
7891 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7892 (_Jv_CheckABIVersion): New function.
7894 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7896 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7897 (libgij_la_LDFLAGS): Add.
7898 * Makefile.in: Rebuilt.
7900 2005-01-24 Roger Sayle <roger@eyesopen.com>
7903 * testsuite/libjava.compile/PR19295.java: New test case.
7905 2005-01-19 Tom Tromey <tromey@redhat.com>
7907 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7908 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7909 if 'handler' is valid.
7911 2005-01-17 Tom Tromey <tromey@redhat.com>
7913 * java/text/MessageFormat.java (scanString): Changed how quoting
7915 (scanFormatElement): Likewise.
7917 2004-12-07 Mark Wielaard <mark@klomp.org>
7919 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7921 2005-01-15 Michael Koch <konqueror@gmx.de>
7925 (AUTHORITY_REGEXP): New regexp constant.
7926 (AUTHORITY_USERINFO_GROUP): New constant.
7927 (AUTHORITY_HOST_GROUP): Likewise.
7928 (AUTHORITY_PORT_GROUP): Likewise.
7929 (port): Changed default value to -1.
7930 (parseURI): Parse authority part and initialize host,
7933 2005-01-14 Robin Green <greenrd@greenrd.org>
7935 * java/io/File.java (toURI): Generate a URI which we understand.
7937 2005-01-13 Graydon Hoare <graydon@redhat.com>
7939 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7940 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7941 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7942 * jni.cc: Reuse bottom frame between calls, avoid clearing
7943 frame when no local references are made.
7945 2005-01-13 Michael Koch <konqueror@gmx.de>
7948 * java/lang/Thread.java
7949 (Thread): Call checkAccess().
7950 (stop): Fixed argument name to match javadoc.
7951 * java/lang/natThread.cc
7952 (interrupt): Call checkAccess().
7955 2005-01-11 Michael Koch <konqueror@gmx.de>
7958 * java/net/URL.java (URL): Handle specs like
7959 "/redir?http://domain2.com/index.html" which start with a slash.
7961 2005-01-11 Michael Koch <konqueror@gmx.de>
7963 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7964 * gnu/java/net/BASE64.java,
7965 gnu/java/net/EmptyX509TrustManager.java,
7966 gnu/java/net/LineInputStream.java,
7967 gnu/java/net/protocol/http/Authenticator.java,
7968 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7969 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7970 gnu/java/net/protocol/http/ChunkedInputStream.java,
7971 gnu/java/net/protocol/http/Cookie.java,
7972 gnu/java/net/protocol/http/CookieManager.java,
7973 gnu/java/net/protocol/http/Credentials.java,
7974 gnu/java/net/protocol/http/HTTPConnection.java,
7975 gnu/java/net/protocol/http/HTTPDateFormat.java,
7976 gnu/java/net/protocol/http/HTTPURLConnection.java,
7977 gnu/java/net/protocol/http/Headers.java,
7978 gnu/java/net/protocol/http/Request.java,
7979 gnu/java/net/protocol/http/RequestBodyWriter.java,
7980 gnu/java/net/protocol/http/Response.java,
7981 gnu/java/net/protocol/http/ResponseBodyReader.java,
7982 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7983 gnu/java/net/protocol/http/SimpleCookieManager.java,
7984 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7985 gnu/java/net/protocol/http/event/ConnectionListener.java,
7986 gnu/java/net/protocol/http/event/RequestEvent.java,
7987 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7988 * gnu/java/net/protocol/http/Connection.java: Removed.
7989 * gnu/java/net/protocol/http/Handler.java,
7990 javax/net/ssl/HttpsURLConnection.java: Updated.
7991 * Makefile.am: Added new files and remove old ones.
7992 * Makefile.in: Regenerated.
7994 2005-01-11 Tom Tromey <tromey@redhat.com>
7997 * java/io/BufferedInputStream.java (read): Repeatedly read to
7999 (refill): Change test to see if buffer must be grown.
8001 2005-01-10 Tom Tromey <tromey@redhat.com>
8003 * mauve-libgcj: Exclude some swing tests.
8005 2005-01-10 Tom Tromey <tromey@redhat.com>
8007 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
8008 * java/lang/Package.java (getPackages): Use VMClassLoader when
8010 (getPackage): Likewise.
8011 * prims.cc (_Jv_CreateJavaVM): Call
8012 _Jv_RegisterBootstrapPackages.
8013 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8014 * java/lang/VMClassLoader.java (getPackage): Rewrote.
8015 (getPackages): Likewise.
8016 (definedPackages): New field.
8017 (definePackageForNative): New method.
8018 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8019 * java/lang/natVMClassLoader.cc (loadClass): Updated.
8020 * defineclass.cc (handleClassBegin): Use
8021 ClassLoader.findLoadedClass.
8022 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8024 (struct _Jv_LoaderInfo): Removed.
8025 (initiated_classes): Likewise.
8026 (_Jv_UnregisterClass): Don't use initiated_classes.
8027 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
8028 (_Jv_FindClass): Register classes found during boostrap.
8029 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8030 (bootstrap_class_list): New global.
8031 (bootstrap_index): Likewise.
8032 (_Jv_RegisterBootstrapPackages): New function.
8033 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8034 definePackageForNative.
8035 (findClass): Updated.
8036 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8039 2005-01-10 Tom Tromey <tromey@redhat.com>
8042 * include/jvm.h (_Jv_Linker::find_field): Declare.
8043 (_Jv_Linker::find_field_helper): Likewise.
8044 * link.cc (find_field_helper): New method.
8045 (find_field): Likewise.
8046 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
8048 (link_symbol_table): Use find_field.
8050 2005-01-10 Michael Koch <konqueror@gmx.de>
8053 * java/util/Locale.java (Locale): Don't uppercase variant.
8054 (getISOCountries): Fixed typo in javadoc.
8056 2005-01-10 Michael Koch <konqueror@gmx.de>
8058 * java/util/SimpleTimeZone.java (checkRule):
8059 Throw IllegalArgumentException on invalid month values.
8060 * java/util/TimeZone.java (setID):
8061 Throw NullPointerException if needed.
8063 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
8065 * java/util/SimpleTimeZone.java (getOffset):
8066 offset end date with daylight savings
8068 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
8070 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8071 * testsuite/libjava.compile/PR19277.xfail: Likewise.
8073 2005-01-09 Michael Koch <konqueror@gmx.de>
8076 * java/net/InetAddress.java (getLocalHost):
8077 Throw UnknownHostException if local hostname cannot be determined.
8079 2005-01-06 Tom Tromey <tromey@redhat.com>
8081 * java/lang/ClassLoader.java (findClass): Fixed documentation.
8083 2005-01-07 Michael Koch <konqueror@gmx.de>
8086 * java/nio/Buffer.java (address): New field.
8087 * java/nio/DirectByteBufferImpl.java (address): Removed.
8088 * java/nio/MappedByteBufferImpl.java (address): Likewise.
8089 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
8090 Explicitly initialize Buffer.address if needed.
8091 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
8092 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
8093 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
8094 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
8095 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
8096 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
8097 DirectByteBufferImpl object.
8098 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8099 * testsuite/libjava.jni/directbuffer.c,
8100 testsuite/libjava.jni/directbuffer.java,
8101 testsuite/libjava.jni/directbuffer.out,
8102 testsuite/libjava.jni/bytebuffer.c,
8103 testsuite/libjava.jni/bytebuffer.java,
8104 testsuite/libjava.jni/bytebuffer.out: New files.
8106 2005-01-05 Tom Tromey <tromey@redhat.com>
8108 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
8110 (compressedSize): Now 'long'. Default to -1.
8111 (getCompressedSize): Rewrote.
8112 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
8113 deflate at all if we need input.
8115 2005-01-05 Tom Tromey <tromey@redhat.com>
8118 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
8121 2005-01-05 Tom Tromey <tromey@redhat.com>
8123 * java/lang/natRuntime.cc (insertSystemProperties): Set
8124 java.ext.dirs earlier.
8126 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
8128 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8129 sync_info element of the object if needed.
8131 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
8133 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8134 a non-zero exit status from 'false'.
8136 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
8138 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.