1 2005-07-18 Tom Tromey <tromey@redhat.com>
5 2005-07-19 Matthias Klose <doko@debian.org>
7 * classpath/java/awt/im/InputContext.java (clinit): Initialize
10 2005-07-18 Tom Tromey <tromey@redhat.com>
13 * sources.am, Makefile.in: Rebuilt.
14 * scripts/makemake.tcl (emit_bc_rule): Create a temporary list
16 (emit_source_var): Don't emit patsubst with './'.
18 2005-07-18 Tom Tromey <tromey@redhat.com>
20 * Makefile.in: Rebuilt.
21 * Makefile.am ($(libgij_la_OBJECTS)): Depend on headers.stamp.
23 2005-07-17 Andreas Jaeger <aj@suse.de>
25 * defineclass.cc (handleClassBegin): Remove unused variable.
27 2005-07-16 Andreas Schwab <schwab@suse.de>
29 * scripts/makemake.tcl (emit_package_rule): Emit command to create
31 * Makefile.am (%.lo): Don't create it here.
32 * sources.am, Makefile.in: Regenerated.
34 2005-07-15 Tom Tromey <tromey@redhat.com>
36 Major merge with Classpath.
37 Removed many duplicate files.
39 * classpath: Imported new directory.
40 * standard.omit: New file.
41 * Makefile.in, aclocal.m4, configure: Rebuilt.
42 * sources.am: New file.
43 * configure.ac: Run Classpath configure script. Moved code around
44 to support. Disable xlib AWT peers (temporarily).
45 * Makefile.am (SUBDIRS): Added 'classpath'
47 (AM_CPPFLAGS): Added more -I options.
48 (BOOTCLASSPATH): Simplified.
49 Completely redid how sources are built.
51 * include/Makefile.am (tool_include__HEADERS): Removed jni.h.
52 * include/jni.h: Removed (in Classpath).
53 * scripts/classes.pl: Updated to look at built classes.
54 * scripts/makemake.tcl: New file.
55 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
57 (gcj_jni_invocation_compile_c_to_binary): Likewise.
59 2005-07-15 Scott Gilbertson <scottg@mantatest.com>
61 * gnu/awt/xlib/XCanvasPeer.java (attributes): New field.
62 (eventMask): New field.
63 (XCanvasPeer(Component)): Use attributes field.
64 (setBackground): Implemented.
65 (setEventMask): Process mask only if changed.
66 * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable.
67 (eventLoopThread): New field.
68 (XEventLoop(Display,EventQueue)): Start eventLoopThread.
71 * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container
73 * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New
75 (configureNotify): Set and clear processingConfigureNotify.
76 (setBounds): Process only if processingConfigureNotify is false.
77 (toBack): Implemented.
78 (toFront): Implemented.
79 * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color.
80 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null
82 * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true.
83 (wakeNativeQueue): Do nothing.
84 (iterateNativeQueue): Do queue.wait if blocking.
85 * gnu/gcj/xlib/Font.java (loadFont): New method.
86 (loadFontImpl): Renamed native method, was loadFont.
87 * gnu/gcj/xlib/Window.java (toFront): New method.
89 * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was
91 * gnu/gcj/xlib/natWindow.cc (toBack): New method.
92 (toFront): New method.
93 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout.
95 2005-07-14 Andrew Haley <aph@redhat.com>
97 * gnu/java/net/protocol/file/Connection.java (unquote): New
99 (connect): Unquote filename.
100 gnu/java/net/protocol/jar/Connection.java (getInputStream):
102 (getJarFile): Likewise.
104 * java/net/URLConnection.java (getContentHandler): Guard cast with
107 * java/net/URL.java (URL): If the file part of a spec is absolute,
108 ignore the file part of its context.
110 2005-07-14 Aaron Luchko <aluchko@redhat.com>
112 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:
113 Implemented VirtualMachine Command Set.
115 2005-07-14 Tom Tromey <tromey@redhat.com>
117 * java/lang/Class.java (getProtectionDomain): Merged javadoc from
120 2005-07-12 Aaron Luchko <aluchko@redhat.com>
122 * gnu/classpath/jdwp/processor/FieldCommandSet.java:
123 Implemented the Field CommandSet.
124 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java:
125 Implemented the InterfaceType CommandSet.
127 2005-07-12 Aaron Luchko <aluchko@redhat.com>
129 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
130 shutdown to jdwp instead of connection.
132 2005-07-12 Aaron Luchko <aluchko@redhat.com>
134 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:
137 2005-07-08 Colin Walters <walters@verbum.org>
139 * verify.cc (class _Jv_BytecodeVerifier) <op_new>: Don't
140 check for abstract classes or interfaces here; JVM spec
141 says it should throw an exception, so we'll do so later.
142 * interpret.cc (run): Throw an InstantiationException for
143 abstract classes and interfaces.
145 2005-07-08 Andrew Haley <aph@redhat.com>
147 * posix-threads.cc (_Jv_ThreadSetPriority): Use SCHED_OTHER
148 (regular, non-realtime scheduling), not SCHED_RR (realtime,
151 2005-07-07 Aaron Luchko <aluchko@redhat.com>
153 * gnu/classpath/jdwp/util/Signature.java
154 (computeFieldSignature): New Method.
156 2005-07-07 Aaron Luchko <aluchko@redhat.com>
158 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:New
161 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
163 * testsuite/libjava.jacks/jacks.xfail: Remove 6.5.5.1-nested-4,
164 6.5.5.1-nested-7, 6.5.5.1-nested-16, 6.5.5.1-nested-17.
166 2005-07-07 Bryce McKinlay <mckinlay@redhat.com>
168 * testsuite/libjava.compile/PR21045.java: New test.
169 * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1,
170 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7.
172 2005-07-06 Tom Tromey <tromey@redhat.com>
174 * java/io/InputStreamReader.java (refill): Handle no-progress
176 * gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
178 2005-07-06 Tom Tromey <tromey@redhat.com>
180 * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.
182 2005-07-05 Bryce McKinlay <mckinlay@redhat.com>
184 * testsuite/libjava.compile/PR19674.java: New test.
186 2005-07-05 Aaron Luchko <aluchko@redhat.com>
188 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:
191 2005-07-04 Aaron Luchko <aluchko@redhat.com>
193 * gnu/classpath/jdwp/processor/CommandSet.java: New file.
194 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use
195 CommandSets to handle JdwpCommandPackets.
196 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New
199 2005-07-01 Tom Tromey <tromey@redhat.com>
201 * libtool-version: Updated.
203 2005-06-30 Aaron Luchko <aluchko@redhat.com>
205 * gnu/classpath/jdwp/util/JdwpString.java: New file.
207 2005-06-30 Keith Seitz <keiths@redhat.com>
209 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.
210 (myWrite): New abstract method.
213 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New
215 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New
217 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use
218 JdwpPacket.write instead of JdwpPacket.toBytes.
220 2005-06-30 Keith Seitz <keiths@redhat.com>
222 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New
224 (_bytes): New member.
225 (_doStream): New member.
226 (JdwpConnection): Initialize new members.
228 2005-06-29 Kelley Cook <kcook@gcc.gnu.org>
230 * all files: Update for new FSF address.
232 2005-06-29 Tom Tromey <tromey@redhat.com>
235 * testsuite/libjava.lang/pr22211.java: New file.
236 * java/lang/natThread.cc (finish_): Synchronize when updating
238 (_Jv_AttachCurrentThread): Likewise.
239 (interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
240 * java/lang/Thread.java (isAlive): Now synchronized.
242 2005-06-29 Tom Tromey <tromey@redhat.com>
244 * interpret.cc (run) <insn_checkcast, checkcast_resolved>: Use
247 2005-06-28 Robin Green <greenrd@greenrd.org>
250 * gnu/gcj/runtime/PersistentByteMap.java (init): Fix rounding
253 2005-06-27 Tom Tromey <tromey@redhat.com>
255 PR java/21540, PR java/13788:
256 * testsuite/libjava.compile/pr21540.java: New file.
257 * testsuite/libjava.compile/pr13788.java: New file.
258 * testsuite/libjava.jacks/jacks.xfail: Updated.
260 2005-06-26 Andreas Tobler <a.tobler@schweiz.ch>
262 * testsuite/libjava.mauve/xfails: Updated to reflect current state
263 of mauve and libjava.
265 2005-06-24 Tom Tromey <tromey@redhat.com>
267 * java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
268 where class' name is NULL.
269 (_Jv_FindClass): Don't wait for class state.
270 * java/lang/natVMClassLoader.cc (defineClass): Only unregister if
272 * include/java-interp.h (_Jv_DefineClass): Updated.
273 * defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
274 (struct _Jv_ClassReader): Likewise.
275 (found_name): New field.
276 (handleClassBegin): Set *found_name.
277 (_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
278 (handleClassBegin): Throw error if super class not set.
279 (read_methods): Correctly call check_tag and prepare_pool_entry.
281 2005-06-24 Tom Tromey <tromey@redhat.com>
283 * boehm.cc (_Jv_MarkObj): Handle case where field's type is NULL.
285 2005-06-24 Tom Tromey <tromey@redhat.com>
287 * verify.cc (verify_instructions_0): Correctly handle situation
288 where PC falls off end.
290 2005-06-24 Tom Tromey <tromey@redhat.com>
292 * interpret.cc (compile): Handle case where table entry is
295 2005-06-23 Bryce McKinlay <mckinlay@redhat.com>
297 * testsuite/libjava.compile/PR20697.java: New test-case.
299 2005-06-22 Kelley Cook <kcook@gcc.gnu.org>
301 * Makefile.am (SUBDIRS): Use append for conditional.
302 (toolexeclib_LTLIBRARIES): Likewise.
303 (lib_gnu_java_awt_peer_gtk_la_SOURCES): Directly define with
304 a conditional append.
305 * Makefile.in: Regenerate.
307 2005-06-17 Keith Seitz <keiths@redhat.com>
309 * gnu/classpath/jdwp/exception/VmDeadException.java: New file.
310 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file.
311 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New
313 * gnu/classpath/jdwp/exception/JdwpException.java: New file.
314 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New
316 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file.
317 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file
318 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file.
319 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New
321 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file.
322 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file.
324 2005-06-16 Kelley Cook <kcook@gcc.gnu.org>
326 * Makefile.am (libgcj_la_SOURCES): Define without conditional sources.
327 (if USING_BOEHMGC): Directly append libgcj_la_SOURCES.
328 (if USING_NOGC, SUPPLY_BACKTRACE, USING_POSIX_PLATFORM,
329 USING_WIN32_PLATFORM, USING_DARWIN_CRT, USING_POSIX_THREADS,
330 USING_WIN32_THREADS, USING_NO_THREADS): Likewise.
331 * Makefile.in: Regenerate.
333 2005-06-15 Kelley Cook <kcook@gcc.gnu.org>
335 * configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
336 (USING_POSIX_PLATFORM): ... here.
337 * Makefile.am: Delete USING_ECOS_PLATFORM.
338 * configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
339 external/Makefile.in, external/sax/Makefile.in,
340 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
342 2005-06-15 Tom Tromey <tromey@redhat.com>
345 * testsuite/libjava.lang/pr17536.java: New file.
346 * testsuite/libjava.lang/pr17536.out: New file.
348 2005-06-15 Goffredo Baroncelli <kreijack@inwind.it>
351 * gnu/java/net/protocol/http/HTTPURLConnection.java
352 (getHeaderFieldKey): Check index.
354 2005-06-15 Tom Tromey <tromey@redhat.com>
357 * defineclass.cc (handleMethodsEnd): Set ncode for abstract
359 * include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
360 * link.cc (_Jv_ThrowAbstractMethodError): Renamed. No longer
362 (append_partial_itable): Use it.
363 (set_vtable_entries): Likewise.
365 2005-06-15 Tom Tromey <tromey@redhat.com>
367 * gnu/gcj/runtime/SystemClassLoader.java (init): Clear
368 last_was_sep in loop.
370 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
372 * configure.host: Handle Solaris 10/x86.
374 2005-06-14 Keith Seitz <keiths@redhat.com>
376 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
377 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.
379 2005-06-14 Keith Seitz <keiths@redhat.com>
381 * gnu/classpath/jdwp/id/ArrayId.java: New file.
382 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
383 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
384 * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
385 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
386 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
387 * gnu/classpath/jdwp/id/JdwpId.java: New file.
388 * gnu/classpath/jdwp/id/ObjectId.java: New file.
389 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
390 * gnu/classpath/jdwp/id/StringId.java: New file.
391 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
392 * gnu/classpath/jdwp/id/ThreadId.java: New file.
394 2005-06-14 Tom Tromey <tromey@redhat.com>
397 * configure, aclocal.m4, Makefile.in: Rebuilt.
399 2005-06-14 Tom Tromey <tromey@redhat.com>
401 * java/lang/Class.java (getClasses): New method.
402 (internalGetClasses): Likewise.
403 (getClassLoader): Updated documentation.
404 (getDeclaredClasses): New overload; old overload no longer
406 (_getConstructors): Removed.
407 (resourcePath): Updated.
408 * java/lang/natClass.cc (getClasses): Removed.
409 * java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
411 (_getConstructors): Removed.
413 2005-06-13 Jim Huang <jserv@kaffe.org>
416 * jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
417 (_Jv_JNI_NewObject): Likewise.
419 2005-06-13 Tom Tromey <tromey@redhat.com>
422 * testsuite/libjava.lang/pr21844.java: New file.
423 * testsuite/libjava.lang/pr21844.out: New file.
425 2005-06-08 Bryce McKinlay <mckinlay@redhat.com>
428 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
431 2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
433 * java/text/MessageFormat.java (parse): When parsing strings, check
434 for an empty pattern trailer.
436 2005-06-06 Keith Seitz <keiths@redhat.com>
438 * gnu/classpath/jdwp/util/Signature.java: New file.
439 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.
441 2005-06-05 Anthony Green <green@redhat.com>
443 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case
446 2005-06-04 Anthony Green <green@redhat.com>
448 * java/net/URLClassLoader.java: import gnu.gcj.Core,
449 and gnu.java.net.protocol.core.CoreInputStream.
450 (CureURLLoader): New class.
451 (CoreResource): New class.
452 (addURLImpl): Add special treatment for the "core" protocol.
453 * gnu/gcj/natCore.cc (find): New method.
454 * gnu/gcj/Core.java (find): New method.
456 2005-06-03 Keith Seitz <keiths@redhat.com>
458 * gnu/classpath/jdwp/transport/ITransport.java: New file.
459 * gnu/classpath/jdwp/transport/SocketTransport.java: New file.
460 * gnu/classpath/jdwp/transport/TransportFactory.java: New file.
462 2005-06-03 Andreas Tobler <a.tobler@schweiz.ch>
464 * jawt.c: Remove malloc.h, covered by stdlib.h.
466 * testsuite/libjava.jni/jni.exp
467 (gcj_jni_invocation_compile_c_to_binary): Add -bind_at_load to silence
470 2005-06-02 Keith Seitz <keiths@redhat.com>
472 * gnu/classpath/jdwp/transport/TransportException.java: New file.
474 2005-06-02 Andreas Tobler <a.tobler@schweiz.ch>
476 * mauve-libgcj: Remove implemented classes from the fail section.
477 Add two new not implemented to it.
479 2005-06-01 Bryce McKinlay <mckinlay@redhat.com>
481 * configure.ac (BACKTRACESPEC): Remove definition, but continue to
482 AC_SUBST definition from configure.host.
483 * configure.host: Don't use -fno-omit-frame-pointer. Set BACKTRACESPEC
484 to -fomit-frame-pointer on 32-bit x86 targets.
486 2005-06-01 Tom Tromey <tromey@redhat.com>
488 * java/io/ObjectInputStream.java (currentLoader): Fixed typo.
490 2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
493 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
494 (static): Add possessive matching to JAVA_1_4 syntax.
495 * gnu/regexp/RETokenRepeated.java (possessive): New field.
496 (makePossessive, isPossessive): New methods.
497 (match): Don't back off during possessive matching.
498 * gnu/regexp/RE.java (initalize): Accept possessive quantifier.
499 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
502 2005-06-01 Keith Seitz <keiths@redhat.com>
504 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.
505 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file.
506 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file.
508 2005-06-01 Tom Tromey <tromey@redhat.com>
511 * java/io/natObjectInputStream.cc (currentClassLoader): Removed.
512 (currentLoader): New method.
513 * java/io/ObjectInputStream.java (resolveProxyClass): Use
515 (currentLoader): Now native.
516 (currentClassLoader): Removed.
517 * testsuite/libjava.lang/pr21785.java: New file.
518 * testsuite/libjava.lang/pr21785.out: New file.
520 2005-06-01 Tom Tromey <tromey@redhat.com>
523 * java/lang/natString.cc (substring): Changed sharing heuristic.
525 2005-05-30 Bryce McKinlay <mckinlay@redhat.com>
528 * gnu/java/nio/channels/natFileChannelPosix.cc (open): Don't use
529 MAXPATHLEN. Format exception message using a StringBuffer instead.
531 2005-05-29 Michael Koch <konqueror@gmx.de>
534 * java/util/LinkedHashMap.java (access): Set 'root.pred'.
536 2005-05-27 Ziga Mahkovec <ziga.mahkovec@klika.si>
538 * ChangeLog: Fix typo.
540 2005-05-26 Ranjit Mathew <rmathew@hotmail.com>
542 Testsuite adjustments for PR java/19870.
543 * testsuite/libjava.lang/PR19870.java: New testcase.
544 * testsuite/libjava.lang/PR19870.out: Expected output for the
546 * testsuite/libjava.jacks/jacks.xfail: Add
547 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2
550 2005-05-26 Bryce McKinlay <mckinlay@redhat.com>
552 * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New.
553 (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
554 (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI
556 (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION.
557 (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method.
558 (_Jv_CheckABIVersion): Check for both old and new style version IDs.
559 (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER.
561 2005-05-25 Richard Henderson <rth@redhat.com>
564 * sysdep/descriptor-n.h: New file.
565 * sysdep/descriptor-y.h: New file.
566 * sysdep/powerpc/descriptor.h: New file.
567 * configure.host: Set $descriptor_h appropriate for the host.
568 * configure.ac: Link it.
569 * configure: Regenerate.
570 * stacktrace.cc: Include sysdep/descriptor.h.
571 (_Jv_StackTrace::UpdateNCodeMap): Use UNWRAP_FUNCTION_DESCRIPTOR.
573 2005-05-25 Chris Burdess <dog@gnu.org>
575 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/
576 end entity callbacks.
578 2005-05-24 Gary Benson <gbenson@redhat.com>
581 * java/text/MessageFormat.java (MessageFormatElement.setLocale):
582 Handle DateFormat.DEFAULT case correctly.
584 2005-05-21 Tom Tromey <tromey@redhat.com>
587 * java/lang/ref/natReference.cc (find_slot): Handle case where
588 table has no NULL entries.
589 * java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
590 table has no NULL entries.
592 2005-05-22 Andreas Jaeger <aj@suse.de>
594 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
597 2005-05-21 Ranjit Mathew <rmathew@hotmail.com>
599 * testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.
601 2005-05-19 Richard Henderson <rth@redhat.com>
603 * exception.cc: Revert 05-17 gcc_unreachable change.
605 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
607 * java/lang/natClassLoader.cc (_Jv_NewClass): Use
608 _Jv_RegisterInitiatingLoader to register array classes, not
610 (_Jv_RegisterInitiatingLoader): Give up if called very early during
611 bootstrapping. Add a FIXME to handle this case better.
613 2005-05-19 Bryce McKinlay <mckinlay@redhat.com>
615 * Makefile.am (libgcj0_convenience_la): Removed. Don't build a libgcj
617 (libgcj_la_SOURCES): New. Move sources here.
618 (libgcj.la): Remove rule.
620 2005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
623 * gnu/java/security/provider/DSASignature.java: Import updates
626 2005-05-18 Anthony Green <green@redhat.com>
628 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
629 classpath_jawt_object_unlock, classpath_jawt_create_lock,
630 classpath_jawt_destroy_lock): New functions.
631 * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
632 classpath_jawt_object_unlock, classpath_jawt_create_lock,
633 classpath_jawt_destroy_lock): New functions.
634 * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
636 * jawt.c: #include malloc.h.
637 (_Jv_Lock): Use lock.
639 (_Jv_GetDrawingSurface): Initialize lock.
640 (_Jv_FreeDrawingSurface): Destroy lock.
641 (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
643 2005-05-18 Paolo Bonzini <bonzini@gnu.org>
645 * Makefile.am (Makefile.deps): Do not use \0, it is unportable.
646 * Makefile.in: Regenerate.
648 2005-05-17 Kelley Cook <kcook@gcc.gnu.org>
650 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
651 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
652 * aclocal.m4, configure, config.h.in, include/config.h.in,
653 Makefile.in, include/Makefile.in, testsuite/Makefile.in,
654 external/Makefile.in, external/sax/Makefile.in,
655 external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.
657 2005-05-17 David Daney <ddaney@avtrex.com>
660 * testsuite/libjava.lang/Process_3.java (run): Exit on error.
662 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
664 * exception.cc (abort): Remove std::abort hack.
665 (gcc_unreacheable): Define.
667 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
669 * Makefile.am (Makefile.deps): Do not create native.list and
671 (all_native_compiled_dirs, all_java_dirs): Compute dir list here.
672 * Makefile.in: Regenerate.
674 2005-05-17 Paolo Bonzini <bonzini@gnu.org>
676 * configure.ac (--enable-libgcj-multifile): Remove.
678 * Makefile.am (all_native_compiled_source_files,
679 (all_native_compiled_dirs, all_java_dirs, all_java_lo_files,
680 all_libgcj_lo_files, all_xlib_lo_files,
681 all_java_deps_files, all_java_stamp_files,
682 all_java_filelist_files): New variables.
683 (EXTRA_DIST): New Automake variable.
684 (CLEANFILES): Add .stamp, .list and .lo files.
685 (%.list, %.lo, %.stamp, Makefile.deps): New rules.
686 (classes.stamp): Depend on $(all_java_stamp_files).
687 (libgcj.la): Pass $(libgcj_la_LIBADD) to the linker without
688 going through write_entries_to_file.
690 (all_java_source_files, all_property_files): Move earlier.
691 (libgcj_la_OBJECTS, javao_files, xlib_javao_files,
692 all_java_class_files): Remove.
693 (gtk_awt_peer_sources): Rename to...
694 (gtk_awt_peer_source_files): ... this. Adjust throughout.
697 (libgcj0_convenience_la_SOURCES): Remove Java source files.
698 (libgcj0_convenience_la_LIBADD): Add $(all_libgcj_lo_files).
699 (libgcj0_convenience_la_DEPENDENCIES): Likewise.
700 (libgcj_la_SOURCES): Remove.
701 (lib_gnu_awt_xlib_la_SOURCES): Remove Java source files.
702 (lib_gnu_awt_xlib_la_LIBADD): Add $(all_xlib_lo_files).
703 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
705 * configure: Regenerate.
706 * Makefile.in: Regenerate.
707 * external/Makefile.in: Regenerate.
708 * external/sax/Makefile.in: Regenerate.
709 * external/w3c_dom/Makefile.in: Regenerate.
710 * gcj/Makefile.in: Regenerate.
711 * include/Makefile.in: Regenerate.
712 * libltdl/Makefile.in: Regenerate.
713 * testsuite/Makefile.in: Regenerate.
715 2005-05-16 Tom Tromey <tromey@redhat.com>
717 * java/nio/charset/Charset.java (encode, decode): Synchronize on
718 'this', not the class.
720 2005-05-16 Tom Tromey <tromey@redhat.com>
722 * gnu/java/net/protocol/http/Headers.java (parse): Include final
725 2005-05-16 Tom Tromey <tromey@redhat.com>
728 * java/net/URI.java (unquote): Handle lower-case letters as well.
730 2005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si>
733 * gnu/regexp/RE.java: Add support for quoting constructs.
735 2005-05-15 Tom Tromey <tromey@redhat.com>
737 * java/lang/String.java (startsWith): Fixed javadoc.
739 2005-05-15 Tom Tromey <tromey@redhat.com>
742 * testsuite/libjava.compile/pr21519.java: New file.
743 * testsuite/libjava.compile/pr21519.no-link: New file.
745 2005-05-15 Tom Tromey <tromey@redhat.com>
747 * stacktrace.cc (getLineNumberForFrame): Use _Jv_GetSafeArg.
749 2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
752 * java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
753 interrupt status flag if _Jv_CondWait is interrupted.
755 2005-05-13 Tom Tromey <tromey@redhat.com>
757 * gnu/gcj/runtime/SystemClassLoader.java (init): Handle empty
760 2005-05-12 Bryce McKinlay <mckinlay@redhat.com>
762 * include/jvm.h (gcj::verifyClasses): Declare.
763 * link.cc (gcj::verbose_class_flag): Moved.
764 * prims.cc (gcj::verifyClasses): Define here.
765 (gcj::verbose_class_flag): Move definition here.
766 (_Jv_Linker::wait_for_state): Don't call verify_class
767 if gcj::verifyClasses is not set.
768 * gij.cc (main): Set gcj::verifyClasses when '-noverify' is given.
770 2005-05-12 Aaron Luchko <aluchko@redhat.com>
772 * gij.cc (main): Recognize '-verify', '-noverify', and
775 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
777 * configure.host: Set IEEESPEC to -mieee for sh*-*-*.
779 2005-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
781 * Makefile.am (cond_gtk_gcjawt_ltlibrary): Rename libjawt.la
784 2005-05-11 Tom Tromey <tromey@redhat.com>
786 * external/w3c_dom/Makefile.in: Rebuilt.
787 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
789 * external/sax/Makefile.in: Rebuilt.
790 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
792 * java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
794 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
795 Call _Jv_CopyClassesToSystemLoader.
796 * java/lang/natClassLoader.cc (system_class_list): New global.
797 (_Jv_RegisterClassHookDefault): Handle bootstrap and system
799 (_Jv_CopyClassesToSystemLoader): New function.
800 (SYSTEM_LOADER_INITIALIZED): New define.
801 * include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
802 (_Jv_CheckABIVersion): Use it.
803 (_Jv_ClassForBootstrapLoader): New function.
804 * Makefile.in: Rebuilt.
805 * Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
807 2005-05-10 Tom Tromey <tromey@redhat.com>
809 * gcj/javaprims.h: Updated.
810 * java/lang/String.java (String(StringBuilder)): New constructor.
811 * java/lang/natStringBuilder.cc: New file.
812 * java/lang/StringBuilder.java: New file.
813 * Makefile.in: Rebuilt.
814 * Makefile.am (core_java_source_files): Added StringBuilder.java.
815 (nat_source_files): Added natStringBuilder.cc.
817 2005-05-10 Paolo Bonzini <bonzini@gnu.org>
820 * testsuite/libjava.jacks/jacks.xfail: Adjust.
822 2005-05-09 Mike Stump <mrs@apple.com>
824 * configure: Regenerate.
826 2005-05-09 David Daney <ddaney@avtrex.com>
828 * java/util/BitSet.java (get(int, int)): Fix breakage when
829 requested set doesn't start on a multiple of 64.
831 2005-05-07 Matthias Klose <doko@debian.org>
833 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Add imports.
835 2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
837 * Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
838 * Makefile.in: Regenerate.
839 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
840 (createCompatibleVolatileImage(int,int)): Implement.
841 (createCompatibleVolatileImage(int,int,ImageCapabilities)):
843 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
845 (createVolatileImage): Implement.
846 (createBuffers): Likewise.
847 (getBackBuffer): Likewise.
849 (destroyBuffers): Likewise.
850 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
851 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
852 (CanvasFlipBufferStrategy): Likewise.
853 (createBufferStrategy(int)): New method.
854 (createBufferStrategy(int,BufferCapabilities)): Likewise.
855 * java/awt/Component.java (BltBufferStrategy): Implement and
857 (FlipBufferStrategy): Likewise.
858 * java/awt/Window.java (WindowBltBufferStrategy): New class.
859 (WindowFlipBufferStrategy): Likewise.
860 (createBufferStrategy(int)): New method.
861 (createBufferStrategy(int,BufferCapabilities)): Likewise.
862 (getBufferStrategy): Likewise.
863 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename
864 front to frontCaps and back to backCaps.
866 2005-05-06 Michael Koch <konqueror@gmx.de>
868 * java/awt/BufferCapabilities.java
869 (BufferCapabilities): Merged javadoc.
871 2005-05-06 Michael Koch <konqueror@gmx.de>
873 * java/util/Locale.java
874 (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
875 (getLocale): New methods. Use it everywhere where instances of Locales
877 (getDisplayLanguage): Merged javadoc.
878 (getDisplayCountry): Likewise.
879 (getDisplayVariant): Likewise.
881 2005-05-06 Archie Cobbs <archie@dellroad.org>
883 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
884 use DeleteLocalRef() to avoid exhausting local native references.
886 2005-05-06 Mark Wielaard <mark@klomp.org>
888 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
889 (window_delete_cb): Don't use C++ style comments.
891 2005-05-06 Robert Schuster <thebohemian@gmx.net>
893 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed
896 2005-05-06 Robert Schuster <thebohemian@gmx.net>
898 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
899 (window_delete_cb): Made the function return TRUE.
901 2005-05-06 Roman Kennke <roman@kennke.org>
903 * javax/swing/text/PlainView.java
904 (drawUnselectedText): Call Utilities.drawTabbedText() with correct
906 * javax/swing/text/Utilities.java
907 (drawTabbedText): Initilialize local variable pos correctly.
909 2005-05-06 Roman Kennke <roman@kennke.org>
911 * javax/swing/text/AbstractDocument.java
912 (LeafElement): Made start and end package private fields for
913 effective reindexing.
914 * javax/swing/text/PlainDocument.java
915 (constructor): The field rootElement is always BranchElement,
916 so we handle it as such.
917 (removeUpdate): Rewritten reindexing for removeUpdate so that
918 the actual removal is taken into account.
920 2005-05-06 Roman Kennke <roman@kennke.org>
922 * javax/swing/text/GapContent.java:
923 Removed debugging output stuff, which I accidentally left in.
925 2005-05-06 Roman Kennke <roman@kennke.org>
927 * javax/swing/text/GapContent.java:
928 Implemented a real GapContent. Only the public methods have
929 been implemented so far and still no UndoableEdit support.
931 2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
933 * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
936 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
938 * java/awt/image/BufferStrategy.java: Document.
940 * java/awt/BufferCapabilities.java: Document.
942 2005-05-04 Tom Tromey <tromey@redhat.com>
944 * java/nio/channels/FileLock.java (toString): Entirely avoid
947 2005-05-04 Andrew Overholt <overholt@redhat.com>
949 * java/nio/channels/FileLock.java (toString): Re-implement using
952 2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
954 * java/awt/ImageCapabilities.java: Document.
956 * java/awt/image/VolatileImage.java: Unindent copyright header.
958 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
960 * java/awt/image/VolatileImage.java: Document.
962 2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
965 (init_glib_threads): Check if threading system is already
968 2005-05-03 Andrew Overholt <overholt@redhat.com>
971 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
972 could not be acquired.
973 * java/nio/channels/FileLock.java (toString): Re-implement to be
974 in line with other implementations.
976 2005-05-03 Tom Tromey <tromey@redhat.com>
978 * java/lang/VMSecurityManager.java (currentClassLoader): Use
979 'systemClasssLoader' directly.
981 2005-05-03 Tom Tromey <tromey@redhat.com>
983 * java/lang/VMSecurityManager.java (currentClassLoader): Don't
984 call VMClassLoader.getSystemClassLoader.
986 2005-04-29 Michael Koch <konqueror@gmx.de>
988 * java/net/NetworkInterface.java
990 (NetworkInterface(String,InetAddress)): Made package-private.
991 (NetworkInterface(String,InetAddress[])): New constructor.
992 (getRealNetworkInterfaces): Removed.
993 (getByName): Use VMNetworkInterface.getInterfaces().
994 (getByInetAddress): Likewise.
995 (getNetworkInterfaces): Likewise.
996 * java/net/VMNetworkInterface.java,
997 java/net/natVMNetworkInterfaceNoNet.cc,
998 java/net/natVMNetworkInterfacePosix.c,c
999 java/net/natVMNetworkInterfaceWin32.cc: New files.
1000 * java/net/natNetworkInterfaceNoNet.cc,
1001 java/net/natNetworkInterfacePosix.cc,
1002 java/net/natNetworkInterfaceWin32.cc: Removed.
1005 * configure, Makefile.in: Regenerated.
1007 2005-04-29 Andrew Haley <aph@redhat.com>
1009 * java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
1011 2005-04-29 Dalibor Topic <robilad@kaffe.org>
1013 * java/nio/channels/FileChannelImpl.java
1014 (FileChannelImpl(String, int)): Removed.
1015 (FileChannelImpl(File, int)): Added. Check if opened file is a
1017 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
1018 Call FileChannelImpl(File, int).
1019 * java/io/FileOutputStream.java (FileInputStream): Call
1020 FileChannelImpl(File, int).
1021 * java/io/RandomAccessFile.java (RandomAccessFile):
1022 Call FileChannelImpl(File, int). Switched constructors around.
1024 2005-04-27 Andrew Haley <aph@redhat.com>
1027 * prims.cc (_Jv_ResolvePoolEntry): New function.
1028 * include/jvm.h (_Jv_Linker::find_field): New arg: found_class.
1029 * link.cc (_Jv_Linker::find_field): New arg: found_class.
1030 (resolve_pool_entry): Initialize the class in which a field is
1032 (link_symbol_table): Pass new arg to found_class.
1034 2005-04-29 Michael Koch <konqueror@gmx.de>
1036 * java/nio/charset/Charset.java
1037 (provider): Reformatted.
1039 2005-04-29 Michael Koch <konqueror@gmx.de>
1041 * gnu/java/net/protocol/http/HTTPConnection.java:
1042 (userAgent): Initialize from system properties.
1043 (initUserAgent): Removed.
1045 2005-04-29 Mark Wielaard <mark@klomp.org>
1047 * java/util/ResourceBundle.java (getObject): Clarify
1048 MissingResourceException detailed message.
1049 (tryBundle(String,ClassLoader)): Likewise.
1051 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1053 * java/beans/FeatureDescriptor.java:
1054 (getShortDescription): Implemented fallback mechanism and fixed
1055 documentation (fixes bug #12637).
1056 (getDisplayName): Dito.
1058 2005-04-29 Robert Schuster <thebohemian@gmx.net>
1060 * java/beans/Introspector.java: Fixed bug #12624, BeanDescriptors
1061 will now be set correctly.
1062 (flushCaches): Now flushes all cached intermediate data.
1064 2005-04-28 Michael Koch <konqueror@gmx.de>
1066 * java/net/InetAddress.java
1067 (aton): Fixed javadoc.
1070 2005-04-28 Tom Tromey <tromey@redhat.com>
1072 * javax/swing/Timer.java
1073 (drainEvents, queueEvent): Now package-private.
1075 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1077 * javax/swing/Timer.java
1078 (constructor): Assigning initialDelay.
1080 2005-04-28 Audrius Meskauskas <audriusa@bluewin.ch>
1082 * javax/swing/Timer.java
1083 (Waker.run): firing the first action event.
1085 2005-04-28 Michael Koch <konqueror@gmx.de>
1087 * javax/swing/Timer.java: Reordered all fields and methods,
1088 Added more javadocs.
1090 2005-04-28 Michael Koch <konqueror@gmx.de>
1092 * javax/swing/Timer.java: Javadocs merged
1095 2005-04-28 Jeroen Frijters <jeroen@frijters.net>
1097 * gnu/java/net/protocol/file/Connection.java
1098 (StaticData): New inner class to contain statics.
1099 (connect, getHeaderField): Modified to use StaticData.
1101 2005-04-28 Michael Koch <konqueror@gmx.de>
1103 * gnu/java/net/protocol/file/Connection.java
1104 (lineSeparator): Initialize with SystemProperties.getProperty().
1106 2005-04-27 Chris Burdess <dog@gnu.org>
1108 * gnu/java/net/protocol/file/Connection.java: Return correct content
1109 length for directory listing.
1110 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug
1111 #11285: return valid URLs for directories.i
1113 2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1115 * Makefile.am (ordinary_java_source_files): Add
1116 gnu/java/net/protocol/https/Handler.java.
1117 * Makefile.in: Regenerate.
1118 * java/net/URL.java: Remove org.metastatic.jessie from default
1119 protocol search path.
1121 2005-04-27 Chris Burdess <dog@gnu.org>
1123 * gnu/java/net/protocol/https/Handler.java: New file.
1125 2005-04-27 Jeroen Frijters <jeroen@frijters.net>
1127 * javax/imageio/spi/IIORegistry.java (IIORegistry):
1128 Don't assume that awt Toolkit is always ClasspathToolkit.
1130 2005-04-27 Chris Burdess <dog@gnu.org>
1132 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept
1133 absolute and relative paths in Location header.
1135 2005-04-27 Chris Burdess <dog@gnu.org>
1137 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
1138 FileNotFoundException and implement getErrorStream on 404.
1140 2005-04-27 Sven de Marothy <sven@physto.se>
1142 * java/util/TimeZone.java,
1143 (getDefaultDisplayName): Fix previous fix.
1145 2005-04-27 Sven de Marothy <sven@physto.se>
1147 * java/util/TimeZone.java,
1148 (getDefaultDisplayName): Don't print zero offsets.
1150 2005-04-27 Roman Kennke <roman@kennke.org>
1152 * javax/swing/plaf/basic/BasicScrollBarUI
1153 (getThumbBounds): Do not make thumb smaller than
1155 * javax/swing/plaf/metal/MetalLookAndFeel
1156 (initComponentDefaults): Added color defaults for ScrollBar.
1157 * javax/swing/plaf/metal/MetalScrollBarUI
1158 (paintThumb): Added.
1159 (getMinimumThumbSize): Added.
1161 2005-04-27 Roman Kennke <roman@kennke.org>
1163 * javax/swing/plaf/metal/MetalLookAndFeel
1164 (initComponentDefaults): Added some default colors.
1166 2005-04-27 Roman Kennke <roman@kennke.org>
1168 * javax/swing/plaf/basic/BasicScrollBarUI.java
1169 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
1170 to 'ScrollBar.thumbShadow'. The formes does not exist.
1171 (paintThumb): Use BasicGraphicsUtils for painting the thumb.
1173 2005-04-27 Roman Kennke <roman@kennke.org>
1175 * java/awt/MediaTracker.java: Added 2005 to copyright statement.
1176 * javax/swing/BoxLayout.java: Likewise.
1177 * javax/swing/UIManager.java: Likewise.
1178 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1179 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
1180 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1181 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
1182 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
1183 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
1184 * javax/swing/text/Document.java: Likewise.
1185 * javax/swing/text/GapContent.java: Likewise.
1186 * javax/swing/text/SimpleAttributeSet.java: Likewise.
1187 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
1189 2005-04-27 Roman Kennke <roman@kennke.org>
1191 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1192 (getPropertyPrefix): Added.
1194 2005-04-27 Roman Kennke <roman@kennke.org>
1196 * javax/swing/plaf/basic/BasicButtonUI.java
1197 (getPropertyPrefix): Added.
1198 (installDefaults): Use getPropertyPrefix instead of hard-coded
1201 2005-04-27 Roman Kennke <roman@kennke.org>
1203 * javax/swing/JToggleButton.java
1204 (JToggleButton): Removed horizontalAlignment setting, this
1205 was wrong. Added setting of an actionCommand, ToggleButtons
1206 have "" as default actionCommand.
1208 2005-04-27 Michael Koch <konqueror@gmx.de>
1210 * java/nio/charset/Charset.java (providers2): Renamed from 'providers'
1211 to work around CNI limitation.
1213 2005-04-27 Sven de Marothy <sven@physto.se>
1215 * java/nio/charset/Charset.java:
1216 (defaultCharset()): New method.
1217 Status updated to 1.5
1219 2005-04-27 Sven de Marothy <sven@physto.se>
1221 * java/nio/charset/Charset.java: Cached encoders shouldn't be static.
1223 2005-04-27 Sven de Marothy <sven@physto.se>
1225 * java/nio/charset/Charset.java: Reset cached de/encoders.
1227 2005-04-27 Robert Schuster <thebohemian@gmx.net>
1229 * java/nio/charset/Charset.java (forName): Throws
1230 IllegalArgumentException when argument is null
1231 and added documentation.
1233 2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
1235 * java/nio/charset/Charset.java (providers):
1236 New method to make an array of CharsetProviders defined in
1237 META-INF/services/java.nio.charset.spi.CharsetProvider.
1238 (charsetForName, availableCharsets): Use the
1239 new method providers().
1241 2005-04-26 Michael Koch <konqueror@gmx.de>
1243 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
1244 Fixed typos in javadocs.
1245 (isSiteLocalAddress): Fixed handling of byte values.
1246 (isMCLinkLocal): Likewise.
1247 * java/net/Inet4Address.java
1248 (isMulticastAddress): Call super method.
1249 (isLoopbackAddress): Likewise.
1250 (isAnyLocalAddress): Likewise.
1251 (isLinkLocalAddress): Likewise.
1252 (isSiteLocalAddress): Likewise.
1253 (isMCGlobal): Likewise.
1254 (isMCNodeLocal): Likewise.
1255 (isMCLinkLocal): Likewise.
1256 (isMCSiteLocal): Likewise.
1257 (isMCOrgLocal): Likewise.
1258 (getHostAddress): Likewise.
1260 2005-04-26 Sven de Marothy <sven@physto.se>
1262 * java/net/InetAddress.java
1263 (toString): Don't print empty hostnames.
1265 2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
1268 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
1269 'false' to native lock().
1270 (lock): Pass 'true' to native lock().
1272 2005-04-26 Michael Koch <konqueror@gmx.de>
1274 * java/net/InetAddress.java:
1275 Fixed typos in javadocs.
1277 2005-04-26 Andrew Haley <aph@redhat.com>
1280 * jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
1283 2005-04-26 Tom Tromey <tromey@redhat.com>
1285 * javax/swing/text/html/parser/ParserDelegator.java (callBack,
1286 gnu): Now package-private.
1287 * javax/swing/text/html/parser/DocumentParser.java (parser,
1288 callBack, gnu): Now package-private.
1289 * javax/swing/text/StringContent.java (content, setOffset,
1290 checkLocation): Now package-private.
1291 * javax/swing/text/JTextComponent.java (doc): Now
1293 * javax/swing/plaf/basic/BasicToolBarUI.java (owner,
1294 lastGoodOrientation, origParent, borders, cachedBounds,
1295 cachedOrientation, DragWindow): Now package-private.
1296 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
1297 decrButton, viewport, panel, currentScrollLocation, layoutManager,
1298 tabAreaRect, contentRect, createIncreaseButton,
1299 createDecreaseButton, findPointForIndex): Now package-private.
1300 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
1301 (currentDividerLocation, moveDividerTo): Now package-private.
1302 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
1304 * javax/swing/plaf/basic/BasicScrollBarUI.java
1305 (calculatePreferredSize, valueForYPosition, valueForXPosition):
1306 Now package-private.
1307 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1308 (topWindowListener): Now package-private.
1309 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
1310 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
1311 (messageAreaContainer, buttonContainer, resetSelectedValue): Now
1313 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
1315 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
1316 Now package-private.
1317 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
1319 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
1320 borderInsets): Now package-private.
1321 (arrowButtonWidth): Likewise. Now a constant.
1322 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
1323 makeTabs, updatePreviewPanel): Now package-private.
1324 * javax/swing/plaf/basic/BasicArrowButton.java (shadow,
1325 darkShadow, highlight): Now package-private.
1326 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
1327 (addColorToQueue): Now package-private.
1328 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
1329 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
1330 GSpinner, BSpinner): Now package-private.
1331 * javax/swing/colorchooser/DefaultHSBChooserPanel.java
1332 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
1333 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
1334 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
1335 updateTrack): Now package-private.
1336 * javax/swing/TransferHandler.java (clipboard): Now
1338 * javax/swing/ToolTipManager.java (showTip, hideTip): Now
1340 * javax/swing/Timer.java (drainEvents, queueEvent): Now
1342 * javax/swing/RepaintManager.java (globalManager): Now
1344 * javax/swing/JFormattedTextField.java (editValid): Now
1346 * javax/swing/JColorChooser.java (makeModal): Now
1348 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
1349 index, path): Now package-private.
1350 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
1351 lineQuadIntersect, lineCubicIntersect, linesIntersect,
1352 pointEquals): Now package-private.
1353 * java/awt/geom/Arc2D.java (type): Now package-private.
1354 * java/awt/Window.java (windowFocusOwner): Now package-private.
1355 * java/awt/TextComponent.java (editable, selectionStart,
1356 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
1358 * java/awt/MenuItem.java (actionCommand, enabled, label): Now
1360 * java/awt/MenuComponent.java (focusListener): Now
1362 * java/awt/Frame.java (state): Now package-private.
1363 * java/awt/Choice.java (pItems): Now package-private.
1364 * java/awt/Checkbox.java (state): Now package-private.
1365 * java/awt/Button.java (actionCommand, label): Now
1367 * gnu/javax/swing/text/html/parser/support/Parser.java
1368 (attributes, _handleEndTag_remaining, _handleStartTag): Now
1370 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
1372 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
1373 clip, transform, font, comp): Now package-private.
1375 2005-04-26 Tom Tromey <tromey@redhat.com>
1377 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
1380 2005-04-26 Mark Wielaard <mark@klomp.org>
1382 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
1383 to MalformedURLException.
1385 2005-04-26 Michael Koch <konqueror@gmx.de>
1387 * java/security/AccessControlContext.java:
1389 (protectedDomains): Renamed from 'protectionDomain'.
1390 * java/security/AccessController.java:
1393 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1395 * gnu/java/security/action/GetSecurityPropertyAction.java
1396 (GetSecurityPropertyAction): Implement PrivilegedAction instead
1397 of extending GetPropertyAction.
1400 (setParamters): New methods.
1401 (GetSecurityPropertyAction): Use new setParameters methods.
1403 2005-04-26 Jeroen Frijters <jeroen@frijters.net>
1405 * java/security/Security.java,
1406 java/security/cert/X509CRLSelector.java,
1407 java/security/cert/X509CertSelector.java:
1408 Modified to use SystemProperties.
1410 2005-04-26 Michael Koch <konqueror@gmx.de>
1412 * java/lang/System.java
1413 (setSecurityManager): Fixed comment.
1414 (getSecurityManager): Removed obsolete comment.
1416 2005-04-25 Tom Tromey <tromey@redhat.com>
1418 * java/awt/AWTKeyStroke.java (vktable): Now package-private.
1420 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1423 (connectSignals): Realize the window widget after connecting
1426 2005-04-25 Jeroen Frijters <jeroen@frijters.net>
1428 * java/awt/GraphicsEnvironment.java
1429 (localGraphicsEnvironment): New field.
1430 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
1432 (isHeadless): Added support for java.awt.headless property.
1433 (isHeadlessInstance): Call headless().
1435 2005-04-25 Roman Kennke <roman@kennke.org>
1437 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
1438 (getDisplayMode): Added. Returns the current display mode.
1439 (isFullScreenSupported): Added.
1440 * java/awt/GraphicsDevice.java
1441 (setFullScreenWindow): Implemented a primitive fullscreen mode.
1442 This resizes and relocates the fullscreen window so that it uses
1443 the whole screen. This is not a fully accelerated fullscreen
1446 2005-04-25 Michael Koch <konqueror@gmx.de>
1448 * java/lang/Runtime.java,
1449 java/lang/SecurityManager.java,
1450 java/lang/System.java,
1451 java/lang/ThreadGroup.java:
1452 Replaced java.lang.Runtime.securityManager by
1453 java.lang.SecurityManager.current (as used in GNU classpath).
1455 2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
1457 * java/awt/Transparency.java
1458 (getTransparency): fixed API docs.
1460 2005-04-25 Archie Cobbs <archie@dellroad.org>
1462 * java/lang/Throwable.java: simplify initializing cause in constructor
1464 2005-04-25 Michael Koch <konqueror@gmx.de>
1466 * gnu/classpath/SystemProperties.java: New file.
1467 * gnu/classpath/natSystemProperties.cc: New file.
1468 * java/lang/Runtime.java
1469 (defaultProperties): Removed.
1471 (): Made thrown exceptions more verbose.
1472 (insertSystemProperties): Removed.
1473 * java/lang/System.java
1475 (properties): Likewise.
1476 (setSecurityManager): Reordered modifiers.
1477 (getenv): Improved javadoc.
1479 (isWordsBigEndian): Removed.
1480 * java/lang/natRuntime.cc
1481 (_Jv_SetDLLSearchPath): Likewise.
1482 (file_encoding): Likewise.
1483 (default_file_encoding): Likewise.
1484 (getpwuid_adaptor): Likewise.
1485 (insertSystemProperties): Likewise.
1486 * java/lang/natSystem.cc
1487 (isWordsBigEndian): Likewise.
1489 (ordinary_java_source_files):
1490 Added gnu/classpath/SystemProperties.java.
1491 (nat_source_files): Added gnu/classpath/natSystemProperties.cc.
1492 * Makefile.in: Regenerated.
1494 2005-04-25 Roman Kennke <roman@kennke.org>
1496 * javax/swing/plaf/basic/BasicScrollBarUI.java
1497 (initDefaults): Initialize thumb*Color fields correctly.
1499 2005-04-25 Roman Kennke <roman@kennke.org>
1501 * javax/swing/text/GapContent.java:
1504 2005-04-25 Roman Kennke <roman@kennke.org>
1506 * javax/swing/plaf/metal/MetalBorders.java:
1507 Added inner class ScrollPaneBorder.
1508 * javax/swing/plaf/metal/MetalLookAndFeel.java
1509 (initComponentDefaults): Added default for "ScrollPane.border"
1510 to use the new ScrollPaneBorder.
1512 2005-04-25 Roman Kennke <roman@kennke.org>
1514 * javax/swing/text/AbstractDocument.java:
1515 Added FIXME comments. This class still has to be
1516 implemented thread-safe.
1518 2005-04-25 Roman Kennke <roman@kennke.org>
1520 * javax/swing/tree/DefaultTreeSelectionModel.java
1521 (DefaultTreeSelectionModel): Initialize listenerList here.
1523 2005-04-25 Roman Kennke <roman@kennke.org>
1525 * javax/swing/plaf/metal/MetalTextFieldUI.java
1526 (createUI): Return one instance per Component instead of a
1529 2005-04-25 Roman Kennke <roman@kennke.org>
1531 * javax/swing/text/Document.java:
1532 Added API documentation comments.
1534 2005-04-25 Roman Kennke <roman@kennke.org>
1536 * javax/swing/text/AbstractDocument.java
1537 (getDocumentProperties): Implemented.
1538 (setDocumentProperties): Implemented.
1539 (getProperty): Implemented.
1540 (putProperty): Implemented.
1542 2005-04-25 Roman Kennke <roman@kennke.org>
1544 * javax/swing/BoxLayout
1545 (preferredLayoutSize): Fixed computation so that it correctly
1546 adds the top and bottom insets of the container.
1548 2005-04-25 Roman Kennke <roman@kennke.org>
1550 * javax/swing/plaf/basic/BasicMenuItemUI.java
1551 (paintText): Make use of the 'selectionForeground' UI default
1554 2005-04-25 Roman Kennke <roman@kennke.org>
1556 * javax/swing/plaf/basic/BasicLookAndFeel.java
1557 (initSystemColorDefaults): Modified colors to match the
1558 BasicLookAndFeel in the reference implementation.
1559 (initComponentDefaults): Likewise.
1561 2005-04-25 Tom Tromey <tromey@redhat.com>
1563 * include/jni.h (_Jv_va_list): Removed.
1564 Moved configuration code...
1565 * include/jni_md.h: ... here. New file.
1566 * include/Makefile.in: Rebuilt.
1567 * include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
1569 2005-04-23 Jeroen Frijters <jeroen@frijters.net>
1571 * java/io/FileInputStream.java (FileInputStream(File)),
1572 java/io/FileOutputStream.java (FileOutputStream(File)):
1573 Removed unnecessary File.isDirectory() check.
1575 2005-04-22 Bryce McKinlay <mckinlay@redhat.com>
1577 * testsuite/lib/libjava.exp (libjava_find_gij): Use $objdir/.. to find
1578 gij if get_multilibs fails.
1580 2005-04-22 Anthony Green <green@redhat.com>
1582 * jni.cc (natrehash): Don't bother clearing memory again.
1583 * interpret.cc (do_allocate_static_fields): Ditto.
1584 * java/lang/natString.cc (rehash): Ditto.
1586 2005-04-22 Roman Kennke <roman@kennke.org>
1588 * javax/swing/plaf/basic/BasicLookAndFeel.java
1589 (initComponentDefaults): Changed Button.border to be
1590 BasicBorders.getButtonBorder as it should be.
1592 2005-04-22 Roman Kennke <roman@kennke.org>
1594 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
1595 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it
1596 should according to a mauve testcase, instead of the preferred
1599 2005-04-22 Roman Kennke <roman@kennke.org>
1601 * javax/swing/JMenu.java
1602 (add): add(Component) now calls PopupMenu.insert(..) instead of
1603 PopupMenu.add(..). add(..) is not implemented for Component,
1604 so JComponent.add(..) is called instead, adding the component
1607 2005-04-22 Roman Kennke <roman@kennke.org>
1609 * javax/swing/plaf/basic/BasicButtonListener.java
1610 (mousePressed): replaced query to getModifiersEx with getModifiers.
1611 This method relied on faulty behaviour in getModifierEx.
1612 (mouseReleased): replaced query to getModifiersEx with getModifiers.
1613 This method relied on faulty behaviour in getModifierEx.
1615 2005-04-22 Roman Kennke <roman@kennke.org>
1617 * javax/swing/plaf/metal/MetalLookAndFeel.java
1618 (getDefaults): Call addCustomEntriesToTable on the theme.
1620 2005-04-22 Roman Kennke <roman@kennke.org>
1622 * javax/swing/tree/DefaultTreeSelectionModel.java
1623 (constructor): Added implementation.
1624 (getRowMapper): Added implementation.
1625 (setSelectionMode): Added implementation.
1626 (getSelectionMode): Added implementation.
1627 (getSelectionPath): Added implementation.
1628 (getSelectionPaths): Added implementation.
1629 (getSelectionCount): Added implementation.
1630 (isSelectionEmpty): Added implementation.
1631 (getSelectionRows): Added implementation.
1632 (getMinSelectionRow): Added implementation.
1633 (getMaxSelectionRow): Added implementation.
1634 (getLeadSelectionRow): Added implementation.
1635 (getLeadSelectionPath): Added implementation.
1637 2005-04-22 Casey Marshall <csm@gnu.org>
1639 * gnu/java/security/der/DERValue.java
1640 (getValueAs): new method.
1641 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java
1642 (<init>): read both dates with 'DERValue.getValueAs', with
1643 'GENERALIZED_TIME' as the argument.
1645 2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
1647 * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
1648 be null, check for that case and don't deference it.
1650 2005-04-22 Sven de Marothy <sven@physto.se>
1652 * java/util/logging/LogManager.java: Reformatted.
1653 (readConfiguration): If a logger for a key is not found, create one.
1655 2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1657 * java/rmi/Naming.java:
1658 Added class documentation.
1659 (lookup(String)): Call parseURL and getName.
1660 (bind(String,java.rmi.Remote)): Likewise.
1661 (unbind(String)): Likewise.
1662 (rebind(String, java.rmi.Remote)): Likewise.
1663 (list(String)): Call parseURL.
1664 (parseURL(String)): New method to handle parsing and defaults.
1665 (getName(java.net.URL)): New method to handle finding the service name.
1667 2005-04-21 Tom Tromey <tromey@redhat.com>
1669 * java/lang/natClass.cc (initializeClass): Link class.
1671 2005-04-21 Tom Tromey <tromey@redhat.com>
1673 * java/lang/AssertionError.java: Typo fix.
1675 2005-04-21 Tom Tromey <tromey@redhat.com>
1677 * java/lang/VMClassLoader.java (transformException): Removed.
1678 (resolveClass): No longer native. Now does nothing.
1679 * java/lang/natVMClassLoader.cc (resolveClass): Removed.
1681 2005-04-21 Anthony Green <green@redhat.com>
1684 * testsuite/libjava.special/special.exp,
1685 testsuite/libjava.special/pr21115I.java,
1686 testsuite/libjava.special/pr21115.java,
1687 testsuite/libjava.special/pr21115.out: New files.
1689 2005-04-21 Chris Burdess <dog@gnu.org>
1691 * gnu/java/net/CRLFInputStream.java: Rewrite to return
1692 CRLF-delimited chunks.
1694 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1696 * java/net/URI.java:
1697 Added class documentation.
1698 (parseURI(String)): Only handle scheme-specific parts
1699 if URI is not opaque. Allow for parts that can't be null.
1700 (toString()): Output the scheme-specific part whole, rather
1701 than as its possibly non-existent components.
1703 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1705 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp.
1706 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP):
1707 Adjusted to match new regexp.
1709 2005-04-20 Michael Koch <konqueror@gmx.de>
1711 * gnu/java/net/protocol/file/Connection.java,
1712 gnu/java/net/protocol/jar/Connection.java:
1713 Reorganized import statements. Fixed @author tags.
1715 2005-04-20 Chris Burdess <dog@gnu.org>
1717 * java/io/DataOutputStream.java (writeUTF): Use block write for
1720 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1722 * java/io/DataInputStream.java (ignoreInitialNewline): Removed
1723 (readLine): Changed newline handling.
1725 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1727 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
1728 ColorModel,byte[],int,int): Fixed byte to int conversion.
1730 2005-04-20 Michael Koch <konqueror@gmx.de>
1732 * java/io/FilePermission.java
1733 (serialVersionUID): Made private.
1734 (ALL_FILES): New constant.
1735 (implies): Handle '<<ALL FILES>>' case.
1737 2005-04-20 Sven de Marothy <sven@physto.se>
1739 * gnu/java/awt/peer/gtk/GdkGraphics.java:
1740 (drawImage): Don't notify the image observer for offscreen images.
1741 * gnu/java/awt/peer/gtk/GtkImagePainter.java:
1742 (setPixels): Don't notify the image observer.
1744 2005-04-20 Sven de Marothy <sven@physto.se>
1746 * java/nio/ByteBufferImpl.java:
1747 (putChar): Inlined for speed.
1748 (put, get): Bulk methods can use arraycopy.
1749 * java/nio/CharBufferImpl.java:
1750 (put, get): Bulk methods can use arraycopy.
1752 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1754 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks
1756 * java/nio/CharBufferImpl.java
1757 (CharBufferImpl(CharBufferImpl)): Copy array_offset field.
1758 (get(), put(char)): Inlined checks and field updates. Fixed to
1759 take array_offset into account.
1760 (get(int), put(int, char)): Fixed to take array_offset into account.
1762 2005-04-20 Sven de Marothy <sven@physto.se>
1764 * java/text/SimpleDateFormat.java:
1765 (formatWithAttribute): Pad year before truncating digits.
1767 2005-04-20 Michael Koch <konqueror@gmx.de>
1769 * gnu/java/net/PlainDatagramSocketImpl.java:
1770 Merged copyright header.
1771 * gnu/java/net/PlainSocketImpl.java:
1772 Reorganized import statements. Fixed @author tags.
1774 2005-04-20 Michael Koch <konqueror@gmx.de>
1776 * gnu/java/lang/ClassHelper.java,
1777 gnu/java/lang/reflect/TypeSignature.java:
1780 2005-04-20 Michael Koch <konqueror@gmx.de>
1782 * gnu/java/beans/IntrospectionIncubator.java:
1783 Fixed HTML tags in javadocs.
1785 2005-04-20 Jeroen Frijters <jeroen@frijters.net>
1787 * gnu/java/beans/IntrospectionIncubator.java
1788 (addToPropertyHash, addToListenerHash): Don't confuse get(),
1789 set(), is(), add() and remove() with properties or events.
1791 2005-04-20 Michael Koch <konqueror@gmx.de>
1793 * gnu/java/awt/image/XBMDecoder.java:
1794 Fixed modifier order.
1796 2005-04-20 Roman Kennke <roman@kennke.org>
1798 * javax/swing/plaf/basic/BasicButtonUI.java
1799 (paint): This should not care about margin and insets
1800 at the same time, as insets already include the margin
1802 * javax/swing/plaf/basic/BasicGraphicsUtils.java
1803 (getPreferredButtonSize): Likewise.
1804 * javax/swing/plaf/metal/MetalBorders.java
1805 (getBorderInsets): Likewise.
1807 2005-04-20 Roman Kennke <roman@kennke.org>
1809 * javax/swing/plaf/basic/BasicOptionPaneUI.java
1810 (createMessageArea): The JPanel that holds the message area
1811 doesn't need to override getPreferredSize. This prevents some
1812 message components from rendering nicely.
1814 2005-04-20 Roman Kennke <roman@kennke.org>
1816 * javax/swing/plaf/metal/MetalInternalFrameUI.java
1817 (createUI): Do not share instances between components.
1818 * javax/swing/plaf/metal/MetalSliderUI.java
1819 (createUI): Do not share instances between components.
1821 2005-04-20 Roman Kennke <roman@kennke.org>
1823 * javax/swing/plaf/metal/MetalBorders:
1824 (PopupMenuBorder): Added.
1825 * javax/swing/plaf/metal/MetalLookAndFeel
1826 (initComponentDefaults): Added PopupMenuBorder.
1828 2005-04-20 Roman Kennke <roman@kennke.org>
1830 * javax/swing/tree/DefaultTreeSelectionModel.java:
1831 Added API documentation all over the class.
1833 2005-04-20 Roman Kennke <roman@kennke.org>
1835 * javax/swing/plaf/basic/BasicScrollPaneUI.java
1836 (installDefaults): Link managed JScrollPane in instance field.
1837 (uninstallDefaults): Unlink managed JScrollPane in instance field.
1839 2005-04-20 Roman Kennke <roman@kennke.org>
1841 * javax/swing/plaf/basic/BasicScrollBarUI.java
1842 (PropertyChangeHandler.propertyChange): Add default
1843 to switch statement to avoid errors with unusual values
1845 (installComponents): Likewise.
1847 2005-04-20 Roman Kennke <roman@kennke.org>
1849 * javax/swing/plaf/metal/MetalScrollBarUI.java:
1850 (createUI): Instances cannot be shared among JScrollPanes.
1852 2005-04-20 Roman Kennke <roman@kennke.org>
1854 * javax/swing/plaf/metal/MetalLookAndFeel.java
1855 (initComponentDefaults): Added defaults for Menu, MenuBar
1858 2005-04-20 Roman Kennke <roman@kennke.org>
1860 * javax/swing/plaf/basic/BasicScrollBarUI.java
1861 (installUI): Install listeners after everything all, otherwise
1862 we get strange NPEs in some situations, especially with
1864 (createIncreaseButton): Orientation is expected to be
1865 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1866 HORIZONTAL or VERTICAL.
1867 (createDecreaseButton): Orientation is expected to be
1868 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1869 HORIZONTAL or VERTICAL.
1870 (installComponents): Orientation for buttons is expected to be
1871 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not
1872 HORIZONTAL or VERTICAL.
1874 2005-04-20 Roman Kennke <roman@kennke.org>
1876 * javax/swing/JToolBar.java
1877 (addImpl): Adjust added AbstractButtons to look and feel like
1879 * javax/swing/plaf/metal/MetalBorders.java:
1880 Adjusted insets of ButtonBorder.
1881 (RolloverMarginBorder): Added class for toolbar buttons.
1882 (getButtonBorder): Adjusted factory method to return a shared
1883 instance of button border.
1884 (getToolbarButtonBorder): Added factory method to return a shared
1885 instance of toolbar button border.
1886 (getMarginBorder): Added factory method to return a shared
1887 instance of margin border.
1888 * javax/swing/plaf/metal/MetalButtonUI.java
1889 (installDefauls): If button is child of a JToolBar then set
1890 special border on this button.
1892 2005-04-20 Michael Koch <konqueror@gmx.de>
1894 * java/net/URLConnection.java
1895 (getContent): Fixed javadoc comment.
1897 2005-04-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
1899 * java/net/URL.java:
1900 (toURI()): Implemented.
1902 2005-04-19 Michael Koch <konqueror@gmx.de>
1904 * java/net/InetAddress.java
1905 (InetAddress): Fixed javadoc comment.
1907 (lookup): Added javadoc.
1908 (getFamily): Likewise.
1909 * java/net/ServerSocket.java
1910 (getChannel): Improved javadoc comment.
1912 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1914 * gnu/xml/dom/html2/DomHTMLParser.java:
1915 Changed 'enum' references to become 'enumeration'.
1917 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1919 * gnu/xml/dom/html2/DomHTMLParser.java: New file.
1921 2005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
1923 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
1924 (getAttributeNames()): Replaced 'enum' with 'enumeration'.
1925 * gnu/javax/swing/text/html/parser/htmlValidator.java:
1926 (validateParameters(TagElement,htmlAttributeSet)):
1927 Replaced 'enum' with 'enumeration'.
1928 (validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
1931 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1933 * javax/swing/text/html/parser/Entity.java (getType): New method.
1934 * javax/swing/text/html/parser/DocumentParser.java:
1935 Inherit from javax.swing.text.html.parser.Parser.
1937 2005-04-19 Chris Burdess <dog@gnu.org>
1939 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
1940 check for HTML/XHTML namespace.
1942 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
1944 * javax/swing/text/html/parser/Parser.java,
1945 javax/swing/text/html/parser/Entity.java:
1946 Inheriting from DTDConstants.
1947 * javax/swing/text/html/parser/AttributeList.java
1948 (getValues): Changed return type.
1949 * javax/swing/text/html/parser/DocumentParser
1950 (parse): Adding the callback parameter that receives
1953 2005-04-19 Chris Burdess <dog@gnu.org>
1955 * gnu/xml/dom/DomImpl.java,
1956 gnu/xml/dom/html2/DomHTMLAnchorElement.java,
1957 gnu/xml/dom/html2/DomHTMLDocument.java,
1958 gnu/xml/dom/html2/DomHTMLElement.java,
1959 gnu/xml/dom/html2/DomHTMLFormElement.java,
1960 gnu/xml/dom/html2/DomHTMLFrameElement.java,
1961 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
1962 gnu/xml/dom/html2/DomHTMLImpl.java,
1963 gnu/xml/dom/html2/DomHTMLInputElement.java,
1964 gnu/xml/dom/html2/DomHTMLObjectElement.java,
1965 gnu/xml/dom/html2/DomHTMLOptionElement.java,
1966 gnu/xml/dom/html2/DomHTMLSelectElement.java,
1967 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
1968 gnu/xml/dom/html2/DomHTMLTableElement.java,
1969 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
1970 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
1971 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
1972 UI events, and tree utility functions.
1974 2005-04-19 Michael Koch <konqueror@gmx.de>
1976 * gnu/javax/swing/text/html/parser/HTML_401F.java,
1977 gnu/javax/swing/text/html/parser/gnuDTD.java,
1978 gnu/javax/swing/text/html/parser/models/node.java:
1979 Reworked import statements.
1981 2005-04-19 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org>
1983 * javax/swing/text/html/HTMLDocument.java: New file.
1985 2005-04-19 Michael Koch <konqueror@gmx.de>
1987 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
1989 * javax/swing/text/html/parser/AttributeList.java:
1990 Fixed order of modifiers.
1991 (AttributeList): Made final.
1992 * javax/swing/text/html/parser/ContentModel.java:
1993 Fixed html characters in javadocs.
1994 * javax/swing/text/html/parser/DTD.java
1995 (DTD): Don't implement java.io.Serializable directly.
1996 (getElement): Simplified.
1997 * javax/swing/text/html/parser/DTDConstants.java:
1999 * javax/swing/text/html/parser/Element.java:
2000 Fixed order of modifiers.
2001 * javax/swing/text/html/parser/Parser.java:
2002 Reformatted. Don't use fully-qualified class names.
2003 * javax/swing/text/html/parser/ParserDelegator.java:
2004 Fixed order of modifiers.
2005 * javax/swing/text/rtf/RTFParser.java:
2006 Re-ordered import statements.
2007 * javax/swing/text/rtf/RTFScanner.java:
2008 Removed unused import statement.
2010 2005-04-19 Chris Burdess <dog@gnu.org>
2012 * gnu/xml/dom/html2/DomHTMLButtonElement.java,
2013 gnu/xml/dom/html2/DomHTMLCollection.java,
2014 gnu/xml/dom/html2/DomHTMLDocument.java,
2015 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
2017 * gnu/xml/dom/html2/DomHTMLDListElement.java,
2018 gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
2019 gnu/xml/dom/html2/DomHTMLDivElement.java,
2020 gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
2021 gnu/xml/dom/html2/DomHTMLFontElement.java,
2022 gnu/xml/dom/html2/DomHTMLFormElement.java,
2023 gnu/xml/dom/html2/DomHTMLFrameElement.java,
2024 gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
2025 gnu/xml/dom/html2/DomHTMLHRElement.java,
2026 gnu/xml/dom/html2/DomHTMLHeadElement.java,
2027 gnu/xml/dom/html2/DomHTMLHeadingElement.java,
2028 gnu/xml/dom/html2/DomHTMLHtmlElement.java,
2029 gnu/xml/dom/html2/DomHTMLIFrameElement.java,
2030 gnu/xml/dom/html2/DomHTMLImageElement.java,
2031 gnu/xml/dom/html2/DomHTMLInputElement.java,
2032 gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
2033 gnu/xml/dom/html2/DomHTMLLIElement.java,
2034 gnu/xml/dom/html2/DomHTMLLabelElement.java,
2035 gnu/xml/dom/html2/DomHTMLLegendElement.java,
2036 gnu/xml/dom/html2/DomHTMLLinkElement.java,
2037 gnu/xml/dom/html2/DomHTMLMapElement.java,
2038 gnu/xml/dom/html2/DomHTMLMenuElement.java,
2039 gnu/xml/dom/html2/DomHTMLMetaElement.java,
2040 gnu/xml/dom/html2/DomHTMLModElement.java,
2041 gnu/xml/dom/html2/DomHTMLOListElement.java,
2042 gnu/xml/dom/html2/DomHTMLObjectElement.java,
2043 gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
2044 gnu/xml/dom/html2/DomHTMLOptionElement.java,
2045 gnu/xml/dom/html2/DomHTMLParagraphElement.java,
2046 gnu/xml/dom/html2/DomHTMLParamElement.java,
2047 gnu/xml/dom/html2/DomHTMLPreElement.java,
2048 gnu/xml/dom/html2/DomHTMLQuoteElement.java,
2049 gnu/xml/dom/html2/DomHTMLScriptElement.java,
2050 gnu/xml/dom/html2/DomHTMLSelectElement.java,
2051 gnu/xml/dom/html2/DomHTMLStyleElement.java,
2052 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
2053 gnu/xml/dom/html2/DomHTMLTableCellElement.java,
2054 gnu/xml/dom/html2/DomHTMLTableColElement.java,
2055 gnu/xml/dom/html2/DomHTMLTableElement.java,
2056 gnu/xml/dom/html2/DomHTMLTableRowElement.java,
2057 gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
2058 gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
2059 gnu/xml/dom/html2/DomHTMLTitleElement.java,
2060 gnu/xml/dom/html2/DomHTMLUListElement.java: New files.
2062 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2064 * javax/swing/text/ChangedCharSetException.java,
2065 javax/swing/text/html/HTMLEditorKit.java,
2066 javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
2067 javax/swing/text/html/parser/AttributeList.java,
2068 javax/swing/text/html/parser/ContentModel.java,
2069 javax/swing/text/html/parser/DocumentParser.java,
2070 javax/swing/text/html/parser/DTD.java,
2071 javax/swing/text/html/parser/DTDConstants.java,
2072 javax/swing/text/html/parser/Element.java,
2073 javax/swing/text/html/parser/Entity.java,
2074 javax/swing/text/html/parser/Parser.java,
2075 javax/swing/text/html/parser/TagElement.java,
2076 gnu/javax/swing/text/html/package.html,
2077 gnu/javax/swing/text/html/parser/gnuDTD.java,
2078 gnu/javax/swing/text/html/parser/HTML_401F.java,
2079 gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
2080 gnu/javax/swing/text/html/parser/htmlValidator.java,
2081 gnu/javax/swing/text/html/parser/package.html,
2082 gnu/javax/swing/text/html/parser/models/list.java,
2083 gnu/javax/swing/text/html/parser/models/node.java,
2084 gnu/javax/swing/text/html/parser/models/noTagModel.java,
2085 gnu/javax/swing/text/html/parser/models/package.html,
2086 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
2087 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
2088 gnu/javax/swing/text/html/parser/models/transformer.java,
2089 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
2090 gnu/javax/swing/text/html/parser/support/package.html,
2091 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
2092 gnu/javax/swing/text/html/parser/support/Parser.java,
2093 gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
2094 gnu/javax/swing/text/html/parser/support/low/Buffer.java,
2095 gnu/javax/swing/text/html/parser/support/low/Constants.java,
2096 gnu/javax/swing/text/html/parser/support/low/Location.java,
2097 gnu/javax/swing/text/html/parser/support/low/node.java,
2098 gnu/javax/swing/text/html/parser/support/low/package.html,
2099 gnu/javax/swing/text/html/parser/support/low/ParseException.java,
2100 gnu/javax/swing/text/html/parser/support/low/pattern.java,
2101 gnu/javax/swing/text/html/parser/support/low/Queue.java,
2102 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
2104 * javax/swing/text/html/HTML.java,
2105 javax/swing/text/html/parser/ParserDelegator.java:
2106 New files (replacing).
2107 * javax/swing/text/html/package.html,
2108 javax/swing/text/html/parser/package.html: Documenting the
2111 2005-04-19 Chris Burdess <dog@gnu.org>
2113 * gnu/xml/dom/html2/DomHTMLAnchorElement.java,
2114 gnu/xml/dom/html2/DomHTMLAppletElement.java,
2115 gnu/xml/dom/html2/DomHTMLAreaElement.java,
2116 gnu/xml/dom/html2/DomHTMLBaseElement.java,
2117 gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
2118 gnu/xml/dom/html2/DomHTMLBodyElement.java,
2119 gnu/xml/dom/html2/DomHTMLBRElement.java,
2120 gnu/xml/dom/html2/DomHTMLButtonElement.java,
2121 gnu/xml/dom/html2/DomHTMLCollection.java,
2122 gnu/xml/dom/html2/DomHTMLDocument.java,
2123 gnu/xml/dom/html2/DomHTMLElement.java: New files.
2125 2005-04-19 Michael Koch <konqueror@gmx.de>
2127 * Makefile.am: Added new files.
2128 * Makefile.in: Regenerated.
2130 2005-04-19 Roman Kennke <roman@kennke.org>
2132 * javax/swing/text/JTextComponent.java
2133 (JTextComponent): Added repaintListener which issues repaint
2134 requests when the underlying document changes.
2135 (setDocument): Adds repaintListener to document when the
2136 document is changed.
2137 * javax/swing/text/DefaultEditorKit.java:
2138 Removed repaint calls on JTextComponent. This is now handled
2139 through a DocumentListener in JTextComponent that repaints
2140 the component when needed.
2142 2005-04-19 Roman Kennke <roman@kennke.org>
2145 * javax/swing/text/StyleContext.java
2146 (NamedStyle.setResolveParent): Added null
2149 2005-04-19 Michael Koch <konqueror@gmx.de>
2151 * java/rmi/server/RemoteObject.java:
2152 Removed unused import statement.
2154 2005-04-19 Michael Koch <konqueror@gmx.de>
2156 * java/net/URL.java: Formatting cleanups.
2158 2005-04-19 Michael Koch <konqueror@gmx.de>
2160 * java/awt/FontMetrics.java: Reformatted.
2161 (getFontRenderContext): Handle case when java.awt.Graphics context is
2164 2005-04-19 Michael Koch <konqueror@gmx.de>
2166 * java/awt/FontMetrics.java
2167 (getStringBounds): New methods.
2170 2005-04-19 Michael Koch <konqueror@gmx.de>
2172 * gnu/java/security/x509/X509Certificate.java
2173 (parse): Handle val == null case.
2175 2005-04-19 Roman Kennke <roman@kennke.org>
2177 * javax/swing/plaf/metal/MetalLookAndFeel.java
2178 (initComponentDefaults): Added defaults for Menu, MenuBar
2181 2005-04-19 Roman Kennke <roman@kennke.org>
2183 * javax/swing/plaf/metal/MetalLookAndFeel.java
2184 (initComponentDefaults): Added Label.font.
2185 (initSystemColorDefaults): Added this method and adjusted the
2186 general control color.
2188 2005-04-19 Roman Kennke <roman@kennke.org>
2190 * javax/swing/plaf/metal/MetalBorders.java:
2192 * javax/swing/plaf/metal/MetalButtonUI.java:
2193 (installDefaults): Install button font.
2194 * javax/swing/plaf/metal/MetalLookAndFeel.java:
2195 (initComponentDefaults): Added button border, font and margin.
2196 Changed components background color to the Metal current themes
2199 2005-04-19 Roman Kennke <roman@kennke.org>
2201 * javax/swing/plaf/metal/MetalLookAndFeel.java
2202 (initComponentDefaults): Added to set Metal specific component
2205 2005-04-19 Mark Wielaard <mark@klomp.org>
2207 * javax/swing/plaf/metal/MetalLookAndFeel.java
2208 (initClassDefaults): Call super.initClassDefaults().
2210 2005-04-19 Roman Kennke <roman@kennke.org>
2212 * javax/swing/plaf/metal/MetalLookAndFeel.java
2213 (initClassDefaults): Added to include the *UI classes.
2215 2005-04-19 Roman Kennke <roman@kennke.org>
2217 * javax/swing/plaf/metal/MetalComboBoxUI.java:
2219 * javax/swing/plaf/metal/MetalDesktopIconUI.java:
2221 * javax/swing/plaf/metal/MetalInternalFrameUI.java:
2223 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
2225 * javax/swing/plaf/metal/MetalProgressBarUI.java:
2227 * javax/swing/plaf/metal/MetalRootPaneUI.java:
2229 * javax/swing/plaf/metal/MetalScrollBarUI.java:
2231 * javax/swing/plaf/metal/MetalSeparatorUI.java:
2233 * javax/swing/plaf/metal/MetalSliderUI.java:
2235 * javax/swing/plaf/metal/MetalSplitPaneUI.java:
2237 * javax/swing/plaf/metal/MetalTextFieldUI.java:
2239 * javax/swing/plaf/metal/MetalToggleButtonUI.java:
2241 2005-04-19 Roman Kennke <roman@kennke.org>
2243 * javax/swing/plaf/metal/MetalButtonUI.java:
2244 Added skeleton class.
2245 * javax/swing/plaf/metal/MetalCheckBoxUI.java:
2246 Added skeleton class.
2247 * javax/swing/plaf/metal/MetalLabelUI.java:
2248 Added skeleton class.
2249 * javax/swing/plaf/metal/MetalRadioButtonUI.java:
2250 Added skeleton class.
2251 * javax/swing/plaf/metal/MetalScrollPaneUI.java:
2252 Added skeleton class.
2253 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
2254 Added skeleton class.
2256 2005-04-19 Roman Kennke <roman@kennke.org>
2258 * javax/swing/UIDefaults.java:
2259 Added API documentation for all methods.
2261 2005-04-19 Roman Kennke <roman@kennke.org>
2263 * javax/swing/UIDefaults.java
2264 (put): Now uses new checkAndPut method instead of checking
2266 (putDefaults): Fixed so that it accepts null-values and
2267 treats them like remove(key).
2268 (checkAndPut): Added. This checks for null-values and calls
2271 2005-04-19 Michael Koch <konqueror@gmx.de>
2273 * Makefile.am: Added new files.
2274 * Makefile.in: Regenerated.
2276 2005-04-19 Mark Wielaard <mark@klomp.org>
2278 * java/lang/natRuntime.cc (insertSystemProperties): Set
2279 java.class.path to CLASSPATH only when not empty. Fall back to
2280 default path "." when java.class.path is empty.
2282 2005-04-19 Michael Koch <konqueror@gmx.de>
2284 * javax/swing/text/rtf/ControlWordToken.java,
2285 javax/swing/text/rtf/RTFEditorKit.java,
2286 javax/swing/text/rtf/RTFParseException.java,
2287 javax/swing/text/rtf/RTFParser.java,
2288 javax/swing/text/rtf/RTFScanner.java,
2289 javax/swing/text/rtf/TextToken.java,
2290 javax/swing/text/rtf/Token.java: New files.
2291 * Makefile.am: Added new files.
2292 * Makefile.in: Regenerated.
2294 2005-04-19 Michael Koch <konqueror@gmx.de>
2296 * java/awt/geom/QuadCurve2D.java:
2297 Fixed Brian Gough's name for real.
2299 2005-04-19 Roman Kennke <roman@kennke.org>
2301 * javax/swing/UIManager.java:
2302 Make the UIManager respect the swing.defaultlaf system
2305 2005-04-19 Tom Tromey <tromey@redhat.com>
2307 * java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
2310 2005-04-19 Roman Kennke <roman@kennke.org>
2312 * javax/swing/plaf/basic/BasicMenuBarUI.java:
2313 Fixed tabs to spaces.
2315 2005-04-19 Roman Kennke <roman@kennke.org>
2317 * javax/swing/plaf/basic/BasicMenuUI.java
2318 (getMaximumSize): Now returns preferredSize because JMenu should
2319 never be bigger than that.
2320 * javax/swing/JRootPane
2321 (RootLayout.layoutContainer): Make JMenuBars take the whole width.
2323 2005-04-19 Roman Kennke <roman@kennke.org>
2325 * javax/swing/JRootPane.java:
2326 Fixed various tabs to be spaces.
2327 (RootLayout.layoutContainer): Made menubar left aligned.
2329 2005-04-19 Roman Kennke <roman@ontographics.com>
2331 * javax/swing/JList.java
2332 (getPreferredScrollableViewportSize):
2333 The previous implementation was merely guessing the size,
2334 now it respects layoutOrientation, visibleRowCount
2336 (getScrollableTracksViewportHeight):
2337 Reimplemented so that layoutOrientation, visibleRowCount
2338 and preferred size are respected.
2339 (getScrollableTracksViewportWidth):
2340 Reimplemented so that layoutOrientation, visibleRowCount
2341 and preferred size are respected.
2342 * javax/swing/plaf/basic/BasicListUI.java
2344 Improved calculation of preferredSize when JList is
2345 set to HORIZONTAL_WRAP or VERTICAL_WRAP.
2347 The previous implementation assumed a layoutOrientation of
2348 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
2349 JList.VERTICAL_WRAP.
2351 2005-04-19 Roman Kennke <roman@ontographics.com>
2353 * javax/swing/plaf/basic/BasicListUI.java
2354 (paintCell): use CellRendererPane for painting the cells.
2356 2005-04-19 Roman Kennke <roman@ontographics.com>
2358 * javax/swing/plaf/basic/BasicListUI:
2359 fixed modifiers of several fields, methods and inner
2360 classes to match the 'spec'.
2361 (getMaximumSize): removed. It's not in the spec and the
2362 implementations was superfluous.
2364 2005-04-19 Roman Kennke <roman@ontographics.com>
2366 * javax/swing/plaf/basic/BasicListUI:
2367 make BasicListUI capable of wrapping lists
2368 (layoutOrientation property of javax.swing.JList)
2370 2005-04-19 Roman Kennke <roman@ontographics.com>
2372 * javax/swing/plaf/basic/BasicListUI
2373 (updateLayoutState,paint): make BasicListUI aware of the
2374 width of the rendered JList.
2376 2005-04-19 Roman Kennke <roman@kennke.org>
2378 * javax/swing/ImageIcon.java
2379 Added API documentation.
2381 2005-04-19 Roman Kennke <roman@kennke.org>
2383 * javax/swing/text/ImageIcon.java
2384 (ImageIcon): Use setImage instead of direct assignment.
2385 (setImage): Call loadImage to make sure that the image is loaded.
2386 (loadImage): Waits for the image to complete loading.
2387 (getImageLoadStatus): Added. Returns the load status of the
2390 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2392 * javax/swing/JTextArea.java (replaceRange):
2393 Fixing doc.remove(start, length) misinterpretation.
2395 2005-04-19 Roman Kennke <roman@ontographics.com>
2397 * javax/swing/CellRendererPane.java:
2398 implemented all methods of this class.
2399 reformatted all wrong formatted code.
2401 2005-04-19 Roman Kennke <roman@kennke.org>
2403 * javax/swing/BoxLayout.java:
2404 (layoutContainer): Made this layout manager respect the
2405 minimum, maximum and preferred size more correctly.
2407 2005-04-19 Roman Kennke <roman@ontographics.com>
2409 * javax/swing/BoxLayout.java:
2410 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
2411 layoutContainer): Make these methods and thereby the
2412 BoxLayout respect the insets (like borders) of the
2413 component that is laid out.
2415 2005-04-19 Roman Kennke <roman@kennke.org>
2417 * javax/swing/JComponent.java:
2418 Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
2419 Untabified the file.
2421 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
2423 * javax/swing/JComboBox.java (constructors): selecting the
2424 first item if the box was constructed from the provided
2425 non - empty array or vector.
2427 2005-04-19 Michael Koch <konqueror@gmx.de>
2429 * gnu/java/awt/peer/gtk/GdkGraphics.java
2430 (getClipBounds): Handle clip being null.
2431 (setClip): Likewise.
2432 * java/beans/beancontext/BeanContextSupport.java
2436 (removeAll): Likewise.
2437 (retainAll): Likewise.
2439 2005-04-19 Michael Koch <konqueror@gmx.de>
2441 * java/beans/beancontext/BeanContextServicesSupport.java
2442 (BeanContextServicesSupport): Reimplemented.
2443 (addBeanContextServicesListener): Implemented.
2444 (initialize): Likewise.
2445 (removeBeanContextServicesListener): Likewise.
2446 * java/beans/beancontext/BeanContextSupport.java
2448 (addBeanContextMembershipListener): Likewise.
2449 (getLocale): Likewise.
2450 (initialize): Likewise.
2451 (iterator): Likewise.
2453 (toArray): Likewise.
2455 2005-04-19 Roman Kennke <roman@kennke.org>
2457 * java/awt/MediaTracker.java:
2458 Reindented tabs to spaces.
2460 2005-04-19 Roman Kennke <roman@kennke.org>
2462 * java/awt/MediaTracker.java
2463 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this
2464 confused the media tracker and lead to lockups. The LOADING
2465 bit is handled on other places.
2466 (addImage): Removed the 'start image tracking' stuff. This
2467 is not necessary and could confuse the media tracker.
2468 (checkAll): Improved the check for image status so that
2469 images that already complete images are detected. Also now
2470 are really all images checked and if necessary loaded. Before
2471 the method bailed out after the first incomplete image.
2472 (statusAll): Detect images that are complete after the
2473 call to Component.prepareImage(..).
2474 (checkID): The same as in checkAll.
2475 (statusID): The same as in statusAll.
2477 2005-04-19 Roman Kennke <roman@kennke.org>
2479 * java/awt/MediaTracker.java
2480 (addImage): Synchronized list access.
2481 (waitForAll): Fixed comparison of time (changed < to >).
2482 (waitForID): Fixed comparison of time (changed < to >).
2483 (removeImage): Synchronized list access.
2485 2005-04-19 Roman Kennke <roman@kennke.org>
2487 * java/awt/MediaTracker.java
2488 Added API documentation.
2490 2005-04-19 Roman Kennke <roman@kennke.org>
2492 * java/awt/MediaTracker.java
2493 (MediaEntry.imageUpdate): Fixed flags. The different flags
2494 must not be ORed together.
2495 (checkAll): Modified to handle different meaning of the flags.
2496 (waitForAll): Fixed so that it waits maximum the
2497 specified amount of milliseconds.
2498 (statusAll): Modified to handle different meaning of the flags.
2499 (waitForID): Fixed so that it waits maximum the
2500 specified amount of milliseconds.
2502 2005-04-19 vid Gilbert <david.gilbert@object-refinery.com>
2504 * java/awt/Font.java (decode): Handle null argument and allow
2507 2005-04-19 Robert Schuster <thebohemian@gmx.net>
2509 * java/beans/EventHandler.java: Reworked documentation.
2510 (invoke): Fixed behavior to match spec.
2512 2005-04-19 Michael Koch <konqueror@gmx.de>
2514 * java/awt/print/PrinterJob.java
2515 (pageDialog): New method.
2516 (printDialog): Implemented.
2518 2005-04-19 Michael Koch <konqueror@gmx.de>
2520 * java/awt/image/ConvolveOp.java:
2521 Removed comment added by eclipse.
2523 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
2525 * java/awt/image/IndexColorModel.java
2526 (getRGB): Check if pixel is negative.
2528 2005-04-19 Michael Koch <konqueror@gmx.de>
2530 * java/awt/image/RasterOp.java:
2531 Fixed wrong formatting.
2533 2005-04-18 Roman Kennke <roman@kennke.org>
2535 * java/awt/Compmonent.java
2536 (setComponentOrientation): Made this property firing a
2537 PropertyChangeEvent.
2539 2005-04-18 Roman Kennke <roman@kennke.org>
2541 * java/awt/BorderLayout.java
2542 (calcSize): Check for overflow when component sizes are added.
2544 2005-04-18 Robert Schuster <thebohemian@gmx.net>
2546 * java/awt/AWTEvent.java (toString): Added case
2547 for source not being an AWT component.
2549 2005-04-18 Chris Burdess <dog@gnu.org>
2551 * gnu/java/net/BASE64.java: Truncate encoded byte array.
2553 2005-04-18 Michael Koch <konqueror@gmx.de>
2555 gnu/java/awt/EmbeddedWindowSupport.java,
2556 gnu/java/net/HeaderFieldHelper.java,
2557 gnu/java/net/URLParseError.java,
2558 gnu/java/net/protocol/file/Handler.java,
2559 gnu/java/net/protocol/jar/Handler.java:
2560 Fixed usage of @author tag.
2562 2005-04-18 Michael Koch <konqueror@gmx.de>
2564 * gnu/xml/aelfred2/XmlParser.java:
2565 Reverted my typo fix.
2567 2005-04-18 Michael Koch <konqueror@gmx.de>
2569 * java/awt/geom/CubicCurve2D.java,
2570 java/awt/geom/QuadCurve2D.java:
2571 Fixed mentioning of Brian Gouph.
2573 2005-04-18 Michael Koch <konqueror@gmx.de>
2575 * gnu/java/awt/Buffers.java,
2576 gnu/java/awt/image/ImageDecoder.java,
2577 gnu/java/awt/image/XBMDecoder.java,
2578 gnu/java/awt/peer/ClasspathFontPeer.java,
2579 gnu/java/net/CRLFInputStream.java,
2580 gnu/java/net/EmptyX509TrustManager.java,
2581 gnu/java/net/LineInputStream.java,
2582 gnu/java/net/protocol/ftp/ActiveModeDTP.java,
2583 gnu/java/net/protocol/ftp/BlockInputStream.java,
2584 gnu/java/net/protocol/ftp/CompressedInputStream.java,
2585 gnu/java/net/protocol/ftp/DTP.java,
2586 gnu/java/net/protocol/ftp/DTPInputStream.java,
2587 gnu/java/net/protocol/ftp/FTPConnection.java,
2588 gnu/java/net/protocol/ftp/FTPURLConnection.java,
2589 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
2590 gnu/java/net/protocol/ftp/StreamInputStream.java,
2591 gnu/java/net/protocol/http/ChunkedInputStream.java,
2592 gnu/java/net/protocol/http/HTTPConnection.java,
2593 gnu/java/net/protocol/http/HTTPURLConnection.java,
2594 gnu/java/net/protocol/http/Headers.java,
2595 gnu/java/net/protocol/http/Request.java,
2596 gnu/java/nio/ChannelInputStream.java,
2597 gnu/java/nio/ChannelOutputStream.java,
2598 gnu/java/nio/InputStreamChannel.java,
2599 gnu/java/nio/OutputStreamChannel.java,
2600 gnu/java/nio/SelectorProviderImpl.java,
2601 gnu/java/rmi/RMIMarshalledObjectInputStream.java,
2602 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
2603 gnu/java/rmi/dgc/DGCImpl.java,
2604 gnu/java/rmi/registry/RegistryImpl.java,
2605 gnu/java/rmi/server/ProtocolConstants.java,
2606 gnu/java/rmi/server/RMIDefaultSocketFactory.java,
2607 gnu/java/rmi/server/RMIIncomingThread.java,
2608 gnu/java/rmi/server/RMIObjectInputStream.java,
2609 gnu/java/rmi/server/RMIObjectOutputStream.java,
2610 gnu/java/rmi/server/RMIVoidValue.java,
2611 gnu/java/rmi/server/UnicastConnectionManager.java,
2612 gnu/java/rmi/server/UnicastRef.java,
2613 gnu/java/rmi/server/UnicastRemoteCall.java,
2614 gnu/java/rmi/server/UnicastRemoteStub.java,
2615 gnu/java/rmi/server/UnicastServerRef.java,
2616 gnu/java/security/OID.java,
2617 gnu/java/security/der/DERReader.java,
2618 gnu/java/security/provider/CollectionCertStoreImpl.java,
2619 gnu/java/security/provider/DSAParameterGenerator.java,
2620 gnu/java/security/provider/DefaultPolicy.java,
2621 gnu/java/security/provider/EncodedKeyFactory.java,
2622 gnu/java/security/provider/GnuDHPublicKey.java,
2623 gnu/java/security/provider/GnuDSAPrivateKey.java,
2624 gnu/java/security/provider/GnuDSAPublicKey.java,
2625 gnu/java/security/provider/GnuRSAPrivateKey.java,
2626 gnu/java/security/provider/GnuRSAPublicKey.java,
2627 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
2628 gnu/java/security/provider/RSA.java,
2629 gnu/java/security/provider/SHA1PRNG.java,
2630 gnu/java/security/provider/SHA1withRSA.java,
2631 gnu/java/security/provider/X509CertificateFactory.java,
2632 gnu/java/security/x509/GnuPKIExtension.java,
2633 gnu/java/security/x509/X500DistinguishedName.java,
2634 gnu/java/security/x509/X509CRL.java,
2635 gnu/java/security/x509/X509CRLEntry.java,
2636 gnu/java/security/x509/X509CertPath.java,
2637 gnu/java/security/x509/X509CertSelectorImpl.java,
2638 gnu/java/security/x509/X509Certificate.java,
2639 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
2640 gnu/java/security/x509/ext/BasicConstraints.java,
2641 gnu/java/security/x509/ext/CRLNumber.java,
2642 gnu/java/security/x509/ext/CertificatePolicies.java,
2643 gnu/java/security/x509/ext/ExtendedKeyUsage.java,
2644 gnu/java/security/x509/ext/Extension.java,
2645 gnu/java/security/x509/ext/GeneralNames.java,
2646 gnu/java/security/x509/ext/IssuerAlternativeNames.java,
2647 gnu/java/security/x509/ext/KeyUsage.java,
2648 gnu/java/security/x509/ext/PolicyConstraint.java,
2649 gnu/java/security/x509/ext/PolicyMappings.java,
2650 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
2651 gnu/java/security/x509/ext/ReasonCode.java,
2652 gnu/java/security/x509/ext/SubjectAlternativeNames.java,
2653 gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
2654 Reorganized import statements.
2656 2005-04-18 Michael Koch <konqueror@gmx.de>
2658 * gnu/java/awt/color/CieXyzConverter.java,
2659 gnu/java/awt/color/ClutProfileConverter.java,
2660 gnu/java/awt/color/ColorLookUpTable.java,
2661 gnu/java/awt/color/ColorSpaceConverter.java,
2662 gnu/java/awt/color/GrayProfileConverter.java,
2663 gnu/java/awt/color/GrayScaleConverter.java,
2664 gnu/java/awt/color/LinearRGBConverter.java,
2665 gnu/java/awt/color/ProfileHeader.java,
2666 gnu/java/awt/color/PyccConverter.java,
2667 gnu/java/awt/color/RgbProfileConverter.java,
2668 gnu/java/awt/color/SrgbConverter.java,
2669 gnu/java/awt/color/TagEntry.java,
2670 gnu/java/awt/color/ToneReproductionCurve.java:
2671 Standardized file headers.
2673 2005-04-16 Tom Tromey <tromey@redhat.com>
2675 * gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
2676 'ANY' package-private.
2678 2005-04-15 Tom Tromey <tromey@redhat.com>
2680 * Makefile.in: Rebuilt.
2681 * Makefile.am (libgij_la_LIBADD): Moved SAX and DOM...
2682 (libgcj0_convenience_la_LIBADD): ... here.
2684 2005-04-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2686 * gij.cc (version): Properly quote java version.
2687 (main): Fix typo in comment.
2689 2005-04-13 Mark Wielaard <mark@klomp.org>
2691 * java/lang/natRuntime.cc (insertSystemProperties): Set
2692 java.class.path to CLASSPATH if not already set.
2694 2005-04-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2696 * prims.cc (parse_verbose_args): Fix verbose argument parsing.
2698 2005-04-12 Mike Stump <mrs@apple.com>
2700 * configure: Regenerate.
2702 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2705 * gnu/gcj/runtime/PersistentByteMap.java (close): Throw IOException.
2706 * gnu/gcj/tools/gcj_dbtool/Main.java (addJar): Make 'length' an int.
2708 2005-04-12 Aaron Luchko <aluchko@redhat.com>
2711 * scripts/TexinfoDoclet.java: Removed.
2712 * Makefile.am (texinfo): Removed.
2713 * Makefile.in: Regenerated.
2715 2005-04-11 Michael Koch <konqueror@gmx.de>
2717 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter):
2718 Fixed wrong casting.
2720 2005-04-06 Andrew Haley <aph@redhat.com>
2722 * testsuite/libjava.lang/bytearray.java: New file.
2723 * testsuite/libjava.lang/bytearray.out: New file.
2724 * java/lang/ClassLoader.java (loadClassFromSig): Declare
2725 (loadClass): Use it.
2726 * java/lang/natClassLoader.cc (loadClassFromSig): New method.
2728 2005-04-06 Mohan Embar <gnustuff@thisiscool.com>
2730 * Makefile.am ($(db_name)): Add $(EXEEXT) suffix to
2731 gcj-dbtool dependency
2732 * Makefile.in: Regenerated
2734 2005-04-06 Bryce McKinlay <mckinlay@redhat.com>
2736 * java/util/logging/natLogger.cc (getCallerStackFrame): Don't crash on
2737 NULL klass and meth values from _Jv_StackTrace::GetCallerInfo().
2739 2005-04-05 Andrew Haley <aph@redhat.com>
2741 * gnu/gcj/tools/gcj_dbtool/Main.java (Fileset): New class.
2742 (Tokenizer): New class.
2743 (getFiles): New method.
2744 (main): Add "-" argument.
2746 Read list of files from stdin when merging map databases.
2747 (usage): Add "-" argument.
2751 2005-04-05 Thomas Fitzsimmons <fitzsim@redhat.com>
2754 * Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
2755 * Makefile.in: Regenerate.
2756 * configure.ac: Add --with-java-home option.
2757 * configure: Regenerate.
2758 * external/Makefile.in: Regenerate.
2759 * external/sax/Makefile.in: Regenerate.
2760 * external/w3c_dom/Makefile.in: Regenerate.
2761 * gcj/Makefile.in: Regenerate.
2762 * include/Makefile.in: Regenerate.
2763 * testsuite/Makefile.in: Regenerate.
2764 * java/lang/natRuntime.cc (insertSystemProperties): Set java.home
2767 2005-04-05 Tom Tromey <tromey@redhat.com>
2769 * jni.cc (_Jv_JNI_GetAnyFieldID): Throw ClassNotFoundException.
2770 * java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature):
2771 Rewrote to use _Jv_FindClassFromSignature.
2772 * verify.cc (resolve): throw NoClassDefFoundError.
2773 * link.cc (resolve_field): Throw NoClassDefFoundError.
2774 (find_field): Likewise.
2775 * prims.cc (_Jv_FindClassFromSignature): Removed recursion.
2776 Handle error cases. Added 'endp' argument.
2777 * include/jvm.h (_Jv_FindClassFromSignature): Updated prototype.
2779 2005-04-05 Tom Tromey <tromey@redhat.com>
2781 * Makefile.in: Rebuilt.
2782 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): Removed
2783 gtk_awt_peer_sources.
2784 (lib_gnu_java_awt_peer_gtk_la_LIBADD): Added gtk-awt-peer.lo.
2785 (lib_gnu_java_awt_peer_gtk_la_DEPENDENCIES): Likewise.
2786 ($(gtk_awt_peer_sources:.java=.lo)): Removed.
2787 (gtk-awt-peer.lo): New target.
2789 2005-04-04 Steve Pribyl <steve@netfuel.com>
2792 * configure.ac: Fix fastjar definition for cross builds.
2793 * configure: Rebuilt.
2795 2005-04-04 Tom Tromey <tromey@redhat.com>
2797 * java/lang/ClassLoader.java (loadClass): Resolve class even if
2798 it was already found.
2800 2005-04-04 Tom Tromey <tromey@redhat.com>
2802 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added
2803 org.metastatic.jessie.
2805 2005-04-02 Anthony Green <green@redhat.com>
2808 * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
2810 2005-04-02 Mark Wielaard <mark@klomp.org>
2812 * javax/naming/directory/BasicAttributes.java (equals): Compare to any
2813 Attributes and attribute order doesn't matter.
2814 (BasicAttributesEnumeration.where): Initialize to zero.
2815 (BasicAttributesEnumeration.nextElement): Update and compare where
2816 appropriately (zero based).
2818 2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2820 PR libgcj/20090, PR libgcj/20526
2821 * gij.cc (nonstandard_opts_help): New function.
2822 (add_option): New function.
2823 (main): Support java options. Set java.class.path. Don't set
2825 * prims.cc (parse_x_arg): New function.
2826 (parse_init_args): Call parse_x_arg for -X and _ options, when
2827 ignoreUnrecognized is true.
2828 (new _Jv_RunMain): New vm_args variant.
2829 (old _Jv_RunMain): Call new vm_args _Jv_RunMain.
2830 (_Jv_Jar_Class_Path): Remove variable.
2831 * include/java-props.h: Likewise.
2832 * include/cni.h (JvRealloc): New function.
2833 * include/jvm.h (_Jv_RunMain): Declare vm_args variant.
2834 * java/lang/natRuntime.cc (insertSystemProperties): Remove
2835 _Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
2837 * configure.ac (JV_VERSION): Define.
2838 (JV_API_VERSION): Likewise.
2839 * configure: Regenerate.
2840 * include/config.h.in: Regenerate.
2842 2005-04-01 Mark Anderson <mark@panonet.net>
2844 * java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
2845 -Infinity as parameters.
2847 2005-04-01 Michael Koch <konqueror@gmx.de>
2849 * java/io/PipedInputStream.java
2850 (read): Make sure a positive byte value is returned. Revised javadoc.
2851 Thanks to Olafur Bragason for reporting these bugs.
2853 2005-04-01 Tom Tromey <tromey@redhat.com>
2855 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
2856 Updated for name change.
2857 (nativeFindClass): New method.
2858 (loadClass): Use nativeFindClass.
2859 * java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
2861 * java/lang/VMClassLoader.java (tried_libraries, lib_control,
2862 LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
2864 (initialize): New method.
2865 (nativeFindClass): Declare.
2866 * gnu/gcj/runtime/natVMClassLoader.cc: Removed.
2867 * gnu/gcj/runtime/VMClassLoader.java: Removed.
2868 * gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
2870 (definePackageForNative): Removed.
2871 (tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
2872 Moved to VMClassLoader.java.
2873 * prims.cc (_Jv_CreateJavaVM): Updated for renaming.
2874 * Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
2875 (ordinary_java_source_files): Added ExtensionClassLoader.java,
2876 removed VMClassLoader.java.
2877 (nat_source_files): Removed natVMClassLoader.cc.
2879 2005-04-01 Tom Tromey <tromey@redhat.com>
2881 * Makefile.in: Rebuilt.
2882 * Makefile.am (db_pathtail): Use $(gcc_version), not
2885 2005-04-01 Jeroen Frijters <jeroen@frijters.net>
2887 * java/util/Timer.java
2888 (run): Stop the queue if a task throws an exception.
2890 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2892 * javax/swing/text/JTextComponent.java (viewToModel): New method.
2894 2005-03-29 Ian Lance Taylor <ian@airs.com>
2896 * external/sax/Makefile.am (GCJ_WITH_FLAGS): Add "-fclasspath=".
2897 * external/sax/Makefile.in: Rebuild.
2898 * external/w3c_dom/Makefile.am (GCJ_WITH_FLAGS): Add
2900 * external/w3c_dom/Makefile.in: Rebuild.
2902 2005-03-29 Tom Tromey <tromey@redhat.com>
2904 * java/lang/natRuntime.cc (insertSystemProperties): Set
2905 gnu.gcj.runtime.endorsed.dirs.
2906 * Makefile.in: Rebuilt.
2907 * Makefile.am (ordinary_java_source_files): Added
2908 HelperClassLoader.java.
2909 (AM_CXXFLAGS): Define GCJ_ENDORSED_DIRS.
2910 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Extends
2912 (init): Use addDirectoriesFromProperty.
2913 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Extends
2914 HelperClassLoader. Use addDirectoriesFromProperty. Handle
2915 gnu.gcj.runtime.endorsed.dirs.
2916 * gnu/gcj/runtime/HelperClassLoader.java: New file.
2918 2005-03-26 Chris Burdess <dog@gnu.org>
2920 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
2923 2005-03-13 Michael Koch <konqueror@gmx.de>
2925 * gnu/xml/aelfred2/XmlParser.java: Fixed typo.
2927 2005-03-11 Chris Burdess <dog@gnu.org>
2929 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2932 2005-02-27 Chris Burdess <dog@gnu.org>
2934 * gnu/xml/aelfred2/JAXPFactory.java,
2935 gnu/xml/aelfred2/SAXDriver.java,
2936 gnu/xml/aelfred2/XmlParser.java,
2937 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code
2938 formatting conventions. Replaced arrays of Object with struct-like
2939 classes for easier maintainability. Made SAXDriver.stringInterning
2940 package private to allow access from XmlParser inside the loop without
2941 a method call overhead.
2943 2005-03-11 Chris Burdess <dog@gnu.org>
2945 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI
2948 2005-03-28 Alexandre Oliva <aoliva@redhat.com>
2950 * configure.ac: Revert 2005-03-25's patch. Propagate MULTIlib
2951 settings to sub Makefiles.
2952 (GCJH, ZIP): Prefix with top_builddir.
2953 * configure: Rebuild.
2954 * external/w3c_dom/Makefile.am (MULTIBUILDTOP): Don't override.
2955 * external/w3c_dom/Makefile.in: Rebuild.
2956 * external/sax/Makefile.am (MULTIBUILDTOP): Don't override.
2957 * external/sax/Makefile.in: Rebuild.
2959 2005-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
2961 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
2962 libsocket to the libraries to link for Solaris.
2964 2005-03-28 Per Bothner <per@bothner.com>
2966 * boehm.cc (_Jv_MarkObj): Don't follow null pointer to static field,
2967 which can happen if class is JV_STATE_LOADED but not JV_STATE_PREPARED.
2969 2005-03-27 Andreas Tobler <a.tobler@schweiz.ch>
2971 * Makefile.am (classes.stamp): Add gnu/gcj/tools/gcj_dbtool/Main.java
2972 to fix a ONESTEP fallout.
2973 * Makefile.in: Regenerate.
2975 2005-03-25 Mike Stump <mrs@apple.com>
2977 * configure.ac: Fix ZIP and GCJH at configure time to absolute
2978 paths like we do for the compiler, as we use it in external/sax
2979 and it doesn't get MULTIBUILDTOP right when multilibing.
2981 2005-03-24 Anthony Green <green@redhat.com>
2983 * gnu/gcj/tools/gcj_dbtool/Main.java: Accept libdir argument with
2985 (usage): Add [LIBDIR] to help output.
2986 * gnu/gcj/tools/gcj_dbtool/natMain.cc: New file.
2987 * Makefile.am (AM_CXXFLAGS): Define
2988 LIBGCJ_DEFAULT_DATABASE_PATH_TAIL.
2989 (db_pathtail): New macro.
2991 2005-03-24 Tom Tromey <tromey@redhat.com>
2993 * gnu/gcj/runtime/BootClassLoader.java (BootClassLoader): Don't
2994 add sax and w3c libraries.
2995 * Makefile.am (libgij_la_LIBADD): Added libsax-gcj.la and
2997 * external/w3c_dom/Makefile.in: Rebuilt.
2998 * external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Include
3000 (libw3c_gcj_la_LDFLAGS): New variable.
3001 (noinst_LTLIBRARIES): Renamed.
3002 * external/sax/Makefile.in: Rebuilt.
3003 * external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Include
3005 (libsax_gcj_la_LDFLAGS): New variable.
3006 (noinst_LTLIBRARIES): Renamed.
3008 2005-03-23 Tom Tromey <tromey@redhat.com>
3010 * Makefile.in: Rebuilt.
3011 * Makefile.am (AM_CXXFLAGS): Define TOOLEXECLIBDIR.
3012 (libgcj0_convenience_la_SOURCES): Don't include
3013 gnu_xml_source_files.
3014 (libgcj0_convenience_la_LIBADD): New variable.
3015 (libgcj_la_LIBADD): Don't include sax or w3c_dom.
3016 (all_java_source_files): javax_imageio_source_files,
3017 javax_xml_source_files, and gnu_java_beans_source_files.
3018 ($(gnu_xml_source_files:.java=.lo)): Removed target.
3019 (gnu-xml.lo): New target.
3020 (javax-imageio.lo): Likewise.
3021 (javax-xml.lo): Likewise.
3022 (gnu-java-beans.lo): Likewise.
3023 (gnu_java_beans_source_files): New variable.
3024 (javax_imageio_source_files): Likewise.
3025 (javax_xml_source_files): Likewise.
3026 (javax_source_files): Moved files to other variable.
3027 (awt_java_source_files): Likewise.
3028 (ordinary_java_source_files): Added BootClassLoader.java.
3029 * java/lang/natVMClassLoader.cc (defineClass): Use boot loader,
3030 not system class loader.
3031 (initBootLoader): New method.
3032 (loadClass): Search bootLoader.
3033 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use
3034 boot loader, not system class loader.
3035 (_Jv_UnregisterInitiatingLoader): Likewise.
3036 (_Jv_FindClass): Likewise. Ensure entries in
3037 bootstrap_class_list are unique.
3038 * java/lang/natClass.cc (getClassLoader): Don't special case
3039 system class loader.
3040 * java/lang/VMClassLoader.java (bootLoader): New field.
3041 (getResource): Use bootLoader.
3042 (getResources): Likewise.
3043 (initBootLoader): Declare.
3044 * gnu/gcj/runtime/BootClassLoader.java: New file.
3045 * external/sax/org/xml/sax/helpers/NamespaceSupport.java
3046 (EMPTY_ENUMERATION): Now package-private.
3047 * external/w3c_com/Makefile.in: Rebuilt.
3048 * external/w3c_com/Makefile.am (MULTIBUILDTOP): New variable.
3049 (w3c.jar): New target.
3050 (classes.stamp): Updated.
3051 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3052 Changed name of library.
3053 (libw3c_gcj_la_SOURCES): New variable.
3054 (libw3c_gcj_la_GCJFLAGS): Likewise.
3055 (source_files): Renamed from lib3c_convenience_la_SOURCES.
3056 * external/sax/Makefile.in: Rebuilt.
3057 * external/sax/Makefile.am (MULTIBUILDTOP): New variable.
3058 (sax.jar): New target.
3059 (classes.stamp): Updated.
3060 (toolexeclib_LTLIBRARIES): Renamed from noinst_LTLIBRARIES.
3061 Changed name of library.
3062 (libsax_gcj_la_SOURCES): New variable.
3063 (libsax_gcj_la_GCJFLAGS): Likewise.
3064 (source_files): Renamed from libsax_convenience_la_SOURCES.
3065 * stacktrace.cc (non_system_trace_fn): Don't look at system class
3067 * prims.cc (_Jv_CreateJavaVM): Initialize the bootstrap class
3069 (_Jv_RunMain): Handle case where 'runtime' is NULL at exit.
3071 2005-03-23 Sven de Marothy <sven@physto.se>
3073 PR libgcj/2641, PR libgcj/9854, PR libgcj/14892, PR libgcj/18083,
3075 * java/util/Calendar.java
3076 (set): Use starting day of week when one is needed if none is given.
3077 * java/text/SimpleDateFormat.java
3078 (parse): Handle 1-12 and 1-24 timestamps correctly.
3079 * java/util/GregorianCalendar.java
3080 (computeTime, computeFields): HOUR should be in 0-11 format.
3081 (nonLeniencyCheck): Adjust leniency checking to that fact.
3082 (getLinearDay): Should be private.
3084 2005-03-23 Tom Tromey <tromey@redhat.com>
3086 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3087 (_Jv_CheckABIVersion): Use it.
3089 2005-03-22 Mike Stump <mrs@apple.com>
3091 * stacktrace.cc: Delete unused _Jv_FindCallingClassState.
3093 * include/posix.h: .dylib is used on all Apple MACH platforms.
3094 * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
3096 2005-03-22 Tom Tromey <tromey@redhat.com>
3098 * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
3100 2005-03-21 Tom Tromey <tromey@redhat.com>
3102 * java/lang/VMCompiler.java (static block): Also catch
3103 BufferUnderflowException.
3105 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3107 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not
3108 set tool_include_dir. In all substitutions, leave $(gcc_version)
3109 to be expanded by the Makefile.
3110 * aclocal.m4, configure: Regenerate.
3111 * Makefile.am: Set gcc_version. Replace all uses of
3112 @gcc_version@ with $(gcc_version).
3113 * external/Makefile.am, external/sax/Makefile.am
3114 * external/w3c_dom/Makefile.am, gcj/Makefile.am
3115 * testsuite/Makefile.am: Set gcc_version.
3116 * include/Makefile.am: Set gcc_version and tool_include_dir.
3117 * Makefile.in, external/Makefile.in, external/sax/Makefile.in
3118 * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
3119 * testsuite/Makefile.in: Regenerate.
3121 2005-03-17 Andrew Haley <aph@redhat.com>
3123 * java/lang/natVMSecurityManager.cc (getClassContext): Add new
3125 Pass klass to _Jv_StackTrace::GetClassContext().
3126 * java/lang/ClassLoader.java (getParent): Pass class to
3127 VMSecurityManager.getClassContext()
3128 (getSystemClassLoader): Likewise.
3129 * java/lang/Package.java (getPackage): Likewise.
3130 (getPackages): Likewise.
3131 * java/lang/SecurityManager.java (getClassContext): Likewise.
3132 (currentClassLoader): Likewise.
3133 * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
3134 (currentClassLoader) Add new arg: caller.
3135 Pass caller to VMSecurityManager.getClassContext.
3137 * stacktrace.cc (GetClassContext): Correct calculation of
3140 * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
3141 im->source_file_name.
3143 2005-03-16 Andrew Haley <aph@redhat.com>
3145 * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
3147 2005-03-16 Tom Tromey <tromey@redhat.com>
3149 * link.cc (ensure_class_linked): Removed #ifdef.
3150 (print_class_loaded): Likewise.
3151 (wait_for_state): Likewise.
3152 * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
3153 * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
3154 * include/java-interp.h: ... here.
3156 2005-03-16 Tom Tromey <tromey@redhat.com>
3158 * gnu/java/lang/MainThread.java (run): Load main class using
3159 system class loader.
3161 2005-03-16 Andreas Tobler <a.tobler@schweiz.ch>
3163 * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
3164 lgcc_s to the libraries to link for Darwin.
3166 2005-03-15 Andreas Tobler <a.tobler@schweiz.ch>
3168 * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
3169 interpreter-specific code with #ifdef INTERPRETER.
3170 (_Jv_StackTrace::getLineNumberForFrame): Likewise.
3171 (_Jv_StackTrace::FillInFrameInfo): Likewise.
3172 (_Jv_StackTrace::non_system_trace_fn): Likewise.
3173 * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
3174 #ifdef INTERPRETER. Also protect declarations that use it.
3175 * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
3176 #ifdef INTERPRETER block.
3178 2005-03-15 Jakub Jelinek <jakub@redhat.com>
3181 * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
3182 * Makefile.in: Rebuilt.
3184 2005-03-15 David Daney <ddaney@avtrex.com>
3186 * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
3189 2005-03-15 David Daney <ddaney@avtrex.com>
3191 * java/io/BufferedInputStream.java (available): Use 'in' instead
3192 of 'super' for underlying stream access.
3194 (read(byte[], int, int)): Ditto.
3196 (skip): Call skip on underlying stream when possible.
3198 2005-03-12 Andreas Tobler <a.tobler@schweiz.ch>
3200 * stacktrace.cc (GetCallerInfo): Return nothing in case of
3201 SJLJ_EXCEPTIONS is defined.
3203 2005-03-12 Ranjit Mathew <rmathew@hotmail.com>
3205 * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
3208 2005-03-11 Andreas Tobler <a.tobler@schweiz.ch>
3210 * testsuite/lib/libjava.exp (libjava_init): Use the same target
3212 (libjava_arguments): Likewise.
3214 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
3215 (gcj_jni_test_one): Likewise.
3216 (gcj_jni_invocation_compile_c_to_binary): Likewise.
3217 Add flags to keep the Darwin linker quiet.
3218 (gcj_jni_invocation_test_one): Use the same target check for Darwin.
3219 Add -liconv for Darwin.
3221 2005-03-11 Tom Tromey <tromey@redhat.com>
3223 * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
3224 (_Jv_CheckABIVersion): Use it.
3226 2005-03-11 Tom Tromey <tromey@redhat.com>
3228 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
3229 (usage): Document '-p'.
3230 * Makefile.in: Rebuilt.
3231 * Makefile.am (dbexecdir): New variable.
3232 (db_name): Likewise.
3233 (dbexec_DATA): Likewise.
3234 ($(db_name)): New target.
3235 (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
3236 * java/lang/natRuntime.cc (insertSystemProperties): Set default
3239 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3241 * exception.cc: Remove stray MethodRef.h include.
3242 * java/lang/natClass.cc: Likewise.
3243 * gnu/gcj/runtime/MethodRef.java: Removed.
3244 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3245 gnu/gcj/runtime/natStackTrace.cc: Really removed.
3246 * java/lang/natRuntime.cc (_load): Remove unsed variable.
3247 * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
3248 * Makefile.in: Rebuilt.
3250 2005-03-10 Tom Tromey <tromey@redhat.com>
3252 * Makefile.in: Rebuilt.
3253 * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
3255 2005-03-10 Chris Burdess <dog@bluezoo.org>
3257 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
3258 not currently parsing the DTD.
3260 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>
3262 New Stack Trace infrastructure.
3263 * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
3264 (gnu/gcj/runtime/StackTrace.java): Removed.
3265 (ordinary_java_source_files): Remove obsolete files.
3266 (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
3267 * configure.host (fallback_backtrace_h): Set backtrace header
3268 for mingw and cygwin targets.
3269 * configure.ac: Make symlink for fallback backtrace headers.
3270 * Makefile.in, configure: Rebuilt.
3271 * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
3272 Read 'LineNumberTable' attribute.
3273 (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
3275 (_Jv_ClassReader::handleCodeAttribute): Initialize method line
3277 * exception.cc: Remove unused include.
3278 * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
3279 (SAVE_PC): New macro. Save current PC in the interpreter frame.
3280 (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
3281 (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
3282 table to direct threaded instruction values.
3283 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
3284 (_Jv_InterpMethod::run): No longer member function. All
3285 callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
3286 is made or where an instruction could throw.
3287 (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
3289 * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
3290 (catch_fpe): Likewise.
3291 * stacktrace.cc: New file. Stack trace code now here.
3292 * gnu/gcj/runtime/MethodRef.java:
3293 * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
3294 calls addr2line to look up PC addresses in a given binary or shared
3296 * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
3297 gnu/gcj/runtime/natStackTrace.cc: Removed.
3298 * gnu/java/lang/MainThread.java (call_main): Add comment warning that
3299 this function name is specially recognised by the stack trace code
3300 and shouldn't be changed.
3301 * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
3302 (struct _Jv_LineTableEntry, line_table, line_table_len): New.
3303 (_Jv_InterpMethod::run): Update declaration.
3304 (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
3306 (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
3307 * include/java-stack.h: New file. Declarations for stack tracing.
3308 * include/jvm.h (_Jv_Frame_info): Removed.
3309 * java/lang/Class.h: Update friend declarations.
3310 * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
3312 * java/lang/VMThrowable.java (fillInStackTrace): Now native.
3313 (getStackTrace): Now native.
3314 (data): New RawDataManaged field.
3315 * java/lang/natClass.cc: Update includes.
3316 (forName): Use _Jv_StackTrace::GetCallingClass for
3317 calling-classloader check.
3318 (getClassLoader): Likewise.
3319 * java/lang/natRuntime.cc: Update includes.
3320 (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
3321 * java/lang/natVMSecurityManager.cc: Update includes.
3322 (getClassContext): Use _Jv_StackTrace::GetClassContext.
3323 * java/lang/natVMThrowable.cc: New file. Native methods for
3325 * java/lang/reflect/natArray.cc: Update includes.
3326 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3327 accessibility check.
3328 * java/lang/reflect/natConstructor.cc: Update includes.
3329 (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
3330 accessibility check.
3331 * java/lang/reflect/natField.cc: Update includes.
3332 (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
3333 accessibility check.
3334 * java/lang/reflect/natMethod.cc: Update includes.
3335 (invoke): Use _Jv_StackTrace::GetCallingClass to implement
3336 accessibility check.
3337 * java/util/natResourceBundle.cc: Update includes.
3338 (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
3339 * java/util/logging/natLogger.cc: Update includes. Use
3340 _Jv_StackTrace::GetCallerInfo to get call-site info.
3341 * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
3343 * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
3346 2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
3348 * testsuite/libjava.compile/PR20312.java: New file.
3349 * testsuite/libjava.compile/PR20312.xfail: Likewise.
3350 * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
3352 2005-03-09 Andrew Haley <aph@redhat.com>
3354 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
3356 (smallTransferTo): New.
3357 (transferFrom): Loop around smallTransferFrom, copying pageSize
3359 (transferTo): Likewise.
3361 2005-03-09 David Daney <ddaney@avtrex.com>
3364 Merge BufferedInputStream from GNU Classpath.
3365 * java/io/BufferedInputStream.java (marktarget): Field removed.
3366 (CHUNKSIZE): Field removed.
3367 (bufferSize): New field.
3368 (BufferedInputStream): Initialize fields.
3369 (close): Invalidate mark and buffer indexes.
3371 (read()): Move mark handling code to refill.
3372 (read(byte[], int, int)): Ditto.
3373 (skip): Ditto and simplify EOF testing.
3374 (refill): Rewritten.
3375 * java/io/InputStreamReader.java (refill): Removed mark and reset
3376 of internal BufferedInputStream.
3378 2005-03-09 Tom Tromey <tromey@redhat.com>
3380 * java/lang/natVMClassLoader.cc (defineClass): Reference
3381 'systemClassLoader' field directly.
3382 * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
3384 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
3385 Reference 'systemClassLoader' field directly.
3386 (_Jv_UnregisterInitiatingLoader): Likewise.
3387 (_Jv_FindClass): Likewise.
3389 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3391 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
3393 * java/lang/mprec.h: Remove commented headers. Fix comment to match
3394 the file in GNU Classpath style.
3396 2005-03-09 Tom Tromey <tromey@redhat.com>
3398 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
3399 (toString): Synchronize.
3401 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
3403 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
3404 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
3406 2005-03-07 Tom Tromey <tromey@redhat.com>
3408 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
3409 (usage): Document '-f'.
3411 2005-03-07 Tom Tromey <tromey@redhat.com>
3413 * java/lang/VMCompiler.java (md5Digest): New field.
3414 (compileClass): Clone md5Digest instead of looking up a new one.
3416 2005-03-07 Tom Tromey <tromey@redhat.com>
3419 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
3420 * link.cc (find_field_helper): Added 'type' argument.
3421 (find_field): Updated.
3423 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
3424 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
3425 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
3426 throw UnsupportedOperationException, fixed comments.
3427 (setFont, setForeground): Fixed comments.
3428 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
3429 return type to boolean.
3430 (getNextEvent): Fixed javadocs.
3431 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
3432 (nativeQueueEmpty): Removed unused code.
3433 (iterateNativeQueue): Removed outer loop.
3435 2005-03-06 Roger Sayle <roger@eyesopen.com>
3438 * Makefile.am (libgcj0_convenience.la): Revert last change.
3439 * Makefile.in: Regenerate.
3441 2005-03-05 Anthony Green <green@redhat.com>
3443 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
3444 classpath_jawt_lock, classpath_jawt_unlock): New functions.
3445 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
3446 (_Jv_GetDrawingSurface): Set visualID.
3447 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
3448 (JAWT_GetAWT): Set Lock and Unlock.
3449 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
3451 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
3452 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
3453 JAWT_LOCK_SURFACE_CHANGED): New macros.
3454 (struct _JAWT): Add Lock and Unlock.
3456 2005-03-05 Roger Sayle <roger@eyesopen.com>
3457 Alexandre Oliva <aoliva@redhat.com>
3458 Kelley Cook <kcook@gcc.gnu.org>
3461 * Makefile.am (libgcj0_convenience.la): New rule to create a file
3462 of the object files to link to avoid exceeding the command line
3463 length limits on some platforms.
3464 (clean-local): Clean up objectlist files.
3465 * Makefile.in: Regenerate.
3467 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
3469 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
3470 spec_case. Initialize pointer mlo.
3472 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
3475 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
3477 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
3480 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
3481 uninitialized variable z.
3483 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
3484 possible unused variables.
3486 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
3488 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
3490 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
3493 * testsuite/libjava.jni/jni.exp
3494 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
3496 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
3498 2005-02-23 David Daney <ddaney@avtrex.com>
3500 * configure.host: Don't use -mxgot for MIPS builds.
3502 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
3505 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
3506 (COMPPATH): Removed.
3507 (ZIP, GCJH): Replace it with ../$(host_subdir).
3508 (built_gcc_dir): Add $(host_subdir).
3509 * configure: Regenerate.
3510 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3511 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
3512 external/w3c_dom/Makefile.in: Regenerate.
3514 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
3516 * java/awt/font/TextAttribute.java: changed names to lower case;
3517 (readResolve): implemented.
3518 Added doc comments all over.
3520 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3523 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
3524 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
3525 value. Move argument parsing code to prims.cc.
3526 * prims.cc (no_properties): Remove.
3527 (_Jv_Compiler_Properties): Initialize to NULL.
3528 (_Jv_Properties_Count): Initialize to 0.
3529 (parse_verbose_args): New function.
3530 (parse_init_args): New function.
3531 (_Jv_CreateJavaVM): Call parse_init_args.
3532 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
3533 * gcj/cni.h (JvVMOption): New struct.
3534 (JvVMInitArgs): Likewise.
3535 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
3537 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
3538 (_Jv_VMInitArgs): Likewise.
3539 * include/java-props.h (_Jv_Properties_Count): Declare.
3540 * java/lang/natRuntime.cc (insertSystemProperties): Use
3541 _Jv_Properties_Count in for loop exit condition.
3542 * testsuite/libjava.jni/jni.exp
3543 (gcj_invocation_compile_c_to_binary): New procedure.
3544 (gcj_invocation_test_one): Likewise.
3545 (gcj_jni_run): Run JNI invocation API tests.
3546 * testsuite/libjava.jni/invocation/PR16923.c,
3547 testsuite/libjava.jni/invocation/PR16923.java,
3548 testsuite/libjava.jni/invocation/PR16923.out: New test.
3550 2005-02-23 Michael Koch <konqueror@gmx.de>
3552 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
3553 * Makefile.in: Regenerated.
3555 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3557 * gnu/java/nio/ChannelReader: Fixed comments.
3559 2005-02-23 Robert Schuster <thebohemian@gmx.net>
3561 * java/nio/channels/Channels: Added FIXMEs about
3562 stub method implementation.
3563 (newReader): Implemented.
3564 * gnu/java/nio/ChannelReader: New class.
3566 2005-02-23 Michael Koch <konqueror@gmx.de>
3568 * java/text/SimpleDateFormat.java:
3569 Removed unused import.
3571 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3574 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
3575 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
3576 * Makefile.in: Regenerate.
3577 * configure.ac: Check for libXtst.
3578 * configure: Regenerate.
3580 2005-02-22 Mark Wielaard <address@bogus.example.com>
3582 * java/security/AlgorithmParameterGenerator.java (getInstance):
3583 Mention provider when throwing NoSuchProviderException.
3584 * java/security/AlgorithmParameters.java (getInstance): Likewise.
3585 * java/security/KeyFactory.java (getInstance): Likewise.
3586 * java/security/KeyStore.java (getInstance): Likewise.
3587 * java/security/SecureRandom.java (getInstance): Likewise.
3588 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
3590 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3592 * java/lang/reflect/Proxy.java,
3594 java/security/SecureRandom.java,
3595 java/util/Timer.java,
3596 java/util/prefs/AbstractPreferences.java:
3597 Don't catch java.lang.ThreadDeath.
3599 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
3601 * java/awt/font/TransformAttribute.java,
3602 (TransformAttribute(AffineTransform)): throw
3603 IllegalArgumentException for null transform.
3604 (getTransform): return a copy of transform.
3605 Added doc comments to all.
3607 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3609 * java/io/Externalizable.java,
3610 java/io/Serializable.java
3611 (serialVersionUID): Removed.
3612 * java/rmi/server/RemoteObject.java,
3613 java/rmi/server/UID.java
3614 (serialVersionUID): Made private.
3615 * java/rmi/server/RemoteRef.java,
3616 java/rmi/server/ServerRef.java
3617 (serialVersionUID): Set proper value.
3618 * java/security/interfaces/DSAPrivateKey.java,
3619 java/security/interfaces/DSAPublicKey.java,
3620 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
3621 java/security/interfaces/RSAPrivateCrtKey.java,
3622 java/security/interfaces/RSAPrivateKey.java,
3623 java/security/interfaces/RSAPublicKey.java,
3624 javax/crypto/SecretKey.java
3625 (serialVersionUID): Added.
3627 2005-02-22 Tom Tromey <tromey@redhat.com>
3629 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
3631 2005-02-22 Tom Tromey <tromey@redhat.com>
3634 * verify.cc (type::EITHER): New constant.
3635 (check_field_constant): Use it.
3636 (type::compatible): Handle it.
3638 2005-02-22 Michael Koch <konqueror@gmx.de>
3640 * gnu/java/security/PolicyFile.java,
3641 gnu/java/security/pkcs/PKCS7SignedData.java,
3642 gnu/java/security/pkcs/SignerInfo.java:
3643 Fixed copyright header.
3645 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
3647 * java/beans/PropertyDescriptor.java
3648 (PropertyDescriptor,setReadMethod): Set propertyType.
3650 2005-02-22 Michael Koch <konqueror@gmx.de>
3652 * java/nio/DirectByteBufferImpl.java
3653 (owner): Fixed formatting of javadoc.
3654 * java/text/DateFormat.java
3655 (getAvailableLocales): Fixed formatting.
3656 * java/text/SimpleDateFormat.java:
3657 Fixed formatting and import statement order.
3658 * java/util/Calendar.java
3659 (Calendar): Fixed javadoc to be HTML compliant.
3660 * java/util/SimpleTimeZone.java:
3663 2005-02-22 Roman Kennke <roman@ontographics.com>
3665 * javax/swing/plaf/basic/BasicLookAndFeel.java
3666 (initComponentDefaults): Fixed Button left and right margin.
3668 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3670 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
3674 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3675 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3676 (getWidth): New method.
3677 (getHeight): Likewise.
3678 (create): Remove width, height and insets parameters. Move size
3680 (realize_cb): ... here. New function.
3681 (connectSignals): Connect realize_cb.
3682 (request_frame_extents): Remove FIXME. Move
3683 postInsetsChangedEvent lookup ...
3684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
3685 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
3686 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
3688 (windowGetWidthID): Likewise.
3689 (windowGetHeightID): Likewise.
3691 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3694 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3695 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
3697 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
3699 Merge serialization from GNU Classpath.
3700 * gcj/method.h: Add missing #includes.
3701 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
3702 primitive class IDs on the stream here...
3703 (resolveClass): ...not here.
3704 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
3706 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
3707 setLongNative, setIntNative, setShortNative, setCharNative,
3708 setByteNative, setBooleanNative, setObjectNative): New native methods.
3709 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
3710 setLongNative, setIntNative, setShortNative, setCharNative,
3711 setByteNative, setBooleanNative, setObjectNative): Implement them.
3712 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
3713 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
3714 the constructor here.
3715 (callConstructor): Removed.
3716 (getCallersClassLoader): Removed.
3717 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
3718 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
3719 to control whether setting final field values is permitted. Call
3720 getAddr() with checkFinal parameter instead of setAddr().
3721 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
3722 only if not done already.
3723 (getAddr): Add checkFinal parameter. Do the final field check only if
3727 2005-02-21 Mark Wielaard <mark@klomp.org>
3730 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
3733 2005-02-21 Mark Wielaard <mark@klomp.org>
3736 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
3737 without a super class and us ObjectStreamClass.lookupForClassObject().
3738 (resolveClass): Check for primitive types.
3739 (lookupClass): Return null when argument is null.
3741 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3743 * java/io/ObjectInputStream.java
3744 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
3746 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3748 * java/io/ObjectOutputStream.java
3749 (writeObject, callWriteMethod): Replaced reflection with accessing
3750 cached info in ObjectStreamClass.
3751 (getMethod): Removed.
3752 * java/io/ObjectStreamClass.java
3753 (findMethod): Added check to make sure the method found has the
3755 (cacheMethods): Added writeReplace and writeObject methods.
3756 (setFlags): Look at new writeObjectMethod field instead of doing
3758 (writeReplaceMethod): New field.
3759 (writeObjectMethod): New field.
3761 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
3762 Jeroen Frijters <jeroen@frijters.net>
3764 * java/io/ObjectInputStream.java
3765 (newObject): Changed prototype. Get a constructor reflect object
3767 (callConstructor): Removed.
3768 (allocateObject): Changed prototype.
3769 (readClassDescriptor): Build the constructor reflection directly.
3770 (readObject): Invoke newObject using the new prototype.
3772 * java/io/ObjectStreamClass.java
3773 (firstNonSerializableParent): Removed.
3774 (firstNonSerializableParentConstructor): Added.
3776 2005-02-21 Mark Wielaard <mark@klomp.org>
3778 * gnu/java/locale/LocaleInformation_en.java: Extend
3779 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
3781 2005-02-21 Mark Wielaard <mark@klomp.org>
3783 * java/text/SimpleDateFormat.java
3784 (SimpleDateFormat(String, DateFormatSymbols)): Throw
3785 NullPointerException when formatData is null.
3787 2005-02-21 Mark Wielaard <mark@klomp.org>
3789 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
3790 taking dstSavings into account.
3792 2005-02-21 Sven de Marothy <sven@physto.se>
3794 * java/text/SimpleDateFormat.java,
3795 (parse): Set correct DST_OFFSET to the correct value.
3797 2005-02-21 Mark Wielaard <mark@klomp.org>
3799 * java/util/SimpleTimeZone.java (checkRule): Throw
3800 IllegalArgumentException when month out of range.
3802 2005-02-21 Sven de Marothy <sven@physto.se>
3804 * java/util/GregorianCalendar.java,
3805 (add): Don't set fields directly anymore. Use set()
3807 2005-02-21 Mark Wielaard <mark@klomp.org>
3809 * java/text/SimpleDateFormat.java (CompiledField.toString):
3810 Use StringBuffer, not StringBuilder.
3811 (toString): Likewise.
3813 2005-02-21 Sven de Marothy <sven@physto.se>
3815 * java/util/Calendar.java
3816 (clear): Dates should clear to local time.
3817 * java/util/GregorianCalendar.java
3818 (computeTime): Fix priority problem with DAY_OF_WEEK,
3819 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
3821 2005-02-21 Sven de Marothy <sven@physto.se>
3823 * java/util/Calendar.java
3824 (Calendar): Constructor should clear fields.
3826 2005-02-21 Sven de Marothy <sven@physto.se>
3828 * java/text/SimpleDateFormat.java
3829 (parse): Tweak handling of 2-year dates
3830 * java/util/Calendar.java
3831 (clear): Clear fields to correct value.
3832 * java/util/GregorianCalendar.java
3833 (computeTime): Correct handling of time zones.
3834 Correct field minimum values.
3836 2005-02-21 Sven de Marothy <sven@physto.se>
3838 * java/util/Calendar.java
3839 (set) Invalidate all fields on first call to set().
3841 2005-02-21 Sven de Marothy <sven@physto.se>
3843 * java/util/GregorianCalendar.java
3844 (computeTime): Fixed handling of time zones.
3846 2005-02-21 Sven de Marothy <sven@physto.se>
3848 * java/util/Calendar.java
3849 (clear): Set values to Epoch instead of zero.
3850 (set): Set isSet to the relevant field pattern instead of just
3852 * java/util/GregorianCalendar.java
3853 (getBundle): Removed.
3854 (getDayOfYear): Removed.
3855 (getFirstDayOfMonth): New private method.
3856 (nonLeniencyCheck): New private method.
3857 (computeTime): Correct handling of insufficient data.
3859 2005-02-21 Sven de Marothy <sven@physto.se>
3861 * java/util/Calendar.java: Invalidate ERA field on setting
3863 * java/util/SimpleTimeZone.java:
3864 (getDaysInMonth): Reimplemented.
3865 * java/util/GregorianCalendar.java:
3866 (getLinearTime): Removed.
3867 (isLeapYear(int,boolean)): Removed.
3868 (before(), after()): Removed.
3869 (computeTime): Reimplemented.
3871 2005-02-21 Sven de Marothy <sven@physto.se>
3873 * java/util/Calendar.java: Reformatted.
3874 * java/util/GregorianCalendar.java: Reformatted.
3875 * java/util/SimpleTimeZone.java: Reformatted.
3877 2005-02-21 Sven de Marothy <sven@physto.se>
3879 * java/util/GregorianCalendar.java
3880 (GregorianCalendar): Update fields in the constructor
3882 2005-02-21 Noa Resare <noa@resare.com>
3884 * java/util/Calendar.java (explicitDSTOffset): New instance field.
3885 (set(int,int)): Set and use new field.
3886 (set(int,int,int)): Check new field.
3888 2005-02-21 Noa Resare <address@hidden>
3890 * java/util/Calendar.java(set):
3891 Fix for DST related regression.
3893 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
3895 * java/util/Calendar.java
3896 (setTimeInMillis): Added call to clear, removed computeFields call.
3897 * java/util/Date.java
3898 (Date(int,int,int,int,int,int)): Removed workaround for
3899 GregorianCalendar bug.
3900 * java/util/GregorianCalendar.java
3901 (GregorianCalendar): Chained all constructors to a (new)
3903 (computeTime): Fixed support for lenient month treatment.
3904 (getLinearDay): Return long instead of int.
3905 (calculateDay): Added fields argument and changed day argument
3908 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3910 * java/text/SimpleDateFormat.java
3911 Lots of documentation updates.
3912 (readObject(java.io.ObjectInputStream)): Wraps
3913 IllegalArgumentException as specified.
3914 (compileFormat(String)): Uses standardChars
3915 rather than the local pattern characters.
3916 Throws IllegalArgumentException rather than
3918 (toString()): Extended to include all variables
3920 (translateLocalizedPattern(String, String, String)):
3921 Renamed to better define the use of this method.
3923 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3925 * java/text/DateFormat.java:
3926 Documented pattern character offset constants and
3928 (Field): Added new static fields for new pattern chars.
3929 * java/text/SimpleDateFormat.java:
3930 (CompiledField): Changed name of FieldSizePair class
3931 to CompiledField after adding the character as an
3932 attribute. Changed fields to private and added
3933 accessors to give encapsulation.
3934 (CompiledField.CompiledField(int,int,char)): Extended
3935 with character field.
3936 (CompiledField.getField()): New accessor method.
3937 (CompiledField.getSize()): New acceessor method.
3938 (CompiledField.getCharacter()): New accessor method.
3939 (CompiledField.toString()): Added primarily for debugging.
3940 (standardChars): Now uses extended 24 character sequence.
3941 (compileFormat(String)): Changed to use CompiledField.
3942 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
3943 java.text.FieldPosition)): Changed to use CompiledField.
3944 New handler for RFC 822 timezones added.
3946 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3948 * java/text/SimpleDateFormat.java:
3949 (parse(String, java.text.ParsePosition)):
3950 Changed 'E' and 'M' cases to use both
3951 short and long names. Extended 'z'
3952 case to also handle 'Z', and deal
3953 with simple GMT offsets such as +0100.
3954 (computeOffset(String)): New private method,
3955 which converts a GMT offset specification,
3956 such as GMT-0500 to a numeric offset in
3958 * java/util/TimeZone.java:
3959 (timezones()): Added "CEST", the daylight
3960 savings time version of "CET", or Central
3963 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3965 * java/text/SimpleDateFormat.java:
3966 (parse): Set the DST offset to 0 when parsing
3967 GMT offset timezones.
3969 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
3971 * java/text/SimpleDateFormat.java:
3972 (parse): Use offset to set ZONE_OFFSET
3973 rather than the DST_OFFSET, so that
3974 GMT offset timezones change the right
3977 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
3979 * java/text/SimpleDateFormat.java:
3980 (getDateFormatSymbols()): return a copy
3981 (setDateFormatSymbols(java.text.DateFormatSymbols)):
3982 throw exception on null input
3983 (clone()): implemented to clone
3986 2005-02-21 Sven de Marothy <sven@physto.se>
3988 * java/text/SimpleDateFormat.java
3989 (parse): comparison should be case-insensitive, ignore null
3992 2005-02-21 Robert Schuster <theBohemian@gmx.net>
3994 * gnu/java/beans/IntrospectionIncubator.java
3995 (addMethod) Reverts the patch that ntroduced a regression (see bug
3996 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
3998 2005-02-21 Michael Koch <konqueror@gmx.de>
4000 * java/awt/Checkbox.java
4001 (next_checkbox_number): New static variable.
4002 (generateName): New method.
4003 (getUniqueLong): Likewise.
4004 * java/awt/Window.java
4005 (next_window_number): New static variable.
4006 (generateName): New method.
4007 (getUniqueLong): Likewise.
4009 2005-02-21 Mark Wielaard <mark@klomp.org>
4011 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
4014 2005-02-21 Andrew Haley <aph@redhat.com>
4016 * Makefile.in: Rebuilt.
4017 * Makefile.am (nat_source_files): Added natLogger.cc.
4018 * java/util/logging/natLogger.cc: New file.
4019 * java/util/logging/Logger.java (getCallerStackFrame): Now
4022 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
4024 * Makefile.am (all_property_files): Remove left over.
4025 (classes.stamp): Add stamp for the ONESTEP build, also known as
4026 --enable-libgcj-multifile.
4027 * Makefile.in: Regenerated.
4029 2005-02-21 Michael Koch <konqueror@gmx.de>
4031 * java/awt/Button.java,
4032 java/awt/Container.java,
4034 java/awt/Frame.java,
4035 java/text/CollationElementIterator.java,
4036 java/text/RuleBasedCollator.java,
4037 java/util/PropertyPermission.java:
4038 Fixed formatting issues all over.
4040 2005-02-21 Mark Wielaard <mark@klomp.org>
4042 * java/io/FileDescriptor.java (sync): Add real exception to
4043 SyncFailedException.
4045 2005-02-21 Michael Koch <konqueror@gmx.de>
4047 * java/io/InputStreamReader.java:
4050 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
4053 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
4055 2005-02-20 Dalibor Topic <robilad@kaffe.org>
4057 * libraries/javalib/gnu/regexp/RE.java,
4058 libraries/javalib/java/io/ObjectInputStream.java,
4059 libraries/javalib/java/security/AllPermission.java,
4060 libraries/javalib/java/security/BasicPermission.java,
4061 libraries/javalib/java/security/Permissions.java,
4062 libraries/javalib/java/text/MessageFormat.java:
4063 Made 'inner' classes real public static inner classes,
4064 and made them final where possible, or removed them
4067 2005-02-20 Michael Koch <konqueror@gmx.de>
4069 * gnu/java/text/FormatCharacterIterator.java:
4070 Removed redundant modifiers.
4072 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4074 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
4077 2005-02-19 Michael Koch <konqueror@gmx.de>
4079 * Makefile.am: Added new files in gnu/java/beans and
4080 java/beans/XMLDecoder.java.
4081 * Makefile.in: Regenerated.
4083 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4085 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
4086 assignment behavior by using java.lang.reflect.Array.set()
4089 2005-02-19 Dalibor Topic <robilad@kaffe.org>
4091 * gnu/java/beans/EmptyBeanInfo.java,
4092 gnu/java/beans/info/ComponentBeanInfo.java:
4093 Removed unused files.
4095 2005-02-19 Robert Schuster <thebohemian@gmx.net>
4097 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
4098 of AppletStub for java.beans.Beans.instantiate.
4099 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
4101 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
4102 to be conformant with Javadoc guidelines.
4103 (instantiate): Added two more overloaded variants, reworked user
4104 documentation, fixed exception behavior, fixed behavior when
4107 2005-02-19 Mark Wielaard <mark@klomp.org>
4109 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
4111 * gnu/java/beans/decoder/DummyContext.java: Likewise.
4113 2005-02-19 Robert Schuster <theBohemian@gmx.net>
4115 * gnu/java/beans/decoder/AbstractContext.java,
4116 gnu/java/beans/decoder/AbstractCreatableContext.java,
4117 gnu/java/beans/decoder/AbstractElementHandler.java,
4118 gnu/java/beans/decoder/AbstractObjectContext.java,
4119 gnu/java/beans/decoder/ArrayContext.java,
4120 gnu/java/beans/decoder/ArrayHandler.java,
4121 gnu/java/beans/decoder/AssemblyException.java,
4122 gnu/java/beans/decoder/BooleanHandler.java,
4123 gnu/java/beans/decoder/ByteHandler.java,
4124 gnu/java/beans/decoder/CharHandler.java,
4125 gnu/java/beans/decoder/ClassHandler.java,
4126 gnu/java/beans/decoder/ConstructorContext.java,
4127 gnu/java/beans/decoder/Context.java,
4128 gnu/java/beans/decoder/DecoderContext.java,
4129 gnu/java/beans/decoder/DefaultExceptionListener.java,
4130 gnu/java/beans/decoder/DoubleHandler.java,
4131 gnu/java/beans/decoder/DummyContext.java,
4132 gnu/java/beans/decoder/DummyHandler.java,
4133 gnu/java/beans/decoder/ElementHandler.java,
4134 gnu/java/beans/decoder/FloatHandler.java,
4135 gnu/java/beans/decoder/GrowableArrayContext.java,
4136 gnu/java/beans/decoder/IndexContext.java,
4137 gnu/java/beans/decoder/IntHandler.java,
4138 gnu/java/beans/decoder/JavaHandler.java,
4139 gnu/java/beans/decoder/LongHandler.java,
4140 gnu/java/beans/decoder/MethodContext.java,
4141 gnu/java/beans/decoder/MethodFinder.java,
4142 gnu/java/beans/decoder/NullHandler.java,
4143 gnu/java/beans/decoder/ObjectContext.java,
4144 gnu/java/beans/decoder/ObjectHandler.java,
4145 gnu/java/beans/decoder/PersistenceParser.java,
4146 gnu/java/beans/decoder/PropertyContext.java,
4147 gnu/java/beans/decoder/ShortHandler.java,
4148 gnu/java/beans/decoder/SimpleHandler.java,
4149 gnu/java/beans/decoder/StaticMethodContext.java,
4150 gnu/java/beans/decoder/StringHandler.java,
4151 gnu/java/beans/decoder/VoidHandler.java: New class
4152 implementing java.beans.XMLDecoder decoding functionality.
4153 * java/beans/XMLDecoder.java: New class.
4155 2005-02-19 Michael Koch <konqueror@gmx.de>
4157 * javax/swing/JTextField.java
4158 (notfiyAction): Added javadoc.
4160 2005-02-19 Sven de Marothy <sven@physto.se>
4162 * javax/swing/SpinnerDateModel.java: Implemented.
4164 2005-02-19 Michael Koch <konqueror@gmx.de>
4166 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
4167 * Makefile.in: Regenerated.
4169 2005-02-19 Michael Koch <konqueror@gmx.de>
4171 * gnu/java/nio/SelectorImpl.java:
4172 Reworked import statements.
4173 (register): Removed unused code.
4174 * java/nio/channels/Channels.java: Reformatted.
4175 * java/nio/charset/Charset.java: Likewise.
4176 * java/rmi/server/RemoteObject.java
4177 (serialVersionUID): Made private.
4178 * java/rmi/server/UID.java
4179 (serialVersionUID): Likewise.
4181 2005-02-19 Michael Koch <konqueror@gmx.de>
4183 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
4184 gnu/java/net/protocol/ftp/BlockInputStream.java,
4185 gnu/java/net/protocol/ftp/BlockOutputStream.java,
4186 gnu/java/net/protocol/ftp/CompressedInputStream.java,
4187 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
4188 gnu/java/net/protocol/ftp/DTPInputStream.java,
4189 gnu/java/net/protocol/ftp/DTP.java,
4190 gnu/java/net/protocol/ftp/DTPOutputStream.java,
4191 gnu/java/net/protocol/ftp/FTPConnection.java,
4192 gnu/java/net/protocol/ftp/FTPException.java,
4193 gnu/java/net/protocol/ftp/FTPResponse.java,
4194 gnu/java/net/protocol/ftp/FTPURLConnection.java,
4195 gnu/java/net/protocol/ftp/Handler.java,
4196 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
4197 gnu/java/net/protocol/ftp/StreamInputStream.java,
4198 gnu/java/net/protocol/ftp/StreamOutputStream.java,
4199 gnu/java/net/CRLFInputStream.java,
4200 gnu/java/net/CRLFOutputStream.java,
4201 gnu/java/net/GetLocalHostAction.java,
4202 gnu/java/net/protocol/ftp/package.html: New files.
4203 * Makefile.am: Added new files.
4204 * Makefile.in: Regenerated.
4206 2005-02-18 Tom Tromey <tromey@redhat.com>
4208 * link.cc (make_vtable): Remove abstract method check.
4209 (append_partial_itable): Likewise.
4212 * verify.cc (type::equals): Fixed test.
4213 * testsuite/libjava.lang/PR20056.out: New file.
4214 * testsuite/libjava.lang/PR20056.java: New file.
4216 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
4218 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
4219 not the HashEntry. Reported by Jean-Marie White.
4221 2005-02-18 Tom Tromey <tromey@redhat.com>
4224 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
4225 * link.cc (has_field_p): New function.
4226 * verify.cc (check_field_constant): Added 'putfield' argument.
4227 (verify_instructions_0): Updated.
4228 (type::equals): New method.
4230 2005-02-18 Anthony Green <green@redhat.com>
4232 * NEWS: Draft of libgcj NEWS for 4.0.
4234 2005-02-18 Anthony Green <green@redhat.com>
4236 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
4237 architecture names to "i386" for compatibility reasons. Win32
4240 2005-02-18 Anthony Green <green@redhat.com>
4242 * gij.cc (version): Change year for '--version' to 2005.
4243 * gnu/gcj/convert/Convert.java: Ditto.
4244 * gnu/java/rmi/rmic/RMIC.java: Ditto.
4245 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
4247 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
4248 recent copyright year in `--version' output.
4250 2005-02-18 Robert Schuster <thebohemian@gmx.net>
4252 * java/nio/charset/Charset.java (forName): Throws
4253 IllegalArgumentException when argument is null
4254 and added documentation.
4256 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4258 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
4259 Move the position of the source buffer forward.
4261 2005-02-17 Tom Tromey <tromey@redhat.com>
4263 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
4264 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
4265 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
4266 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
4267 Changed type of second argument. Rewrote.
4268 (make_vtable): Use it.
4269 (append_partial_itable): Updated.
4270 (layout_vtable_methods): Updated.
4272 2005-02-17 Michael Koch <konqueror@gmx.de>
4274 * gnu/java/net/PlainSocketImpl.java
4275 (shutdownInput): Added javadoc.
4276 (shutdownOutput): Likewise.
4278 2005-02-17 Michael Koch <konqueror@gmx.de>
4280 * javax/print/attribute/standard/Chromaticity.java,
4281 javax/print/attribute/standard/Destination.java,
4282 javax/print/attribute/standard/MediaPrintableArea.java,
4283 javax/print/attribute/standard/MediaSize.java: New files.
4284 * Makefile.am: Added new files.
4285 * Makefile.in: Regenerated.
4287 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
4288 Michael Koch <konqueror@gmx.de>
4290 * gnu/java/net/protocol/http/Cookie.java,
4291 gnu/java/net/protocol/http/HTTPConnection.java,
4292 gnu/java/net/protocol/http/HTTPDateFormat.java,
4293 gnu/java/net/protocol/http/Request.java,
4294 gnu/java/nio/PipeImpl.java,
4295 gnu/java/rmi/dgc/DGCImpl.java,
4296 gnu/java/rmi/server/ConnectionRunnerPool.java,
4297 gnu/java/rmi/server/UnicastConnectionManager.java,
4298 gnu/java/security/der/DERWriter.java,
4299 gnu/java/security/pkcs/SignerInfo.java,
4300 gnu/java/security/provider/EncodedKeyFactory.java,
4301 gnu/java/security/provider/GnuDHPublicKey.java,
4302 gnu/java/security/provider/GnuDSAPrivateKey.java,
4303 gnu/java/security/provider/GnuDSAPublicKey.java,
4304 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
4305 gnu/java/security/x509/X500DistinguishedName.java,
4306 gnu/java/security/x509/X509CRL.java,
4307 gnu/java/security/x509/X509CRLEntry.java,
4308 gnu/java/security/x509/X509Certificate.java,
4309 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
4310 gnu/java/security/x509/ext/CertificatePolicies.java,
4311 gnu/java/security/x509/ext/PolicyConstraint.java,
4312 gnu/xml/dom/Consumer.java,
4313 gnu/xml/dom/DomCharacterData.java,
4314 gnu/xml/dom/DomDocument.java,
4315 gnu/xml/dom/DomDocumentBuilder.java,
4316 gnu/xml/dom/DomIterator.java,
4317 gnu/xml/dom/DomNode.java,
4318 gnu/xml/dom/DomXPathExpression.java,
4319 gnu/xml/dom/DomXPathResult.java,
4320 gnu/xml/dom/JAXPFactory.java,
4321 gnu/xml/pipeline/CallFilter.java,
4322 gnu/xml/pipeline/DomConsumer.java,
4323 gnu/xml/pipeline/LinkFilter.java,
4324 gnu/xml/pipeline/NSFilter.java,
4325 gnu/xml/pipeline/TeeConsumer.java,
4326 gnu/xml/pipeline/ValidationConsumer.java,
4327 gnu/xml/pipeline/WellFormednessFilter.java,
4328 gnu/xml/pipeline/XIncludeFilter.java,
4329 gnu/xml/pipeline/XsltFilter.java,
4330 gnu/xml/transform/ApplyImportsNode.java,
4331 gnu/xml/transform/Bindings.java,
4332 gnu/xml/transform/DocumentFunction.java,
4333 gnu/xml/transform/FormatNumberFunction.java,
4334 gnu/xml/transform/NodeNumberNode.java,
4335 gnu/xml/transform/NumberNode.java,
4336 gnu/xml/transform/Stylesheet.java,
4337 gnu/xml/transform/SystemPropertyFunction.java,
4338 gnu/xml/transform/Template.java,
4339 gnu/xml/transform/TemplatesImpl.java,
4340 gnu/xml/transform/TransformerImpl.java,
4341 gnu/xml/transform/ValueOfNode.java,
4342 gnu/xml/transform/XSLURIResolver.java,
4343 gnu/xml/util/DoParse.java,
4344 gnu/xml/util/Resolver.java,
4345 gnu/xml/xpath/Expr.java,
4346 gnu/xml/xpath/FunctionCall.java,
4347 gnu/xml/xpath/RelationalExpr.java,
4348 gnu/xml/xpath/Selector.java,
4349 gnu/xml/xpath/XPathParser.java:
4350 Reworked import statements, fixed modifier order and some little
4353 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
4355 * java/nio/ByteBufferImpl.java (compact):
4356 Set position and limit even if no bytes were moved.
4358 2005-02-17 Michael Koch <konqueror@gmx.de>
4360 * java/nio/CharViewBufferImpl.java (compact): Likewise.
4361 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
4362 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
4363 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
4364 * java/nio/IntViewBufferImpl.java (compact): Likewise.
4365 * java/nio/LongViewBufferImpl.java (compact): Likewise.
4366 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
4367 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
4368 * java/nio/FloatBufferImpl.java (compact): Set position.
4369 * java/nio/CharBufferImpl.java (compact): Likewise.
4370 * java/nio/DoubleBufferImpl.java (compact): Likewise.
4371 * java/nio/IntBufferImpl.java (compact): Likewise.
4372 * java/nio/LongBufferImpl.java (compact): Likewise.
4373 * java/nio/ShortBufferImpl.java (compact): Likewise.
4375 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
4377 * java/nio/ByteBufferImpl.java,
4378 java/nio/CharBufferImpl.java,
4379 java/nio/DirectByteBufferImpl.java,
4380 java/nio/DoubleBufferImpl.java,
4381 java/nio/FloatBufferImpl.java,
4382 java/nio/IntBufferImpl.java,
4383 java/nio/LongBufferImpl.java,
4384 java/nio/MappedByteBufferImpl.java,
4385 java/nio/ShortBufferImpl.java
4386 (compact): Added explicit read-only check and invalidate mark.
4388 2005-02-17 Michael Koch <konqueror@gmx.de>
4390 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
4391 gnu/java/awt/peer/gtk/GdkFontPeer.java,
4392 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
4393 gnu/java/awt/peer/gtk/GdkGraphics.java,
4394 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
4395 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
4396 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
4397 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
4398 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
4399 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
4400 gnu/java/awt/peer/gtk/GdkTextLayout.java,
4401 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
4402 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4403 gnu/java/awt/peer/gtk/GtkClipboard.java,
4404 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4405 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
4406 gnu/java/awt/peer/gtk/GtkFontPeer.java,
4407 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
4408 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
4409 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
4410 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
4411 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
4412 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
4413 gnu/java/awt/peer/gtk/GtkToolkit.java,
4414 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
4415 java/applet/Applet.java,
4416 java/awt/AWTError.java,
4417 java/awt/AWTEvent.java,
4418 java/awt/AWTEventMulticaster.java,
4419 java/awt/AWTException.java,
4420 java/awt/AWTKeyStroke.java,
4421 java/awt/AWTPermission.java,
4422 java/awt/ActiveEvent.java,
4423 java/awt/Adjustable.java,
4424 java/awt/AlphaComposite.java,
4425 java/awt/AttributeValue.java,
4426 java/awt/BorderLayout.java,
4427 java/awt/BufferCapabilities.java,
4428 java/awt/Button.java,
4429 java/awt/Canvas.java,
4430 java/awt/CheckboxGroup.java,
4431 java/awt/CheckboxMenuItem.java,
4432 java/awt/Color.java,
4433 java/awt/ColorPaintContext.java,
4434 java/awt/Component.java,
4435 java/awt/ComponentOrientation.java,
4436 java/awt/Composite.java,
4437 java/awt/CompositeContext.java,
4438 java/awt/Container.java,
4439 java/awt/ContainerOrderFocusTraversalPolicy.java,
4440 java/awt/DefaultFocusTraversalPolicy.java,
4441 java/awt/Dialog.java,
4442 java/awt/Dimension.java,
4443 java/awt/DisplayMode.java,
4444 java/awt/EventQueue.java,
4445 java/awt/FileDialog.java,
4446 java/awt/FontFormatException.java,
4447 java/awt/Graphics.java,
4448 java/awt/Graphics2D.java,
4449 java/awt/GraphicsConfigTemplate.java,
4450 java/awt/GraphicsConfiguration.java,
4451 java/awt/GraphicsDevice.java,
4452 java/awt/GridBagLayout.java,
4453 java/awt/GridBagLayoutInfo.java,
4454 java/awt/GridLayout.java,
4455 java/awt/HeadlessException.java,
4456 java/awt/IllegalComponentStateException.java,
4457 java/awt/Image.java,
4458 java/awt/Insets.java,
4459 java/awt/ItemSelectable.java,
4460 java/awt/JobAttributes.java,
4461 java/awt/KeyEventDispatcher.java,
4462 java/awt/KeyEventPostProcessor.java,
4463 java/awt/KeyboardFocusManager.java,
4464 java/awt/Label.java,
4465 java/awt/LayoutManager.java,
4466 java/awt/MenuBar.java,
4467 java/awt/MenuComponent.java,
4468 java/awt/MenuContainer.java,
4469 java/awt/PageAttributes.java,
4470 java/awt/Paint.java,
4471 java/awt/PaintContext.java,
4472 java/awt/Panel.java,
4473 java/awt/Point.java,
4474 java/awt/Polygon.java,
4475 java/awt/PrintGraphics.java,
4476 java/awt/PrintJob.java,
4477 java/awt/Rectangle.java,
4478 java/awt/RenderingHints.java,
4479 java/awt/Shape.java,
4480 java/awt/Stroke.java,
4481 java/awt/SystemColor.java,
4482 java/awt/Toolkit.java,
4483 java/awt/Transparency.java,
4484 java/awt/Window.java,
4485 java/awt/color/CMMException.java,
4486 java/awt/color/ColorSpace.java,
4487 java/awt/color/ICC_ColorSpace.java,
4488 java/awt/color/ICC_Profile.java,
4489 java/awt/color/ProfileDataException.java,
4490 java/awt/datatransfer/FlavorTable.java,
4491 java/awt/datatransfer/MimeTypeParseException.java,
4492 java/awt/datatransfer/Transferable.java,
4493 java/awt/datatransfer/UnsupportedFlavorException.java,
4494 java/awt/dnd/Autoscroll.java,
4495 java/awt/dnd/DnDConstants.java,
4496 java/awt/dnd/DragGestureListener.java,
4497 java/awt/dnd/DragSourceAdapter.java,
4498 java/awt/dnd/DragSourceDropEvent.java,
4499 java/awt/dnd/DragSourceListener.java,
4500 java/awt/dnd/DragSourceMotionListener.java,
4501 java/awt/dnd/DropTargetAdapter.java,
4502 java/awt/dnd/DropTargetContext.java,
4503 java/awt/dnd/DropTargetListener.java,
4504 java/awt/dnd/InvalidDnDOperationException.java,
4505 java/awt/dnd/MouseDragGestureRecognizer.java,
4506 java/awt/dnd/peer/DropTargetContextPeer.java,
4507 java/awt/event/AWTEventListener.java,
4508 java/awt/event/AWTEventListenerProxy.java,
4509 java/awt/event/ActionEvent.java,
4510 java/awt/event/AdjustmentEvent.java,
4511 java/awt/event/AdjustmentListener.java,
4512 java/awt/event/ComponentAdapter.java,
4513 java/awt/event/ComponentEvent.java,
4514 java/awt/event/ComponentListener.java,
4515 java/awt/event/ContainerAdapter.java,
4516 java/awt/event/ContainerEvent.java,
4517 java/awt/event/ContainerListener.java,
4518 java/awt/event/FocusAdapter.java,
4519 java/awt/event/FocusEvent.java,
4520 java/awt/event/FocusListener.java,
4521 java/awt/event/InputEvent.java,
4522 java/awt/event/InputMethodEvent.java,
4523 java/awt/event/InputMethodListener.java,
4524 java/awt/event/InvocationEvent.java,
4525 java/awt/event/ItemEvent.java,
4526 java/awt/event/ItemListener.java,
4527 java/awt/event/KeyAdapter.java,
4528 java/awt/event/KeyEvent.java,
4529 java/awt/event/KeyListener.java,
4530 java/awt/event/MouseAdapter.java,
4531 java/awt/event/MouseEvent.java,
4532 java/awt/event/MouseListener.java,
4533 java/awt/event/MouseMotionAdapter.java,
4534 java/awt/event/MouseMotionListener.java,
4535 java/awt/event/MouseWheelEvent.java,
4536 java/awt/event/MouseWheelListener.java,
4537 java/awt/event/PaintEvent.java,
4538 java/awt/event/TextEvent.java,
4539 java/awt/event/TextListener.java,
4540 java/awt/event/WindowAdapter.java,
4541 java/awt/event/WindowEvent.java,
4542 java/awt/event/WindowFocusListener.java,
4543 java/awt/event/WindowListener.java,
4544 java/awt/event/WindowStateListener.java,
4545 java/awt/font/TextHitInfo.java,
4546 java/awt/geom/CubicCurve2D.java,
4547 java/awt/geom/Dimension2D.java,
4548 java/awt/geom/Ellipse2D.java,
4549 java/awt/geom/IllegalPathStateException.java,
4550 java/awt/geom/Line2D.java,
4551 java/awt/geom/NoninvertibleTransformException.java,
4552 java/awt/geom/PathIterator.java,
4553 java/awt/geom/Point2D.java,
4554 java/awt/geom/QuadCurve2D.java,
4555 java/awt/geom/RectangularShape.java,
4556 java/awt/geom/RoundRectangle2D.java,
4557 java/awt/im/InputContext.java,
4558 java/awt/im/InputMethodHighlight.java,
4559 java/awt/im/InputMethodRequests.java,
4560 java/awt/im/InputSubset.java,
4561 java/awt/im/spi/InputMethod.java,
4562 java/awt/im/spi/InputMethodDescriptor.java,
4563 java/awt/image/BandCombineOp.java,
4564 java/awt/image/BandedSampleModel.java,
4565 java/awt/image/ByteLookupTable.java,
4566 java/awt/image/ComponentSampleModel.java,
4567 java/awt/image/DataBuffer.java,
4568 java/awt/image/DataBufferByte.java,
4569 java/awt/image/DataBufferDouble.java,
4570 java/awt/image/DataBufferFloat.java,
4571 java/awt/image/DataBufferInt.java,
4572 java/awt/image/DataBufferShort.java,
4573 java/awt/image/DataBufferUShort.java,
4574 java/awt/image/ImagingOpException.java,
4575 java/awt/image/Kernel.java,
4576 java/awt/image/LookupTable.java,
4577 java/awt/image/MultiPixelPackedSampleModel.java,
4578 java/awt/image/PackedColorModel.java,
4579 java/awt/image/PixelInterleavedSampleModel.java,
4580 java/awt/image/RGBImageFilter.java,
4581 java/awt/image/Raster.java,
4582 java/awt/image/RasterFormatException.java,
4583 java/awt/image/SampleModel.java,
4584 java/awt/image/ShortLookupTable.java,
4585 java/awt/image/SinglePixelPackedSampleModel.java,
4586 java/awt/image/WritableRaster.java,
4587 java/awt/print/PrinterAbortException.java,
4588 java/awt/print/PrinterException.java,
4589 java/awt/print/PrinterIOException.java,
4590 java/beans/AppletInitializer.java,
4591 java/beans/ExceptionListener.java,
4592 java/beans/PropertyChangeEvent.java,
4593 java/beans/PropertyChangeListenerProxy.java,
4594 java/beans/PropertyChangeSupport.java,
4595 java/beans/PropertyDescriptor.java,
4596 java/beans/VetoableChangeListenerProxy.java,
4597 java/beans/VetoableChangeSupport.java,
4598 java/io/BufferedReader.java,
4599 java/io/ByteArrayInputStream.java,
4600 java/io/ByteArrayOutputStream.java,
4601 java/io/CharArrayReader.java,
4602 java/io/CharArrayWriter.java,
4603 java/io/CharConversionException.java,
4604 java/io/DataInput.java,
4605 java/io/DataInputStream.java,
4606 java/io/DataOutput.java,
4607 java/io/DataOutputStream.java,
4608 java/io/EOFException.java,
4609 java/io/FileInputStream.java,
4610 java/io/FileNotFoundException.java,
4611 java/io/FileOutputStream.java,
4612 java/io/FilenameFilter.java,
4613 java/io/FilterInputStream.java,
4614 java/io/FilterOutputStream.java,
4615 java/io/FilterReader.java,
4616 java/io/FilterWriter.java,
4617 java/io/IOException.java,
4618 java/io/InputStream.java,
4619 java/io/InterruptedIOException.java,
4620 java/io/LineNumberInputStream.java,
4621 java/io/LineNumberReader.java,
4622 java/io/ObjectInputStream.java,
4623 java/io/ObjectStreamException.java,
4624 java/io/OptionalDataException.java,
4625 java/io/OutputStream.java,
4626 java/io/OutputStreamWriter.java,
4627 java/io/PrintStream.java,
4628 java/io/PrintWriter.java,
4629 java/io/PushbackInputStream.java,
4630 java/io/PushbackReader.java,
4631 java/io/RandomAccessFile.java,
4632 java/io/Reader.java,
4633 java/io/SequenceInputStream.java,
4634 java/io/Serializable.java,
4635 java/io/StreamCorruptedException.java,
4636 java/io/StreamTokenizer.java,
4637 java/io/StringBufferInputStream.java,
4638 java/io/StringWriter.java,
4639 java/io/SyncFailedException.java,
4640 java/io/UTFDataFormatException.java,
4641 java/io/UnsupportedEncodingException.java,
4642 java/io/WriteAbortedException.java,
4643 java/io/Writer.java,
4644 java/lang/AbstractMethodError.java,
4645 java/lang/ArithmeticException.java,
4646 java/lang/ArrayIndexOutOfBoundsException.java,
4647 java/lang/ArrayStoreException.java,
4648 java/lang/AssertionError.java,
4649 java/lang/Boolean.java,
4650 java/lang/Byte.java,
4651 java/lang/Class.java,
4652 java/lang/ClassCastException.java,
4653 java/lang/ClassCircularityError.java,
4654 java/lang/ClassLoader.java,
4655 java/lang/ClassNotFoundException.java,
4656 java/lang/CloneNotSupportedException.java,
4657 java/lang/Cloneable.java,
4658 java/lang/Comparable.java,
4659 java/lang/Compiler.java,
4660 java/lang/Double.java,
4661 java/lang/Error.java,
4662 java/lang/Exception.java,
4663 java/lang/ExceptionInInitializerError.java,
4664 java/lang/Float.java,
4665 java/lang/IllegalAccessError.java,
4666 java/lang/IllegalAccessException.java,
4667 java/lang/IllegalArgumentException.java,
4668 java/lang/IllegalMonitorStateException.java,
4669 java/lang/IllegalStateException.java,
4670 java/lang/IllegalThreadStateException.java,
4671 java/lang/IncompatibleClassChangeError.java,
4672 java/lang/IndexOutOfBoundsException.java,
4673 java/lang/InheritableThreadLocal.java,
4674 java/lang/InstantiationError.java,
4675 java/lang/InstantiationException.java,
4676 java/lang/Integer.java,
4677 java/lang/InternalError.java,
4678 java/lang/InterruptedException.java,
4679 java/lang/LinkageError.java,
4680 java/lang/Long.java,
4681 java/lang/NegativeArraySizeException.java,
4682 java/lang/NoClassDefFoundError.java,
4683 java/lang/NoSuchFieldError.java,
4684 java/lang/NoSuchFieldException.java,
4685 java/lang/NoSuchMethodError.java,
4686 java/lang/NoSuchMethodException.java,
4687 java/lang/NullPointerException.java,
4688 java/lang/Number.java,
4689 java/lang/NumberFormatException.java,
4690 java/lang/OutOfMemoryError.java,
4691 java/lang/Process.java,
4692 java/lang/Runnable.java,
4693 java/lang/Runtime.java,
4694 java/lang/RuntimeException.java,
4695 java/lang/RuntimePermission.java,
4696 java/lang/SecurityException.java,
4697 java/lang/SecurityManager.java,
4698 java/lang/Short.java,
4699 java/lang/StackOverflowError.java,
4700 java/lang/StackTraceElement.java,
4701 java/lang/StringBuffer.java,
4702 java/lang/StringIndexOutOfBoundsException.java,
4703 java/lang/ThreadDeath.java,
4704 java/lang/ThreadGroup.java,
4705 java/lang/Throwable.java,
4706 java/lang/UnsatisfiedLinkError.java,
4707 java/lang/UnsupportedOperationException.java,
4708 java/lang/VerifyError.java,
4709 java/lang/VirtualMachineError.java,
4710 java/lang/reflect/AccessibleObject.java,
4711 java/lang/reflect/Array.java,
4712 java/lang/reflect/InvocationTargetException.java,
4713 java/lang/reflect/Member.java,
4714 java/lang/reflect/Modifier.java,
4715 java/lang/reflect/Proxy.java,
4716 java/lang/reflect/ReflectPermission.java,
4717 java/lang/reflect/UndeclaredThrowableException.java,
4718 java/math/BigInteger.java,
4719 java/net/NetworkInterface.java,
4720 java/nio/ByteBufferHelper.java,
4721 java/nio/ByteBufferImpl.java,
4722 java/nio/DirectByteBufferImpl.java,
4723 java/nio/DoubleBufferImpl.java,
4724 java/nio/FloatBufferImpl.java,
4725 java/nio/IntBufferImpl.java,
4726 java/nio/LongBufferImpl.java,
4727 java/nio/ShortBufferImpl.java,
4728 java/nio/channels/Channel.java,
4729 java/nio/channels/IllegalBlockingModeException.java,
4730 java/nio/charset/spi/CharsetProvider.java,
4731 java/security/AccessControlException.java,
4732 java/security/BasicPermission.java,
4733 java/security/DigestException.java,
4734 java/security/DigestInputStream.java,
4735 java/security/DigestOutputStream.java,
4736 java/security/GeneralSecurityException.java,
4737 java/security/Guard.java,
4738 java/security/GuardedObject.java,
4739 java/security/InvalidAlgorithmParameterException.java,
4740 java/security/InvalidKeyException.java,
4741 java/security/InvalidParameterException.java,
4742 java/security/Key.java,
4743 java/security/KeyException.java,
4744 java/security/KeyManagementException.java,
4745 java/security/KeyStoreException.java,
4746 java/security/MessageDigestSpi.java,
4747 java/security/NoSuchAlgorithmException.java,
4748 java/security/NoSuchProviderException.java,
4749 java/security/Permission.java,
4750 java/security/PermissionCollection.java,
4751 java/security/Permissions.java,
4752 java/security/Principal.java,
4753 java/security/PrivateKey.java,
4754 java/security/PrivilegedActionException.java,
4755 java/security/ProviderException.java,
4756 java/security/PublicKey.java,
4757 java/security/SecureRandom.java,
4758 java/security/SecureRandomSpi.java,
4759 java/security/SignatureException.java,
4760 java/security/SignatureSpi.java,
4761 java/security/SignedObject.java,
4762 java/security/Signer.java,
4763 java/security/UnrecoverableKeyException.java,
4764 java/security/UnresolvedPermission.java,
4765 java/security/acl/AclNotFoundException.java,
4766 java/security/acl/LastOwnerException.java,
4767 java/security/acl/NotOwnerException.java,
4768 java/security/cert/CertPath.java,
4769 java/security/cert/CertPathBuilderException.java,
4770 java/security/cert/CertPathValidatorException.java,
4771 java/security/cert/CertStoreException.java,
4772 java/text/BreakIterator.java,
4773 java/text/ChoiceFormat.java,
4774 java/text/CollationElementIterator.java,
4775 java/text/CollationKey.java,
4776 java/text/Collator.java,
4777 java/text/DateFormat.java,
4778 java/text/DateFormatSymbols.java,
4779 java/text/DecimalFormat.java,
4780 java/text/DecimalFormatSymbols.java,
4781 java/text/FieldPosition.java,
4782 java/text/Format.java,
4783 java/text/NumberFormat.java,
4784 java/text/ParseException.java,
4785 java/text/ParsePosition.java,
4786 java/text/StringCharacterIterator.java,
4787 java/util/AbstractCollection.java,
4788 java/util/AbstractList.java,
4789 java/util/AbstractMap.java,
4790 java/util/AbstractSequentialList.java,
4791 java/util/AbstractSet.java,
4792 java/util/ArrayList.java,
4793 java/util/Arrays.java,
4794 java/util/BitSet.java,
4795 java/util/Collection.java,
4796 java/util/Collections.java,
4797 java/util/Comparator.java,
4798 java/util/ConcurrentModificationException.java,
4799 java/util/Currency.java,
4800 java/util/Date.java,
4801 java/util/EmptyStackException.java,
4802 java/util/Enumeration.java,
4803 java/util/EventListener.java,
4804 java/util/EventListenerProxy.java,
4805 java/util/EventObject.java,
4806 java/util/HashMap.java,
4807 java/util/HashSet.java,
4808 java/util/Hashtable.java,
4809 java/util/IdentityHashMap.java,
4810 java/util/Iterator.java,
4811 java/util/LinkedHashSet.java,
4812 java/util/LinkedList.java,
4813 java/util/List.java,
4814 java/util/ListIterator.java,
4815 java/util/ListResourceBundle.java,
4817 java/util/MissingResourceException.java,
4818 java/util/NoSuchElementException.java,
4819 java/util/Observable.java,
4820 java/util/Observer.java,
4821 java/util/Properties.java,
4822 java/util/PropertyPermissionCollection.java,
4823 java/util/RandomAccess.java,
4825 java/util/SortedMap.java,
4826 java/util/SortedSet.java,
4827 java/util/Stack.java,
4828 java/util/StringTokenizer.java,
4829 java/util/TooManyListenersException.java,
4830 java/util/TreeMap.java,
4831 java/util/TreeSet.java,
4832 java/util/Vector.java,
4833 java/util/logging/FileHandler.java,
4834 java/util/logging/Level.java,
4835 java/util/prefs/BackingStoreException.java,
4836 java/util/prefs/InvalidPreferencesFormatException.java,
4837 java/util/prefs/Preferences.java,
4838 javax/accessibility/Accessible.java,
4839 javax/accessibility/AccessibleAction.java,
4840 javax/accessibility/AccessibleBundle.java,
4841 javax/accessibility/AccessibleComponent.java,
4842 javax/accessibility/AccessibleContext.java,
4843 javax/accessibility/AccessibleEditableText.java,
4844 javax/accessibility/AccessibleExtendedComponent.java,
4845 javax/accessibility/AccessibleExtendedTable.java,
4846 javax/accessibility/AccessibleHyperlink.java,
4847 javax/accessibility/AccessibleHypertext.java,
4848 javax/accessibility/AccessibleIcon.java,
4849 javax/accessibility/AccessibleKeyBinding.java,
4850 javax/accessibility/AccessibleRelation.java,
4851 javax/accessibility/AccessibleRelationSet.java,
4852 javax/accessibility/AccessibleResourceBundle.java,
4853 javax/accessibility/AccessibleRole.java,
4854 javax/accessibility/AccessibleSelection.java,
4855 javax/accessibility/AccessibleState.java,
4856 javax/accessibility/AccessibleStateSet.java,
4857 javax/accessibility/AccessibleTable.java,
4858 javax/accessibility/AccessibleTableModelChange.java,
4859 javax/accessibility/AccessibleText.java,
4860 javax/accessibility/AccessibleValue.java,
4861 javax/imageio/IIOException.java,
4862 javax/imageio/ImageIO.java,
4863 javax/imageio/spi/IIOServiceProvider.java,
4864 javax/imageio/spi/ImageInputStreamSpi.java,
4865 javax/imageio/spi/ImageOutputStreamSpi.java,
4866 javax/imageio/spi/ImageReaderWriterSpi.java,
4867 javax/imageio/spi/ImageTranscoderSpi.java,
4868 javax/imageio/spi/RegisterableService.java,
4869 javax/imageio/spi/ServiceRegistry.java,
4870 javax/imageio/stream/IIOByteBuffer.java,
4871 javax/imageio/stream/ImageInputStream.java,
4872 javax/imageio/stream/ImageOutputStream.java,
4873 javax/naming/Binding.java,
4874 javax/naming/CannotProceedException.java,
4875 javax/naming/CompositeName.java,
4876 javax/naming/CompoundName.java,
4877 javax/naming/LinkException.java,
4878 javax/naming/LinkRef.java,
4879 javax/naming/NameClassPair.java,
4880 javax/naming/Reference.java,
4881 javax/naming/ReferralException.java,
4882 javax/naming/directory/Attribute.java,
4883 javax/naming/directory/AttributeModificationException.java,
4884 javax/naming/directory/Attributes.java,
4885 javax/naming/directory/DirContext.java,
4886 javax/naming/directory/ModificationItem.java,
4887 javax/naming/directory/SearchControls.java,
4888 javax/naming/directory/SearchResult.java,
4889 javax/naming/event/EventContext.java,
4890 javax/naming/event/EventDirContext.java,
4891 javax/naming/event/NamespaceChangeListener.java,
4892 javax/naming/event/NamingExceptionEvent.java,
4893 javax/naming/event/NamingListener.java,
4894 javax/naming/event/ObjectChangeListener.java,
4895 javax/naming/ldap/Control.java,
4896 javax/naming/ldap/ExtendedResponse.java,
4897 javax/naming/ldap/HasControls.java,
4898 javax/naming/ldap/LdapContext.java,
4899 javax/naming/ldap/UnsolicitedNotification.java,
4900 javax/naming/ldap/UnsolicitedNotificationEvent.java,
4901 javax/naming/ldap/UnsolicitedNotificationListener.java,
4902 javax/naming/spi/DirectoryManager.java,
4903 javax/naming/spi/ResolveResult.java,
4904 javax/naming/spi/Resolver.java,
4905 javax/security/auth/callback/Callback.java,
4906 javax/security/auth/callback/CallbackHandler.java,
4907 javax/security/auth/callback/ChoiceCallback.java,
4908 javax/security/auth/callback/ConfirmationCallback.java,
4909 javax/security/auth/callback/LanguageCallback.java,
4910 javax/security/auth/callback/NameCallback.java,
4911 javax/security/auth/callback/PasswordCallback.java,
4912 javax/security/auth/callback/TextInputCallback.java,
4913 javax/security/auth/callback/TextOutputCallback.java,
4914 javax/security/auth/callback/UnsupportedCallbackException.java,
4915 javax/security/sasl/Sasl.java,
4916 javax/security/sasl/SaslServerFactory.java,
4917 javax/swing/DefaultBoundedRangeModel.java,
4918 javax/swing/JComponent.java,
4919 javax/swing/JList.java,
4920 javax/swing/JProgressBar.java,
4921 javax/swing/JRadioButton.java,
4922 javax/swing/JTextArea.java,
4923 javax/swing/JTextField.java,
4924 javax/swing/JToggleButton.java,
4925 javax/swing/JTree.java,
4926 javax/swing/SpinnerListModel.java,
4927 javax/swing/event/EventListenerList.java,
4928 javax/swing/text/JTextComponent.java,
4929 javax/swing/text/StringContent.java,
4930 javax/swing/text/Utilities.java,
4931 javax/swing/undo/UndoManager.java,
4932 javax/swing/undo/UndoableEditSupport.java,
4933 javax/transaction/HeuristicCommitException.java,
4934 javax/transaction/HeuristicMixedException.java,
4935 javax/transaction/HeuristicRollbackException.java,
4936 javax/transaction/InvalidTransactionException.java,
4937 javax/transaction/NotSupportedException.java,
4938 javax/transaction/RollbackException.java,
4939 javax/transaction/Status.java,
4940 javax/transaction/Synchronization.java,
4941 javax/transaction/SystemException.java,
4942 javax/transaction/Transaction.java,
4943 javax/transaction/TransactionManager.java,
4944 javax/transaction/TransactionRequiredException.java,
4945 javax/transaction/TransactionRolledbackException.java,
4946 javax/transaction/UserTransaction.java,
4947 javax/transaction/xa/XAException.java,
4948 javax/transaction/xa/XAResource.java,
4949 javax/transaction/xa/Xid.java,
4950 javax/xml/XMLConstants.java,
4951 javax/xml/datatype/DatatypeConfigurationException.java,
4952 javax/xml/datatype/DatatypeConstants.java,
4953 javax/xml/datatype/DatatypeFactory.java,
4954 javax/xml/datatype/Duration.java,
4955 javax/xml/datatype/XMLGregorianCalendar.java,
4956 javax/xml/namespace/NamespaceContext.java,
4957 javax/xml/namespace/QName.java,
4958 javax/xml/parsers/DocumentBuilder.java,
4959 javax/xml/parsers/DocumentBuilderFactory.java,
4960 javax/xml/parsers/FactoryConfigurationError.java,
4961 javax/xml/parsers/ParserConfigurationException.java,
4962 javax/xml/parsers/SAXParser.java,
4963 javax/xml/parsers/SAXParserFactory.java,
4964 javax/xml/transform/ErrorListener.java,
4965 javax/xml/transform/OutputKeys.java,
4966 javax/xml/transform/Result.java,
4967 javax/xml/transform/Source.java,
4968 javax/xml/transform/SourceLocator.java,
4969 javax/xml/transform/Templates.java,
4970 javax/xml/transform/Transformer.java,
4971 javax/xml/transform/TransformerConfigurationException.java,
4972 javax/xml/transform/TransformerException.java,
4973 javax/xml/transform/TransformerFactory.java,
4974 javax/xml/transform/TransformerFactoryConfigurationError.java,
4975 javax/xml/transform/URIResolver.java,
4976 javax/xml/transform/dom/DOMLocator.java,
4977 javax/xml/transform/dom/DOMResult.java,
4978 javax/xml/transform/dom/DOMSource.java,
4979 javax/xml/transform/sax/SAXResult.java,
4980 javax/xml/transform/sax/SAXSource.java,
4981 javax/xml/transform/sax/SAXTransformerFactory.java,
4982 javax/xml/transform/sax/TemplatesHandler.java,
4983 javax/xml/transform/sax/TransformerHandler.java,
4984 javax/xml/transform/stream/StreamResult.java,
4985 javax/xml/transform/stream/StreamSource.java,
4986 javax/xml/validation/Schema.java,
4987 javax/xml/validation/SchemaFactory.java,
4988 javax/xml/validation/TypeInfoProvider.java,
4989 javax/xml/validation/Validator.java,
4990 javax/xml/validation/ValidatorHandler.java,
4991 javax/xml/xpath/XPathConstants.java,
4992 javax/xml/xpath/XPathException.java,
4993 javax/xml/xpath/XPathExpression.java,
4994 javax/xml/xpath/XPathExpressionException.java,
4995 javax/xml/xpath/XPathFactory.java,
4996 javax/xml/xpath/XPathFactoryConfigurationException.java,
4997 javax/xml/xpath/XPathFunction.java,
4998 javax/xml/xpath/XPathFunctionException.java,
4999 javax/xml/xpath/XPathFunctionResolver.java:
5000 Fixed usage of @author tag, reworked import statements,
5001 removed CVS tags, changed the modifier order and fixed
5002 HTML usage in javadocs.
5004 2005-02-16 Julian Scheid <julian@sektor37.de>
5006 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
5008 (encodeLoop): Likewise.
5010 2005-02-16 Mark Wielaard <mark@klomp.org>
5012 * Makefile.am (ordinary_java_source_files): Add new files
5013 gnu/java/security/ber/BER.java,
5014 gnu/java/security/ber/BEREncodingException.java,
5015 gnu/java/security/ber/BERReader.java,
5016 gnu/java/security/ber/BERValue.java,
5017 gnu/java/security/pkcs/PKCS7SignedData.java and
5018 gnu/java/security/pkcs/SignerInfo.java.
5019 * Makefile.in: Regenerated.
5021 2005-02-16 Casey Marshall <csm@gnu.org>
5023 * gnu/java/security/provider/GnuDSAPrivateKey.java
5024 (encodedKey): new field.
5025 (getFormat): return "PKCS#8".
5026 (getEncoded): implemented.
5027 (toString): check for 'null' values.
5028 * gnu/java/security/provider/GnuDSAPublicKey.java
5029 (encodedKey): new field.
5030 (getFormat): return "X.509".
5031 (getEncoded): implemented.
5032 (toString): check for 'null' values.
5034 2005-02-16 Michael Koch <konqueror@gmx.de>
5036 * java/util/jar/JarFile.java: Imports reworked.
5038 2005-02-16 Mark Wielaard <mark@klomp.org>
5040 * java/util/jar/JarFile.java (verify): Make package private.
5041 (signaturesRead): Likewise.
5042 (verified): Likewise.
5043 (entryCerts): Likewise.
5046 (entries): Construct new JarEnumeration with reference to this.
5047 (JarEnumeration): Make static.
5048 (JarEnumeration.jarfile): New field.
5049 (JarEnumeration.nextElement): Use and synchronize on jarfile.
5050 Compare verified value to Boolean.TRUE or Boolean.False only
5051 when verify is true.
5052 (getEntry): Make synchronized. Compare value of verified to
5054 (getInputStream): Construct EntryInputStream with reference to this.
5055 (getManifest): Make synchronized.
5056 (EntryInputStream): Make static.
5057 (EntryInputStream.jarfile): New field.
5058 (EntryInputStream.EntryInputStream): Check if manifest exists,
5059 before getting attributes.
5060 (eof): Synchronize on jarfile.
5062 2005-02-16 Casey Marshall <csm@gnu.org>
5064 * java/util/jar/JarFile.java (verify): return if the jar is signed
5065 with an unsupported algorithm.
5067 2005-02-16 Mark Wielaard <mark@klomp.org>
5069 * java/util/jar/JarFile.java (EntryInputStream): Add actual
5070 InputStream as argument.
5071 (getInputStream): Construct a new EntryInputStream with the result of
5072 super.getInputStream(entry).
5074 2005-02-16 Casey Marshall <csm@gnu.org>
5076 Signed JAR file support.
5077 * java/net/URLClassLoader.java
5078 (JarURLResource.getCertificates): re-read jar entry to ensure
5079 certificates are picked up.
5080 (findClass): fill in class `signers' field, too.
5081 * java/util/jar/JarFile.java (META_INF): new constant.
5082 (PKCS7_DSA_SUFFIX): new constant.
5083 (PKCS7_RSA_SUFFIX): new constant.
5084 (DIGEST_KEY_SUFFIX): new constant.
5085 (SF_SUFFIX): new constant.
5086 (MD2_OID): new constant.
5087 (MD4_OID): new constant.
5088 (MD5_OID): new constant.
5089 (SHA1_OID): new constant.
5090 (DSA_ENCRYPTION_OID): new constant.
5091 (RSA_ENCRYPTION_OID): new constant.
5092 (signaturesRead): new field.
5093 (verified): new field.
5094 (entryCerts): new field.
5095 (DEBUG): new constant.
5096 (debug): new method.
5097 (JarEnumeration.nextElement): fill in entry certificates, read
5098 signatures if they haven't been read.
5099 (getEntry): likewise.
5100 (getInputStream): verify stream if it hasn't been verified yet.
5101 (readSignatures): new method.
5102 (verify): new method.
5103 (verifyHashes): new method.
5104 (readManifestEntry): new method.
5105 (EntryInputStream): new class.
5106 * gnu/java/io/Base64InputStream.java (decode): new class
5108 * gnu/java/security/der/DERReader.java don't make class
5110 (in): made protected.
5112 (readLength): likewise.
5113 * gnu/java/security/ber/BER.java,
5114 * gnu/java/security/ber/BEREncodingException.java,
5115 * gnu/java/security/ber/BERReader.java,
5116 * gnu/java/security/ber/BERValue.java,
5117 * gnu/java/security/pkcs/PKCS7SignedData.java,
5118 * gnu/java/security/pkcs/SignerInfo.java:
5121 2005-02-16 Tom Tromey <tromey@redhat.com>
5123 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
5124 copied file on exit.
5126 2005-02-15 Mark Wielaard <mark@klomp.org>
5128 * java/awt/BasicStroke.java (hashCode): Check for null dash.
5130 2005-02-15 Michael Koch <konqueror@gmx.de>
5132 * gnu/java/awt/peer/gtk/GtkArg.java,
5133 gnu/java/awt/peer/gtk/GtkArgList.java:
5136 2005-02-15 Craig Black <craig.black@aonix.com>
5138 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
5139 (postMenuActionEvent): Implement to notify ItemListeners.
5140 * java/awt/CheckboxMenuItem.java
5141 (dispatchEventImpl): Update state on ItemEvent.
5142 * java/awt/MenuItem.java
5143 (processActionEvent): Retarget event source.
5145 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5147 * gnu/java/awt/color/ClutProfileConverter.java,
5148 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
5149 gnu/java/awt/peer/gtk/GdkFontPeer.java,
5150 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
5151 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
5152 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
5153 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
5154 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
5155 gnu/java/awt/peer/gtk/GdkTextLayout.java,
5156 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5157 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5158 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5159 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5160 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5161 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5162 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5163 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5164 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5165 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5166 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5167 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5168 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5169 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5170 gnu/java/awt/peer/gtk/GtkToolkit.java,
5171 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5172 javax/swing/JPopupMenu.java,
5173 javax/swing/JSpinner.java,
5174 javax/swing/SortingFocusTraversalPolicy.java,
5175 javax/swing/SwingUtilities.java,
5176 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5177 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5178 javax/swing/tree/DefaultMutableTreeNode.java:
5179 Removed unused imports and expanded starred
5182 2005-02-15 Mark Wielaard <mark@klomp.org>
5184 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
5185 IllegalArgumentException when the given String is null.
5187 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
5188 when given keystoke sequence cannot be parsed.
5190 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
5191 if one is installed. Only install the given menubar is not null.
5193 * javax/swing/JViewport.java (getViewSize): Return an empty
5194 Dimension when the view isn't set or preferred component size when
5197 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
5198 empty Dimension when there is no view set.
5199 (minimumLayoutSize): Likewise.
5200 (layoutContainer): Don't try to layout when there is no view.
5202 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5205 * include/jawt.h: Likewise.
5206 * include/jawt_md.h: Likewise.
5207 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
5209 * jni/classpath/classpath_jawt.h: Likewise.
5210 * jni/gtk-peer/gtk_jawt.c: Likewise.
5211 * Makefile.am: Build libjawt.so.
5213 2005-02-15 Michael Koch <konqueror@gmx.de>
5215 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
5216 Merged file header with classpath CVS head.
5217 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5218 Merged code formatting with classpath CVS head.
5219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
5221 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5222 Handle special JNI strings with 2 '\0' at the end.
5223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5224 Merged file header with classpath CVS head.
5225 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5226 Merged code formatting with classpath CVS head.
5228 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5230 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
5231 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
5232 (handle_response): Use GTK_RESPONSE_ACCEPT.
5234 2005-02-15 Graydon Hoare <graydon@redhat.com>
5236 * Makefile.am: Fix library build breakage.
5237 * Makefile.in: Regenerate.
5239 2005-02-15 Michael Koch <konqueror@gmx.de>
5241 * javax/swing/JTabbedPane.java
5242 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
5244 2005-02-15 Michael Koch <konqueror@gmx.de>
5246 * javax/swing/tree/DefaultMutableTreeNode.java:
5247 Reworked Javadocs all over.
5248 (getPathToRoot): Fixed direction of result array initialization.
5250 2005-02-15 Michael Koch <konqueror@gmx.de>
5252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5253 Fix includes for cairo 0.3.0 snappshot.
5254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5255 Merged file header from classpath CVS HEAD.
5257 2005-02-15 Craig Black <craig.black@aonix.com>
5259 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5260 (copyState): Pass a JNI global reference to signal handler.
5261 (realize_cb): Use and free JNI global reference.
5262 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5263 (create): Pass a JNI global reference to signal handler.
5264 (selection_changed): Match declaration.
5265 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5266 (dispose): Do not remove entries from state tables until after widget is
5269 2005-02-15 Michael Koch <konqueror@gmx.de>
5271 * java/awt/Container.javai (paramString):
5272 If layoutMgr is null just return result of super.paramString().
5273 * java/awt/Scrollbar.java: Reformatted.
5274 * java/awt/im/InputContext.java (static):
5275 Removed redundant initializations.
5277 2005-02-15 Michael Koch <konqueror@gmx.de>
5279 * javax/swing/ImageIcon.java,
5280 javax/swing/UIManager.java,
5281 javax/swing/text/EditorKit.java,
5282 javax/swing/text/Segment.java:
5283 More whitespace cleanups.
5285 2005-02-15 Michael Koch <konqueror@gmx.de>
5287 * gnu/java/awt/EmbeddedWindow.java,
5288 gnu/java/awt/image/ImageDecoder.java,
5289 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5290 java/awt/DefaultKeyboardFocusManager.java,
5291 java/awt/Frame.java,
5292 java/awt/image/RGBImageFilter.java,
5293 javax/swing/AbstractButton.java,
5294 javax/swing/ActionMap.java,
5295 javax/swing/ComponentInputMap.java,
5296 javax/swing/DefaultDesktopManager.java,
5297 javax/swing/ImageIcon.java,
5298 javax/swing/InputMap.java,
5299 javax/swing/JButton.java,
5300 javax/swing/JCheckBox.java,
5301 javax/swing/JCheckBoxMenuItem.java,
5302 javax/swing/JEditorPane.java,
5303 javax/swing/JMenu.java,
5304 javax/swing/JMenuItem.java,
5305 javax/swing/JOptionPane.java,
5306 javax/swing/JRootPane.java,
5307 javax/swing/JTable.java,
5308 javax/swing/MenuSelectionManager.java,
5309 javax/swing/RepaintManager.java,
5310 javax/swing/ScrollPaneLayout.java,
5311 javax/swing/SortingFocusTraversalPolicy.java,
5312 javax/swing/UIManager.java,
5313 javax/swing/ViewportLayout.java,
5314 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5315 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5316 javax/swing/plaf/basic/BasicLabelUI.java,
5317 javax/swing/plaf/basic/BasicListUI.java,
5318 javax/swing/plaf/basic/BasicMenuItemUI.java,
5319 javax/swing/plaf/basic/BasicMenuUI.java,
5320 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5321 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5322 javax/swing/plaf/basic/BasicRootPaneUI.java,
5323 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5324 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5325 javax/swing/plaf/basic/BasicTextUI.java,
5326 javax/swing/table/TableColumnModel.java,
5327 javax/swing/text/AbstractDocument.java,
5328 javax/swing/text/EditorKit.java,
5329 javax/swing/text/Position.java,
5330 javax/swing/text/Segment.java,
5331 javax/swing/text/StyledEditorKit.java,
5332 javax/swing/text/ViewFactory.java:
5333 Cleanup whitespace differences to classpath CVS HEAD.
5335 2005-02-15 Graydon Hoare <graydon@redhat.com>
5337 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
5338 (finalize): Call finish from here.
5339 (produce): Not from here.
5340 * Makefile.am (gtk_c_source_files):
5341 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
5342 * Makefile.in: Regenerate.
5343 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5345 (cairoDrawGdkTextLayout):
5347 (getPeerTextMetrics):
5348 (getPeerFontMetrics): Remove.
5349 (setFont): Don't call cairoSetFont.
5350 (cairoDrawGlyphVector): Accept font peer argument.
5351 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
5352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5353 (ensure_metrics_cairo):
5354 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
5355 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
5356 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
5357 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
5359 (metrics_surface): Remove.
5360 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
5361 Pass and install font peer.
5363 2005-02-15 Graydon Hoare <graydon@redhat.com>
5365 * Makefile.am: Create "split library" structure.
5366 * Makefile.in: Regenerate.
5368 2005-02-15 Graydon Hoare <graydon@redhat.com>
5370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5374 Release GDK lock during upcalls.
5376 2005-02-15 Graydon Hoare <graydon@redhat.com>
5378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
5379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5380 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
5381 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
5382 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
5383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
5384 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5387 (getTextMetrics): New native methods.
5388 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
5389 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
5390 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
5391 * Makefile.in: Regenerate.
5393 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5395 * javax/swing/SwingUtilities.java:
5396 (getAccessibleAt(java.awt.Component, java.awt.Point)):
5397 Implemented and documented.
5398 (getAccessibleChild(java.awt.Component, int)): Likewise.
5399 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
5400 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
5401 (getAccessibleStateSet(java.awt.Component)): Likewise.
5403 2005-02-15 Michael Koch <konqueror@gmx.de>
5405 * javax/swing/SwingUtilities.java
5406 (getFontMetrics): Removed.
5408 2005-02-15 Michael Koch <konqueror@gmx.de>
5410 * java/awt/Container.java
5411 (paramString): Implemented.
5412 * javax/swing/AbstractButton.java
5413 (paramString): Implemented.
5414 * javax/swing/JComponent.java
5415 (paramString): Implemented.
5416 * javax/swing/JMenu.java
5417 (paramString): Implemented.
5418 * javax/swing/JMenuBar.java
5419 (paramString): Implemented.
5420 * javax/swing/JMenuItem.java
5421 (paramString): Implemented.
5422 * javax/swing/JPopupMenu.java
5423 (paramString): Implemented.
5425 2005-02-15 Michael Koch <konqueror@gmx.de>
5427 * javax/swing/JMenu.java
5428 (uiClassID): Removed.
5429 (JMenu): Set invoker on popup menu.
5430 (getUIClassID): Return id directly.
5431 (getItemCount): Simply return getMenuComponentCount().
5433 (isTopLevelMenu): Simplified.
5434 * javax/swing/JMenuItem.java
5435 (uiClassID): Removed.
5436 (getUIClassID): Return id directly.
5437 * javax/swing/JPopupMenu.java
5438 (uiClassID): Removed.
5439 (JPopupMenu): Always initialize correctly.
5440 (getSubElements): Only return components implementing MenuElement
5442 (HeavyWeightPopup.hide): Removed.
5444 2005-02-15 Michael Koch <konqueror@gmx.de>
5446 * java/awt/image/ReplicateScaleFilter.java
5447 (replicatePixels): Made private.
5448 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
5449 (DefaultRGBChooserPanel): Made package private.
5450 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
5451 (RecentSwatchPanel): Likewise.
5452 * javax/swing/event/MouseInputAdapter.java: Reformatted.
5453 (MouseInputAdapter): Made abstract.
5454 * javax/swing/tree/DefaultMutableTreeNode.java
5456 (growTree): Likewise.
5458 2005-02-15 Michael Koch <konqueror@gmx.de>
5460 * java/awt/dnd/DropTarget.java (addDropTargetListener):
5463 2005-02-15 Michael Koch <konqueror@gmx.de>
5465 * javax/swing/JComponent.java (getComponentGraphics):
5466 Removed accidently commited code.
5468 2005-02-15 Graydon Hoare <graydon@redhat.com>
5470 * java/awt/dnd/DropTarget.java
5471 (addDropTargetListener): Despite documentation, do not throw.
5472 * javax/swing/JComponent.java: Set a default DropTarget.
5474 2005-02-15 Michael Koch <konqueror@gmx.de>
5476 * javax/swing/AbstractAction.java
5477 (ENABLED_PROPERTY): Removed.
5478 (setEnabled): Replaced constant with real string.
5479 * javax/swing/AbstractButton.java
5480 (createActionPropertyChangeListener.propertyChange): Likewise.
5481 * javax/swing/JComboBox.java
5482 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
5483 (EDITABLE_CHANGED_PROPERTY): Removed.
5484 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
5485 (ENABLED_CHANGED_PROPERTY):Likewise.
5486 (RENDERER_CHANGED_PROPERTY):Likewise.
5487 (EDITOR_CHANGED_PROPERTY):Likewise.
5488 (MODEL_CHANGED_PROPERTY):Likewise.
5489 (uiClassID):Likewise.
5490 (getUIClassID): Replaced constant with real string.
5491 (setModel):Likewise.
5492 (setEditable):Likewise.
5493 (setMaximumRowCount):Likewise.
5494 (setRenderer):Likewise.
5495 (setEditor):Likewise.
5496 (setEnabled):Likewise.
5497 * javax/swing/JLabel.java
5498 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
5499 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
5500 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
5501 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5502 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5503 (ICON_CHANGED_PROPERTY): Likewise.
5504 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
5505 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
5506 (TEXT_CHANGED_PROPERTY): Likewise.
5507 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
5508 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
5509 (setText): Replaced constant with real string.
5510 (setIcon): Likewise.
5511 (setDisabledIcon): Likewise.
5512 (setDisplayedMnemonic): Likewise.
5513 (setIconTextGap): Likewise.
5514 (setVerticalAlignment): Likewise.
5515 (setHorizontalAlignment): Likewise.
5516 (setVerticalTextPosition): Likewise.
5517 (setHorizontalTextPosition): Likewise.
5518 (setLabelFor): Replaced constant with real string.
5519 Fire property change event after property got changed.
5520 * javax/swing/JList.java
5521 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
5522 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
5523 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
5524 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
5525 (MODEL_PROPERTY_CHANGED): Likewise.
5526 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
5527 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
5528 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
5529 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
5530 (setFixedCellWidth): Reimplemented.
5531 (setFixedCellHeight): Exit if new value is identical.
5532 Replaced constant with real string.
5533 (setSelectionBackground): Likewise.
5534 (setSelectionForeground): Likewise.
5535 (setPrototypeCellValue): Likewise.
5536 (setCellRenderer): Replaced constant with real string.
5537 (setModel): Likewise.
5538 (setSelectionModel): Likewise.
5539 * javax/swing/JMenuBar.java
5540 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5541 (MODEL_CHANGED_PROPERTY): Likewise.
5542 (MARGIN_CHANGED_PROPERTY): Likewise.
5543 (setBorderPainted): Reimplemented.
5544 (setMargin): Likewise.
5545 (setSelectionModel): Replaced constant with real string.
5546 * javax/swing/JPopupMenu.java
5547 (LABEL_CHANGED_PROPERTY): Removed.
5548 (VISIBLE_CHANGED_PROPERTY): Likewise.
5549 (borderPainted): Likewise.
5550 (setLabel): Replaced constant with real string.
5551 (setVisible): Exit if new value is identical.
5552 Replaced constant with real string.
5553 * javax/swing/JProgressBar.java
5554 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
5555 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5556 (STRING_CHANGED_PROPERTY): Likewise.
5557 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
5558 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
5559 (setOrientation): Replaced constant with real string.
5560 (setStringPainted): Likewise.
5561 (setString): Likewise.
5562 (setBorderPainted): Likewise.
5563 (setIndeterminate): Likewise.
5564 * javax/swing/JScrollBar.java
5565 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
5566 (MODEL_CHANGED_PROPERTY): Likewise.
5567 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5568 (setOrientation): Replaced constant with real string.
5569 (setModel): Likewise.
5570 (setUnitIncrement): Likewise.
5571 (setBlockIncrement): Likewise.
5572 * javax/swing/JScrollPane.java
5573 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
5574 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
5575 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5576 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5577 (LAYOUT_CHANGED_PROPERTY): Likewise.
5578 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
5579 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
5580 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
5581 (VIEWPORT_CHANGED_PROPERTY): Likewise.
5582 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
5583 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
5584 (setComponentOrientation): Replaced constant with real string.
5585 (setColumnHeader): Likewise.
5586 (setHorizontalScrollBar): Likewise.
5587 (setHorizontalScrollBarPolicy): Likewise.
5588 (setRowHeader): Likewise.
5589 (setVerticalScrollBar): Likewise.
5590 (setVerticalScrollBarPolicy): Likewise.
5591 (setWheelScrollingEnabled): Likewise.
5592 (setViewport): Likewise.
5593 (setViewportBorder): Likewise.
5594 * javax/swing/JSlider.java
5595 (INVERTED_CHANGED_PROPERTY): Removed.
5596 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
5597 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5598 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
5599 (MODEL_CHANGED_PROPERTY): Likewise.
5600 (ORIENTATION_CHANGED_PROPERTY): Likewise.
5601 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
5602 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
5603 (setModel): Replaced constant with real string.
5604 (setOrientation): Likewise.
5605 (setLabelTable): Likewise.
5606 (setInverted): Likewise.
5607 (setMajorTickSpacing): Likewise.
5608 (setMinorTickSpacing): Likewise.
5609 (setPaintTicks): Likewise.
5610 (setPaintLabels): Likewise.
5611 * javax/swing/JTabbedPane.java
5612 (MODEL_CHANGED_PROPERTY): Removed.
5613 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
5614 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
5615 (setModel): Replaced constant with real string.
5616 (setTabPlacement): Likewise.
5617 (setTabLayoutPolicy): Likewise.
5618 * javax/swing/JToolBar.java
5619 (ORIENTATION_CHANGED_PROPERTY): Removed.
5620 (FLOATABLE_CHANGED_PROPERTY): Likewise.
5621 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
5622 (MARGIN_CHANGED_PROPERTY): Likewise.
5623 (ROLLOVER_CHANGED_PROPERTY): Likewise.
5624 (setRollover): Replaced constant with real string.
5625 (setMargin): Likewise.
5626 (setBorderPainted): Likewise.
5627 (setFloatable): Likewise.
5628 (setOrientation): Likewise.
5629 * javax/swing/plaf/basic/BasicComboBoxUI.java
5630 (PropertyChangeHandler.propertyChange): Likewise.
5631 * javax/swing/plaf/basic/BasicComboPopup.java
5632 (PropertyChangeHandler.propertyChange): Likewise.
5633 * javax/swing/plaf/basic/BasicMenuBarUI.java
5634 (PropertyChangeHandler.propertyChange): Likewise.
5635 * javax/swing/plaf/basic/BasicProgressBarUI.java
5636 (PropertyChangeHandler.propertyChange): Likewise.
5637 * javax/swing/plaf/basic/BasicScrollBarUI.java
5638 (PropertyChangeHandler.propertyChange): Likewise.
5639 * javax/swing/plaf/basic/BasicSliderUI.java
5640 (PropertyChangeHandler.propertyChange): Likewise.
5641 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5642 (PropertyChangeHandler.propertyChange): Likewise.
5643 * javax/swing/plaf/basic/BasicToolBarUI.java
5644 (PropertyChangeHandler.propertyChange): Likewise.
5646 2005-02-15 Michael Koch <konqueror@gmx.de>
5648 * javax/swing/DefaultButtonModel.java
5649 (changeState): Made private.
5650 * javax/swing/DefaultDesktopManager.java
5651 (setWasIcon): Fixed second argument to be java.lang.Boolean.
5652 * javax/swing/JLayeredPane.java
5653 (layerToRange): Made private.
5654 (incrLayer): Likewise.
5655 (decrLayer): Likewise.
5656 * javax/swing/JTable.java
5657 (dragEnabled): Likewise.
5658 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
5659 * javax/swing/KeyStroke.java
5660 (Keystroke): Made private.
5661 * javax/swing/TransferHandler.java
5662 (COMMAND_COPY): Likewise.
5663 (COMMAND_CUT): Likewise.
5664 (COMMAND_PASTE): Likewise.
5666 2005-02-15 Michael Koch <konqueror@gmx.de>
5668 * javax/swing/JTextField.java
5669 (postActionEvent): Use text in field when actionCommand is null.
5670 (getActionCommand): Removed.
5672 2005-02-15 Michael Koch <konqueror@gmx.de>
5674 * javax/swing/AbstractSet.java: Removed.
5675 * Makefile.am: Removed javax/swing/AbstractSet.java.
5676 * Makefile.in: Regenerated.
5678 2005-02-15 Michael Koch <konqueror@gmx.de>
5680 * java/awt/Window.java
5681 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
5682 * java/awt/dnd/DnDConstants.java
5683 (DnDConstants): New private constructor.
5685 2005-02-15 Michael Koch <konqueror@gmx.de>
5687 * javax/swing/DefaultCellRenderer.java: Removed.
5688 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
5689 * Makefile.in: Regenerated.
5691 2005-02-15 Michael Koch <konqueror@gmx.de>
5693 * javax/swing/AbstractButton.java
5694 (fireItemStateChanged): Made protected.
5695 (fireActionPerformed): Likewise.
5696 (fireStateChanged): Likewise.
5697 * javax/swing/DefaultButtonModel.java
5698 (fireItemStateChanged): Likewise.
5699 (fireActionPerformed): Likewise.
5700 (fireStateChanged): Likewise.
5701 * javax/swing/JApplet.java
5703 (frameInit): Likewise.
5704 (setRootPane): Made protected.
5705 (createRootPane): Likewise.
5706 * javax/swing/JComponent.java
5707 (getClientProperty): Likewise.
5708 (putClientProperty): Likewise.
5709 * javax/swing/JEditorPane.java
5710 (getContentType): Likewise.
5711 (setContentType): Likewise.
5712 * javax/swing/JFrame.java
5713 (setRootPane): Likewise.
5714 (createRootPane): Likewise.
5715 * javax/swing/JInternalFrame.java
5716 (getFocusCycleRootAncestor): Made final. Added @since tag.
5717 (isFocusCycleRoot): Likewise.
5718 (getWarningString): Made final.
5719 * javax/swing/JScrollBar.java
5720 (changeListener): Removed.
5721 (changeEvent): Likewise.
5722 (createChangeListener): Likewise.
5723 (fireStateChanged): Likewise.
5724 (addChangeListener): Likewise.
5725 (removeChangeListener): Likewise.
5726 (getChangeListeners): Likewise.
5727 * javax/swing/JScrollPane.java
5728 (createViewport): Made protected.
5729 * javax/swing/JViewport.java
5730 (addImpl): Likewise.
5731 (setBorder): New method.
5732 * javax/swing/JWindow.java
5733 (setRootPane): Made protected.
5734 (createRootPane): Likewise.
5735 * javax/swing/plaf/basic/BasicButtonUI.java
5736 (installListeners): Likewise.
5737 (uninstallListeners): Likewise.
5738 * javax/swing/plaf/basic/BasicProgressBarUI.java
5739 (incrementAnimationIndex): Likewise.
5740 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5741 (createLayoutManager): Likewise.
5742 * javax/swing/table/DefaultTableCellRenderer.java
5743 (firePropertyChange): Likewise.
5744 * javax/swing/table/JTableHeader.java
5745 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
5747 * javax/swing/text/PlainDocument.java
5748 (reindex): Made private.
5749 * javax/swing/text/PlainView.java
5750 (drawLine): Made protected.
5751 (getTabSize): Likewise.
5752 * javax/swing/text/View.java
5754 (preferenceChanged): New method.
5755 (getBreakWeight): Likewise.
5756 (breakView): Likewise.
5757 (getViewIndex): Likewise.
5759 2005-02-15 Michael Koch <konqueror@gmx.de>
5761 * javax/swing/JScrollPane.java
5762 (ScrollBar): Made class protected.
5763 * javax/swing/JSpinner.java
5764 (JSpinner): Added @since tag.
5765 (listenerList): Removed.
5766 * javax/swing/JTable.java
5767 (setValueAt): New method.
5768 (getColumn): Likewise.
5769 * javax/swing/JWindow.java
5770 (rootPaneCheckingEnabled): Renamed from checking.
5772 2005-02-15 Michael Koch <konqueror@gmx.de>
5774 * javax/swing/plaf/basic/BasicTextUI.java
5775 (RootView.modelToView): Made it public and return a java.awt.Shape.
5776 Handle null subview.
5777 (uninstall): Set textComponent to null when its not possible used
5779 * javax/swing/text/View.java
5780 (setParent): Use better argument name.
5781 (getContainer): Get parent via getParent().
5782 (getViewFactory): Likewise.
5783 (getAttributes): Get element via getElement().
5784 (getStartOffset): Likewise.
5785 (getEndOffset): Likewise.
5786 (getResizeWeight): New method.
5787 (getMaximumSpan): Likewise.
5788 (getMinimumSpan): Likewise.
5789 (setSize): Likewise.
5790 (getGraphics): Likewise.
5792 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5794 * java/awt/Checkbox.java:
5795 (AccessibleAWTCheckbox()): Added public constructor
5797 * java/awt/Choice.java:
5798 (AccessibleAWTChoice): Added class documentation.
5799 (AccessibleAWTChoice()): Added public constructor
5801 (AccessibleAWTChoice.getAccessibleAction()): Documented.
5802 (AccessibleAWTChoice.getAccessibleRole()): Documented,
5803 and changed role to COMBO_BOX.
5804 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
5805 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
5806 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
5808 2005-02-15 Graydon Hoare <graydon@redhat.com>
5809 Michael Koch <konqueror@gmx.de>
5811 * javax/swing/LayoutFocusTraversalPolicy.java,
5812 javax/swing/SortingFocusTraversalPolicy.java:
5814 * Makefile.am: Added new classes.
5815 * Makefike.in: Regenerated.
5818 2005-02-15 Michael Koch <konqueror@gmx.de>
5820 * javax/swing/DebugGraphics.java: Mostly implemented.
5822 2005-02-15 Michael Koch <konqueror@gmx.de>
5824 * javax/swing/SwingUtilities.java
5825 (findFocusOwner): New method.
5827 2005-02-15 Michael Koch <konqueror@gmx.de>
5829 * javax/swing/text/DefaultEditorKit.java
5830 (read): Added '\n' after each line.
5831 * javax/swing/text/PlainView.java
5832 (modelToView): Update metrics.
5833 (drawLine): Use offsets from element.
5834 (paint): Update metrics. Draw all lines.
5836 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5838 * java/awt/Checkbox.java:
5839 (AccessibleAWTCheckbox): Added class documentation
5840 * java/awt/Scrollbar.java:
5841 (AccessibleAWTScrollBar): typo corrected and docs added
5842 (AccessibleAWTScrollBar.getAccessibleRole()): documented
5843 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
5844 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
5845 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
5846 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
5847 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
5848 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
5849 (getAccessibleContext()): name of accessible class corrected
5851 2005-02-15 Mark Wielaard <mark@klomp.org>
5853 * java/awt/BasicStroke.java (hashCode): Implement.
5856 2005-02-15 Michael Koch <konqueror@gmx.de>
5858 * java/awt/print/PrinterJob.java
5859 (pageDialog): Throws java.awt.HeadlessException.
5860 (printDialog): Likewise.
5862 2005-02-15 Mark Wielaard <mark@klomp.org>
5864 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
5866 2005-02-15 Michael Koch <konqueror@gmx.de>
5868 * javax/swing/JTable.java
5869 (getValueAt): New method.
5870 * javax/swing/table/JTableHeader.java
5871 (columnAtPoint): New method.
5873 2005-02-15 Michael Koch <konqueror@gmx.de>
5875 * javax/swing/JTextField.java
5876 (actions): New field.
5877 (static): Initalize actions field.
5878 (getActions): New method.
5880 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5882 * java/awt/Checkbox.java:
5883 (AccessibleAWTCheckbox): name capitalization corrected
5884 and serialization UID added.
5885 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
5887 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
5888 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
5889 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
5890 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
5891 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
5892 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
5893 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
5894 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
5895 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
5896 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
5897 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
5899 (getAccessibleContext()): name of accessible class corrected
5901 2005-02-15 Sven de Marothy <sven@physto.se>
5903 * java/awt/geom/doc-files/Area-1.png,
5904 java/awt/geom/doc-files/Ellipse-1.png,
5905 java/awt/geom/doc-files/GeneralPath-1.png:
5908 2005-02-15 Graydon Hoare <graydon@redhat.com>
5910 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
5911 Use union to avoid type-punning warning.
5913 2005-02-15 Michael Koch <konqueror@gmx.de>
5915 * javax/swing/DefaultListSelectionModel.java
5916 (clone): New method.
5918 2005-02-15 Mark Wielaard <mark@klomp.org>
5920 Reported by Martin Platter <motse@complang.tuwien.ac.at>
5921 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5922 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
5923 Correct method signature of gtkSetFilename.
5925 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
5927 * javax/swing/text/StringContent.java: New file.
5929 2005-02-15 Michael Koch <konqueror@gmx.de>
5931 * Makefile.am: Added javax/swing/text/StringContent.java.
5932 * Makefile.in: Regenerated.
5934 2005-02-15 Michael Koch <konqueror@gmx.de>
5936 * gnu/java/awt/ClasspathToolkit.java:
5937 Import statements reworked.
5938 (imageCache): Made it of type java.util.HashMap.
5940 2005-02-15 Michael Koch <konqueror@gmx.de>
5942 * javax/imageio/stream/MemoryCacheImageInputStream.java:
5943 Reworked import statements.
5945 2005-02-15 Graydon Hoare <graydon@redhat.com>
5947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
5948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
5950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
5952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
5953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
5954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
5955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5956 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
5957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
5958 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
5959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
5960 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
5961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
5962 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5963 Rewrite uses of extern variable to be function calls.
5964 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
5965 function, from extern variable.
5966 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5967 (gdk_env): Remove variable, add new function.
5968 (java_vm): Add new variable.
5969 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
5970 java_vm rather than old gdk_env variable.
5972 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
5974 * javax/swing/DefaultListModel.java
5975 (add): fire correct event,
5976 (addElement): corrected interval indices in event,
5977 (clear): corrected upper bound for interval, only fire event if
5979 (setSize): fire appropriate event.
5981 2005-02-15 Graydon Hoare <graydon@redhat.com>
5983 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
5984 * gnu/awt/xlib/XToolkit.java: Likewise.
5985 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
5986 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
5987 * gnu/java/awt/ClasspathToolkit.java: Likewise.
5988 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
5989 * java/awt/EventQueue.java (getNextEvent):
5990 Adjust event loop to switch to native mode after 100ms.
5991 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
5992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
5993 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
5994 Wake up event thread.
5995 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
5996 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
5997 Adjust event loop to switch to java mode after 100ms.
5999 2005-02-15 Graydon Hoare <graydon@redhat.com>
6001 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
6002 accidentally removed in last change.
6004 2005-02-15 Michael Koch <konqueror@gmx.de>
6006 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
6007 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
6009 2005-02-15 Graydon Hoare <graydon@redhat.com>
6011 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
6012 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
6013 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
6014 * jni.cc: Reuse bottom frame between calls, avoid clearing
6015 frame when no local references are made.
6017 2005-02-15 Michael Koch <konqueror@gmx.de>
6019 * javax/swing/UIDefaults.java (UIDefaults):
6020 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
6021 Fixed HTML entity and removed a redundant comma.
6023 2005-02-15 Michael Koch <konqueror@gmx.de>
6025 * javax/swing/text/DefaultEditorKit.java
6026 (deinstall): Removed.
6027 (install): Likewise.
6029 2005-02-15 Michael Koch <konqueror@gmx.de>
6031 * javax/swing/UIDefaults.java (put): Handle value of null.
6033 2005-02-15 Michael Koch <konqueror@gmx.de>
6035 * java/awt/Robot.java,
6036 java/awt/Scrollbar.java,
6037 java/awt/print/PrinterJob.java,
6038 javax/swing/JTable.java,
6039 javax/swing/text/AbstractDocument.java:
6040 Reworked import statements.
6042 2005-02-15 Michael Koch <konqueror@gmx.de>
6044 * javax/swing/JEditorPane.java
6045 (read): Implemented.
6047 * javax/swing/text/DefaultEditorKit.java
6048 (page): Renamed from page_url. Made private.
6049 (editorKit): Renamed from kit. Made private.
6051 (JEditorPane): All constructors reimplemented.
6052 (getContentType): Use content type from editor kit.
6053 (getEditorKit): Return editorKit.
6054 (getEditorKitForContentType):Likewise.
6055 (getPage): Return page.
6056 (setContentType): Reimplemented.
6057 (setEditorKit): Likewise.
6058 (setEditorKitForContentType): Removed wrong implementation.
6059 (setPage): Implemented.
6061 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
6064 (nativeSetIconImageFromData): Re-add native implementation.
6066 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
6068 * javax/swing/table/DefaultTableModel.java
6069 (DefaultTableModel()): Added Javadocs.
6070 (DefaultTableModel(int, int)): Fixed implementation.
6071 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
6072 for negative rowCount.
6073 (DefaultTableModel(Object[], int)): Added Javadocs.
6074 (DefaultTableModel(Vector, Vector)): Likewise.
6075 (DefaultTableModel(Object[][], Object[])): Likewise.
6076 (getDataVector): Likewise.
6077 (setDataVector(Vector, Vector)): Likewise.
6078 (setDataVector(Object[][], Object[])): Likewise.
6079 (newDataAvailable): Likewise.
6080 (newRowsAdded): Likewise.
6081 (rowsRemoved): Likewise.
6082 (setColumnIdentifiers(Vector)): Allow for null argument.
6083 (setColumnIdentifiers(Object[])): Added Javadocs.
6084 (setNumRows): Likewise.
6085 (setRowCount): Adds new rows if necessary, and sends more specific
6087 (setColumnCount): Allow for null columnIdentifiers.
6088 (addColumn(Object)): Added Javadocs.
6089 (addColumn(Object, Vector)): Handle null columnData.
6090 (addColumn(Object, Object[])): Handle columnData with more or less
6091 entries than rows in the table.
6092 (addRow(Vector)): Fire appropriate event.
6093 (addRow(Object[])): Added Javadocs.
6094 (insertRow(int, Vector)): Fire appropriate event.
6095 (insertRow(int, Object[])): Added Javadocs.
6096 (moveRow): Reimplemented.
6097 (removeRow(int)): Fire appropriate event.
6098 (getColumnCount): Allow for null columnIdentifiers.
6099 (getColumnName): Now returns empty string when column index is too
6101 (isCellEditable): Added Javadocs.
6102 (getValueAt): Likewise.
6103 (setValueAt): Fire more specific event.
6104 (convertToVector): Added Javadocs.
6105 * javax/swing/table/TableModel.java
6108 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6110 * libgcj.spec.in (lib): Add -l-javax-imageio.
6112 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6114 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
6115 references to event queue q with method call q().
6116 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
6117 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
6118 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
6119 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
6120 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
6121 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
6124 2005-02-15 Graydon Hoare <graydon@redhat.com>
6126 * gnu/java/awt/ClasspathToolkit.java
6127 (registerImageIOSpis): New method.
6128 * gnu/java/awt/image/ImageDecoder.java
6129 (imageDecoder): New constructor using InputStream
6130 (startProduction): Handle existing InputStream.
6131 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6132 (findSimpleIntegerArray): Make public and static.
6133 (updateBufferedImage): Set each pixel, in a loop.
6134 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
6135 Implement ImageIO SPI classes.
6136 (createBufferedImage): Rewrite in terms of SPI classes.
6137 * gnu/java/awt/peer/gtk/GtkToolkit.java
6138 (registerImageIOSpis): New method.
6139 * java/lang/reflect/natMethod.cc
6140 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
6141 which lets JNI call interface methods properly.
6142 * javax/imageio/ImageIO.java
6143 (WriterFormatFilter.filter): Fix copy-and-paste typos.
6144 (WriterMIMETypeFilter.filter): Likewise.
6145 (ImageReaderIterator): Pass extension argument through to SPI.
6146 (getReadersByFilter): Likewise.
6147 (getWritersByFilter): Likewise.
6148 (getImageReadersByFormatName): Likewise.
6149 (getImageReadersByMIMEType): Likewise.
6150 (getImageReadersBySuffix): Likewise.
6151 (getImageWritersByFormatName): Likewise.
6152 (getImageWritersByMIMEType): Likewise.
6153 (getImageWritersBySuffix): Likewise.
6156 * javax/imageio/ImageReader.java
6157 (progressListeners): Initialize.
6158 (setInput): Implement.
6159 * javax/imageio/ImageWriter.java
6160 (progressListeners): Initialize.
6161 (warningListeners): Likewise.
6162 (warningLocales): Likewise.
6163 (setOutput): Test "isInstance" rather than class equality.
6164 * javax/imageio/spi/IIORegistry.java
6165 (static): Add reader and writer SPIs.
6166 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
6167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6168 (query_formats): New function.
6169 (save_to_stream): Likewise.
6170 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
6172 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
6176 (keyPress): Likewise.
6177 (keyRelease): Likewise.
6179 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6181 * javax/swing/JTable.java
6182 (columnAtPoint): New Method. Implemented.
6183 (rowAtPoint): Likewise.
6184 (countSelections): Fixed few small count errors.
6185 (getSelections): Likewise.
6186 (setSelectionMode): Set selection mode for column
6187 selection model in addition to row selection model.
6188 * javax/swing/plaf/basic/BasicTableUI.java:
6189 (getRowForPoint): Removed. Replaced by
6190 JTable.rowAtPoint().
6191 (getColForPoint): Removed. Replaced by
6192 JTable.columnAtPoint().
6193 (updateSelection): Updated to call JTable.columnAtPoint
6194 and JTable.rowAtPoint.
6195 * javax/swing/table/DefaultTableColumnModel.java:
6196 (getSelectedColumns): Implemented.
6197 (getSelectedColumnCount): Implemented.
6199 2005-02-15 Graydon Hoare <graydon@redhat.com>
6202 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
6203 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
6204 * Makefile.in: Regenerate.
6205 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
6206 * gnu/awt/xlib/XFramePeer.java: Likewise.
6207 * gnu/awt/xlib/XToolkit.java: Likewise.
6208 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
6209 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
6210 * gnu/java/awt/ClasspathToolkit.java
6213 (iterateNativeQueue): New methods.
6214 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
6215 * gnu/java/awt/peer/gtk/GtkToolkit.java
6216 (gtkInit): Absorb from defunct GtkMainThread class.
6217 (static): Run gtkInit in static startup block.
6218 (GtkToolkit): Remove construction of GtkMainThread and queue.
6219 (getSystemEventQueueImpl): Construct queue when requested.
6222 (iterateNativeQueue): New methods.
6223 * java/awt/Component.java (removeNotify): Remove race.
6224 * java/awt/EventDispatchThread.java
6225 (EventDispatchThread): Don't start on construction.
6226 (run): Remove isInterrupted check.
6227 * java/awt/EventQueue.java (shutdown): New flag.
6228 (isShutdown): New method checking J2SE shutdown condition.
6229 (setShutdown): New method.
6230 (getNextEvent): Restructure to use ClasspathToolkit.
6231 (postEvent): Activate new thread on posting, wake thread on
6232 post of possible shutdown condition event.
6233 * java/awt/Frame.java
6234 (Frame): Call noteFrame in all constructors.
6235 (fireDummyEvent): New helper method.
6236 (addNotify): Fire a dummy event to wake up queue.
6237 (removeNotify): Fire a dummy event to wake up queue.
6238 (noteFrame): New method.
6239 (weakFrames): New static field.
6240 (getFrames): Implement.
6241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
6243 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
6244 Move everything from GtkMainThread into this file
6245 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
6246 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
6247 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
6248 New functions to implement single-threaded queue semantics.
6250 2005-02-15 Michael Koch <konqueror@gmx.de>
6252 * javax/swing/plaf/metal/MetalLookAndFeel.java
6253 (getControlTextFont): New method.
6254 (getMenuTextFont): Likewise.
6255 (getSubTextFont): Likewise.
6256 (getSystemTextFont): Likewise.
6257 (getUserTextFont): Likewise.
6258 (getWindowTitleFont): Likewise.
6260 2005-02-15 Michael Koch <konqueror@gmx.de>
6262 * javax/swing/text/AbstractDocument.java
6263 (documentFilter): New field.
6264 (getDocumentFilter): New method.
6265 (setDocumentFilter): Likewise.
6268 2005-02-15 Michael Koch <konqueror@gmx.de>
6270 * javax/swing/JTree.java
6271 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
6273 2005-02-15 Michael Koch <konqueror@gmx.de>
6275 * javax/swing/text/AbstractDocument.java
6276 (AbstractElement.getLength): Fixed off-by-one error.
6277 (AbstractElement.children): Made abstract.
6278 (AbstractElement.getAllowsChildren): Likewise.
6279 (AbstractElement.getElement): Likewise.
6280 (AbstractElement.dumpElement): New private method.
6281 (AbstractElement.dump): New method.
6282 (BranchElememt.getName): Fixed implementation.
6283 (BranchElememt.toString): Likewise.
6284 (BranchElememt.getElement): Fixed arguments.
6285 (LeafElement.getName): Fixed implementation.
6286 (LeafElement.toString): Likewise.
6287 * javax/swing/text/GapContent.java
6288 (GapContent): Put default content into buffer.
6289 * javax/swing/text/PlainDocument.java
6290 (reindex): Use empty attribute sets instead of null.
6291 (createDefaultRoot): Reimplemented.
6292 (insertUpdate): Call super method.
6293 (removeUpdate): Likewise.
6294 (getParagraphElement): Implemented.
6296 2005-02-15 Michael Koch <konqueror@gmx.de>
6298 * gnu/java/awt/ClasspathToolkit.java
6299 (createRobot): Throws java.awt.AWTException.
6300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
6301 Added '__attribute__((unused))' to all unused method arguments.
6303 2005-02-15 Michael Koch <konqueror@gmx.de>
6305 * javax/swing/DefaultBoundedRangeModel.java
6306 (fireValueChanged): Fixed off-by-one error.
6308 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6310 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
6311 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
6313 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
6314 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
6315 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
6316 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
6317 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6318 (getDefaultScreenDevice): Implement.
6319 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
6320 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
6321 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
6322 * java/awt/Robot.java: Implement.
6323 * java/awt/peer/RobotPeer.java: Rename parameters.
6324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
6325 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6326 (awt_keycode_to_keysym): Make non-static.
6327 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
6328 AWT_BUTTON3_MASK): Declare constants.
6329 (awt_keycode_to_keysym): Declare.
6331 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
6332 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
6333 and is non-empty pass its value to "make check".
6334 (test_mauve_sim): Likewise.
6336 2005-02-15 Michael Koch <konqueror@gmx.de>
6338 * javax/imageio/IIOParam.java
6339 (setSourceBands): New method.
6340 (setSourceSubsampling): Likewise.
6341 * javax/imageio/ImageReadParam.java
6342 (setDestination): Likewise.
6343 (setDestinationBands): Likewise.
6344 (setSourceProgressivePasses): Likewise.
6345 * javax/imageio/metadata/IIOInvalidTreeException.java
6346 (serialVersionUID): New static field.
6347 * javax/imageio/metadata/IIOMetadataNode.java
6348 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
6349 (parent): Dont initailize with default value explicitely.
6351 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
6352 (removeAttributeNode): Likewise.
6353 (removeAttributeNS): Likewise.
6354 (setAttribute): Likewise.
6355 (setAttributeNode): Likewise.
6356 (setAttributeNodeNS): Likewise.
6357 (setAttributeNS): Likewise.
6358 (appendChild): Likewise.
6359 (getNodeValue): Likewise.
6360 (insertBefore): Likewise.
6361 (removeChild): Likewise.
6362 (replaceChild): Likewise.
6363 (setPrefix): Likewise.
6365 2005-02-15 Michael Koch <konqueror@gmx.de>
6367 * javax/swing/LookAndFeel.java
6368 (getDesktopPropertyValue): New method.
6370 2005-02-15 Michael Koch <konqueror@gmx.de>
6372 * javax/swing/JTree.java
6373 (hasChildren): New instance field.
6375 2005-02-15 Michael Koch <konqueror@gmx.de>
6377 * javax/swing/JComponent.java
6378 (getToolTipText): New method.
6379 (getTitledBorderText): Likewise.
6380 (getAccessibleKeyBinding): Likewise.
6381 (getVerifyInputWhenFocusTarget): Likewise.
6382 (setVerifyInputWhenFocusTarget): Likewise.
6383 (verifyInputWhenFocusTarget): New instance field.
6385 2005-02-15 Michael Koch <konqueror@gmx.de>
6387 * javax/swing/DefaultListSelectionModel.java
6388 (fireValueChanged): New method.
6390 2005-02-15 Michael Koch <konqueror@gmx.de>
6392 * javax/swing/DefaultBoundedRangeModel.java:
6393 Fixed javadocs all over.
6394 (fireStateChanged): Simplified.
6395 * javax/swing/BoundedRangeModel.java:
6398 2005-02-15 Michael Koch <konqueror@gmx.de>
6400 * javax/swing/JRootPane.java
6401 (setMenuBar): Added @deprecated tag.
6402 (getMenuBar): Likewise.
6403 * javax/swing/JTable.java
6404 (sizeColumnsToFit): Likewise.
6406 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6408 * javax/swing/ImageIcon.java (setImage): Implemented.
6410 2005-02-15 Michael Koch <konqueror@gmx.de>
6412 * javax/swing/JTable.java:
6413 Removed unused imports.
6415 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6417 (prepareRenderer): Get column's index in dataModel instead
6418 of column's view index.
6419 (getColumnCount): return count of the columns in ColumnModel,
6421 (removeColumn): Implemented.
6422 (moveColumm): Likewise.
6423 (setRowHeight): throw IllegalArgumentException if height is
6425 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
6426 (DefaultTableColumnModel):Add call to createSelectionModel().
6427 (addColumn): Fire columnAdded event to registered listeners.
6428 (removeColumn): Fire columnRemoved event to registered listeners.
6429 (moveColumn): Fire columnMoved event to registered listeners.
6430 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
6431 (getColumnIndex): Changed parameter name.
6432 (setColumnSelectionAllowed): Likewise.
6433 (fireColumnAdded): Implemented.
6434 (fireColumnRemoved): Likewise.
6435 (fireColumnMoved): Likewise.
6436 (fireColumnMarginChanged): Likewise.
6437 (getListeners): Changed parameter name.
6438 (propertyChange): Implemented.
6439 (valueChanged): Changed parameter name.
6440 (createSelectionModel): Implemented.
6442 2005-02-15 Michael Koch <konqueror@gmx.de>
6444 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6445 Explicitely import used classes.
6446 (getLocalGraphicsEnvironment): Simplify.
6447 * java/awt/Window.java (Window):
6448 Enable code to get the default GraphicsConfiguration.
6450 2005-02-15 Michael Koch <konqueror@gmx.de>
6452 * javax/swing/plaf/metal/DefaultMetalTheme.java
6453 (CONTROL_TEXT_FONT): New static field.
6454 (MENU_TEXT_FONT): Likewise.
6455 (SUB_TEXT_FONT): Likewise.
6456 (SYSTEM_TEXT_FONT): Likewise.
6457 (USER_TEXT_FONT): Likewise.
6458 (WINDOW_TITLE_FONT): Likewise.
6459 (getControlTextFont): New method.
6460 (getMenuTextFont): Likewise.
6461 (getSubTextFont): Likewise.
6462 (getSystemTextFont): Likewise.
6463 (getUserTextFont): Likewise.
6464 (getWindowTitleFont): Likewise.
6465 * javax/swing/plaf/metal/MetalTheme.java
6466 (BLACK): Initialize with Color.BLACK.
6467 (WHITE): Initialize with Color.WHITE.
6468 (getInactiveControlTextColor): Return getControlDisabled().
6469 (getMenuDisabledForeground): Return getSecondary3().
6470 (getControlTextFont): New abstract method.
6471 (getMenuTextFont): Likewise.
6472 (getSubTextFont): Likewise.
6473 (getSystemTextFont): Likewise.
6474 (getUserTextFont): Likewise.
6475 (getWindowTitleFont): Likewise.
6477 2005-02-15 Michael Koch <konqueror@gmx.de>
6479 * javax/swing/JFormattedTextField.java
6480 (getFocusLostBehavior): Fixed typo in method name.
6481 (setFocusLostBehavior): Likewise.
6483 2005-02-15 Michael Koch <konqueror@gmx.de>
6485 * javax/swing/TransferHandler.java:
6486 Reworked import statements.
6488 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6490 * java/awt/Button.java,
6491 java/awt/Canvas.java,
6492 java/awt/Checkbox.java,
6493 java/awt/CheckboxMenuItem.java,
6494 java/awt/Choice.java,
6495 java/awt/Dialog.java,
6496 java/awt/Frame.java,
6497 java/awt/Label.java,
6500 java/awt/MenuBar.java,
6501 java/awt/MenuItem.java,
6502 java/awt/PopupMenu.java,
6503 java/awt/ScrollPane.java,
6504 java/awt/Scrollbar.java,
6505 java/awt/TextArea.java,
6506 java/awt/Window.java (getAccessibleContext): Clean up comments.
6508 * java/awt/Button.java,
6509 java/awt/Checkbox.java,
6510 java/awt/Choice.java,
6512 java/awt/PopupMenu.java,
6513 java/awt/TextArea.java (getAccessibleContext): Only create new
6515 * java/awt/TextComponent.java (getAccessibleContext): Implement.
6517 2005-02-15 Michael Koch <konqueror@gmx.de>
6519 * java/awt/Button.java,
6520 javax/swing/JApplet.java,
6521 javax/swing/JFormattedTextField.java,
6522 javax/swing/JWindow.java,
6523 javax/swing/JTree.java,
6524 javax/swing/plaf/basic/BasicEditorPaneUI.java,
6525 javax/swing/plaf/basic/BasicTextPaneUI.java,
6526 javax/swing/plaf/basic/BasicTreeUI.java:
6527 Reworked import statements.
6529 2005-02-15 Michael Koch <konqueror@gmx.de>
6531 * Makefile.am: Put javax.imageio into its own library and link it
6532 against lib-org-w3c-dom.la to fix bootstrapping.
6533 * Makefile.in: Regenerated.
6535 2005-02-15 Michael Koch <konqueror@gmx.de>
6537 * javax/swing/text/TextAction.java
6538 (getTextComponent): Simplified. Added Javadoc.
6539 (augmentList): Implemented. Added Javadoc.
6540 (getFocusedComponent): Added javadoc.
6542 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6544 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
6545 getAccessibleContext): Implement.
6546 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
6547 getAccessibleContext): Implement.
6549 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6551 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
6553 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
6555 * java/awt/Window.java (getAccessibleContext): Fix comment.
6556 Remove extra import.
6558 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6560 * java/awt/Window.java (AccessibleAWTWindow): Implement.
6561 (isActive, isFocused, getAccessibleContext): Implement.
6563 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6565 * java/awt/MenuItem.java (getAccessibleContext): Implement.
6566 * java/awt/MenuComponent.java (accessibleContext): Make package
6568 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
6569 AccessibleAWTCheckboxMenuItem): Implement.
6571 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6573 * java/awt/List.java: Implement AccessibleAWTList,
6574 AccessibleAWTListChild.
6576 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6578 * java/awt/Choice.java: Add implements declaration for
6581 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6583 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
6586 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6588 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
6589 implemented interface list.
6591 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
6593 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
6594 * javax/imageio/metadata/IIOAttr.java: New class.
6595 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
6596 * javax/imageio/metadata/IIONodeList.java: New class.
6597 * Makefile.am: Added new files.
6598 * Makefile.in: Regenerated.
6600 2005-02-15 Michael Koch <konqueror@gmx.de>
6602 * javax/swing/AbstractAction.java,
6603 javax/swing/AbstractCellEditor.java,
6604 javax/swing/AbstractListModel.java,
6605 javax/swing/DefaultBoundedRangeModel.java,
6606 javax/swing/DefaultButtonModel.java,
6607 javax/swing/DefaultCellEditor.java,
6608 javax/swing/DefaultComboBoxModel.java,
6609 javax/swing/DefaultDesktopManager.java,
6610 javax/swing/JMenu.java,
6611 javax/swing/JSlider.java,
6612 javax/swing/KeyStroke.java,
6613 javax/swing/OverlayLayout.java,
6614 javax/swing/ScrollPaneLayout.java,
6615 javax/swing/SizeRequirements.java,
6616 javax/swing/ViewportLayout.java:
6617 Made serialVersionUID private.
6619 2005-02-15 Michael Koch <konqueror@gmx.de>
6621 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
6624 2005-02-15 Michael Koch <konqueror@gmx.de>
6626 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
6628 2005-02-15 Michael Koch <konqueror@gmx.de>
6630 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
6632 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6634 * java/awt/EventDispatchThread.java,
6635 java/awt/Toolkit.java:
6636 Don't catch java.lang.ThreadDeath.
6638 2005-02-15 Michael Koch <konqueror@gmx.de>
6640 * javax/swing/text/PasswordView.java
6641 (drawEchoCharacter): Added javadoc.
6642 (drawSelectedText): Likewise.
6643 (drawUnselectedText): Likewise.
6645 2005-02-15 Michael Koch <konqueror@gmx.de>
6647 * javax/swing/JRootPane.java
6648 (windowDecorationStyle): New field.
6649 (setMenuBar): New method.
6650 (getMenuBar): Likewise.
6651 (getWindowDecorationStyle): Likewise.
6652 (setWindowDecorationStyle): Likewise.
6654 2005-02-15 Michael Koch <konqueror@gmx.de>
6656 * javax/swing/DefaultListSelectionModel.java
6657 (leadAnchorNotificationEnabled): Made protected.
6659 2005-02-15 Michael Koch <konqueror@gmx.de>
6661 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
6662 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
6663 * Makefile.in: Regenerated.
6666 2005-02-15 Michael Koch <konqueror@gmx.de>
6668 * javax/swing/JFormattedTextField.java: Implemented.
6669 * javax/swing/JWindow.java
6670 (JWindow): New constructors.
6671 (initWindow): Renamed from initFrame.
6672 * javax/swing/UIDefaults.java
6673 (ActiveValue): Made interface static.
6674 (LazyValue): Likewise.
6675 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6676 (TitlePaneLayout.TitlePaneLayout): New constructor.
6677 * javax/swing/plaf/basic/BasicSliderUI.java
6678 (ChangeHandler): Made public.
6679 (FocusHandler): Likewise.
6680 (PropertyChangeHandler): Likewise.
6681 (ScrollListener): Likewise.
6682 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6683 (FocusHandler): Likewise.
6684 (MouseHandler): Likewise.
6685 * javax/swing/plaf/basic/BasicTextPaneUI.java
6686 (BasicTextPaneUI): Extend BasicEditorPaneUI.
6687 * javax/swing/plaf/basic/BasicToolBarUI.java
6688 (BasicToolBarUI): Simplified. Reworked javadoc.
6689 (canDock): Simplified. Make public.
6690 (DockingListener): Made public.
6691 * javax/swing/text/JTextComponent.java
6692 (navigationFilter): New field.
6693 (getNavigationFilter): New method.
6694 (setNavigationFilter): Likewise.
6696 2005-02-15 Michael Koch <konqueror@gmx.de>
6698 * javax/swing/plaf/metal/MetalTheme.java
6699 (getControlTextColor): Return getControlInfo().
6700 (getHighlightedTextColor): Return getControlTextColor().
6702 2005-02-15 Michael Koch <konqueror@gmx.de>
6704 * javax/swing/plaf/basic/BasicButtonListener.java
6705 (BasicButtonListener): New constructor.
6706 * javax/swing/plaf/basic/BasicButtonUI.java
6707 (createButtonListener): Usw new BasicButtonListener constructor.
6709 2005-02-15 Michael Koch <konqueror@gmx.de>
6711 * javax/imageio/event/package.html,
6712 javax/imageio/metadata/package.html: New files.
6714 2005-02-15 Michael Koch <konqueror@gmx.de>
6716 * java/awt/image/MemoryImageSource.java: Reformatted.
6718 2005-02-15 Michael Koch <konqueror@gmx.de>
6720 * javax/swing/tree/TreeCellEditor.java: Refomatted.
6722 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
6724 * java/awt/color/ICC_Profile.java
6725 (finalize): Removed pointless field assignments.
6727 2005-02-15 Michael Koch <konqueror@gmx.de>
6729 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
6730 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
6731 * Makefile.in: Regenerated.
6733 2005-02-15 Michael Koch <konqueror@gmx.de>
6735 * javax/swing/text/DefaultStyledDocument.java: New file.
6736 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
6737 * Makefile.in: Regenerated.
6739 2005-02-15 Michael Koch <konqueror@gmx.de>
6741 * javax/swing/JFileChooser.java
6742 (showDialog): Return CANCEL_OPTION for now.
6743 (showOpenDialog): Likewise.
6744 (showSaveDialog): Likewise.
6746 2005-02-15 Michael Koch <konqueror@gmx.de>
6748 * javax/swing/JApplet.java
6749 (HIDE_ON_CLOSE): Removed.
6750 (EXIT_ON_CLOSE): Likewise.
6751 (DISPOSE_ON_CLOSE): Likewise.
6752 (DO_NOTHING_ON_CLOSE): Likewise.
6753 (close_action): Likewise.
6754 (getDefaultCloseOperation): Likewise.
6755 (setDefaultCloseOperation): Likewise.
6756 (processWindowEvent): Likewise.
6757 (getPreferredSize): Simplified.
6758 * javax/swing/JInternalFrame.java
6759 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
6761 * javax/swing/JWindow.java
6762 (HIDE_ON_CLOSE): Removed.
6763 (EXIT_ON_CLOSE): Likewise.
6764 (DISPOSE_ON_CLOSE): Likewise.
6765 (DO_NOTHING_ON_CLOSE): Likewise.
6766 (close_action): Likewise.
6767 (processKeyEvent): Likewise.
6768 (setDefaultCloseOperation): Likewise.
6769 (getPreferredSize): Simplified.
6771 2005-02-15 Michael Koch <konqueror@gmx.de>
6773 * javax/swing/JTextField.java
6774 (getPreferredSize): Re-implemented.
6776 2005-02-15 Michael Koch <konqueror@gmx.de>
6778 * javax/swing/JLabel.java
6779 (setDisplayedMnemonic): Use only upper case characters.
6780 (setDisplayedMnemonicIndex): Handle index == -1 and fire
6781 PropertyChangeEvent after property got set to the new index.
6783 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6785 * javax/swing/JComboBox.java:
6786 (JComboBox): Removed selection of the
6787 first item in the model.
6789 2005-02-15 Robert Schuster <thebohemian@gmx.net>
6791 * javax/swing/JComboBox.java
6792 added support for no item being selected
6793 (JComboBox): select first or nothing depending on element count
6794 (setModel): cleaned up unneeded "this." usage, added more
6795 docs, made exception behavior match that of the JDK
6796 (setLighWeightPopupEnabled): removed unneeded "this." usage
6798 (setMaximumRowCount): dito
6800 (setPrototypeDisplayValue): dito
6801 (getSelectedItem): simplified, added more user doc
6802 (setSelectedIndex): corrected exception behavior, added more user doc
6803 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
6804 added performance warning to user doc
6805 (addItem): fixed exception behavior, added user doc
6806 (insertItemAt): dito
6808 (removeItemAt): dito
6809 (removeAll): fixed exception behavior, added user doc, added support
6810 for model not being instance of DefaultComboBoxModel
6811 (getSelectedItemObjects): simplified
6812 (getItemCount): fixed dependency on DefaultComboBoxModel
6813 (getItemAt): fixed dependency on MutableComboBoxModel
6814 * javax/swing/DefaultComboBoxModel.java:
6815 (setSelectedItem): updates selected item only if new
6816 value is null or known (match JDK behavior)
6817 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6818 (paintCurrentValue): renders "" if no item is selected
6820 2005-02-15 Michael Koch <konqueror@gmx.de>
6822 * javax/swing/plaf/metal/MetalTheme.java,
6823 javax/swing/plaf/metal/DefaultMetalTheme.java:
6825 * javax/swing/plaf/metal/MetalLookAndFeel.java
6826 * Makefile.am: Added the new files.
6827 * Makefile.in: Regenerated.
6829 2005-02-15 Olga Rodimina <rodimina@redhat.com>
6831 * javax/swing/JTable.java
6832 (editorComp): New field.
6833 (JTable): Initialize local variables and call updateUI
6834 (selectionBackground): Make protected.
6835 (selectionForeground): Likewise.
6836 (initializeLocalVars): Create default editors and renderers,
6837 initialize editingColumn, editingRow variables.
6838 (createDefaultEditors): New Method.
6839 (createDefaultRenderers): Likewise.
6840 (createDefaultListSelectionModel): Removed
6841 (createDefaultSelectionModel): New Method.
6842 (createDefaultTableHeader): Likewise
6843 (removeColumn): Likewise.
6844 (getEditingColumn): Likewise.
6845 (setEditingColumn): Likewise.
6846 (getEditingRow): Likewise.
6847 (setEditingRow): Likewise.
6848 (getEditorComponent): Likewise.
6849 (isEditing): Likewise.
6850 (setDefaultEditor): Likewise.
6851 (addColumnSelectionInterval): Likewise.
6852 (addRowSelectionInterval): Likewise.
6853 (setColumnSelectionInterval): Likewise.
6854 (setRowSelectionInterval): Likewise.
6855 (removeColumnSelectionInterval): Likewise.
6856 (removeRowSelectionInterval): Likewise.
6857 (isColumnSelected): Likewise.
6858 (isRowSelected): Likewise.
6859 (isCellSelected): Likewise.
6860 (selectAll): Likewise.
6862 2005-02-15 Michael Koch <konqueror@gmx.de>
6864 * javax/swing/JTable.java
6865 (addColumn): New method.
6866 (getColumnClass): Likewise.
6867 (getColumnName): Likewise.
6869 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
6871 * javax/swing/TransferHandler.java
6872 (createTransferable): Made protected.
6874 2005-02-15 Michael Koch <konqueror@gmx.de>
6876 * javax/swing/JTable.java,
6877 javax/swing/plaf/basic/BasicTableHeaderUI.java,
6878 javax/swing/plaf/basic/BasicTableUI.java:
6879 Use fixed get/setIntercellSpacing() methods.
6881 2005-02-15 Michael Koch <konqueror@gmx.de>
6883 * javax/swing/JTable.java
6884 (getIntercellSpacing): Fixed typo in method name.
6885 (setIntercellSpacing): Likewise.
6887 2005-02-15 Michael Koch <konqueror@gmx.de>
6889 * javax/swing/text/JTextComponent.java
6890 (focusAccelerator): New variable.
6891 (getFocusAccelerator): New method.
6892 (setFocusAccelerator): Likewise.
6894 2005-02-15 Michael Koch <konqueror@gmx.de>
6896 * javax/swing/JComponent.java
6897 (setTransferHandler): Made public. Fire property change event.
6898 * javax/swing/TransferHandler.java: Implemented.
6899 * javax/swing/text/JTextComponent.java
6900 (DefaultTransferHandler): New inner class.
6901 (defaultTransferHandler): New variable.
6905 (doTransferAction): Likewise.
6907 2005-02-15 Michael Koch <konqueror@gmx.de>
6909 * javax/swing/JTree.java
6910 (collapsePath): New method.
6911 (collapseRow): Likewise.
6912 (expandPath): Likewise.
6913 (expandRow): Likewise.
6914 (checkExpandParents): Likewise.
6915 (doExpandParents): Likewise.
6916 (setExpandedState): Likewise.
6917 (makeVisible): Likewise.
6919 2005-02-15 Michael Koch <konqueror@gmx.de>
6921 * javax/swing/JPasswordField.java: Updated javadocs.
6923 2005-02-15 Michael Koch <konqueror@gmx.de>
6925 * javax/swing/JLayeredPane.java
6926 (getLayer): Fixed return type, made public.
6927 (getPosition): Use new getLayer().
6928 (SetPosition): Likewise.
6929 (getIndexOf): Likewise.
6931 * javax/swing/JInternalFrame.java
6932 (getLayer): Use new JLayeredPane.getLayer().
6935 2005-02-15 Michael Koch <konqueror@gmx.de>
6937 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
6938 (setHeaderValue): Simplified. Do nothing when old value == new value.
6940 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6942 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
6943 against null clip region.
6944 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
6945 gtkWindowSetResizable.
6946 (postConfigureEvent): Only revalidate if frame size has changed.
6947 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
6948 Only revalidate if frame size has changed.
6949 * java/awt/Component.java (reshape): Only repaint and post
6950 component events if component is showing.
6951 * java/awt/Container.java (addImpl): Only post container event if
6952 container is showing.
6954 * java/awt/Window.java (setLocationRelativeTo): Implement.
6955 (setBoundsCallback): Only post component events if component is
6957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6958 Protect against null graphics structure. Flush gdk event queue.
6960 2005-02-15 Michael Koch <konqueror@gmx.de>
6962 * javax/imageio/ImageReader.java,
6963 javax/imageio/ImageTranscoder.java,
6964 javax/imageio/ImageWriter.java,
6965 javax/imageio/spi/ImageInputStreamSpi.java,
6966 javax/imageio/spi/ImageOutputStreamSpi.java,
6967 javax/imageio/spi/ServiceRegistry.java,
6968 javax/imageio/stream/ImageInputStream.java,
6969 javax/imageio/stream/ImageOutputStream.java: Updated.
6970 * javax/imageio/IIOException.java,
6971 javax/imageio/IIOImage.java,
6972 javax/imageio/IIOParam.java,
6973 javax/imageio/IIOParamController.java,
6974 javax/imageio/ImageIO.java,
6975 javax/imageio/ImageReadParam.java,
6976 javax/imageio/ImageTypeSpecifier.java,
6977 javax/imageio/ImageWriteParam.java,
6978 javax/imageio/spi/IIORegistry.java,
6979 javax/imageio/spi/ImageReaderSpi.java,
6980 javax/imageio/spi/ImageWriterSpi.java,
6981 javax/imageio/stream/FileCacheImageInputStream.java,
6982 javax/imageio/stream/FileCacheImageOutputStream.java,
6983 javax/imageio/stream/FileImageInputStream.java,
6984 javax/imageio/stream/FileImageOutputStream.java,
6985 javax/imageio/stream/ImageInputStreamImpl.java,
6986 javax/imageio/stream/ImageOutputStreamImpl.java,
6987 javax/imageio/stream/MemoryCacheImageInputStream.java,
6988 javax/imageio/stream/MemoryCacheImageOutputStream.java,
6989 javax/imageio/event/IIOReadProgressListener.java,
6990 javax/imageio/event/IIOReadUpdateListener.java,
6991 javax/imageio/event/IIOReadWarningListener.java,
6992 javax/imageio/event/IIOWriteProgressListener.java,
6993 javax/imageio/event/IIOWriteWarningListener.java,
6994 javax/imageio/metadata/IIOMetadata.java,
6995 javax/imageio/metadata/IIOMetadataController.java,
6996 javax/imageio/metadata/IIOMetadataFormat.java,
6997 javax/imageio/metadata/IIOInvalidTreeException.java,
6998 javax/imageio/metadata/IIOMetadataFormatImpl.java,
6999 javax/imageio/metadata/IIOMetadataNode.java: New files.
7000 * Makefile.am (javax_source_files): Added new files
7001 * Makefile.in: Regenerated.
7003 2005-02-15 Graydon Hoare <graydon@redhat.com>
7005 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7006 Rework painting into BufferedImages
7007 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7008 Construct BufferedImage with alpha only when alpha is
7009 present in colormodel.
7010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7011 Rework painting into client-side jint arrays.
7012 * jni/gtk-peer/gtkcairopeer.h:
7015 2005-02-15 Michael Koch <konqueror@gmx.de>
7017 * javax/swing/DefaultListCellRenderer.java
7018 (serialVersionUID): Made private.
7019 (getListCellRendererComponent): Set horizontal alignment.
7020 * javax/swing/JLabel.java
7021 (setVerticalAlignment): Re-implemented.
7022 (setHorizontalAlignment): Do nothing if old value = new value.
7023 * javax/swing/JList.java
7024 (setCellRenderer): Likewise.
7025 (setModel): Re-implemented.
7026 (setSelectionModel): Likewise.
7028 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
7030 * java/awt/Component.java,
7031 java/awt/geom/Rectangle2D.java:
7034 2005-02-15 Michael Koch <konqueror@gmx.de>
7036 * javax/swing/AbstractListModel.java
7037 (fireContentsChanged): Simplified.
7038 (fireIntervalAdded): Likewise.
7039 (fireIntervalRemoved): Likewise.
7040 * javax/swing/DefaultSingleSelectionModel.java:
7042 (fireStateChanged): Simplified.
7043 * javax/swing/JPopupMenu.java
7044 (setSelectionModel): Set property.
7046 2005-02-15 Michael Koch <konqueror@gmx.de>
7048 * java/awt/print/Book.java: Reformatted.
7050 2005-02-15 Michael Koch <konqueror@gmx.de>
7052 * java/awt/geom/Area.java
7053 (QuadSegment.curveArea): Remove unused variables.
7054 (CubicSegment.curveArea): Likewise.
7056 2005-02-15 Michael Koch <konqueror@gmx.de>
7058 * javax/swing/JTree.java
7059 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
7060 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
7061 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
7062 (EXPANDED): New constant.
7063 (COLLAPSED): Likewise.
7064 (nodeStates): New field.
7065 (cellEditor): New method.
7066 (cellRenderer): Likewise.
7067 (selectionModel): Likewise.
7068 (treeModel): Likewise.
7069 (scrollPathToVisible): Likewise.
7070 (scrollRowToVisible): Likewise.
7071 (isCollapsed): Likewise.
7072 (isExpanded): Likewise.
7073 (clearToggledPaths): Likewise.
7074 (getDescendantToggledPaths): Likewise.
7075 (hasBeenExpanded): Likewise.
7076 (isVisible): Likewise.
7077 (isPathEditable): Likewise.
7079 2005-02-15 Michael Koch <konqueror@gmx.de>
7081 * javax/swing/JLayeredPane.java: Reformatted.
7083 2005-02-15 Michael Koch <konqueror@gmx.de>
7085 * javax/swing/tree/DefaultMutableTreeNode.java:
7087 * javax/swing/tree/MutableTreeNode.java:
7090 2005-02-15 Michael Koch <konqueror@gmx.de>
7092 * javax/swing/JFormattedTextField.java
7093 (setDocument): Call setDocument of super class. Don't fire property
7096 2005-02-15 Sven de Marothy <sven@physto.se>
7098 * java/awt/image/IndexColorModel.java:
7099 Add FIXME with respect to alpha handling.
7100 (getAlpha): Default to returning opaque pixels.
7101 * java/awt/image/MultiPixelPackedSampleModel.java
7102 (MultiPixelPackedSampleModel): Corrected parameters, order of
7103 bit shifts and masks, stride length off by one.
7105 2005-02-15 Michael Koch <konqueror@gmx.de>
7107 * javax/swing/JList.java, javax/swing/JTree.java:
7108 Added much new methods and fixed much methods setting bound properties.
7110 2005-02-16 Mark Wielaard <mark@klomp.org>
7112 * Makefile.am (gnu_xml_source_files): Removed
7113 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
7114 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
7115 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
7116 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
7117 gnu/xml/dom/DomDocumentFragment.java,
7118 gnu/xml/dom/DomProcessingInstruction.java and
7119 gnu/xml/dom/ls/DomLSException.java.
7120 * Makefile.in: Regenerated.
7122 2005-02-16 Tom Tromey <tromey@redhat.com>
7124 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
7125 attribute index is out of bounds.
7127 2005-02-16 Chris Burdess <dog@gnu.org>
7129 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
7130 isDeclared methods. Improved performance of isSpecified methods.
7132 2005-02-16 Chris Burdess <dog@gnu.org>
7134 Fixes bug libgcj/19864
7135 * gnu/xml/dom/DomAttr.java,
7136 gnu/xml/dom/DomCDATA.java,
7137 gnu/xml/dom/DomCDATASection.java,
7138 gnu/xml/dom/DomCharacterData.java,
7139 gnu/xml/dom/DomDOMException.java,
7140 gnu/xml/dom/DomDoctype.java,
7141 gnu/xml/dom/DomDocument.java,
7142 gnu/xml/dom/DomDocumentConfiguration.java,
7143 gnu/xml/dom/DomDocumentFragment.java,
7144 gnu/xml/dom/DomElement.java,
7145 gnu/xml/dom/DomEx.java,
7146 gnu/xml/dom/DomFragment.java,
7147 gnu/xml/dom/DomImpl.java,
7148 gnu/xml/dom/DomIterator.java,
7149 gnu/xml/dom/DomNamedNodeMap.java,
7150 gnu/xml/dom/DomNode.java,
7151 gnu/xml/dom/DomNsNode.java,
7152 gnu/xml/dom/DomPI.java,
7153 gnu/xml/dom/DomProcessingInstruction.java,
7154 gnu/xml/dom/DomText.java,
7155 gnu/xml/dom/DomLSEx.java,
7156 gnu/xml/dom/DomLSException.java,
7157 gnu/xml/dom/DomLSParser.java,
7158 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
7159 implementation class names to conform to Classpath guidelines. Make
7160 DomLSException use JDK 1.4+ exception chaining.
7161 * gnu/xml/util/SAXNullTransformerFactory.java,
7162 gnu/xml/xpath/Predicate.java: Use constants relative to
7163 declaring class or interface.
7165 2005-02-16 Andrew Haley <aph@redhat.com>
7167 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
7168 null, create a new AccessControlContext.
7169 * java/security/SecureClassLoader.java (protectionDomainCache):
7171 (defineClass): Create a new protection domain and add it to our
7174 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
7175 addStub() to keep track of the stub we've exported.
7176 (unexportObject): Call deleteStub().
7177 * java/rmi/server/RemoteObject.java (stubs): New field.
7178 (addStub): New method.
7179 (deleteStub): New method.
7182 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
7183 true to findHelper (tryParents).
7184 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
7186 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
7187 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
7189 If tryParents is false, don't scan parent class loaders.
7191 * java/security/Permissions.java (PermissionsHash.implies):
7192 Iterate over the collection and invoke implies() on each
7195 2005-02-16 Andrew Haley <aph@redhat.com>
7197 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
7199 (PersistentByteMap): Set name
7200 Magic number changed to 0x67636a64 ("gcjd").
7201 (init): Force the map to be prime.
7202 (emptyPersistentByteMap): File name was a string, now a File.
7203 (addBytes): Share srings between entries.
7204 (stringTableSize): New method.
7205 (capacity): Scale by load factor.
7206 (force): New method.
7207 (getFile): New method.
7208 (close): New method.
7209 (putAll): New method.
7210 (ByteWrapper): New class.
7211 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
7212 (main): Guess the average string size as 32, not 64.
7213 Copy a database before modifying it, so that we can update a
7214 database in a running system.
7215 If a database isn't big enough, resize it.
7216 "-m": new option: merges databases.
7217 "-a": Create a new detabase if it doesn't exist.
7218 (usage): Correct, add new option.
7219 (addJar): Copy a database before modifying it.
7220 (resizeMap): New method.
7222 2005-02-15 David Daney <ddaney@avtrex.com>
7223 Bryce McKinlay <mckinlay@redhat.com>
7225 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
7226 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
7227 ensure that GC threads inherit the new signal mask.
7228 (block_sigchld): Call JvFail rather than throwing exception if
7229 pthread_sigmask() fails.
7231 2005-02-15 Mark Wielaard <mark@klomp.org>
7233 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
7234 file path elements are separated by spaces.
7236 2005-02-15 Mark Wielaard <mark@klomp.org>
7238 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
7239 to describe attributes without a constant field value in this class.
7241 2005-02-15 Michael Koch <konqueror@gmx.de>
7243 * java/util/jar/Attributes.java
7244 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
7246 2005-02-15 Mark Wielaard <mark@klomp.org>
7248 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
7249 space for parsing CLASS_PATH attribute.
7251 2005-02-15 Mark Wielaard <mark@klomp.org>
7253 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
7254 aside for "GCJLIBS" in directory where jarfiles are loaded.
7255 (JarURLLoader.getClass): Removed method.
7256 (JarURLLoader.toString): Removed method.
7257 (FileResource.toString): Removed method.
7259 2005-02-15 Mark Wielaard <mark@klomp.org>
7261 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
7262 and/or cause before throwing.
7264 2005-02-15 Richard Henderson <rth@redhat.com>
7266 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
7267 (libgcj0_convenience_la_SOURCES): ... here.
7268 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
7269 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
7270 * Makefile.in: Regenerate.
7272 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7275 * include/jawt.h: Likewise.
7276 * include/jawt_md.h: Likewise.
7277 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
7279 * include/Makefile.in: Regenerate.
7280 * jni/classpath/classpath_jawt.h: Likewise.
7281 * jni/gtk-peer/gtk_jawt.c: Likewise.
7282 * Makefile.am: Build libjawt.so.
7283 * Makefile.in: Regenerate.
7285 2005-02-14 Tom Tromey <tromey@redhat.com>
7287 * testsuite/libjava.lang/PR19921.java: Use correct class name.
7289 2005-02-14 Tom Tromey <tromey@redhat.com>
7291 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
7292 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
7294 2005-02-14 Tom Tromey <tromey@redhat.com>
7297 * testsuite/libjava.lang/PR19929.out: New file.
7298 * testsuite/libjava.lang/PR19929.java: New file.
7300 2005-02-14 Anthony Green <green@redhat.com>
7303 * testsuite/libjava.jni/PR18116.c: New file.
7304 * testsuite/libjava.jni/PR18116.java: New file.
7305 * testsuite/libjava.jni/PR18116.out: New file.
7307 2005-02-13 Anthony Green <green@redhat.com>
7310 * jni.cc (nathash_add): Don't strdup the method signature.
7311 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
7315 2005-02-12 Mark Wielaard <mark@klomp.org>
7317 Fixes bug libgcj/8170
7318 * java/lang/ClassLoader.java (loadClass): Don't rewrap
7319 ClassNotFoundException.
7320 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
7321 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
7322 (remove_internal): New field superceding remove_interpreter.
7323 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
7324 Remove no-class methods starting with "_Jv_". And Replace null
7325 class or method names with the empty string. Stop at either the
7326 MainThread or a real Thread run() method.
7327 (newElement): Made static.
7328 * java/net/URLClassLoader.java (findClass): Throw
7329 ClassNotFoundExceptions including urls, plus parent using toString().
7330 (thisString): New field.
7331 (toString): New method.
7333 2005-02-10 Tom Tromey <tromey@redhat.com>
7335 * external/sax/Makefile.in: Rebuilt.
7336 * external/sax/Makefile.am (all-local): Removed.
7337 (BUILT_SOURCES): New variable.
7338 (mostlyclean-local): No error if no classes to delete.
7339 * external/w3c_dom/Makefile.in: Rebuilt.
7340 * external/w3c_dom/Makefile.am (all-local): Removed.
7341 (BUILT_SOURCES): New variable.
7342 (mostlyclean-local): No error if no classes to delete.
7344 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
7346 * testsuite/libjava.mauve/xfails: Updated to reflect current state
7347 of mauve and libjava.
7349 2005-02-09 Tom Tromey <tromey@redhat.com>
7351 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
7352 jar file with OPEN_DELETE.
7353 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
7354 OPEN_DELETE is used.
7356 2005-02-09 Tom Tromey <tromey@redhat.com>
7358 * java/util/zip/InflaterInputStream.java (markSupported):
7360 (mark, reset): Likewise.
7362 2005-02-08 Tom Tromey <tromey@redhat.com>
7364 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
7365 name or port is missing.
7366 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
7367 AUTHORITY_PORT_GROUP): Updated.
7369 2005-02-08 Tom Tromey <tromey@redhat.com>
7371 * configure: Rebuilt.
7372 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
7375 2005-02-07 Tom Tromey <tromey@redhat.com>
7377 * java/lang/natRuntime.cc (insertSystemProperties): Set
7378 sun.boot.class.path earlier.
7380 2005-02-07 Tom Tromey <tromey@redhat.com>
7382 * defineclass.cc (handleClassBegin): Use
7383 _Jv_RegisterInitiatingLoader.
7384 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
7385 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
7386 class. Use _Jv_UnregisterInitiatingLoader.
7387 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
7390 2005-02-07 Mark Wielaard <mark@klomp.org>
7392 Reported by Timo Lindfors <timo.lindfors@iki.fi>
7393 java/util/regex/Matcher.java (lookingAt): Set position when match
7395 (matches): Implemented through lookingAt().
7397 2005-02-07 Mark Wielaard <mark@klomp.org>
7399 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
7400 * java/util/regex/Pattern.java (split(CharSequence,int)):
7401 Fix while empties > 0 loops.
7403 2005-02-07 Robert Schuster <thebohemian@gmx.net>
7405 * gnu/java/nio/charset/ISO_8859_1.java,
7406 gnu/java/nio/charset/US_ASCII.java,
7407 gnu/java/nio/charset/UTF_16.java,
7408 gnu/java/nio/charset/UTF_16_LE.java,
7409 gnu/java/nio/charset/UTF_16_BE.java,
7410 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
7411 and aliases according to
7412 "http://www.iana.org/assignments/character-sets",
7413 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
7414 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
7415 * gnu/java/nio/charset/Provider.java: Made charset lookup
7416 case-insensitive which fixes bug #11740.
7418 2005-02-07 Tom Tromey <tromey@redhat.com>
7421 * Makefile.in: Rebuilt.
7422 * Makefile.am (src.zip): New target.
7423 (install-src.zip): Likewise.
7424 (sourcesdir): New variable.
7426 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
7428 * javax/imageio/metadata/IIOMetadataNode.java:
7430 * javax/imageio/metadata/IIOAttr.java,
7431 javax/imageio/metadata/IIONamedNodeMap.java,
7432 javax/imageio/metadata/IIONodeList.java:
7435 2005-02-06 Graydon Hoare <graydon@redhat.com>
7437 * gnu/java/awt/ClasspathToolkit.java
7438 (registerImageIOSpis): New method.
7439 * javax/imageio/ImageIO.java
7440 (WriterFormatFilter.filter): Fix copy-and-paste typos.
7441 (WriterMIMETypeFilter.filter): Likewise.
7442 (ImageReaderIterator): Pass extension argument through to SPI.
7443 (getReadersByFilter): Likewise.
7444 (getWritersByFilter): Likewise.
7445 (getImageReadersByFormatName): Likewise.
7446 (getImageReadersByMIMEType): Likewise.
7447 (getImageReadersBySuffix): Likewise.
7448 (getImageWritersByFormatName): Likewise.
7449 (getImageWritersByMIMEType): Likewise.
7450 (getImageWritersBySuffix): Likewise.
7453 * javax/imageio/ImageReader.java
7454 (progressListeners): Initialize.
7455 (setInput): Implement.
7456 * javax/imageio/ImageWriter.java
7457 (progressListeners): Initialize.
7458 (warningListeners): Likewise.
7459 (warningLocales): Likewise.
7460 (setOutput): Test "isInstance" rather than class equality.
7461 * javax/imageio/spi/IIORegistry.java
7462 (static): Add reader and writer SPIs.
7463 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
7465 2005-02-06 Michael Koch <konqueror@gmx.de>
7467 * javax/imageio/metadata/IIOInvalidTreeException.java
7468 (IIOInvalidTreeException): Reformatted.
7469 * javax/imageio/spi/IIORegistry.java
7470 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
7471 * javax/imageio/stream/MemoryCacheImageInputStream.java:
7472 Reworked import statements.
7474 2005-02-06 Michael Koch <konqueror@gmx.de>
7476 * javax/imageio/stream/FileImageOutputStream.java:
7479 2005-02-06 Michael Koch <konqueror@gmx.de>
7481 * javax/imageio/stream/FileCacheImageInputStream.java,
7482 javax/imageio/stream/FileCacheImageOutputStream.java,
7483 javax/imageio/stream/FileImageInputStream.java,
7484 javax/imageio/stream/ImageInputStreamImpl.java,
7485 javax/imageio/stream/ImageOutputStreamImpl.java,
7486 javax/imageio/stream/MemoryCacheImageInputStream.java,
7487 javax/imageio/stream/MemoryCacheImageOutputStream.java:
7488 Added all missing methods in javax.imageio.stream.
7490 2005-02-02 David Daney <ddaney@avtrex.com>
7492 * java/net/InetAddress.java (InetAddress): Make a private copy of
7494 * java/net/Inet4Address.java (getAddress): Return a copy of the
7496 * java/net/Inet6Address.java (Inet6Address): Use private copy of
7498 (getAddress): Return a copy of the address.
7501 2005-02-02 Tom Tromey <tromey@redhat.com>
7503 * Makefile.in: Rebuilt.
7504 * Makefile.am (classes.stamp): New target, broken out from
7506 ($(all_java_class_files)): Depend on it.
7507 (libgcj-@gcc_version@.jar): Likewise.
7508 (all-recursive): Likewise.
7509 (CLEANFILES): Include classes.stamp.
7511 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
7513 * link.cc: Include <stdio.h>
7515 2005-02-02 Tom Tromey <tromey@redhat.com>
7518 * Makefile.in: Rebuilt.
7519 * Makefile.am (ordinary_java_source_files): Added new class.
7520 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
7521 Use system_instance, not instance.
7522 * gnu/gcj/runtime/SystemClassLoader.java: New file.
7523 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
7525 (system_instance): New field.
7526 (initialize): Initialize the system loader as well.
7527 (VMClassLoader): Default to LIB_CACHE.
7529 2005-02-02 Tom Tromey <tromey@redhat.com>
7531 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
7532 * prims.cc: Fixed comment.
7534 2005-02-01 Tom Tromey <tromey@redhat.com>
7536 * Makefile.in: Rebuilt.
7537 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
7538 (.java.class): Use BOOTCLASSPATH.
7540 2005-02-01 Tom Tromey <tromey@redhat.com>
7542 * external/w3c_dom/Makefile.am: New file.
7543 * external/w3c_dom/Makefile.in: New file.
7544 * external/sax/Makefile.am: New file.
7545 * external/sax/Makefile.in: New file.
7546 * external/Makefile.in: New file.
7547 * external/Makefile.am: New file.
7548 * external/README: New file from Classpath.
7549 * configure, aclocal.m4, Makefile.in: Rebuilt.
7550 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
7551 * Makefile.am (SUBDIRS): Added external.
7552 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
7553 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
7554 (BOOTCLASSPATH): New variable.
7555 (AM_GCJFLAGS): Use it.
7556 (gnu_xml_source_files): New variable.
7557 (libgcj_la_SOURCES): Use it.
7558 (libgcj_la_LDADD): Include new convenience libraries.
7559 (lib_org_ietf_jgss_la_SOURCES): Removed.
7560 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
7561 (lib_org_ietf_jgss_la_LIBADD): Likewise.
7562 (lib_org_w3c_dom_la_SOURCES): Removed.
7563 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
7564 (lib_org_w3c_dom_la_LIBADD): Likewise.
7565 (lib_org_xml_sax_la_SOURCES): Removed.
7566 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
7567 (lib_org_xml_sax_la_LIBADD): Likewise.
7568 (all_java_source_files): Updated.
7569 (property_files): Likewise.
7570 (libgcj-@gcc_version@.jar): Include classes from external/.
7571 (javax_source_files): Updated.
7572 (ordinary_java_source_files): Updated.
7573 * javax/xml/XMLConstants.java,
7574 javax/xml/datatype/DatatypeConfigurationException.java,
7575 javax/xml/datatype/DatatypeConstants.java,
7576 javax/xml/datatype/DatatypeFactory.java,
7577 javax/xml/datatype/Duration.java,
7578 javax/xml/datatype/XMLGregorianCalendar.java,
7579 javax/xml/datatype/package.html,
7580 javax/xml/namespace/NamespaceContext.java,
7581 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
7582 javax/xml/parsers/DocumentBuilder.java,
7583 javax/xml/parsers/DocumentBuilderFactory.java,
7584 javax/xml/parsers/FactoryConfigurationError.java,
7585 javax/xml/parsers/ParserConfigurationException.java,
7586 javax/xml/parsers/SAXParser.java,
7587 javax/xml/parsers/SAXParserFactory.java,
7588 javax/xml/parsers/package.html,
7589 javax/xml/transform/ErrorListener.java,
7590 javax/xml/transform/OutputKeys.java,
7591 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
7592 javax/xml/transform/SourceLocator.java,
7593 javax/xml/transform/Templates.java,
7594 javax/xml/transform/Transformer.java,
7595 javax/xml/transform/TransformerConfigurationException.java,
7596 javax/xml/transform/TransformerException.java,
7597 javax/xml/transform/TransformerFactory.java,
7598 javax/xml/transform/TransformerFactoryConfigurationError.java,
7599 javax/xml/transform/URIResolver.java,
7600 javax/xml/transform/package.html,
7601 javax/xml/transform/dom/DOMLocator.java,
7602 javax/xml/transform/dom/DOMResult.java,
7603 javax/xml/transform/dom/DOMSource.java,
7604 javax/xml/transform/dom/package.html,
7605 javax/xml/transform/sax/SAXResult.java,
7606 javax/xml/transform/sax/SAXSource.java,
7607 javax/xml/transform/sax/SAXTransformerFactory.java,
7608 javax/xml/transform/sax/TemplatesHandler.java,
7609 javax/xml/transform/sax/TransformerHandler.java,
7610 javax/xml/transform/sax/package.html,
7611 javax/xml/transform/stream/StreamResult.java,
7612 javax/xml/transform/stream/StreamSource.java,
7613 javax/xml/transform/stream/package.html,
7614 javax/xml/validation/Schema.java,
7615 javax/xml/validation/SchemaFactory.java,
7616 javax/xml/validation/TypeInfoProvider.java,
7617 javax/xml/validation/Validator.java,
7618 javax/xml/validation/ValidatorHandler.java,
7619 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
7620 javax/xml/xpath/XPathConstants.java,
7621 javax/xml/xpath/XPathException.java,
7622 javax/xml/xpath/XPathExpression.java,
7623 javax/xml/xpath/XPathExpressionException.java,
7624 javax/xml/xpath/XPathFactory.java,
7625 javax/xml/xpath/XPathFactoryConfigurationException.java,
7626 javax/xml/xpath/XPathFunction.java,
7627 javax/xml/xpath/XPathFunctionException.java,
7628 javax/xml/xpath/XPathFunctionResolver.java,
7629 javax/xml/xpath/XPathVariableResolver.java,
7630 javax/xml/xpath/package.html: New files, from GNU JAXP.
7631 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
7632 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
7633 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
7634 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
7635 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
7636 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
7637 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
7638 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
7639 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
7640 org/w3c/dom/ranges/DocumentRange.java,
7641 org/w3c/dom/ranges/Range.java,
7642 org/w3c/dom/ranges/RangeException.java,
7643 org/w3c/dom/traversal/DocumentTraversal.java,
7644 org/w3c/dom/traversal/NodeFilter.java,
7645 org/w3c/dom/traversal/NodeIterator.java,
7646 org/w3c/dom/traversal/TreeWalker.java,
7647 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
7648 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
7649 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
7650 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
7651 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
7652 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
7653 org/xml/sax/SAXNotRecognizedException.java,
7654 org/xml/sax/SAXNotSupportedException.java,
7655 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
7656 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
7657 org/xml/sax/ext/DeclHandler.java,
7658 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
7659 org/xml/sax/helpers/AttributeListImpl.java,
7660 org/xml/sax/helpers/AttributesImpl.java,
7661 org/xml/sax/helpers/DefaultHandler.java,
7662 org/xml/sax/helpers/LocatorImpl.java,
7663 org/xml/sax/helpers/NamespaceSupport.java,
7664 org/xml/sax/helpers/NewInstance.java,
7665 org/xml/sax/helpers/ParserAdapter.java,
7666 org/xml/sax/helpers/ParserFactory.java,
7667 org/xml/sax/helpers/XMLFilterImpl.java,
7668 org/xml/sax/helpers/XMLReaderAdapter.java,
7669 org/xml/sax/helpers/XMLReaderFactory.java,
7670 org/xml/sax/helpers/package.html: Moved to external/.
7671 * external/sax/README,
7672 external/sax/org/xml/sax/AttributeList.java,
7673 external/sax/org/xml/sax/Attributes.java,
7674 external/sax/org/xml/sax/ContentHandler.java,
7675 external/sax/org/xml/sax/DTDHandler.java,
7676 external/sax/org/xml/sax/DocumentHandler.java,
7677 external/sax/org/xml/sax/EntityResolver.java,
7678 external/sax/org/xml/sax/ErrorHandler.java,
7679 external/sax/org/xml/sax/HandlerBase.java,
7680 external/sax/org/xml/sax/InputSource.java,
7681 external/sax/org/xml/sax/Locator.java,
7682 external/sax/org/xml/sax/Parser.java,
7683 external/sax/org/xml/sax/SAXException.java,
7684 external/sax/org/xml/sax/SAXNotRecognizedException.java,
7685 external/sax/org/xml/sax/SAXNotSupportedException.java,
7686 external/sax/org/xml/sax/SAXParseException.java,
7687 external/sax/org/xml/sax/XMLFilter.java,
7688 external/sax/org/xml/sax/XMLReader.java,
7689 external/sax/org/xml/sax/package.html,
7690 external/sax/org/xml/sax/ext/Attributes2.java,
7691 external/sax/org/xml/sax/ext/Attributes2Impl.java,
7692 external/sax/org/xml/sax/ext/DeclHandler.java,
7693 external/sax/org/xml/sax/ext/DefaultHandler2.java,
7694 external/sax/org/xml/sax/ext/EntityResolver2.java,
7695 external/sax/org/xml/sax/ext/LexicalHandler.java,
7696 external/sax/org/xml/sax/ext/Locator2.java,
7697 external/sax/org/xml/sax/ext/Locator2Impl.java,
7698 external/sax/org/xml/sax/ext/package.html,
7699 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
7700 external/sax/org/xml/sax/helpers/AttributesImpl.java,
7701 external/sax/org/xml/sax/helpers/DefaultHandler.java,
7702 external/sax/org/xml/sax/helpers/LocatorImpl.java,
7703 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
7704 external/sax/org/xml/sax/helpers/NewInstance.java,
7705 external/sax/org/xml/sax/helpers/ParserAdapter.java,
7706 external/sax/org/xml/sax/helpers/ParserFactory.java,
7707 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
7708 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
7709 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
7710 external/sax/org/xml/sax/helpers/package.html,
7711 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
7712 external/w3c_dom/org/w3c/dom/Attr.java,
7713 external/w3c_dom/org/w3c/dom/CDATASection.java,
7714 external/w3c_dom/org/w3c/dom/CharacterData.java,
7715 external/w3c_dom/org/w3c/dom/Comment.java,
7716 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
7717 external/w3c_dom/org/w3c/dom/DOMError.java,
7718 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
7719 external/w3c_dom/org/w3c/dom/DOMException.java,
7720 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
7721 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
7722 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
7723 external/w3c_dom/org/w3c/dom/DOMLocator.java,
7724 external/w3c_dom/org/w3c/dom/DOMStringList.java,
7725 external/w3c_dom/org/w3c/dom/Document.java,
7726 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
7727 external/w3c_dom/org/w3c/dom/DocumentType.java,
7728 external/w3c_dom/org/w3c/dom/Element.java,
7729 external/w3c_dom/org/w3c/dom/Entity.java,
7730 external/w3c_dom/org/w3c/dom/EntityReference.java,
7731 external/w3c_dom/org/w3c/dom/NameList.java,
7732 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
7733 external/w3c_dom/org/w3c/dom/Node.java,
7734 external/w3c_dom/org/w3c/dom/NodeList.java,
7735 external/w3c_dom/org/w3c/dom/Notation.java,
7736 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
7737 external/w3c_dom/org/w3c/dom/Text.java,
7738 external/w3c_dom/org/w3c/dom/TypeInfo.java,
7739 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
7740 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
7741 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
7742 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
7743 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
7744 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
7745 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
7746 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
7747 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
7748 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
7749 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
7750 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
7751 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
7752 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
7753 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
7754 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
7755 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
7756 external/w3c_dom/org/w3c/dom/css/Counter.java,
7757 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
7758 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
7759 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
7760 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
7761 external/w3c_dom/org/w3c/dom/css/Rect.java,
7762 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
7763 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
7764 external/w3c_dom/org/w3c/dom/events/Event.java,
7765 external/w3c_dom/org/w3c/dom/events/EventException.java,
7766 external/w3c_dom/org/w3c/dom/events/EventListener.java,
7767 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
7768 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
7769 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
7770 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
7771 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
7772 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
7773 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
7774 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
7775 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
7776 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
7777 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
7778 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
7779 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
7780 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
7781 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
7782 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
7783 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
7784 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
7785 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
7786 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
7787 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
7788 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
7789 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
7790 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
7791 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
7792 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
7793 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
7794 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
7795 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
7796 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
7797 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
7798 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
7799 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
7800 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
7801 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
7802 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
7803 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
7804 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
7805 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
7806 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
7807 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
7808 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
7809 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
7810 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
7811 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
7812 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
7813 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
7814 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
7815 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
7816 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
7817 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
7818 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
7819 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
7820 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
7821 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
7822 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
7823 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
7824 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
7825 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
7826 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
7827 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
7828 external/w3c_dom/org/w3c/dom/ls/LSException.java,
7829 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
7830 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
7831 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
7832 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
7833 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
7834 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
7835 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
7836 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
7837 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
7838 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
7839 external/w3c_dom/org/w3c/dom/ranges/Range.java,
7840 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
7841 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
7842 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
7843 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
7844 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
7845 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
7846 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
7847 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
7848 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
7849 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
7850 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
7851 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
7852 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
7853 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
7854 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
7855 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
7856 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
7857 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
7860 2005-01-31 Anthony Green <green@redhat.com>
7862 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
7863 Support IP_MULTICAST_LOOP.
7864 (setOption): Support IP_MULTICAST_LOOP.
7866 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
7867 SO_REUSEADDR support.
7868 (getOption): Support SO_REUSEADDR.
7870 2005-01-28 Jeroen Frijters <jeroen@frijters.net>
7873 * java/util/Date.java
7874 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
7876 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
7878 (getTimezoneOffset): Inverted sign.
7880 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
7882 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
7883 remove other passing tests and add new XFAILs.
7885 2005-01-24 Tom Tromey <tromey@redhat.com>
7887 * java/lang/Class.h (next): Updated documentation. Renamed to
7889 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
7890 _Jv_CheckABIVersion.
7891 (_Jv_RegisterClasses_Counted): Likewise.
7892 (_Jv_RegisterClassHookDefault): Fix starting condition of
7893 duplicate-checking loop.
7894 * include/jvm.h (GCJ_VERSION): New define.
7895 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
7896 (_Jv_CheckABIVersion): New function.
7898 2005-01-24 Jakub Jelinek <jakub@redhat.com>
7900 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
7901 (libgij_la_LDFLAGS): Add.
7902 * Makefile.in: Rebuilt.
7904 2005-01-24 Roger Sayle <roger@eyesopen.com>
7907 * testsuite/libjava.compile/PR19295.java: New test case.
7909 2005-01-19 Tom Tromey <tromey@redhat.com>
7911 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
7912 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
7913 if 'handler' is valid.
7915 2005-01-17 Tom Tromey <tromey@redhat.com>
7917 * java/text/MessageFormat.java (scanString): Changed how quoting
7919 (scanFormatElement): Likewise.
7921 2004-12-07 Mark Wielaard <mark@klomp.org>
7923 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
7925 2005-01-15 Michael Koch <konqueror@gmx.de>
7929 (AUTHORITY_REGEXP): New regexp constant.
7930 (AUTHORITY_USERINFO_GROUP): New constant.
7931 (AUTHORITY_HOST_GROUP): Likewise.
7932 (AUTHORITY_PORT_GROUP): Likewise.
7933 (port): Changed default value to -1.
7934 (parseURI): Parse authority part and initialize host,
7937 2005-01-14 Robin Green <greenrd@greenrd.org>
7939 * java/io/File.java (toURI): Generate a URI which we understand.
7941 2005-01-13 Graydon Hoare <graydon@redhat.com>
7943 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
7944 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
7945 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
7946 * jni.cc: Reuse bottom frame between calls, avoid clearing
7947 frame when no local references are made.
7949 2005-01-13 Michael Koch <konqueror@gmx.de>
7952 * java/lang/Thread.java
7953 (Thread): Call checkAccess().
7954 (stop): Fixed argument name to match javadoc.
7955 * java/lang/natThread.cc
7956 (interrupt): Call checkAccess().
7959 2005-01-11 Michael Koch <konqueror@gmx.de>
7962 * java/net/URL.java (URL): Handle specs like
7963 "/redir?http://domain2.com/index.html" which start with a slash.
7965 2005-01-11 Michael Koch <konqueror@gmx.de>
7967 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
7968 * gnu/java/net/BASE64.java,
7969 gnu/java/net/EmptyX509TrustManager.java,
7970 gnu/java/net/LineInputStream.java,
7971 gnu/java/net/protocol/http/Authenticator.java,
7972 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
7973 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
7974 gnu/java/net/protocol/http/ChunkedInputStream.java,
7975 gnu/java/net/protocol/http/Cookie.java,
7976 gnu/java/net/protocol/http/CookieManager.java,
7977 gnu/java/net/protocol/http/Credentials.java,
7978 gnu/java/net/protocol/http/HTTPConnection.java,
7979 gnu/java/net/protocol/http/HTTPDateFormat.java,
7980 gnu/java/net/protocol/http/HTTPURLConnection.java,
7981 gnu/java/net/protocol/http/Headers.java,
7982 gnu/java/net/protocol/http/Request.java,
7983 gnu/java/net/protocol/http/RequestBodyWriter.java,
7984 gnu/java/net/protocol/http/Response.java,
7985 gnu/java/net/protocol/http/ResponseBodyReader.java,
7986 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
7987 gnu/java/net/protocol/http/SimpleCookieManager.java,
7988 gnu/java/net/protocol/http/event/ConnectionEvent.java,
7989 gnu/java/net/protocol/http/event/ConnectionListener.java,
7990 gnu/java/net/protocol/http/event/RequestEvent.java,
7991 gnu/java/net/protocol/http/event/RequestListener.java: New files.
7992 * gnu/java/net/protocol/http/Connection.java: Removed.
7993 * gnu/java/net/protocol/http/Handler.java,
7994 javax/net/ssl/HttpsURLConnection.java: Updated.
7995 * Makefile.am: Added new files and remove old ones.
7996 * Makefile.in: Regenerated.
7998 2005-01-11 Tom Tromey <tromey@redhat.com>
8001 * java/io/BufferedInputStream.java (read): Repeatedly read to
8003 (refill): Change test to see if buffer must be grown.
8005 2005-01-10 Tom Tromey <tromey@redhat.com>
8007 * mauve-libgcj: Exclude some swing tests.
8009 2005-01-10 Tom Tromey <tromey@redhat.com>
8011 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
8012 * java/lang/Package.java (getPackages): Use VMClassLoader when
8014 (getPackage): Likewise.
8015 * prims.cc (_Jv_CreateJavaVM): Call
8016 _Jv_RegisterBootstrapPackages.
8017 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
8018 * java/lang/VMClassLoader.java (getPackage): Rewrote.
8019 (getPackages): Likewise.
8020 (definedPackages): New field.
8021 (definePackageForNative): New method.
8022 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
8023 * java/lang/natVMClassLoader.cc (loadClass): Updated.
8024 * defineclass.cc (handleClassBegin): Use
8025 ClassLoader.findLoadedClass.
8026 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
8028 (struct _Jv_LoaderInfo): Removed.
8029 (initiated_classes): Likewise.
8030 (_Jv_UnregisterClass): Don't use initiated_classes.
8031 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
8032 (_Jv_FindClass): Register classes found during boostrap.
8033 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
8034 (bootstrap_class_list): New global.
8035 (bootstrap_index): Likewise.
8036 (_Jv_RegisterBootstrapPackages): New function.
8037 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
8038 definePackageForNative.
8039 (findClass): Updated.
8040 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
8043 2005-01-10 Tom Tromey <tromey@redhat.com>
8046 * include/jvm.h (_Jv_Linker::find_field): Declare.
8047 (_Jv_Linker::find_field_helper): Likewise.
8048 * link.cc (find_field_helper): New method.
8049 (find_field): Likewise.
8050 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
8052 (link_symbol_table): Use find_field.
8054 2005-01-10 Michael Koch <konqueror@gmx.de>
8057 * java/util/Locale.java (Locale): Don't uppercase variant.
8058 (getISOCountries): Fixed typo in javadoc.
8060 2005-01-10 Michael Koch <konqueror@gmx.de>
8062 * java/util/SimpleTimeZone.java (checkRule):
8063 Throw IllegalArgumentException on invalid month values.
8064 * java/util/TimeZone.java (setID):
8065 Throw NullPointerException if needed.
8067 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
8069 * java/util/SimpleTimeZone.java (getOffset):
8070 offset end date with daylight savings
8072 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
8074 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
8075 * testsuite/libjava.compile/PR19277.xfail: Likewise.
8077 2005-01-09 Michael Koch <konqueror@gmx.de>
8080 * java/net/InetAddress.java (getLocalHost):
8081 Throw UnknownHostException if local hostname cannot be determined.
8083 2005-01-06 Tom Tromey <tromey@redhat.com>
8085 * java/lang/ClassLoader.java (findClass): Fixed documentation.
8087 2005-01-07 Michael Koch <konqueror@gmx.de>
8090 * java/nio/Buffer.java (address): New field.
8091 * java/nio/DirectByteBufferImpl.java (address): Removed.
8092 * java/nio/MappedByteBufferImpl.java (address): Likewise.
8093 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
8094 Explicitly initialize Buffer.address if needed.
8095 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
8096 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
8097 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
8098 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
8099 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
8100 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
8101 DirectByteBufferImpl object.
8102 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
8103 * testsuite/libjava.jni/directbuffer.c,
8104 testsuite/libjava.jni/directbuffer.java,
8105 testsuite/libjava.jni/directbuffer.out,
8106 testsuite/libjava.jni/bytebuffer.c,
8107 testsuite/libjava.jni/bytebuffer.java,
8108 testsuite/libjava.jni/bytebuffer.out: New files.
8110 2005-01-05 Tom Tromey <tromey@redhat.com>
8112 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
8114 (compressedSize): Now 'long'. Default to -1.
8115 (getCompressedSize): Rewrote.
8116 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
8117 deflate at all if we need input.
8119 2005-01-05 Tom Tromey <tromey@redhat.com>
8122 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
8125 2005-01-05 Tom Tromey <tromey@redhat.com>
8127 * java/lang/natRuntime.cc (insertSystemProperties): Set
8128 java.ext.dirs earlier.
8130 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
8132 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
8133 sync_info element of the object if needed.
8135 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
8137 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
8138 a non-zero exit status from 'false'.
8140 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
8142 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.