std_bitset.h: Better comments.
[official-gcc.git] / libjava / ChangeLog
blob1d8107b206e4ca95355eee3cc8fdfab719416190
1 2002-12-27  Mark Mitchell  <mark@codesourcery.com>
3         * boehm.cc: Remove stray semicolon.
4         * interpret.cc: Likewise.
5         * prims.cc: Likewise.
6         * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
7         earlier to ensure default arguments are processed.
8         * gcj/array.h (JArray): Add forward declaration.
9         (elements): Likewise.
10         * gcj/javaprim.h: Remove stray semicolons.
11         * include/bohm-gc.h: Likewise.
12         * include/jni.h: Likewise.
13         * include/jvm.h: Likewise.
14         * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
15         
16 2002-12-23  Jeff Sturm  <jsturm@one-point.com>
18         * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
19         of catch_type.
20         * java/lang/natClass.cc (initializeClass): Link vtable, otable,
21         idt tables after initializing superclass.
22         * java/lang/natClassLoader.cc (uaddr): New typedef.
23         (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
24         if they are constant pool indicies.  Don't link vtable, otable yet.
26 2002-12-21  Anthony Green  <green@redhat.com>
28         * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
29         libraries.
30         * Makefile.in: Rebuilt.
32 2002-12-19  Anthony Green  <green@redhat.com>
34         * Makefile.am (ordinary_java_source_files): Add
35         org/xml/sax/helpers/NewInstance.java.
36         * Makefile.in: Rebuilt.
37         * org/xml/sax/package.html, org/xml/sax/ext/package.html,
38         org/xml/sax/helpers/package.html: New files.
39         * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
40         http://www.saxproject.org.
42 2002-12-19  Andrew Haley  <aph@redhat.com>
44         * java/util/natResourceBundle.cc: Include
45         ArrayIndexOutOfBoundsException.h.
46         (getCallingClassLoader): Don't put upper bound on stack search.
47         Catch ArrayIndexOutOfBoundsException.
49 2002-12-19  Tom Tromey  <tromey@redhat.com>
51         * libtool-version: Increased `current'.
53 2002-12-19  Tom Tromey  <tromey@redhat.com>
55         * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
56         comment.
57         * java/lang/ClassLoader.java (defineClass): Use chained
58         exception when rethrowing.
59         * defineclass.cc (handleClassBegin): Mark class as interpreted.
60         * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
61         constants.
62         * resolve.cc (_Jv_PrepareMissingMethods): New function.
63         (_Jv_PrepareClass): Use it.
64         * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
65         (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
66         * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
67         (Class): _Jv_PrepareMissingMethods now friend.
68         * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
69         Record `NULL' for system class loader.
70         (_Jv_RegisterInitiatingLoader): Use JvSynchronize.  Special case
71         system class loader.
72         (_Jv_FindClassInCache): Likewise.
73         (_Jv_UnregisterClass): Use JvSynchronize.  Free old loader info.
74         (_Jv_FindClass): Special case system class loader.
75         * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
76         (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
77         vtable slots.
78         (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
79         in a final class.
80         (_getDeclaredMethod): Don't return synthetic methods.
81         (getDeclaredMethods): Likewise.
82         (_getMethod): Likewise.
83         (_getMethods): Likewise.
85 2002-12-18  Raif Naffah  <raif@fl.net.au>
87         * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
88         canonical form after divide().
89         (modInverse): Likewise.
91 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
92             Mark Wielaard  <mark@klomp.org>
94         * java/security/SecurityRandom (digest): Removed field.
95         (SecureRandom): Check all providers for case-insensitive SecureRandom
96         implementation. Don't ignore classname == null. Fallback to SHA1PRNG
97         if necessary.
98         (getInstance(String,Provider,boolean): New method.
99         (getInstance(String)): Use new method.
100         (getInstance(String,String)): Likewise.
101         (getInstance(String,Provider)): Likewise.
103 2002-12-13  Casey Marshall  <rsdio@metastatic.org>
105         * java/security/Security.java (loadProviders): Increment i only once.
107 2002-12-12  Mark Wielaard  <mark@klomp.org>
109         * java/lang/ClassLoader.java (resolveClass0): Transform
110         ClassNotFoundException to NoClassDefFoundError. Transform all other
111         throwables to LinkageError.
113 2002-12-11  Tom Tromey  <tromey@redhat.com>
115         * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
117         * java/lang/ClassLoader.java (loadedClasses): New field.
118         (defineClass): Fixed indentation.  Put new class in
119         loadedClasses.
120         (findLoadedClass): Implement here.
121         * java/lang/natClassLoader.cc (findLoadedClass): Removed.
123 2002-12-10  Tom Tromey  <tromey@redhat.com>
125         * Makefile.in: Rebuilt.
126         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
127         * gnu/gcj/runtime/natVMClassLoader.cc: New file.
128         (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
129         * java/lang/natClassLoader.cc
130         (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
132 2002-12-10  Mark Wielaard  <mark@klomp.org>
133             Tom Tromey  <tromey@redhat.com>
135         * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
136         (JarURLLoader): Use it.
137         (FileURLLoader): Likewise.
138         (JarURLResource.getURL): Use chained exception.
139         (FileResource.getURL): Likewise.
140         (FileURLLoader.getResource): Use canonical file name.
141         (addURL): Indentation fix.
143 2002-12-10  Tom Tromey  <tromey@redhat.com>
145         * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
146         From Laurent Bardet <l.bardet@magic.fr>.
148 2002-12-09  Tom Tromey  <tromey@redhat.com>
150         * include/win32.h (_Jv_platform_solib_prefix): New define.
151         (_Jv_platform_solib_suffix): Likewise.
152         * include/posix.h (_Jv_platform_solib_prefix): New define.
153         (_Jv_platform_solib_suffix): Likewise.
154         * java/lang/natRuntime.cc: Include StackTrace.h.
155         (_load): Use findLibrary and new platform defines.
156         (nativeGetLibname): Use new platform defines.
158         * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
159         `t' won't be null.
161 2002-12-08  Mark Wielaard  <mark@klomp.org>
163         * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
164         cache remote jar files.
165         * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
166         add File.separator to URL when it is a directory.
167         * java/lang/ClassLoader.java: Add Classpath javadoc.
168         (parent): final.
169         (getParent): Add (disabled) security check.
170         (findLibrary): New default method.
171         * java/net/JarURLConnection.java (getManifest): Implement.
172         (getInputStream): Only create InputStream when entry exists.
173         (getHeaders): Only use jarFileURLConnection or JarEntry to set length
174         when they exist.
175         * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
177 2002-12-08  Mark Wielaard  <mark@klomp.org>
179         * java/util/ResourceBundle.java (resourceBundleCache): Not final.
180         (lastDefaultLocale): New field.
181         (getBundle): When Locale.getDefault != lastDefaultLocale reset
182         resourceBundleCache.
184 2002-12-06  Mark Wielaard  <mark@klomp.org>
186         * java/net/InetAddress.java (toString): Use hostname when not null,
187         don't do an explicit reverse getHostName() lookup.
188         * java/net/Socket.java (setSocketImplFactory): When fac == null throw
189         NullPointerException.
191 2002-12-06  Tom Tromey  <tromey@redhat.com>
193         * include/java-interp.h (class _Jv_InterpMethod): Added
194         JV_MARKOBJ_DECL.
195         * boehm.cc (_Jv_MarkObj): Consolidated interpreter code.  Also
196         mark `prepared' field of interpreted method.
197         * interpret.cc (compile): Use _Jv_AllocBytes.
199 2002-12-05  Andrew Haley  <aph@redhat.com>
201         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
202         #ifdef (HAVE_BACKTRACE) around the whole function body.
204 2002-12-05  Tom Tromey  <tromey@redhat.com>
206         * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
207         * resolve.cc: Don't include AbstractMethodError.h.
208         (_Jv_abstractMethodError): Removed.
209         * defineclass.cc (handleMethodsBegin): Initialize method index to
210         -1.
211         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
212         method index for "new" final method.
213         (_Jv_SetVTableEntries): Compare index against -1 instead of using
214         isVirtualMethod.  Added `flags' argument.
215         (_Jv_MakeVTable): Throw exception for abstract method in concrete
216         class.
218 2002-12-04  Tom Tromey  <tromey@redhat.com>
220         * java/net/SocketPermission.java (hashCode): Rewrote.
222 2002-12-04  Tom Tromey  <tromey@redhat.com>
224         * Makefile.in: Rebuilt.
225         * Makefile.am (nat_source_files): Added natVMSecurityManager,
226         natResourceBundle.
227         * java/util/ResourceBundle.java (Security): Removed.
228         (getCallingClassLoader): Now native.
229         * java/util/natResourceBundle.cc: New file.
230         * java/lang/natVMSecurityManager.cc: New file.
231         * java/lang/VMSecurityManager.java (getClassContext): Now native.
233 2002-12-03  Mark Wielaard  <mark@klomp.org>
235         * java/util/jar/JarFile.java (manifest): Not final.
236         (manifestRead): New field.
237         (JarFile): Don't read Manifest in constructor.
238         (getManifest): New method.
239         (JarEnumeration.nextElement): Use new method.
240         (getEntry): Likewise.
241         * java/util/zip/ZipFile.java (name): Final.
242         (raf): Likewsie.
243         (entries): Change type to Hashtable.
244         (closed): New field.
245         (ZipFile): Don't read enties in constructor.
246         (readEntries): Use Hashtable.
247         (close): Set new close flag and set entries to null inside
248         synchronized block.
249         (entries): Contruct enumeration using new getEntries() method and
250         entries Hashtable.
251         (getEntryIndex): Removed.
252         (getEntries): New method.
253         (getEntry): Use new getEntries() method and entries Hastable.
254         (getInputStream): Likewise.
255         (size): Return getEntries().size().
256         (ZipEntryEnumeration): Wrap entries Hashtable elements.
257         * java/util/zip/ZipEntry.java (cal): Don't initialize.
258         (time): Removed
259         (dostime): New field.
260         (zipFileIndex): Removed.
261         (ZipEntry(ZipEntry)): Copy dostime.
262         (setDOSTime): Now final and doesn't convert dos time.
263         (getDOSTime): Likewise.
264         (setTime): Convert dos time.
265         (getTime): Likewise.
266         (getCalendar): New method.
267         (setExtra): Use setTime().
268         * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
270 2002-12-03  Tom Tromey  <tromey@redhat.com>
272         * java/lang/Character.java (forDigit): Formatting fix.
274 2002-12-03  Raif Naffah  <raif@fl.net.au>
276         * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
277         * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
278         * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
280 2002-12-03  Andrew Haley  <aph@redhat.com>
282         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
283         _Jv_PushClass.
284         (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
285         (_Jv_PopClass): New.
286         (_Jv_PushClass): New.
287         * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
288         discover the ClassLoader of our caller.
289         (_Jv_CheckArrayStore): Don't check that a class is assignment
290         compatible with Object.
291         * java/lang/natVMTHrowable.cc: Delete.
292         * gnu/gcj/runtime/StackTrace.java: New, partly copied from
293         java.lang.VMThrowable.
294         (StackTrace(), StackTrace(int)): New constructors.
295         (classAt, methodAt, update, methodAtAddress): New methods.
296         (map): New field.
297         * java/lang/VMThrowable.java: Use StackTrace instead of
298         natVMTHrowable.
299         * java/lang/Class.h (getClassLoaderInternal): New.
300         (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
301         Be friendly with gnu::gcj::runtime::StackTrace.
302         (Object.chain): New field.
303         * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
304         gnu::gcj::runtime::StackTrace.
305         * gnu/gcj/runtime/natStackTrace.cc: New file.
306         * gnu/gcj/runtime/MethodRef.java: New file.
307         * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
308         instead of getClassLoader().
309         * verify.cc (class _Jv_BytecodeVerifier): Likewise.
310         java::lang::VMThrowable.
311         * Makefile.am (core_java_source_files): Add MethodRef.java,
312         StackTrace.java.
313         (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
314         * Makefile.in: Rebuild.
316 2002-12-02  Kaz Kojima  <kkojima@gcc.gnu.org>
318         * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
319         CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
320         yes also for sh-linux* and sh[34]*-linux*.
321         * configure.in: Add sh-linux* and sh[34]*-linux* cases and
322         set SIGNAL_HANDLER to use DWARF2 exception for them.
323         * configure: Regenerate.
325 2002-12-02  Tom Tromey  <tromey@redhat.com>
327         * jni.cc: Added `name' argument.
328         * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
329         `const char *' argument.
330         (class _Jv_JNIEnv) [DefineClass]: Likewise.
332 2002-12-01  Tom Tromey  <tromey@redhat.com>
334         Bug compatibility, for PR libgcj/8738:
335         * java/io/CharArrayWriter.java (close): Do nothing.
336         (flush): Likewise.
337         (reset): Don't touch `closed'.
338         (write(int)): Don't throw IOException.
339         (write(char[],int,int)): Likewise.
340         (write(String,int,int)): Likewise.
341         (closed): Removed.
343 2002-12-01  Mark Wielaard  <mark@klomp.org>
345         * java/lang/SecurityManager.java: Remerge comments, indenting and
346         checkXXX methods with Classpath.
348 2002-11-29  Scott Gilbertson  <scottg@mantatest.com>
350         * java/awt/image/ColorModel.java (getUnnormalizedComponents,
351         getNormalizedComponents): Fix calculation which was using one too
352         many bits in the unnormalized format.
354 2002-11-29  Gary Benson  <gbenson@redhat.com>
356         For PR libgcj/8759:
357         * java/beans/Introspector.java (flushCaches): New method.
358         (flushFromCaches): Likewise.
360 2002-11-29  Michael Koch <konqueror@gmx.de>
362         * java/nio/channels/DatagramChannel.java
363         (open): Added exception documentation.
364         (write): Added exception documentation.
365         (connect): Added exception documentation.
366         (disconnect): Added exception documentation.
367         (isConnected): Added exception documentation.
368         (read): Added exception documentation.
369         (receive): Added exception documentation.
370         (send): Added exception documentation.
371         (validOps): Added exception documentation.
372         * java/nio/channels/SocketChannel.java
373         (open): Added exception documentation.
374         (read): Added exception documentation.
375         (write): Added exception documentation.
376         (connect): Added exception documentation.
377         (finishConnect): Added exception documentation.
379 2002-11-29  Michael Koch <konqueror@gmx.de>
381         * gnu/java/nio/DatagramChannelImpl:
382         (fd): New member variable to store file descriptor of socket.
383         * gnu/java/nio/SelectionKeyImpl.java:
384         (ops): Removed.
385         (readyOps): New member variable.
386         (interestOps): New member variable.
387         (readyOps): Implemented.
388         (readyOps): New method to set member variable readyOps.
389         (interestOps): Replaced ops by interestOps.
390         * gnu/java/nio/SelectorImpl.java:
391         (SelectorImpl): Initialize key sets.
392         (select): Call select with -1 instead of Long.MAX_VALUE).
393         (java_do_select): Make it a native method.
394         (getFDsAsArray): New helper method.
395         (select): Remove canceled keys, give only interested file discriptors
396         to java_do_select, set ready ops.
397         (add): No need to initialize keys set here.
398         (add_selected): No need to initialize selected set here.
399         (deregisterCanceledKeys): New helper method.
400         (register): Set interest ops, set attachments, added handling of datagram
401         channels.
402         * gnu/java/nio/ServerSocketChannelImpl:
403         (SocketAccept): Renamed from NioSocketAccept.
404         (implConfigureBlocking): Implemented.
405         (accept): Use SocketAccept instead of NioSocketAccept.
406         * gnu/java/nio/SocketChannelImpl:
407         Reactivate native methods.
409 2002-11-29  Michael Koch <konqueror@gmx.de>
411         * gnu/java/nio/natByteBufferImpl.cc,
412         gnu/java/nio/natCharBufferImpl.cc,
413         gnu/java/nio/natDoubleBufferImpl.cc,
414         gnu/java/nio/natFloatBufferImpl.cc,
415         gnu/java/nio/natIntBufferImpl.cc,
416         gnu/java/nio/natLongBufferImpl.cc,
417         gnu/java/nio/natSelectorImpl.cc,
418         gnu/java/nio/natServerSocketChannelImpl.cc,
419         gnu/java/nio/natShortBufferImpl.cc,
420         gnu/java/nio/natSocketChannelImpl.cc:
421         New files that implement native functionalities.
423 2002-11-29  Michael Koch <konqueror@gmx.de>
425         * gnu/java/nio/ByteBufferImpl.java
426         (ByteBufferImpl): Moved position() after limit.
427         (nio_*): Use native implementation.
428         * gnu/java/nio/CharBufferImpl.java:
429         Reformated.
430         (endian): New member variable string endianess of buffer.
431         (CharBufferImpl): Moved position() after limit.
432         (nio_*): Use native implementation.
433         (subSequence): Implemented.
434         * gnu/java/nio/DoubleBufferImpl.java
435         (DoubleBufferImpl): Moved position() after limit.
436         (nio_*): Use native implementation.
437         * gnu/java/nio/FloatBufferImpl.java
438         Reformated.
439         (FloatBufferImpl): Moved position() after limit.
440         (nio_*): Use native implementation.
441         * gnu/java/nio/IntBufferImpl.java
442         Added needed imports, Reformated.
443         (IntBufferImpl): Moved position() after limit.
444         (nio_*): Use native implementation.
445         * gnu/java/nio/LongBufferImpl.java
446         Reformated.
447         (LongBufferImpl): Moved position() after limit.
448         (nio_*): Use native implementation.
449         * gnu/java/nio/ShortBufferImpl.java
450         Reformated.
451         (ShortBufferImpl): Moved position() after limit.
452         (nio_*): Use native implementation.
454 2002-11-27  Julian Dolby  <dolby@us.ibm.com>
456         * java/util/Locale.java (toString): Improve efficiency if country
457         and variant are both empty.
459 2002-11-26  Tom Tromey  <tromey@redhat.com>
461         * verify.cc (pop_init_ref): New method.
462         (verify_instructions_0) [op_iaload, op_laload, op_faload,
463         op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
464         op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
465         op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
466         op_instanceof, op_monitorenter, op_monitorexit]: Use it.
467         (verify_instructions_0) [op_invokevirtual, op_invokespecial,
468         op_invokestatic, op_invokeinterface]:  Use pop_init_ref.  Don't
469         let `this' argument be uninitialized.  Don't let `null' be passed
470         as `this' to construtor.
472 2002-11-26  Mark Wielaard  <mark@klomp.org>
474         * javax/transaction/HeuristicCommitException.java: Classpath merge.
475         * javax/transaction/HeuristicMixedException.java: Likewise.
476         * javax/transaction/HeuristicRollbackException.java: Likewise.
477         * javax/transaction/InvalidTransactionException.java: Likewise.
478         * javax/transaction/NotSupportedException.java: Likewise.
479         * javax/transaction/RollbackException.java: Likewise.
480         * javax/transaction/Status.java: Likewise.
481         * javax/transaction/Synchronization.java: Likewise.
482         * javax/transaction/SystemException.java: Likewise.
483         * javax/transaction/Transaction.java: Likewise.
484         * javax/transaction/TransactionManager.java: Likewise.
485         * javax/transaction/TransactionRequiredException.java: Likewise.
486         * javax/transaction/TransactionRolledbackException.java: Likewise.
487         * javax/transaction/UserTransaction.java: Likewise.
488         * javax/transaction/xa/XAException.java: Likewise.
489         * javax/transaction/xa/XAResource.java: Likewise.
490         * javax/transaction/xa/Xid.java: Likewise.
492 2002-11-26  Andreas Tobler  <a.tobler@schweiz.ch>
494         * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
495         define.
496         * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
497         * include/posix.h (socklen_t): Define if not already defined.
499 2002-11-25  Tom Tromey  <tromey@redhat.com>
501         * verify.cc (type::compatible): Backed out broken change.
503         * verify.cc (type::compatible): Check initialization status
504         first.
505         * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
506         Don't use NULLCHECK.
508 2002-11-23  H.J. Lu <hjl@gnu.org>
510         * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
511         Include ../config/accross.m4.
512         * aclocal.m4; Rebuild.
513         * configure: Likewise.
515 2002-11-23  Mark Wielaard  <mark@klomp.org>
517         * javax/naming/AuthenticationException.java: Update copyright header.
518         * javax/naming/AuthenticationNotSupportedException.java: Likewise.
519         * javax/naming/Binding.java: Likewise.
520         * javax/naming/CannotProceedException.java: Likewise.
521         * javax/naming/CommunicationException.java: Likewise.
522         * javax/naming/CompositeName.java: Likewise.
523         * javax/naming/CompoundName.java: Likewise.
524         * javax/naming/ConfigurationException.java: Likewise.
525         * javax/naming/Context.java: Likewise.
526         * javax/naming/ContextNotEmptyException.java: Likewise.
527         * javax/naming/InitialContext.java: Likewise.
528         * javax/naming/InsufficientResourcesException.java: Likewise.
529         * javax/naming/InterruptedNamingException.java: Likewise.
530         * javax/naming/LimitExceededException.java: Likewise.
531         * javax/naming/LinkException.java: Likewise.
532         * javax/naming/LinkLoopException.java: Likewise.
533         * javax/naming/LinkRef.java: Likewise.
534         * javax/naming/MalformedLinkException.java: Likewise.
535         * javax/naming/NameAlreadyBoundException.java: Likewise.
536         * javax/naming/NameClassPair.java: Likewise.
537         * javax/naming/NameNotFoundException.java: Likewise.
538         * javax/naming/NameParser.java: Likewise.
539         * javax/naming/NamingEnumeration.java: Likewise.
540         * javax/naming/NamingSecurityException.java: Likewise.
541         * javax/naming/NoInitialContextException.java: Likewise.
542         * javax/naming/NoPermissionException.java: Likewise.
543         * javax/naming/NotContextException.java: Likewise.
544         * javax/naming/OperationNotSupportedException.java: Likewise.
545         * javax/naming/PartialResultException.java: Likewise.
546         * javax/naming/Reference.java: Likewise.
547         * javax/naming/Referenceable.java: Likewise.
548         * javax/naming/ReferralException.java: Likewise.
549         * javax/naming/ServiceUnavailableException.java: Likewise.
550         * javax/naming/SizeLimitExceededException.java: Likewise.
551         * javax/naming/TimeLimitExceededException.java: Likewise.
552         * javax/naming/directory/Attribute.java: Likewise.
553         * javax/naming/directory/AttributeInUseException.java: Likewise.
554         * javax/naming/directory/AttributeModificationException.java: Likewise.
555         * javax/naming/directory/Attributes.java: Likewise.
556         * javax/naming/directory/BasicAttribute.java: Likewise.
557         * javax/naming/directory/BasicAttributes.java: Likewise.
558         * javax/naming/directory/DirContext.java: Likewise.
559         * javax/naming/directory/InitialDirContext.java: Likewise.
560         * javax/naming/directory/InvalidAttributeIdentifierException.java:
561         Likewise.
562         * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
563         * javax/naming/directory/InvalidAttributesException.java: Likewise.
564         * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
565         * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
566         * javax/naming/directory/ModificationItem.java: Likewise.
567         * javax/naming/directory/NoSuchAttributeException.java: Likewise.
568         * javax/naming/directory/SchemaViolationException.java: Likewise.
569         * javax/naming/directory/SearchControls.java: Likewise.
570         * javax/naming/directory/SearchResult.java: Likewise.
571         * javax/naming/event/EventContext.java: Likewise.
572         * javax/naming/event/EventDirContext.java: Likewise.
573         * javax/naming/event/NamespaceChangeListener.java: Likewise.
574         * javax/naming/event/NamingEvent.java: Likewise.
575         * javax/naming/event/NamingExceptionEvent.java: Likewise.
576         * javax/naming/event/NamingListener.java: Likewise.
577         * javax/naming/event/ObjectChangeListener.java: Likewise.
578         * javax/naming/ldap/Control.java: Likewise.
579         * javax/naming/ldap/ControlFactory.java: Likewise.
580         * javax/naming/ldap/ExtendedRequest.java: Likewise.
581         * javax/naming/ldap/ExtendedResponse.java: Likewise.
582         * javax/naming/ldap/HasControls.java: Likewise.
583         * javax/naming/ldap/InitialLdapContext.java: Likewise.
584         * javax/naming/ldap/LdapContext.java: Likewise.
585         * javax/naming/ldap/LdapReferralException.java: Likewise.
586         * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
587         * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
588         * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
589         * javax/naming/spi/DirObjectFactory.java: Likewise.
590         * javax/naming/spi/DirStateFactory.java: Likewise.
591         * javax/naming/spi/DirectoryManager.java: Likewise.
592         * javax/naming/spi/InitialContextFactory.java: Likewise.
593         * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
594         * javax/naming/spi/NamingManager.java: Likewise.
595         * javax/naming/spi/ObjectFactory.java: Likewise.
596         * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
597         * javax/naming/spi/ResolveResult.java: Likewise.
598         * javax/naming/spi/Resolver.java: Likewise.
599         * javax/naming/spi/StateFactory.java: Likewise.
601         * javax/naming/spi/NamingManager.java (ofb): Package private.
603 2002-11-21  Mark Wielaard  <mark@klomp.org>
605         * java/net/URL.java: Merge with Classpath (partly).
606         * java/net/URLStreamHandler: Merge with Classpath.
608 2002-11-22  Michael Koch <konqueror@gmx.de>
610         * include/posix.h:
611         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
612         * include/win32.h:
613         (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
614         (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
616 2002-11-21  Michael Koch <konqueror@gmx.de>
618         * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
619         Only the new network functions should be in it.
621 2002-11-21  Michael Koch <konqueror@gmx.de>
623         * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
624         * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
626 2002-11-21  Michael Koch <konqueror@gmx.de>
628         * java/nio/channels/AsynchronousCloseException.java,
629         java/nio/channels/CancelledKeyException.java,
630         java/nio/channels/ClosedByInterruptException.java,
631         java/nio/channels/ConnectionPendingException.java,
632         java/nio/channels/FileLockInterruptionException.java,
633         java/nio/channels/IllegalSelectorException.java,
634         java/nio/channels/NoConnectionPendingException.java,
635         java/nio/channels/NonReadableChannelException.java,
636         java/nio/channels/NonWritableChannelException.java,
637         java/nio/channels/NotYetBoundException.java,
638         java/nio/channels/NotYetConnectedException.java,
639         java/nio/channels/OverlappingFileLockException.java,
640         java/nio/channels/UnresolvedAddressException.java,
641         java/nio/channels/UnsupportedAddressTypeException.java:
642         New files.
643         * Makefile.am (ordinary_java_source_files): Added new files.
644         * Makefile.in: Regenerated.
646 2002-11-21  Michael Koch <konqueror@gmx.de>
648         * include/posix.h
649         (_Jv_socket): New method.
650         (_Jv_connect): New method.
651         (_Jv_close): New method.
652         (_Jv_platform_close_on_exec): Prefixed system function with "::".
653         (_Jv_bind): New method.
654         (_Jv_listen): New method.
655         (_Jv_write): New method.
656         (_Jv_read): New method.
657         * include/win32.h
658         (_Jv_socket): New method.
659         (_Jv_connect): New method.
660         (_Jv_close): New method.
661         (_Jv_bind): New method.
662         (_Jv_listen): New method.
663         (_Jv_write): New method.
664         (_Jv_read): New method.
665         * java/net/natNetworkInterface.cc:
666         Include platform.h, removed inclusion of socket.h
667         (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
668         ::close() by _Jv_close().
669         * java/net/natPlainDatagramSocketImpl.cc:
670         Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
671         added some new lines to make code more readable.
672         (create): Replaced ::socket() by _Jv_socket().
673         (close): Replaced NATIVE_CLOSE() by _Jv_close().
674         * java/net/natPlainSocketImpl.cc:
675         Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
676         removed include of socket.h, removed some windows defines
677         (now in include/win32.h).
678         (create): Replaced ::socket() by _Jv_socket().
679         (close): Replaced NATIVE_CLOSE() by _Jv_close().
680         (write): Replaced ::read by _Jv_write().
681         (read): Replaced ::read by _Jv_read().
683 2002-11-20  Michael Koch <konqueror@gmx.de>
685         * Makefile.am (ordinary_java_source_files):
686         Added java/nio/channels/FileChannel.java.
687         * Makefile.in: Regenerated.
689 2002-11-20  Michael Koch <konqueror@gmx.de>
691         * java/io/FileInputStream.java
692         (getChannel): New method.
693         * java/io/FileOutputStream.java
694         (getChannel): New method.
695         * java/net/ServerSocket.java
696         (bind): Removed duplicate code and called another bind method instead.
697         * java/nio/channels/SelectionKey.java
698         (isValid): Removed wrong exception documentation.
699         * java/nio/channels/ServerSocketChannel.java
700         (accept): Added exception documentation.
701         (open): Fixed typo, added exception documentation.
702         * java/nio/channels/spi/AbstractSelectableChannel.java
703         (implCloseChannel): Added exception documentation.
704         (add): Reformated.
705         (register): Added exception documentation.
707 2002-11-20  Andreas Jaeger  <aj@suse.de>
709         * configure: Regenerated with new libtool.m4.
711 2002-11-19  Tom Tromey  <tromey@redhat.com>
713         * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
714         `referent'.
715         (finalize_referred_to_object): Don't modify `referent' or `copy'
716         fields.
717         (add_to_hash): Correctly set `n->next' when updating list.
718         * java/lang/ref/Reference.java (enqueue): Return false if already
719         enqueued.
721 2002-11-19  Ranjit Mathew <rmathew@hotmail.com>
723         * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
724         to function and function pointer declarations in accordance with
725         Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
726         based on whether __GCJ_JNI_IMPL__ has been defined or not.
727         * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
728         JNI function definitions.
730 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
732         * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
733         that was causing CoderResults to be cached, not WeakReferences
734         to CoderResults.
736 2002-11-18  Joerg Brunsmann  <joerg_brunsmann@yahoo.de>
738         * java/security/KeyStore.java (getInstance): Fix
739         comment and throw IllegalArgumentException if
740         given provider is null.
741         (getInstance): New method for jdk1.4 compatibility.
743 2002-11-18  Michael Koch <konqueror@gmx.de>
745         * java/net/PlainSocketImpl.java: Fix imports.
747 2002-11-18  Michael Koch <konqueror@gmx.de>
749         * java/nio/channels/SelectionKey.java
750         (isValid): Added exception documentation.
751         * java/nio/channels/Selector.java
752         (open): Declare "throws IOException".
754 2002-11-18  Jesse Rosenstock <jmr@ugcs.caltech.edu>
756         * java/nio/charset/Charset.java
757         (<clinit>): New method.
758         (encode): Synchronize use of cached encoder object.
759         (decode): Synchronize use of cached encoder object.
761 2002-11-18  Michael Koch <konqueror@gmx.de>
763         * gnu/java/nio/ByteBufferImpl.java,
764         gnu/java/nio/CharBufferImpl.java,
765         gnu/java/nio/DatagramChannelImpl.java,
766         gnu/java/nio/DoubleBufferImpl.java,
767         gnu/java/nio/FileChannelImpl.java,
768         gnu/java/nio/FloatBufferImpl.java,
769         gnu/java/nio/IntBufferImpl.java,
770         gnu/java/nio/LongBufferImpl.java,
771         gnu/java/nio/PipeImpl.java,
772         gnu/java/nio/SelectionKeyImpl.java,
773         gnu/java/nio/SelectorImpl.java,
774         gnu/java/nio/SelectorProviderImpl.java,
775         gnu/java/nio/ServerSocketChannelImpl.java,
776         gnu/java/nio/ShortBufferImpl.java,
777         gnu/java/nio/SocketChannelImpl.java,
778         java/nio/DoubleBuffer.java,
779         java/nio/FloatBuffer.java,
780         java/nio/IntBuffer.java,
781         java/nio/LongBuffer.java,
782         java/nio/ShortBuffer.java,
783         java/nio/channels/FileChannel.java: New files.
785 2002-11-18  Michael Koch <konqueror@gmx.de>
787         * Makefile.am (ordinary_java_source_files):
788         Added java/nio/ReadOnlyBufferException.java and
789         java/nio/channels/ClosedSelectorException.java.
790         * Makefile.in: Regenerated.
792 2002-11-18  Michael Koch <konqueror@gmx.de>
794         * java/net/PlainSocketImpl.java: Reworked imports.
795         * java/net/ServerSocket.java
796         (ServerSocket): Create socket.
797         * java/net/SocketAddress.java: Documentation added.
798         * java/net/natPlainSocketImpl.cc: Reindented.
799         * java/nio/ReadOnlyBufferException.java: New file
800         * java/nio/channels/ClosedChannelException.java: Documentation added.
801         * java/nio/channels/ClosedSelectorException.java: New file.
803 2002-11-17  Mark Wielaard  <mark@klomp.org>
805         * java/net/HttpURLConnection.java ((getPermission): Take port
806         into consideration.
807         (getErrorStream): Implement.
809 2002-11-17  Mark Wielaard  <mark@klomp.org>
811         * java/net/HttpURLConnection.java: Merge with GNU Classpath.
813 2002-11-16  Mark Wielaard  <mark@klomp.org>
815         Integrate work by Raif S. Naffah (raif@fl.net.au)
816         * java/security/DummyKeyPairGenerator.java (clone): New method.
817         * java/security/DummyMessageDigest.java (clone): New method.
818         (engineUpdate): Now public.
819         (engineReset): Likewise.
820         (engineDigest): Likewise.
821         (engineGetDigestLength): New method.
822         * java/security/DummySignature.java (clone): New method.
823         * java/security/KeyPairGenerator.java (provider): Now package private.
824         (getInstance(String)): Use getInstance(String,Provider).
825         (getInstance(String,String): Use getInstance(String,Provider)
826         (getInstance(String,Provider): New method.
827         (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
828         * java/security/KeyPairGeneratorSpi.java (clone): New method.
829         * java/security/MessageDigest.java (provider): Now package private.
830         (getInstance(String): Use getInstance(String,Provider).
831         (getInstance(String,String): Use getInstance(String,Provider)
832         (getInstance(String,Provider): New method.
833         * java/security/Provider.java (toCanonicalKey): New method.
834         (get): New method that uses toCanonicalKey().
835         (put): Use toCanonicalKey().
836         (remove): Likewise.
837         * java/security/Security.java (insertProviderAt): Provider index is one
838         based, not zero based.
839         (addProvider): Likewise.
840         (removeProvider): Likewise.
841         * java/security/Signature.java (provider): Now package private.
842         (getInstance(String)): Use getInstance(String,Provider).
843         (getInstance(String,String): Use getInstance(String,Provider)
844         (getInstance(String,Provider): New method.
845         (getInstance(String,String,Provider): Don't cast DummySignature.
847 2002-11-15  Tom Tromey  <tromey@redhat.com>
849         For PR libgcj/8593:
850         * java/util/zip/GZIPInputStream.java (read): Check file size.
851         Look in inflater for remaining input bytes.
852         (read4): Added buf and offset arguments.
854 2002-11-12  Eric Blake  <ebb9@email.byu.edu>
856         * java/applet/AppletContext.java: Fix typo and remove redundant
857         modifiers.
859 2002-11-14  Tom Tromey  <tromey@redhat.com>
861         * java/lang/natRuntime.cc (insertSystemProperties): Set
862         gnu.classpath.home.
864 2002-11-13  Michael Koch <konqueror@gmx.de>
866         * java/nio/ByteBuffer.java
867         (allocate): New method.
868         (wrap): New method.
869         (put): New method.
870         (get): New method.
872 2002-11-13  Michael Koch <konqueror@gmx.de>
874         * java/nio/channels/AlreadyConnectedException.java:
875         Removed unneeded import.
876         (AlreadyConnectedException): Documentation added.
877         * java/nio/channels/Pipe.java
878         (SinkChannel.SinkChannel): Documentation added.
879         (SinkChannel.validOps): New method.
880         (SourceChannel.SourceChannel): Documentation added.
881         (SourceChannel.validOps): New method.
882         (Pipe): Documentation added.
883         (open): Documentation added.
884         (SinkChannel.channel): Documentation added.
885         (SourceChannel.channel): Documentation added.
886         * java/nio/channel/SelectableChannel.java
887         (SelectableChannel): Documentation added.
888         (blockingLock): Documentation added.
889         (configureBlocking):Documentation added.
890         (isBlocking):Documentation added.
891         (isRegistered):Documentation added.
892         (keyFor):Documentation added.
893         (provider):Documentation added.
894         (register): Documentation added.
895         (validOps): Documentation added.
896         * jaba/nio/channels/SelectionKey.java
897         (SelectionKey): Documentation added.
898         (attach): Documentation added.
899         (attachment): Documentation added.
900         (isAcceptable): Documentation added.
901         (isConnetable): Documentation added.
902         (isReadable): Documentation added.
903         (isWritable): Documentation added.
904         (cancel): Documentation added.
905         (channel): Documentation added.
906         (interestOps): Documentation added.
907         (isValid): Documentation added.
908         (readyOps): Documentation added.
909         (selector): Documentation added.
910         * jaba/nio/channels/Selector.java
911         (Selector): Documentation added.
912         (open): Documentation added.
913         (close): Documentation added.
914         (isOpen): Documentation added.
915         (keys): Documentation added.
916         (provider): Documentation added.
917         (select): Documentation added.
918         (selectedKeys): Documentation added.
919         (selectNow): Documentation added.
920         (wakeup): Documentation added.
921         * java/nio/channels/spi/AbstractInterruptibleChannel.java
922         (AbstractInterruptibleChannel): Documentation added.
923         (opened): Default to true;
924         (begin): Documentation added.
925         (close): Set opened to false, documentation added.
926         (isOpen): Documentation added.
927         * java/nio/channels/spi/AbstractSelectionKey.java
928         (AbstractSelectionKey): Documentation added.
929         (cancel): Documentation added.
930         (isValid): Documentation added.
931         * java/nio/channels/spi/AbstractSelector.java
932         (AbstractSelector): Documentation added.
933         (begin): Documentation added.
934         (close): Documentation added.
935         (isOpen): Documentation added.
936         (deregister): Documentation added.
937         (end): Documentation added.
938         (provider): Documentation added.
939         (implCloseSelector): Documentation added.
940         (register): Documentation added.
941         * java/nio/channels/spi/SelectorProvider.java
942         (SelectorProvider): Documentation added.
943         (openDatagramChannel): Documentation added.
944         (openPipe): Documentation added.
945         (openSelector): Documentation added.
946         (openServerSocketChannel): Documentation added.
947         (openSocketChannel): Documentation added.
948         (provider): Documentation added.
950 2002-11-12  Michael Koch <konqueror@gmx.de>
952         * java/nio/Buffer.java: Implemented.
953         * java/nio/CharBuffer.java: New file.
954         * java/nio/InvalidMarkException.java: New file.
955         * java/nio/channels/DatagramChannel.java: Implemented.
956         * java/nio/channels/ServerSocketChannel.java: Implemented.
957         * java/nio/channels/SocketChannel.java: Implemented.
958         * java/nio/channels/spi/AbstractChannel.java: Removed.
959         * java/nio/channels/spi/AbstractSelectableChannel.java:
960         Implemented.
961         * java/nio/charset/Charset.java:
962         Merge from Classpath.
963         * java/nio/charset/CharsetDecoder.java: New file.
964         * java/nio/charset/CharsetEncoder.java: New file.
965         * java/nio/charset/CoderResult.java: New file.
966         * Makefile.am (ordinary_java_source_files): Added new files.
967         * Makefile.in: Regenerated.
969 2002-11-11  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
971         * gnu/java/nio/charset/ISO_8859_1.java,
972         gnu/java/nio/charset/Provider.java,
973         gnu/java/nio/charset/US_ASCII.java,
974         gnu/java/nio/charset/UTF_16.java,
975         gnu/java/nio/charset/UTF_16BE.java,
976         gnu/java/nio/charset/UTF_16Decoder.java,
977         gnu/java/nio/charset/UTF_16Encoder.java,
978         gnu/java/nio/charset/UTF_16LE.java,
979         gnu/java/nio/charset/UTF_8.java: New files.
981 2002-11-11  Michael Koch <konqueror@gmx.de>
983         * java/nio/charset/CharacterCodingException.java:
984         This class must be public.
985         * java/nio/charset/CoderMalfunctionError.java:
986         This class must be public.
987         * java/nio/charset/CodingErrorAction.java:
988         This class must be public.
989         * java/nio/charset/IllegalCharsetNameException.java:
990         This class must be public, better implementation.
991         * java/nio/charset/MalformedInputException.java:
992         This class must be public, better implementation.
993         * java/nio/charset/UnmappableCharacterException.java:
994         This class must be public, better implementation.
995         * java/nio/charset/UnsupportedCharsetException.java:
996         This class must be public, better implementation.
998 2002-11-11  Michael Koch <konqueror@gmx.de>
1000         * java/nio/BufferOverflowException.java,
1001         java/nio/BufferUnderflowException.java: New file.
1002         * Makefile.am (ordinary_java_source_files):
1003         Added new files.
1004         * Makefile.in: Regenerated.
1006 2002-11-10  Tom Tromey  <tromey@redhat.com>
1008         * java/awt/Container.java (validate): Use tree lock.
1009         (getComponent): Likewise.
1010         (getComponents): Likewise.
1011         (addImpl): Likewise.
1012         (remove): Likewise.
1013         (removeAll): Likewise.
1014         (processEvent): Fixed indentation.
1015         (getComponentAt): Use tree lock.
1016         (findComponentAt): Likewise.
1017         (removeNotify): Likewise.
1018         (isAncestorOf): Likewise.
1019         (list): Likewise.
1020         (visitChildren): Likewise.
1021         (findNextFocusComponent): Likewise.
1022         (addNotifyContainerChildren): Likewise.
1023         (getAccessibleChildrenCount): Likewise.
1024         (getAccessibleChild): Likewise.
1026         * java/awt/GridLayout.java (layoutContainer): Use tree lock.
1027         (getSize): Likewise.
1028         * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
1029         (getSize): Likewise.
1030         * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
1031         (calcSize): Likewise.
1032         * java/awt/CardLayout.java (getSize): Use tree lock.
1033         (gotoComponent): Likewise.
1034         (layoutContainer): Likewise.
1036         * java/io/natFileDescriptorWin32.cc (read): Handle case where
1037         count is 0.
1038         * java/io/natFileDescriptorPosix.cc (read): Handle case where
1039         count is 0.
1041         * java/io/Externalizable.java, java/io/FilePermission.java,
1042         java/io/ObjectStreamConstants.java, java/io/Serializable.java,
1043         java/io/SerializablePermission.java, java/text/Format.java,
1044         java/util/AbstractMap.java, java/util/HashMap.java,
1045         java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
1046         versions from Classpath.
1048 2002-11-10  Anthony Green  <green@redhat.com>
1050         * java/util/jar/Attributes.java (Name): Fix name check.
1052 2002-11-10  Mark Wielaard  <mark@klomp.org>
1054         * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
1055         with getName() as message.
1056         (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
1057         type as message.
1059         * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
1060         unused.
1062 2002-11-08  Ranjit Mathew <rmathew@hotmail.com>
1064         * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
1065         for Win32. JNICALL has been defined to __stdcall to be compatible
1066         with Sun's JDKs.
1068 2002-11-10  Tom Tromey  <tromey@redhat.com>
1070         * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
1071         (setRows): Check newRows, not rows.
1073         * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
1075 2002-11-09  Tom Tromey  <tromey@redhat.com>
1077         * java/applet/Applet.java, java/applet/AppletContext.java,
1078         java/applet/AppletStub.java, java/applet/AudioClip.java,
1079         java/awt/CardLayout.java,
1080         java/awt/ContainerOrderFocusTraversalPolicy.java,
1081         java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
1082         java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
1083         java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
1084         java/awt/color/ICC_ColorSpace.java,
1085         java/awt/color/ICC_Profile.java,
1086         java/awt/color/ICC_ProfileGray.java,
1087         java/awt/color/ICC_ProfileRGB.java,
1088         java/awt/datatransfer/DataFlavor.java,
1089         java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
1090         java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
1091         New versions from Classpath.
1092         * Makefile.in: Rebuilt.
1093         * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
1094         ICC_ProfileRGB.
1096         * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
1097         display policy.
1099         * java/awt/List.java (processEvent): Added missing `else's.
1101         * java/awt/Window.java (show): validate() before showing.  Make
1102         parent displayable.
1103         (isDisplayable): New method.
1105 2002-11-07  Mark Wielaard  <mark@klomp.org>
1107         Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
1108         * java/rmi/MarshalledObject.java (equals): Check hashcode first.
1110         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
1111         annotation.
1112         (loadClass): Take String as codebases.
1113         (getClassAnnotation): Use MyClassLoader annotations.
1114         * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
1115         call exportObject(this).
1117         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1118         (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
1119         (setAnnotation): Don't set locBytesStream and locStream.
1120         (replaceObject): Removed.
1121         (flush): Don't test locStream.
1122         (getLocBytes): LikeWise.
1123         * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
1124         (leaseCache): New field.
1125         (dirty): Use leaseCache.
1126         (LeaseRecord): New inner class.
1127         * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
1128         explicitly call exportObject().
1129         * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
1130         false to communicate with Sun JDK130.
1131         * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
1132         * gnu/java/rmi/server/RMIObjectInputStream.java
1133         (UnicastConnectionManager): Removed field.
1134         * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
1135         Use UnicastServer.getExportedRef().
1136         * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
1137         (expireTime): Likewise.
1138         (CONNECTION_TIMEOUT): Likewise.
1139         (disconnect): Call sock.close().
1140         (isExpired): New method.
1141         (resetTime): Likewise.
1142         (run): Use do while loop and catch Exception for discardConnection().
1143         * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
1144         * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
1145         * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
1146         * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
1147         (exportObject): Use refcache.
1148         (unexportObject): Likewise.
1149         (getExportedRef): New method.
1150         * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
1151         constructor.
1152         (exportObject): Save manager.serverobj.
1153         (getStub): New method.
1155 2002-11-07  Mark Wielaard  <mark@klomp.org>
1157         * java/lang/reflect/natField.cc (getBoolean): Use getType().
1158         (getByte): Likewise.
1159         (getShort): Likewise.
1160         (getInt): Likewise.
1161         (getLong): Likewise.
1162         (getFloat): Likewise.
1163         (getDouble): Likewise.
1164         (get): Likewise.
1165         (setChar): Likewise.
1166         (setByte): Likewise.
1167         (setShort): Likewise.
1168         (setInt): Likewise.
1169         (setLong): Likewise.
1170         (setFloat): Likewise.
1171         (setDouble): Likewise.
1173 2002-11-07  Michael Koch <konqueror@gmx.de>
1175         * java/awt/Choice.java,
1176         java/awt/Container.java,
1177         java/awt/GridBagLayout.java:
1178         Fixed documentation.
1179         * java/awt/peer/ContainerPeer.java:
1180         Reindented.
1182 2002-11-07  Michael Koch <konqueror@gmx.de>
1184         * java/awt/color/ICC_Profile.java:
1185         Added missing constants.
1186         * java/awt/color/ICC_ColorSpace.java
1187         (getMinValue): Added dummy implementation.
1188         (getMaxValue): Added dummy implementation.
1189         * java/awt/datatransfer/DataFlavor.java
1190         (imageFlavor): Added.
1191         (isMimeTypeEqual): Must be final.
1192         (getDefaultRepresentationClass): Must be non-static.
1193         (getDefaultRepresentationClassAsString): Must be non-static.
1194         * java/awt/dnd/DragSourceContext.java
1195         (dragExit): Corrected argument.
1196         (dragDropEnd): Corrected argument.
1197         * java/awt/dnd/DragSourceListener.java.java
1198         (dragExit): Corrected argument.
1199         (dragDropEnd): Corrected argument.
1200         * java/awt/font/TextHitInfo.java
1201         (toString): Added stubbed implementation.
1202         * java/awt/geom/PathIterator.java:
1203         The constants must be static.
1204         * java/awt/image/VolatileImage.java
1205         (IMAGE_INCOMPATIBLE): Fixed typo.
1206         * java/awt/image/renderable/RenderableImage.java
1207         (HINTS_OBSERVED): Must be static.
1208         * java/beans/BeanInfo.java:
1209         Constants must be final.
1211 2002-11-06  Tom Tromey  <tromey@redhat.com>
1213         From svens@it.uu.se.  For PR libgcj/8481.
1214         * java/util/Random.java (nextInt(int)): Only use 31 bits.
1216 2002-11-06  Tom Tromey  <tromey@redhat.com>
1218         * jni.cc (array_from_valist): Assume that jlong won't be
1219         promoted.
1221 2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>
1223         * gnu/java/security/provider/SHA.java (engineGetDigestLength):
1224         Return 20.
1225         * gnu/java/security/provider/MD5.java (engineGetDigestLength):
1226         Return 16.
1228 2002-11-03  Tom Tromey  <tromey@redhat.com>
1230         * java/lang/ClassLoader.java (loadClass): Call loadClass on
1231         VMClassLoader, not findClass.
1233 2002-11-03  Jeff Sturm  <jsturm@one-point.com>
1235         * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
1236         (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
1237         _Jv_DetermineVTableIndex, to determine vtable offset.
1238         (_Jv_DetermineVTableIndex): Remove.
1239         (_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.
1241         * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
1243 2002-11-03  Tom Tromey  <tromey@redhat.com>
1245         * java/nio/channels/AlreadyConnectedException.java: Extend
1246         IllegalStateException, per spec.
1248 2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>
1250         * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
1252 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
1254         * java/util/ArrayList.java (readObject, writeObject): Only read/write
1255         size items.
1257 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
1259         * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
1260         initial estimated size to avoid enlarge buffer frequently.
1262 2002-10-31  Wu Gansha <gansha.wu@intel.com>:
1264         * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
1265         ClassLoader when null.
1266         (ProxyType.hashCode): Loader null check no longer needed.
1267         (ProxyType.sameTypes): New method.
1268         (ProxyType.equals): Use new method.
1270 2002-10-31  Mark Wielaard  <mark@klomp.org>
1272         * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
1273         length of String.
1274         * java/net/URLEncoder.java (encode): Likewise.
1276 2002-10-31  Mark Wielaard  <mark@klomp.org>
1278         * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
1279         when stream is closed.
1280         (closeEntry): Likewise.
1281         (read): Likewise.
1282         * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
1283         ZipException when no entry active.
1284         (closeEntry): Likewise.
1285         (write): Likewise.
1287 2002-11-02  Tom Tromey  <tromey@redhat.com>
1289         * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
1290         * java/lang/natClass.cc (initializeClass): Don't return just
1291         because self==thread.
1293         For PR java/8415:
1294         * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
1295         * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
1297 2002-11-02  Andreas Schwab  <schwab@suse.de>
1299         * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
1300         pass GCJFLAGS.
1301         (FLAGS_TO_PASS): Define.
1302         * Makefile.in: Regenerated.
1304 2002-11-01  Michael Koch  <konqueror@gmx.de>
1306         * java/nio/ByteOrder.java: New file.
1307         * java/nio/channels/DatagramChannel.java:
1308         (DatagramChannel): New constructor.
1309         * java/nio/channels/Pipe.java: New file.
1310         * java/nio/channels/SelectableChannel.java: New file.
1311         * java/nio/channels/SelectionKey.java: New file.
1312         * java/nio/channels/Selector.java: New file.
1313         * java/nio/channels/ServerSocketChannel.java
1314         (ServerSocketChannel): New constructor.
1315         * java/nio/channels/SocketChannel.java
1316         (SocketChannel): New constructor.
1317         * java/nio/channels/Pipe.java: New file.
1318         * java/nio/channels/spi/AbstractChannel.java: New file.
1319         * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
1320         * java/nio/channels/spi/AbstractSelectableChannel.java:
1321         License added
1322         (AbstractSelectableChannel): New stubbed method.
1323         * java/nio/channels/spi/AbstractSelectionKey.java: New file.
1324         * java/nio/channels/spi/AbstractSelector.java: New file.
1325         * java/nio/channels/spi/SelectorProvider.java: New file.
1326         * java/nio/charset/Charset.java: New file.
1327         * java/nio/charset/CoderMalfunctionError.java: New file.
1328         * java/nio/charset/CodingErrorAction.java: New file.
1329         * java/nio/charset/spi/CharsetProvider.java
1330         (charsetForName): Uncommented.
1331         * Makefile.am (java_native_source_files): Added new files.
1332         * Makefile.in: Regenerated.
1334 2002-11-01  Michael Koch  <konqueror@gmx.de>
1336         * java/net/InetAddress.java:
1337         (isAnyLocalAddress): Implemented.
1338         (isLoopbackAddress): Implemented, comment added.
1339         (isLinkLocalAddress): Implemented, documentation added.
1340         (isSiteLocalAddress): Implemented, documentation added.
1341         (isMCGlobal): Implemented, documentation added.
1342         (isMCNodeLocal): Implemented, documentation added.
1343         (isMCLinkLocal): Implemented, documentation added.
1344         (isMCSiteLocal): Implemented, documentation added.
1345         (isMCOrgLocal): Implemented, documentation added.
1346         (getHostName): Documentation added.
1347         (getCanonicalHostName): Implemented, documentation added.
1348         (getAddress): Documentation added.
1349         (hashCode): Documentation added.
1350         (equals): Documentation added.
1351         (toString): Fixed implementation.
1352         (getByAddress): Use Inet4Address and Inet6Address.
1353         (lookup): New linewrap.
1354         (getByName): SecurityManager check added, support Inet4Address and
1355         Inet6address, comments added.
1356         (getAllByName): SecurityManager check added, comments added.
1357         * java/net/Inet6Address.java:
1358         (Inet6Address): Initialize parent class with addr instead of null.
1359         * java/net/URL.java
1360         (equals): Documentation added.
1361         (getFile): Documentation added.
1362         (hashCode): Documentation added.
1363         * java/net/natInetAddress.cc:
1364         (aton): Fix IPv6 support.
1365         * java/net/natPlainDatagramSocketImpl.cc:
1366         (peek): Throw PortUnreachableException when suitable.
1367         (peekData): Throw PortUnreachableException when suitable.
1368         (send): Throw PortUnreachableException when suitable.
1369         (receive): Throw PortUnreachableException when suitable.
1371 2002-10-27  Mark Wielaard  <mark@klomp.org>
1373         * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
1374         argument.
1375         (readLeShort): Likewise and use byte[].
1376         (readLeInt): Likewise.
1377         (readEntries): Use new versions of methods and use byte[] for reading
1378         a complete zip entry. Add ZipFile name to exceptions.
1379         (entries): Add ZipFile name to exceptions.
1380         (getEntry): Likewise.
1381         (checkLocalHeader): Use new versions of methods and add ZipFile name
1382         to exceptions.
1384 2002-10-31  Mark Anderson  <mark@panonet.net>
1386         * java/awt/GridBagLayout.java (setConstraints): New stubbed method
1387         added
1389 2002-10-25  Krister Walfridsson  <cato@df.lth.se>
1391         * configure.in: Disable hash sync when not using threads.
1392         * configure: Regenerated.
1394 2002-10-24  Tom Tromey  <tromey@redhat.com>
1396         * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
1397         (_Jv_FindSymbolInExecutable): Removed argument name.
1398         (insertSystemProperties): Call _Jv_SetDLLSearchPath if
1399         java.library.path is set.
1401         * gij.cc (help): Document --showversion.
1402         (version): Don't exit.
1403         (main): Handle --showversion.  Exit if --version given.
1405 2002-10-23  Tom Tromey  <tromey@redhat.com>
1407         * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
1408         (array_from_valist): Correctly handle promotion for jint, jlong,
1409         jfloat, and jdouble.
1411 2002-10-23  Ranjit Mathew <rmathew@hotmail.com>
1413         * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
1414         GetFileAttributesEx( ) to find file length and modification times,
1415         as the latter is not present on Windows 95.
1417 2002-10-21  Michael Koch  <konqueror@gmx.de>
1419         * java/net/URL.java
1420         (URL): Activate SecurityManager checks.
1421         (equals): Use URLStreamHandler implementation instead of doing it
1422         alone. This allows special protocol stream handlers to change default
1423         behaviour.
1424         (hashCode): Use URLStreamHandler implementation instead of doing it
1425         alone. This allows special protocol stream handlers to change default
1426         behaviour.
1427         * java/net/URLStreamHandler.java
1428         (equals): Implemented default URL equality check.
1429         (hostsEqual): Implemented default URL equality check.
1430         (hashCode): Implemented default URL hashCode algorithm.
1431         * java/net/natPlainDatagramSocketImpl.cc:
1432         No lines longer then 80 characters.
1434 2002-10-20  Adam Megacz <adam@xwt.org>
1436         * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
1437         * configure.in: enabled hash sync on Win32
1438         * include/win32-threads.h (_Jv_ThreadId_t): added.
1439         * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
1440         heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
1441         removed some posix-isms, use Thread::sleep() instead of usleep,
1442         added code to clear bottom three bits if platform has a broken
1443         linker.
1444         * include/win32-threads.h (_Jv_ThreadId_t): added.
1446 2002-10-19  Ranjit Mathew <rmathew@hotmail.com>
1448         * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
1449         runtime property "gnu.gcj.progname" containing the name used to
1450         invoke the current Java program (similar to argv[0] for C
1451         programs).
1453 2002-10-15  Tom Tromey  <tromey@redhat.com>
1455         Fix for PR libgcj/8234:
1456         * java/util/zip/natInflater.cc (reset): Reset avail_in.
1457         * java/util/zip/natDeflater.cc (reset): Reset avail_in.
1459 2002-10-13  Mark Wielaard  <mark@klomp.org>
1461         * mauve-libgcj: Enable Mauve tests that compile now.
1463 2002-10-11  Mark Wielaard  <mark@klomp.org>
1465         Fix for PR libgcj/8142
1466         * java/lang/natClassLoader.cc (findClass): Skip inner classes when
1467         loading native modules.
1469 2002-10-10  Michael Koch  <konqueror@gmx.de>
1471         * javax/swing/AbstractListModel.java
1472         (getListDataListeners): New stubbed method.
1473         javax/swing/DefaultBoundedRangeModel.java
1474         (getChangeListeners): New stubbed method.
1475         javax/swing/DefaultSingleSelectionModel.java
1476         (getChangeListeners): New stubbed method.
1478 2002-10-10  Michael Koch  <konqueror@gmx.de>
1480         * gcj/.cvsignore: New file to ignore files generated during build.
1481         * include/.cvsignore: New file to ignore files generated during build.
1483 2002-10-10  Michael Koch  <konqueror@gmx.de>
1485         * java/net/HttpURLConnection.java
1486         (getPermission): New method.
1487         (getErrorStream): New stub method.
1488         (getHeaderFieldDate): New stub method.
1489         * java/net/Inet4Address.java:
1490         (isLinkLocalAddress): Typo fixed.
1491         * java/net/InetAddress.java:
1492         (readResolve): New stubbed method (for serialization).
1493         (isAnyLocalAddress): New stubbed method.
1494         (isLoopbackAddress): New stubbed method.
1495         (isLinkLocalAddress): New stubbed method.
1496         (isSiteLocalAddress): New stubbed method.
1497         (isMCGlobal): New stubbed method.
1498         (isMCNodeGlobal): New stubbed method.
1499         (isMCLinkLocal): New stubbed method.
1500         (isMCSiteLocal): New stubbed method.
1501         (isMCOrgLocal): New stubbed method.
1502         (getCanonicalHostName): New stubbed method.
1503         (getByAddress): Create instances of Inet4Address/Inet6Address,
1504         instead of InetAddress, documentation added.
1505         * java/net/MulticastSocket.java
1506         (getInterface): Removed FIXME.
1507         (getNetworkInterface): New method.
1508         (setNetworkInterface): New method.
1509         * java/net/NetworkInterface.java:
1510         (toString): Use property "line.separator" instead of "\n".
1511         * java/net/URLConnection.java
1512         (getContent): New stubbed method.
1513         * java/net/URLStreamHandler.java:
1514         (equals): New stubbed method.
1515         (hostsEqual): New stubbed method.
1516         (hashCode): New stubbed method.
1517         * java/net/natNetworkInterface.cc:
1518         (getRealNetworkInterfaces): Create Inet4Address object
1519         instead of InetAddress.
1521 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
1523         * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
1524         unsigned long temporary to implement insn_iushr shifts.
1526 2002-10-08  Ulrich Weigand  <uweigand@de.ibm.com>
1528         * configure.host [s390*-*]: Enable Java interpreter.
1529         Enable hash synchronization.  Add sysdeps dir.
1530         * sysdep/s390/locks.h: New file.
1532 2002-10-06  Mark Wielaard  <mark@klomp.org>
1534         * java/lang/Thread.java (setDaemon): Check startable_flag,
1535         not isAlive().
1537 2002-10-07  Michael Koch  <konqueror@gmx.de>
1539         * java/nio/Buffer.java: New stub file.
1540         * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
1541         of class Charset.
1542         * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
1543         * Makefile.in: Regenerated.
1545 2002-10-07  Michael Koch  <konqueror@gmx.de>
1547         * java/nio/ByteBuffer.java:
1548         removed import of not commited class.
1550 2002-10-07  Michael Koch  <konqueror@gmx.de>
1552         * java/nio/ByteBuffer.java,
1553         java/nio/MappedByteBuffer.java:
1554         New files, forgot to add these dummies.
1555         * Makefile.am (java_native_source_files): Added new files.
1556         * Makefile.in: Regenerated.
1558 2002-10-07  Michael Koch  <konqueror@gmx.de>
1560         * java/nio/channels/AlreadyConnectedException.java,
1561         java/nio/channels/ClosedChannelException.java,
1562         java/nio/channels/ReadableByteChannel.java,
1563         java/nio/channels/InterruptibleChannel.java,
1564         java/nio/channels/Channel.java,
1565         java/nio/channels/ByteChannel.java,
1566         java/nio/channels/GatheringByteChannel.java,
1567         java/nio/channels/ScatteringByteChannel.java,
1568         java/nio/channels/WritableByteChannel.java,
1569         java/nio/charset/CharacterCodingException.java,
1570         java/nio/charset/IllegalCharsetNameException.java,
1571         java/nio/charset/MalformedInputException.java,
1572         java/nio/charset/UnmappableCharacterException.java,
1573         java/nio/charset/UnsupportedCharsetException.java,
1574         java/nio/charset/spi/CharsetProvider.java: New file.
1575         These files are exceptions or interfaces,
1576         no real or abstract classes.
1577         * Makefile.am (java_native_source_files): Added new files.
1578         * Makefile.in: Regenerated.
1580 2002-10-05  Michael Koch  <konqueror@gmx.de>
1582         * java/net/InetAddress.java
1583         (getByAddress): Fixed documentation.
1584         (getByAddress): New method.
1585         * java/net/Inet4Address.java: New file.
1586         * java/net/URL.java
1587         (URL): Documentation added.
1588         (getContent): Documentation added.
1589         (getContent): New stubbed method.
1590         (getQuery): New method.
1591         (openConnection): Documentation added.
1592         (openStream): Documentation added.
1593         (setURLStreamHandlerFactory): Documentation added.
1594         * java/net/URI.java: New stub file.
1595         * Makefile.am
1596         (java_native_source_files): Added java/net/Inet4Address.java,
1597         java/net/Inet6Address.java and java/net/URI.java.
1598         * Makefile.in: Regenerated.
1600 2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
1602         * java/lang/ProtectionDomain.java (linesep): Remove field.
1603         (toString): Use System.getProperty("line.separator").
1605 2002-10-04  Michael Koch  <konqueror@gmx.de>
1607         * java/security/Identity.java: Added serialVersionUID.
1608         * java/security/KeyPair.java: Added serialVersionUID.
1609         * java/security/Provider.java: Added serialVersionUID.
1610         * java/security/SecureRandom.java: Added serialVersionUID.
1611         * java/security/SecureRandomSpi.java: Added serialVersionUID.
1612         * java/security/SignedObject.java: Added serialVersionUID.
1613         * java/security/cert/Certificate.java: Added serialVersionUID.
1615 2002-10-04  Mark Wielaard <mark@klomp.org>
1617         * java/security/Security.java: Use java.home or gnu.classpath.home
1618         to load providers.
1619         (loadProviders): Extra dir argument.
1620         (getProvider): Return null when not found.
1622 2002-10-04  Mark Wielaard  <mark@klomp.org>
1624         * java/lang/Throwable.java: Remerge with Classpath.
1626 2002-10-04  Michael Koch  <konqueror@gmx.de>
1628         * java/net/InetAddress.java:
1629         (isMulticastAddress): Added documentation.
1630         (getHostAddress): Added documentation.
1631         (toString): Added documentation.
1632         (getByAddress): Fixed documentation.
1633         (getByName): Added documentation.
1634         (getAllByName): Added documentation.
1635         (getLocalHost): Added documentation.
1637 2002-10-04  Michael Koch  <konqueror@gmx.de>
1639         * java/beans/beancontext/BeanContextChildSupport.java:
1640         Added serialVersionUID.
1641         * java/text/Collator.java: (compare): Made documentation HTML-aware.
1642         * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
1643         * javax/naming/Name.java: Added serialVersionUID.
1645 2002-10-03  Adam Megacz <adam@xwt.org>
1647         * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
1648         some functionality that isn't supported yet on WIN32.
1650 2002-10-03  Tom Tromey  <tromey@redhat.com>
1652         * Makefile.in: Rebuilt.
1653         * Makefile.am (awt_java_source_files): Added new files.
1655 2002-10-03  Michael Koch  <konqueror@gmx.de>
1657         * java/net/InetAddress.java
1658         (class InetAddress): Removed final keyword.
1659         (equals): Fixed typo.
1660         (getByAddress): New method.
1662 2002-10-03  Michael Koch  <konqueror@gmx.de>
1664         * java/awt/dnd/Autoscroll.java:
1665         New file, merge from Classpath.
1666         * java/awt/dnd/DragSourceAdapter.java:
1667         (dragExit): Fixed typos in argument type.
1668         (dragDropEnd): Fixed typos in argument type.
1669         * java/awt/dnd/DragSourceDropEvent.java:
1670         New file, merge from Classpath.
1671         * java/awt/dnd/DropTarget.java:
1672         Added stubs, merge from Classpath.
1673         * java/awt/dnd/DropTargetAdapter.java:
1674         New file, merge from Classpath.
1675         * java/awt/dnd/DropTargetContext.java:
1676         New file, merge from Classpath.
1677         * java/awt/dnd/DropTargetDragEvent.java:
1678         New file, merge from Classpath.
1679         * java/awt/dnd/DropTargetDropEvent.java:
1680         New file, merge from Classpath.
1681         * java/awt/dnd/DropTargetEvent.java:
1682         New file, merge from Classpath.
1683         * java/awt/dnd/DropTargetListener.java:
1684         New file, merge from Classpath.
1685         * java/awt/dnd/MouseDragGestureRecognizer.java:
1686         New file, merge from Classpath.
1687         * java/awt/dnd/peer/DropTargetContextPeer.java:
1688         New file, merge from Classpath.
1690 2002-10-03  Michael Koch  <konqueror@gmx.de>
1692         * java/net/DatagramPacket.java
1693         (setLength): Fixed typo and be HTML-aware.
1694         * java/net/InetSocketAddress.java
1695         (InetSocketAddress): Correct initialization of hostname, fixed typo.
1696         (equals): Added comment about equality of InetSocketAddress objects.
1697         * java/net/ServerSocket.java
1698         (accept): Added checks.
1699         (isClosed): New stubbed method.
1700         * java/net/SocketOptions.java: Reindention.
1701         * java/net/SocketPermission
1702         (SocketPermission): Documentation fixed.
1704 2002-10-03  Michael Koch  <konqueror@gmx.de>
1706         * java/net/DatagramSocket.java
1707         (receive): Check with SecurityManager AFTER the packet is received,
1708         check if connected to multicast address, documentation added.
1709         (send): Only check SecurityManager if connected, check address of
1710         packet to send.
1711         (connect): Implemented, documentation added.
1712         * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
1713         * java/net/InetSocketAddress.java
1714         (whole file): Reindented.
1715         (hostname): New attribute.
1716         (InetSocketAddress): Initialize new attribute.
1717         (getAddress): Documentation added.
1718         (getHostName): Documentation added.
1719         (getPort): Documentation added.
1720         (hashCode): Documentation added.
1721         (isUnresolved): Documentation added.
1722         (toString): Conform to output of JDK 1.4.1, documentation added.
1723         * java/net/MulticastSocket.java
1724         (joinGroup): Removed FIXME, documentation added.
1725         (leaveGroup): Removed FIXME, documentation added.
1726         (send): Documentation added.
1727         * java/net/Socket.java
1728         (inputShutdown): New variable.
1729         (outputShutdown): New variable.
1730         (Socket): Initialize new variables.
1731         (getRemoteSocketAddress): Check if connected.
1732         (shutdownInput): Set new variable.
1733         (shutdownOutput): Set new variable.
1734         (isConnected): New method.
1735         (isClosed): New method.
1736         (isInputShutdown): New method.
1737         (isOutputShutdown): New method.
1738         * java/net/URLStreamHandler.java
1739         (URLStreamHandler): New method.
1740         (openConnection): Added documentation.
1741         (parseURL): Added documentation.
1742         (getHostAddress): New method.
1743         (getDefaultPort): New method.
1745 2002-10-02  Tom Tromey  <tromey@redhat.com>
1747         * java/rmi/activation/ActivationDesc.java,
1748         java/rmi/activation/ActivationGroupDesc.java,
1749         java/rmi/activation/ActivationGroupID.java,
1750         java/rmi/activation/ActivationID.java: New versions from
1751         Classpath.
1753 2002-09-30  Bo Thorsen  <bo@suse.de>
1755         * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
1757 2002-09-30  Tom Tromey  <tromey@redhat.com>
1759         * java/io/ObjectInputStream.java (resolveProxyClass): New method
1760         from Classpath.
1761         * Makefile.in: Rebuilt.
1762         * Makefile.am (rmi_java_source_files): Added new files.
1763         * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
1764         gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
1765         gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
1766         Classpath.
1767         * gnu/java/rmi/dgc/DGCImpl.java,
1768         gnu/java/rmi/dgc/DGCImpl_Skel.java,
1769         gnu/java/rmi/dgc/DGCImpl_Stub.java,
1770         gnu/java/rmi/registry/RegistryImpl_Skel.java,
1771         gnu/java/rmi/registry/RegistryImpl_Stub.java,
1772         gnu/java/rmi/server/RMIHashes.java,
1773         gnu/java/rmi/server/RMIObjectInputStream.java,
1774         gnu/java/rmi/server/RMIObjectOutputStream.java,
1775         gnu/java/rmi/server/UnicastConnection.java,
1776         gnu/java/rmi/server/UnicastConnectionManager.java,
1777         gnu/java/rmi/server/UnicastRef.java,
1778         gnu/java/rmi/server/UnicastServer.java,
1779         gnu/java/rmi/server/UnicastServerRef.java,
1780         java/rmi/MarshalledObject.java,
1781         java/rmi/server/RMIClassLoader.java,
1782         java/rmi/server/RemoteObject.java,
1783         java/rmi/server/UnicastRemoteObject.java,
1784         java/security/SecureClassLoader.java: Merged from Classpath.
1786 2002-09-29  Anthony Green  <green@redhat.com>
1788         * java/lang/reflect/UndeclaredThrowableException.java: New file.
1789         Imported from GNU Classpath.
1790         * java/lang/reflect/natProxy.cc: New file.
1791         * java/lang/reflect/InvocationHandler.java: New file.  Imported
1792         from GNU Classpath.
1793         * java/lang/reflect/Proxy.java: New file.  Imported from GNU
1794         Classpath.
1795         * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
1796         Classpath.
1797         * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
1798         HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
1799         New statics.
1800         * gcj/javaprims.h ("Java"): Add new classes.
1801         * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
1802         * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
1803         java/lang/reflect/Proxy$$ProxyType.h): And this.
1804         (inner_nat_headers): Add these new headers.
1805         (ordinary_java_source_files): Add new files.
1806         (nat_source_files): Add new file.
1807         * Makefile.in: Rebuilt.
1809 2002-09-28  Richard Earnshaw  <rearnsha@arm.com>
1811         * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
1812         a single configuration.
1814 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
1816         * java/util/TimeZone.java (getDSTSavings): New method.
1817         Fixes PR libgcj/7786.
1819 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
1821         * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
1822         to see if `the_method == 0' before looking up vtable index.
1823         Fixes PR libgcj/7709.
1825 2002-09-25  Tom Tromey  <tromey@redhat.com>
1827         * java/lang/natClassLoader.cc:
1828         (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
1829         * resolve.cc: Include NoClassDefFoundError.h, not
1830         ClassNotFoundException.h.
1831         (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
1833         * defineclass.cc: Don't include ClassNotFoundException.h.
1835         * resolve.cc: Include StringBuffer.
1836         (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
1838         * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
1839         allocated but not initialized.
1841 2002-09-25  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
1843         Fix for PR libgcj/7766:
1844         * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
1845         (getNextEntry): Set it.
1846         (closeEntry): Likewise.
1847         (read): Likewise.
1848         (close): Likewise.
1849         (available): Use it.
1851 2002-09-25  Michael Koch  <konqueror@gmx.de>
1853         * java/net/DatagramSocket.java
1854         (DatagramSocket): Initialize new instance variables.
1855         (close): Reset new instance variables.
1856         (getLocalAddress): Remove unneeded SecurityManager usage.
1857         (getLocalPort): Check if socket is already bound.
1858         (isConnected): New method.
1859         (getInetAddress): Implemented.
1860         (getPort): Better Implementation, documentation fixed.
1861         (getRemoteSocketAddress): New method.
1862         * java/net/JarURLConnection.java
1863         (element): Typo fixed.
1864         (getMainAttributes): New method.
1865         (getAttributes): New method (stub only).
1866         (getManifest): New method (stub only).
1867         * java/net/NetPermission.java: Added serialVersionsUID.
1868         * java/net/Socket.java
1869         (connect): Check blocking mode of associated channel,
1870         documentation added.
1871         (getLocalSocketAddress): Better implementation.
1872         (getRemoteSocketAddress): Implemented.
1873         (isBound): New method.
1874         (setSendBufferSize): Documentation added.
1875         * java/net/SocketAddress.java: Added serialVersionsUID.
1876         * java/net/SocketPermission.java: Added serialVersionsUID.
1877         * java/net/URL.java
1878         (URL): Wrap for shorter lines, initialize new instance variables,
1879         documentation added.
1880         (equals): Check new instance variables too.
1881         (getContent): Documentation added.
1882         (getPath): Documentation added.
1883         (getAuthority): New method.
1884         (getHost): Documentation added.
1885         (getPort): Documentation added.
1886         (getDefaultPort): New method.
1887         (getProtocol): Documentation added.
1888         (getUserInfo): Documentation added.
1889         (set): Initialize new instance variables, documentation added.
1890         * java/net/URLStreamHandler.java
1891         (setURL): New method.
1892         * java/net/natPlainDatagramSocketImpl.cc
1893         (connect): Fix exception name.
1894         (disconnect): Fix exception name.
1896 2002-09-25  Michael Koch  <konqueror@gmx.de>
1898         * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
1899         * java/nio/channels/DatagramChannel.java:
1900         extends AbstractSelectableChannel
1901         * java/nio/channels/ServerSocketChannel.java:
1902         extends AbstractSelectableChannel
1903         * java/nio/channels/SocketChannel.java:
1904         extends AbstractSelectableChannel
1905         * Makefile.am (ordinary_java_source_files):
1906         java/nio/channels/spi/AbstractSelectableChannel.java added.
1907         * Makefile.in: Regenerated.
1909 2002-09-25  Michael Koch  <konqueror@gmx.de>
1911         * java/net/DatagramSocket.java
1912         (DatagramSocket): Exception documentation added.
1913         (bind): Exception documentation added, addded SecurityManager check,
1914         added SocketAddress type check.
1915         (getSoTimeout): Check impl.
1916         (receive): Fix SecurityManager check, check impl, documentation added.
1917         (send): Check channel mode, documentation added.
1918         (connect): New method.
1919         (disconnect): Implemented.
1920         (getLocalSocketAddress): New method.
1921         (getReceiveBufferSize): Check impl.
1922         (setReuseAddress): Check impl.
1923         (getReuseAddress): Check impl.
1924         (setBroadcast): Check impl.
1925         (getBroadcast): Check impl.
1926         (setTrafficClass): Check impl, Documentation cleared.
1927         (getTrafficClass): Check impl.
1928         (getSendBufferSize): Check impl.
1929         (setReceiveBufferSize): Check impl, documentation added.
1930         (setSendBufferSize): Documentation added.
1931         (setDatagramSocketImplFactory): New method.
1932         * java/net/HttpURLConnection.java
1933         (HTTP_INTERNAL_ERROR): The correct code is 500.
1934         (HTTP_NOT_IMPLEMENTED): Added new constant.
1935         (setFollowRedirects): Documentation added.
1936         (getInstanceFollowRedirects): New method.
1937         (setInstanceFollowRedirects): New method.
1938         (setRequestMethod): Documentation added.
1939         (getResponseCode): Documentation added.
1940         (getResponseMessage): Documentation added.
1941         * java/net/JarURLConnection.java
1942         (JarURLConnection): protected since JDK 1.4.
1943         (getJarEntry): java.io.IOException to IOException, documentation added.
1944         (getJarFile): Documentation added.
1945         * java/net/ServerSocket.java
1946         (ServerSocket): Private to public, exception added.
1947         (ServerSocket): java.io.IOException to IOException, documentation added.
1948         (bind): Check socket address type, documentation added.
1949         (bind): java.io.IOException to IOException, documentation added.
1950         (accept): Documentation added.
1951         (implAccept): Check ch is not non-blocking, documentation added.
1952         (setSoTimeout): Documentation fixed.
1953         (setReceiveBufferSize): Documentation added.
1954         * java/net/Socket.java
1955         (Socket): Documentation added.
1956         (bind): Documentation added.
1957         (connect): Check socket address type, documentation added.
1958         (getRemoteSocketAddress): New method.
1959         (getLocalSocketAddress): New method.
1960         (setSoLinger): Documentation added.
1961         (getReuseAddress): New method.
1962         (setReuseAddress): New method.
1963         (getTrafficClass): New method.
1964         (setTrafficClass): New method.
1965         * java/net/URLStreamHandler.java
1966         (openConnection): java.io.IOException to IOException.
1967         (parseURL): Documentation added.
1968         (sameFile): public to protected, documentation added.
1969         (setURL): Documentation added.
1970         * java/nio/IllegalBlockingModeException.java: New file.
1971         * Makefile.am (ordinary_java_source_files):
1972         added java/nio/IllegalBlockingModeException.java
1973         * Makefile.in: Regenerated.
1975 2002-09-25  Michael Koch  <konqueror@gmx.de>
1977         * java/net/DatagramPacket
1978         (DatagramPacket): Exception documentation added.
1979         (setData): Likewise.
1980         (setSocketAddress): Likewise.
1981         * java/net/DatagramSocketImpl.java
1982         (peek): Documentation addded.
1983         (peekData): Documentation addded.
1984         (send): Documentation addded.
1985         (receive): Documentation addded.
1986         (connect): New method.
1987         (disconnect): New method.
1988         (joinGroup): New abstract method.
1989         (leaveGroup): New abstract method.
1990         * java/net/InetSocketAddress.java
1991         (InetSocketAddress): Documentation added.
1992         (equals): final keyword added.
1993         (getAddress): final keyword added.
1994         (getHostName): final keyword added.
1995         (getPort): final keyword added.
1996         (hashCode): final keyword added.
1997         (isUnresolved): final keyword added.
1998         * java/net/MulticastSocket.java
1999         (MulticastSocket): Documentation added.
2000         (MulticastSocket): New method.
2001         (joinGroup): Documentation added.
2002         (joinGroup): New method.
2003         (leaveGroup): Documentation added.
2004         (leaveGroup): New method.
2005         (send): Documentation added.
2006         * java/net/NetworkInterface.java
2007         (getByName): Documentation added.
2008         (getByInetAddress): Documentation added.
2009         (getNetworkInterfaces): Documentation added.
2010         * java/net/PlainDatagramSocketImpl.java
2011         (connect): New method.
2012         (disconnect): New method.
2013         * java/net/SocketImpl.java
2014         (create): Documentation added.
2015         (shutdownInput): Convert public to protected, as it always was.
2016         (shutdownOutput): Convert public to protected, as it always was.
2017         * java/net/SocketOptions.java
2018         (whole file): Reintented.
2019         * java/net/URLClassLoader.java
2020         (URLClassLoader): SecurityManager check added, documentation added.
2021         (findResources): Documentation added.
2022         (findClass): Documentation added.
2023         (newInstance): More correct method arguments.
2024         * java/net/URLConnection.java
2025         (connect): Documentation added.
2026         (getContent): Documentation added.
2027         (getPermission): Documentation added.
2028         (getInputStream): Documentation added.
2029         (getOutputStream): Documentation added.
2030         (setDoInput): Throw correct exception, documentation added.
2031         (setDoOutput): Throw correct exception, documentation added.
2032         (setAllowUserInteraction): Throw correct exception, documentation added.
2033         (setUseCaches): Throw correct exception, documentation added.
2034         (setIfModifiedSince): Throw correct exception, documentation added.
2035         (setRequestProperty): Throw exception, documentation added.
2036         (addRequestProperty): Throw exception, documentation added.
2037         (getRequestProperty): Throw exception, documentation added.
2038         (getRequestProperties): Documentation added.
2039         (setContentHandlerFactory): Documentation added.
2040         (guessContentTypeFromName): protected to public.
2041         (setFileNameMap): Documentation added.
2042         * java/net/URLDecoder.java
2043         (URLDecoder): New method.
2044         (decode): Documentation added.
2045         (whole file): Reindented.
2046         * java/net/URLEncoder.java
2047         (encode): Documentation added.
2048         * java/net/natPlainDatagramSocketImpl.cc
2049         (connect): New method.
2050         (disconnect): New method.
2051         * javax/naming/RefAddr:
2052         (addrType): addrType was never final.
2053         (equals): Fix typo in method name.
2054         * javax/naming/BinaryRefAddr:
2055         (equals): Fix typo in method name.
2057 2002-09-22  Tom Tromey  <tromey@redhat.com>
2059         Fix for PR libgcj/6576:
2060         * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
2061         didn't find a given bundle.
2062         (getBundle): Don't require base bundle.
2063         (setParent): Removed old comment.
2064         (tryLocalBundle): Try components even if preceding components were
2065         empty.
2067 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2069         * Makefile.am (all-multi): Fix multilib parallel build.
2071 2002-09-21  Michael Koch  <konqueror@gmx.de>
2073         * java/net/Socket.java
2074         (sendUrgentData): New method.
2075         (getChannel): New method.
2076         * java/net/ServerSocket.java
2077         (getChannel): New method.
2078         (isBound): New method.
2079         * java/net/DatagramSocket.java
2080         (DatagramSocket): Two new methods.
2081         (bind): New method.
2082         (getChannel): New method.
2083         (isBound): New method.
2084         (send): Added newline to to make shorter lines.
2085         * java/net/PlainDatagramSocketImpl.java
2086         (mcastGrp): Added argument.
2087         (join): Use new mcastGrp.
2088         (leave): Use new mcastGrp.
2089         (joinGroup): New method.
2090         (leaveGroup): New method.
2091         * java/net/natPlainDatagramSocketImpl.cc
2092         (mcastGrp): Added argument, no yet really implemented.
2093         (getOption): Added newline for shorter lines.
2094         * java/net/natPlainSocketImpl.cc
2095         (read, setOption, getOption): Added newline for shorter lines.
2097 2002-09-19  Tom Tromey  <tromey@redhat.com>
2099        * java/lang/ClassLoader.java (resolveClass0): Set cause for
2100        newly-created exception.
2102 2002-09-18  Michael Koch  <konqueror@gmx.de>
2104         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
2105         java/util/regex/PatternSyntaxException.java:
2106         Merge with classpath, new files.
2107         * Makefile.am (core_java_source_files):
2108         Added java/util/regex/Matcher.java,
2109         java/util/regex/Pattern.java,
2110         java/util/regex/PatternSyntaxException.java
2111         * Makefile.in: Regenerated.
2112         * include/config.h.in: Added HAVE_NET_IF_H.
2113         * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
2114         Removed #if 0 ... #endif.
2116 2002-09-17  Michael Koch  <konqueror@gmx.de>
2118         * java/net/natNetworkInterface.cc:
2119         Removed unneed and yet wrong includes.
2121 2002-09-17  Michael Koch  <konqueror@gmx.de>
2123         * java/net/NetworkInterface.java: New file.
2124         * java/net/natNetworkInterface.java: New file.
2125         * configure.in: Added check for net/if.h.
2126         * configure: Regenerated.
2127         * Makefile.am
2128         (ordinary_java_source_files): Added NetworkInterface.java.
2129         (nat_source_files): Added natNetworkInterface.cc.
2130         * Makefile.in: Regenerated.
2132 2002-09-16  Tom Tromey  <tromey@redhat.com>
2134         * java/net/URLClassLoader.java (findClass): Code source for a
2135         class from a jar is not necessarily a jar: URL.
2137 2002-09-16  Michael Koch  <konqueror@gmx.de>
2139         * java/lang/AssertionError.java:
2140         Merge with classpath, fixes HTML.
2141         * java/rmi/server/LogStream.java:
2142         Merge with classpath, fixes some constants.
2143         * java/net/server/RemoteServer.java:
2144         Merge with classpath, adds serialVersionUID.
2145         * javax/naming/BinaryRefAddr.java:
2146         Merge with classpath, s/equal/equals/.
2147         * javax/naming/NamingException.java:
2148         Merge with classpath, fixed typo.
2149         * javax/naming/RefAddr.java:
2150         Merge with classpath, s/equal/equals/.
2151         * java/awt/Toolkit.java:
2152         s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
2153         and typo fixed.
2155 2002-09-15  Adam Megacz <adam@xwt.org>
2157         * java/net/natPlainSocketImpl.cc: fixed typo.
2159 2002-09-15  Adam Megacz <adam@xwt.org>
2161         * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
2162         which don't work on Win32 (yet).
2164 2002-09-14  Adam Megacz <adam@xwt.org>
2166         * java/net/natPlainDatagramSocket.cc: removed #include
2167         <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
2168         * include/win32.h: included definition for IP_TOS to satisfy
2169         natPlainDatagramSocket.cc
2171 2002-09-13  Michael Koch  <konqueror@gmx.de>
2173         * java/net/DatagramPacket.java (DatagramPacket):
2174         Added linebreak for 80 chars per line.
2175         * java/net/JarURLConection.java
2176         (getInputStreami, getJarEntry): Likewise.
2177         * java/net/SocketPErmission.java
2178         (SocketPermission class docu, implies): Likewise.
2179         * java/net/URLClassLoader.java (findResources): Likewise.
2180         * java/net/URLConnection.java: Reindendet remark for 80 chars per line
2182 2002-09-13  Michael Koch  <konqueror@gmx.de>
2184         * java/nio/channels/DatagramChannel.java,
2185         java/nio/channels/ServerSocketChannel.java
2186         java/nio/channels/SocketChannel.java:
2187         New dummy files to make java.net fully JDK 1.4 compatible
2188         * Makefile.am (ordinary_java_source_files): Added
2189         java/net/DatagramSocketImplFactory.java (long forgotten),
2190         java/nio/SocketChannel.java,
2191         java/nio/ServerSocketChannel.java,
2192         java/nio/DatagramChannel.java
2193         * Makefile.in: Regenrated.
2195 2002-09-12  Michael Koch  <konqueror@gmx.de>
2197         * java/net/DatagramSocketImpl.java
2198         (peekData): New method.
2199         * java/net/PlainDatagramSocketImpl.java
2200         (peekData): New method.
2201         * java/net/natPlainDatagramSocketImpl.cc
2202         (peekData): New method.
2203         * java/net/URLConnection
2204         (getPermission): New method.
2205         (addRequestProperty): New method.
2206         (getRequestProperties): New method.
2207         (guessContentTypeFromStream): New method, not really implemented.
2208         (URLConnection): Added/updated documentation.
2209         (connect): Added/updated documentation.
2210         (getURL): Added/updated documentation.
2211         (getContentLength): Added/updated documentation.
2212         (getContentType: Added/updated documentation.
2213         (getContentEncoding): Added/updated documentation.
2214         (getExpiration): Added/updated documentation.
2215         (getDate): Added/updated documentation.
2216         (getLastModified): Added/updated documentation.
2217         (getHeaderField): Added/updated documentation.
2218         (getHeaderFields): Added/updated documentation.
2219         (getHeaderFieldInt): Added/updated documentation.
2220         (getHeaderFieldDate): Added/updated documentation.
2221         (getHeaderFieldKey): Added/updated documentation.
2222         (getContent): Added/updated documentation.
2223         (getInputStream): Added/updated documentation.
2224         (getOutputStream): Added/updated documentation.
2225         (toString): Added/updated documentation.
2226         (setDoInput): Added/updated documentation.
2227         (getDoInput): Added/updated documentation.
2228         (setDoOutput): Added/updated documentation.
2229         (getDoOutput): Added/updated documentation.
2230         (setAllowUserInteraction): Added/updated documentation.
2231         (getAllowUserInteraction): Added/updated documentation.
2232         (setDefaultAllowUserInteraction): Added/updated documentation.
2233         (getDefaultAllowUserInteraction): Added/updated documentation.
2234         (setUseCaches): Added/updated documentation.
2235         (getUseCaches): Added/updated documentation.
2236         (setIfModifiedSince): Added/updated documentation.
2237         (getIfModifiedSince): Added/updated documentation.
2238         (getDefaultUseCaches): Added/updated documentation.
2239         (setDefaultUseCaches): Added/updated documentation.
2240         (setRequestProperty): Added/updated documentation.
2241         (getRequestProperty): Added/updated documentation.
2242         (setDefaultRequestProperty): Added/updated documentation.
2243         (getDefaultRequestProperty): Added/updated documentation.
2244         (setContentHandlerFactory): Added/updated documentation.
2245         (guessContentTypeFromName): Added/updated documentation.
2246         (getFileNameMap): Added/updated documentation.
2247         (setFileNameMap): Added/updated documentation.
2249 2002-09-11  Michael Koch  <konqueror@gmx.de>
2251         * java/net/Socket.java
2252         (Socket): protected to public (since JDK 1.4). Added @specnote.
2253         (bind): New method.
2254         (connect): Two new methods.
2255         (getKeepalive): Get correct socket option.
2256         (setKeepalive): Set correct socket option.
2257         (getOOBInline): New method.
2258         (setOOBInline): New method.
2259         * java/net/ServerSocket.java
2260         (bind): Two new methods.
2261         (getInetAddress): Reimplemented, catch exception.
2262         (getLocalSocketAddress): New method.
2263         (setReuseAddress): New method.
2264         (getReuseAdress): New method.
2265         (setReceiveBufferSize): New method.
2266         (getReceiveBufferSize): New method.
2267         (toString): Made string JDK 1.4 compliant.
2269 2002-09-10  Michael Koch  <konqueror@gmx.de>
2271         * java/net/SocketImpl.java
2272         (connect): New method.
2273         (supportsUrgentData): New method.
2274         (sendUrgentData): New method.
2275         * java/net/PlainSocketImpl.java
2276         (connect): One new method and two new implementation.
2277         (sendUrgentData): New method.
2278         * java/natPlainSocketImpl.cc
2279         (connect): Arguments changed, added support for timeouts.
2280         (getOption): Another __java_boolean to jboolean.
2282 2002-09-07  Adam Megacz <adam@xwt.org>
2284         * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
2285         definition of IP_TOS.
2287 2002-09-04  Michael Koch  <konqueror@gmx.de>
2289         * java/net/DatagramSocket.java
2290         (DatagramSocket): Added documentation.
2291         (close): Likewise.
2292         (getLocalAddress): Likewise.
2293         (getLocalPort): Likewise.
2294         (receive): Likewise.
2295         (send): Likewise.
2296         (setSoTimeout): Likewise.
2297         (connect): New method.
2298         (disconnect): New method.
2299         (getInetAddress): New method (FIXME)
2300         (getPort): New method.
2301         (setReuseAddress): New method.
2302         (getReuseAddress): New method.
2303         (setBroadcast): New method.
2304         (getBroadcast): New method.
2305         (setTrafficClass): New method.
2306         (getTrafficClass): New method.
2307         * java/net/MulticastSocket.java):
2308         (getTTL): Added @see in documentation.
2309         (setTTL): Added @see in documentation.
2310         (setLoopbackMode): New method.
2311         (getLoopbackMode): New method.
2312         * java/net/PlainSocketImpl.java:
2313         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
2314         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2315         * java/net/PlainDatagramSocketImpl.java
2316         Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
2317         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2318         * java/net/natPlainSocketImpl.cc
2319         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
2320         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2321         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
2322         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2323         This should also fix SO_KEEPALIVE
2324         * java/net/natPlainDatagramSocketImpl.cc
2325         (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
2326         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2327         (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
2328         IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
2330 2002-09-04  Michael Koch  <konqueror@gmx.de>
2332         * java/net/SocketOptions.java: added static variables to be JDK 1.4
2333         compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
2334         IP_MULTICAST_LOOP, IP_TOS
2336 2002-09-03  Tom Tromey  <tromey@redhat.com>
2338         * java/lang/Class.h (_getDeclaredMethod): Declare.
2339         (_getMethod): Now private.
2340         * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
2341         getDeclaredMethod.  Now returns NULL on failure.
2342         * java/lang/Class.java (_getDeclaredMethod): Declare.
2343         (getDeclaredMethod): No longer native; implements access checks.
2345 2002-09-01  Mark Wielaard  <mark@klomp.org>
2347         * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
2348         (sanitizeStack): Correctly reset unknown and interpreter counters,
2349         detect interpreter runtime frames.
2350         (demangleInterpreterMethod): New method.
2351         * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
2352         * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
2353         filling in addrs[].
2355 2002-09-02  Michael Koch  <konqueror@gmx.de>
2357         * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
2358         re-indented documentation.
2360 2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2362         * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
2363         public, per 1.4 spec.  Fixes PR libgcj/7785.
2365 2002-08-30  Jeff Sturm  <jsturm@one-point.com>
2367         * Makefile.in: Rebuilt.
2368         * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
2370 2002-08-29  Tom Tromey  <tromey@redhat.com>
2372         * java/net/JarURLConnection.java (getCertificates): New method
2373         from Classpath.
2374         * java/net/URLClassLoader.java (URLClassLoader): Extends
2375         SecureClassLoader.
2376         (definePackage): New method from Classpath.
2377         (getPermissions): Likewise.
2378         (newInstance): Likewise.
2379         (findClass): Construct CodeSource for new class (from Classpath).
2380         * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
2381         methods.
2382         * java/net/URL.java (getUserInfo): New method.
2383         (set(String,String,int,String,String,String,String,String)): New
2384         method.
2385         * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
2386         (shutdownInput, shutdownOutput): Declare.
2387         * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
2388         Define.
2389         * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
2390         (getOption): Likewise.
2391         (shutdownInput): New method.
2392         (shutdownOutput): Likewise.
2393         * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
2394         keepalive.
2395         (getOption): Likewise.
2396         * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
2397         * java/net/Socket.java (setKeepAlive): New method.
2398         (getKeepAlive): Likewise.
2399         (shutdownInput, shutdownOutput): New methods.
2401 2002-08-29  Michael Koch  <konqueror@gmx.de>
2403         * java/net/DatagramPacket.java: updated to JDK 1.4 API
2404         new methods are:
2405         DatagramPacket(byte[] buf, int offset, int length, SocketAddress
2406           address),
2407         DatagramPacket(byte[] buf, int length, SocketAddress address),
2408         void setSocketAddress(SocketAddress address)
2409         public SocketAddress getSocketAddress()
2411 2002-08-29  Tom Tromey  <tromey@redhat.com>
2413         * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
2414         ftruncate is missing.
2415         * configure, include/config.h.in: Rebuilt.
2416         * acconfig.h (HAVE_FTRUNCATE): Mention.
2417         * configure.in: Check for ftruncate.
2419 2002-08-29  Tom Tromey  <tromey@redhat.com>
2421         * include/jvm.h (struct _Jv_frame_info): New structure.
2422         * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
2423         java-interp.h.
2424         (lookupInterp): New method.
2425         (getAddrAsString): Use _Jv_frame_info.
2426         (dladdrLookup): Likewise.
2427         * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
2428         interpreted frame.
2429         (lookupInterp): Declare.
2430         * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
2431         (fillInStackTrace): Collect information on interpreted frames.
2432         Use _Jv_frame_info.
2433         * interpret.cc: Include Thread.h.
2434         (run): Create and push _Jv_MethodChain object.
2435         (_Jv_EndOfInterpreter): New global.
2436         * java/lang/Thread.java (interp_frame): New field.
2437         * include/java-interp.h (struct _Jv_MethodChain): New structure.
2438         Include NameFinder.h.
2440 2002-08-28  Tom Tromey  <tromey@redhat.com>
2442         * java/lang/Class.h: Include Package.h.
2443         (Class::getProtectionDomain): Declare.
2444         (Class::getPackage): Declare.
2446 2002-08-28  Michael Koch <konqueror@gmx.de>
2448         * java/net/InetSocketAddress.java: Added some documentation and argument
2449         checks for the port numbers.
2450         * java/net/DatagramSocketImplFactory.java: New file.
2452 2002-08-28  Michael Koch <konqueror@gmx.de>
2454         * java/net/Authenticator.java: added some documentation.
2456 2002-08-27  Tom Tromey  <tromey@redhat.com>
2458         * java/lang/reflect/natConstructor.cc (newInstance): Initialize
2459         class.
2460         * java/lang/reflect/natMethod.cc (invoke): Initialize class.
2462 2002-08-27  Michael Koch <konqueror@gmx.de>
2464         * java/net/BindException.java,
2465         java/net/JarURLConnection.java,
2466         java/net/FileNameMap.java,
2467         java/net/HttpURLConnection.java,
2468         java/net/InetSocketAddress.java,
2469         java/net/DatagramPacket.java,
2470         java/net/DatagramSocket.java,
2471         java/net/DatagramSocketImpl.java,
2472         java/net/MulticastSocket.java,
2473         java/net/PasswordAuthentication.java,
2474         java/net/ServerSocket.java,
2475         java/net/Socket.java,
2476         java/net/URLClassLoader.java,
2477         java/net/URLConnection.java: add/update of some @since/@deprecated
2479 2002-08-27  Tony Kimball <alk@pobox.com>
2480             Tom Tromey  <tromey@redhat.com>
2482         * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
2483         define.
2484         (::close): Removed.
2485         (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
2486         * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
2487         (::close): Removed.
2488         (PlainSocketImpl::close): Use NATIVE_CLOSE.
2489         * include/win32.h (getcwd): Removed declaration.  Include io.h.
2491 2002-08-25  Adam Megacz <adam@xwt.org>
2493         * include/win32.h (getcwd): copied function declaration as
2494         temporary fix for header confusion.
2496 2002-08-24  Mark Wielaard <mark@klomp.org>
2498         * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
2499         (core_java_source_files): Add VMThrowable.java and NameFinder.java
2500         (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
2501         and natNameFinder.cc.
2502         * Makefile.in: Regenerate.
2503         * prims.cc: Use trace_enabled from VMThrowable.
2504         * name-finder.cc: Removed.
2505         * gcj/javaprims.h: Add class VMThrowable.
2506         * gnu/gcj/runtime/NameFinder.java: New file.
2507         * gnu/gcj/runtime/natNameFinder.cc: Likewise.
2508         * include/name-finder.h: Removed.
2509         * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
2510         method stackTraceString().
2511         (printStackTrace (PrintWriter)): Likewise.
2512         (stackTraceString): Complete rewrite of old printStackTrace using
2513         StringBuffer.
2514         (stackTraceStringBuffer): New helper method for stackTraceString().
2515         (fillInStackTrace): Delegate to VMTrowable.
2516         (getStackTrace): Likewise.
2517         (getStackTrace0): Removed.
2518         (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
2519         (setStackTrace): Copy given array.
2520         * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
2521         * java/lang/VMThrowable.java: New class.
2522         * java/lang/natVMThrowable.cc: New file.
2524 2003-08-23  Michael Koch  <konqueror@gmx.de>
2526         * java/net/URLConnection.java,
2527         java/netJarURLConnection.java,
2528         gnu/gcj/protocol/core/Connection.java,
2529         gnu/gcj/protocol/file/Connection.java,
2530         gnu/gcj/protocol/http/Connection.java: Added implementation of
2531         getHeaderFields().
2533 2002-08-22  Tom Tromey  <tromey@redhat.com>
2535         * gij.cc (help): Document -cp and -classpath.
2536         (main): Handle -classpath.
2538 2002-08-21  Tom Tromey  <tromey@redhat.com>
2540         * Makefile.in: Rebuilt.
2541         * Makefile.am (ordinary_java_source_files): Added
2542         SocketAddress.java, InetSocketAddress.java.
2543         * java/net/PortUnreachableException.java: Merged with Classpath.
2544         * java/net/SocketTimeoutException.java: Likewise.
2545         * java/net/URISyntaxException.java: Likewise.
2546         * java/net/SocketAddress.java: New class from Classpath.
2547         * java/net/InetSocketAddress.java: Likewise.
2549 2003-08-21  Michael Koch  <konqueror@gmx.de>
2551         * java/net/Authenticator.java: updated JDK 1.4
2552         * java/net/ContentHandler.java: updated JDK 1.4
2554 2002-08-20  Michael Koch  <konqueror@gmx.de>
2556         * java/net/URISyntaxException.java: New file.
2557         * java/net/SocketTimeoutException.java: New file.
2558         * java/net/PortUnreachableException.java: New file.
2559         * Makefile.am: Updated.
2560         * Makefile.in: Rebuilt.
2562 2002-08-18  Mark Wielaard  <mark@klomp.org>
2564         Thanks to Vladimir Puskas <vpuskas@eunet.yu>
2565         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
2566         MessageDigestSpi (fixes Classpath bug #783).
2568 2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2570         * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
2571         (startProcess): Allocate path for chdir in async-signal-safe way.
2573 2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>
2575         Fix for PR libgcj/7570 and PR libgcj/7578:
2576         * java/lang/natPosixProcess.cc: Include java/io/File.h.
2577         (startProcess): Handle new `dir' argument.
2578         * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
2579         argument.
2580         * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
2581         argument.
2582         (startProcess): Likewise.
2583         * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
2584         argument.
2585         * java/lang/Runtime.java (execInternal): Added `dir' argument.
2586         (exec): Don't create new environment if ENV==null.  Pass DIR to
2587         execInternal.
2588         * java/lang/natRuntime.cc: Include java/io/File.h.
2589         (execInternal): Added `dir' argument.
2591 2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>
2593         * java/io/RandomAccessFile.java (skipBytes): Return number of
2594         bytes skipped.
2596 2002-08-01  Mark Wielaard  <mark@klomp.org>
2598         Reenable patch since shared library troubles on powerpc are solved:
2599         * gnu/java/security/provider/Gnu.java: Reference all implementation
2600         classes by using Class.getName().
2601         * gnu/java/security/der/DEREncodingException.java,
2602         gnu/java/security/provider/DERReader.java,
2603         gnu/java/security/provider/DERWriter.java,
2604         gnu/java/security/provider/DSAKeyPairGenerator.java,
2605         gnu/java/security/provider/DSAParameterGenerator.java,
2606         gnu/java/security/provider/DSAParameters.java,
2607         gnu/java/security/provider/DSASignature.java,
2608         gnu/java/security/provider/GnuDSAPrivateKey.java,
2609         gnu/java/security/provider/GnuDSAPublicKey.java,
2610         gnu/java/security/provider/MD5.java,
2611         gnu/java/security/util/Prime.java: New classes
2612         * Makefile.am (ordinary_java_source_files): Add above files.
2613         * Makefile.in: Regenerate.
2614         * gnu/java/security/provider/DefaultPolicy.java
2615         (getPermissions): Don't maintain static class variable of Permissions.
2616         * gnu/java/security/provider/SHA.java
2617         (engineUpdate): algorithm change.
2618         (engineDigest): algorithm change.
2620 2002-08-09  Mark Wielaard  <mark@klomp.org>
2622         * java/awt/image/MemoryImageSource.java: Change constructor to take
2623         int[] not byte[].
2624         * java/awt/Graphics2D.java: Uncomment methods that can now be
2625         compiled.
2626         * java/awt/GridBagLayout.java: New stub implementation.
2627         * javax/swing/text/html/HTML.java: Stub implementation.
2628         * javax/swing/text/html/parser/ParserDelegator.java: New stub
2629         implementation.
2631         * Makefile.am: Add new files.
2632         * Makefile.in: Rebuilt.
2634 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2636         * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
2637         methods in Graphics2D.
2639 2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
2641         AWT/Swing merge from GNU Classpath.
2643         * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
2644         java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
2645         java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
2646         java/awt/color/ProfileDataException.java,
2647         java/awt/CompositeContext.java, java/awt/Composite.java,
2648         java/awt/ContainerOrderFocusTraversalPolicy.java,
2649         java/awt/datatransfer/FlavorTable.java,
2650         java/awt/DefaultFocusTraversalPolicy.java,
2651         java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
2652         java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
2653         java/awt/dnd/DragGestureListener.java,
2654         java/awt/dnd/DragGestureRecognizer.java,
2655         java/awt/dnd/DragSourceAdapter.java,
2656         java/awt/dnd/DragSourceContext.java,
2657         java/awt/dnd/DragSourceDragEvent.java,
2658         java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
2659         java/awt/dnd/DragSourceListener.java,
2660         java/awt/dnd/DragSourceMotionListener.java,
2661         java/awt/dnd/DropTarget.java,
2662         java/awt/dnd/InvalidDnDOperationException.java,
2663         java/awt/dnd/peer/DragSourceContextPeer.java,
2664         java/awt/event/AWTEventListenerProxy.java,
2665         java/awt/event/MouseWheelEvent.java,
2666         java/awt/event/MouseWheelListener.java,
2667         java/awt/event/WindowFocusListener.java,
2668         java/awt/event/WindowStateListener.java,
2669         java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
2670         java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
2671         java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
2672         java/awt/geom/FlatteningPathIterator.java,
2673         java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
2674         java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
2675         java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
2676         java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
2677         java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
2678         java/awt/image/ImagingOpException.java,
2679         java/awt/image/RasterFormatException.java,
2680         java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
2681         java/awt/image/VolatileImage.java,
2682         java/awt/image/WritableRenderedImage.java,
2683         java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
2684         java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
2685         java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
2686         java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
2687         java/awt/PageAttributes.java, java/awt/print/Book.java,
2688         java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
2689         java/awt/print/Paper.java, java/awt/print/Printable.java,
2690         java/awt/print/PrinterAbortException.java,
2691         java/awt/print/PrinterException.java,
2692         java/awt/print/PrinterGraphics.java,
2693         java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
2694         java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
2695         java/awt/Stroke.java, java/awt/TexturePaint.java,
2696         javax/accessibility/AccessibleAction.java,
2697         javax/accessibility/AccessibleBundle.java,
2698         javax/accessibility/AccessibleComponent.java,
2699         javax/accessibility/AccessibleContext.java,
2700         javax/accessibility/AccessibleEditableText.java,
2701         javax/accessibility/AccessibleExtendedComponent.java,
2702         javax/accessibility/AccessibleExtendedTable.java,
2703         javax/accessibility/AccessibleHyperlink.java,
2704         javax/accessibility/AccessibleHypertext.java,
2705         javax/accessibility/AccessibleIcon.java,
2706         javax/accessibility/Accessible.java,
2707         javax/accessibility/AccessibleKeyBinding.java,
2708         javax/accessibility/AccessibleRelation.java,
2709         javax/accessibility/AccessibleRelationSet.java,
2710         javax/accessibility/AccessibleResourceBundle.java,
2711         javax/accessibility/AccessibleRole.java,
2712         javax/accessibility/AccessibleSelection.java,
2713         javax/accessibility/AccessibleState.java,
2714         javax/accessibility/AccessibleStateSet.java,
2715         javax/accessibility/AccessibleTable.java,
2716         javax/accessibility/AccessibleTableModelChange.java,
2717         javax/accessibility/AccessibleText.java,
2718         javax/accessibility/AccessibleValue.java,
2719         javax/swing/AbstractAction.java,
2720         javax/swing/AbstractButton.java,
2721         javax/swing/AbstractCellEditor.java,
2722         javax/swing/AbstractListModel.java,
2723         javax/swing/AbstractSet.java, javax/swing/Action.java,
2724         javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
2725         javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
2726         javax/swing/border/CompoundBorder.java,
2727         javax/swing/border/EmptyBorder.java,
2728         javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
2729         javax/swing/border/LineBorder.java,
2730         javax/swing/border/MatteBorder.java,
2731         javax/swing/border/TitledBorder.java,
2732         javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
2733         javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
2734         javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
2735         javax/swing/CellRendererPane.java,
2736         javax/swing/colorchooser/AbstractColorChooserPanel.java,
2737         javax/swing/colorchooser/ColorChooserComponentFactory.java,
2738         javax/swing/colorchooser/ColorSelectionModel.java,
2739         javax/swing/colorchooser/DefaultColorSelectionModel.java,
2740         javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
2741         javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
2742         javax/swing/DefaultBoundedRangeModel.java,
2743         javax/swing/DefaultButtonModel.java,
2744         javax/swing/DefaultCellEditor.java,
2745         javax/swing/DefaultCellRenderer.java,
2746         javax/swing/DefaultComboBoxModel.java,
2747         javax/swing/DefaultDesktopManager.java,
2748         javax/swing/DefaultFocusManager.java,
2749         javax/swing/DefaultListCellRenderer.java,
2750         javax/swing/DefaultListModel.java,
2751         javax/swing/DefaultListSelectionModel.java,
2752         javax/swing/DefaultSingleSelectionModel.java,
2753         javax/swing/DesktopManager.java,
2754         javax/swing/event/AncestorEvent.java,
2755         javax/swing/event/AncestorListener.java,
2756         javax/swing/event/CaretEvent.java,
2757         javax/swing/event/CaretListener.java,
2758         javax/swing/event/CellEditorListener.java,
2759         javax/swing/event/ChangeEvent.java,
2760         javax/swing/event/ChangeListener.java,
2761         javax/swing/event/DocumentEvent.java,
2762         javax/swing/event/DocumentListener.java,
2763         javax/swing/event/EventListenerList.java,
2764         javax/swing/event/HyperlinkEvent.java,
2765         javax/swing/event/HyperlinkListener.java,
2766         javax/swing/event/InternalFrameAdapter.java,
2767         javax/swing/event/InternalFrameEvent.java,
2768         javax/swing/event/InternalFrameListener.java,
2769         javax/swing/event/ListDataEvent.java,
2770         javax/swing/event/ListDataListener.java,
2771         javax/swing/event/ListSelectionEvent.java,
2772         javax/swing/event/ListSelectionListener.java,
2773         javax/swing/event/MenuDragMouseEvent.java,
2774         javax/swing/event/MenuDragMouseListener.java,
2775         javax/swing/event/MenuEvent.java,
2776         javax/swing/event/MenuKeyEvent.java,
2777         javax/swing/event/MenuKeyListener.java,
2778         javax/swing/event/MenuListener.java,
2779         javax/swing/event/MouseInputAdapter.java,
2780         javax/swing/event/MouseInputListener.java,
2781         javax/swing/event/PopupMenuEvent.java,
2782         javax/swing/event/PopupMenuListener.java,
2783         javax/swing/event/SwingPropertyChangeSupport.java,
2784         javax/swing/event/TableColumnModelEvent.java,
2785         javax/swing/event/TableColumnModelListener.java,
2786         javax/swing/event/TableModelEvent.java,
2787         javax/swing/event/TableModelListener.java,
2788         javax/swing/event/TreeExpansionEvent.java,
2789         javax/swing/event/TreeExpansionListener.java,
2790         javax/swing/event/TreeModelEvent.java,
2791         javax/swing/event/TreeModelListener.java,
2792         javax/swing/event/TreeSelectionEvent.java,
2793         javax/swing/event/TreeSelectionListener.java,
2794         javax/swing/event/TreeWillExpandListener.java,
2795         javax/swing/event/UndoableEditEvent.java,
2796         javax/swing/event/UndoableEditListener.java,
2797         javax/swing/filechooser/FileFilter.java,
2798         javax/swing/filechooser/FileSystemView.java,
2799         javax/swing/filechooser/FileView.java,
2800         javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
2801         javax/swing/Icon.java, javax/swing/ImageIcon.java,
2802         javax/swing/InputMap.java, javax/swing/InputVerifier.java,
2803         javax/swing/JApplet.java, javax/swing/JButton.java,
2804         javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
2805         javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
2806         javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
2807         javax/swing/JDialog.java, javax/swing/JEditorPane.java,
2808         javax/swing/JFileChooser.java, javax/swing/JFrame.java,
2809         javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
2810         javax/swing/JLayeredPane.java, javax/swing/JList.java,
2811         javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
2812         javax/swing/JMenu.java, javax/swing/JOptionPane.java,
2813         javax/swing/JPanel.java, javax/swing/JPasswordField.java,
2814         javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
2815         javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
2816         javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
2817         javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
2818         javax/swing/JSlider.java, javax/swing/JSplitPane.java,
2819         javax/swing/JTabbedPane.java, javax/swing/JTable.java,
2820         javax/swing/JTextField.java, javax/swing/JTextPane.java,
2821         javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
2822         javax/swing/JToolTip.java, javax/swing/JTree.java,
2823         javax/swing/JViewport.java, javax/swing/JWindow.java,
2824         javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
2825         javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
2826         javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
2827         javax/swing/MenuSelectionManager.java,
2828         javax/swing/MutableComboBoxModel.java,
2829         javax/swing/OverlayLayout.java,
2830         javax/swing/plaf/ActionMapUIResource.java,
2831         javax/swing/plaf/basic/BasicBorders.java,
2832         javax/swing/plaf/basic/BasicButtonUI.java,
2833         javax/swing/plaf/basic/BasicCheckBoxUI.java,
2834         javax/swing/plaf/basic/BasicDefaults.java,
2835         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2836         javax/swing/plaf/basic/BasicIconFactory.java,
2837         javax/swing/plaf/basic/BasicLabelUI.java,
2838         javax/swing/plaf/basic/BasicListUI.java,
2839         javax/swing/plaf/basic/BasicLookAndFeel.java,
2840         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2841         javax/swing/plaf/basic/BasicPanelUI.java,
2842         javax/swing/plaf/basic/BasicRadioButtonUI.java,
2843         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2844         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2845         javax/swing/plaf/basic/BasicTextUI.java,
2846         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2847         javax/swing/plaf/basic/BasicTreeUI.java,
2848         javax/swing/plaf/basic/BasicViewportUI.java,
2849         javax/swing/plaf/BorderUIResource.java,
2850         javax/swing/plaf/ButtonUI.java,
2851         javax/swing/plaf/ColorChooserUI.java,
2852         javax/swing/plaf/ColorUIResource.java,
2853         javax/swing/plaf/ComboBoxUI.java,
2854         javax/swing/plaf/ComponentInputMapUIResource.java,
2855         javax/swing/plaf/ComponentUI.java,
2856         javax/swing/plaf/DesktopIconUI.java,
2857         javax/swing/plaf/DesktopPaneUI.java,
2858         javax/swing/plaf/DimensionUIResource.java,
2859         javax/swing/plaf/FileChooserUI.java,
2860         javax/swing/plaf/FontUIResource.java,
2861         javax/swing/plaf/IconUIResource.java,
2862         javax/swing/plaf/InputMapUIResource.java,
2863         javax/swing/plaf/InsetsUIResource.java,
2864         javax/swing/plaf/InternalFrameUI.java,
2865         javax/swing/plaf/LabelUI.java,
2866         javax/swing/plaf/ListUI.java,
2867         javax/swing/plaf/MenuBarUI.java,
2868         javax/swing/plaf/MenuItemUI.java,
2869         javax/swing/plaf/OptionPaneUI.java,
2870         javax/swing/plaf/PanelUI.java,
2871         javax/swing/plaf/PopupMenuUI.java,
2872         javax/swing/plaf/ProgressBarUI.java,
2873         javax/swing/plaf/RootPaneUI.java,
2874         javax/swing/plaf/ScrollBarUI.java,
2875         javax/swing/plaf/ScrollPaneUI.java,
2876         javax/swing/plaf/SeparatorUI.java,
2877         javax/swing/plaf/SliderUI.java,
2878         javax/swing/plaf/SplitPaneUI.java,
2879         javax/swing/plaf/TabbedPaneUI.java,
2880         javax/swing/plaf/TableHeaderUI.java,
2881         javax/swing/plaf/TableUI.java,
2882         javax/swing/plaf/TextUI.java,
2883         javax/swing/plaf/ToolBarUI.java,
2884         javax/swing/plaf/ToolTipUI.java,
2885         javax/swing/plaf/TreeUI.java,
2886         javax/swing/plaf/UIResource.java,
2887         javax/swing/plaf/ViewportUI.java,
2888         javax/swing/ProgressMonitorInputStream.java,
2889         javax/swing/ProgressMonitor.java,
2890         javax/swing/Renderer.java,
2891         javax/swing/RepaintManager.java,
2892         javax/swing/RootPaneContainer.java,
2893         javax/swing/Scrollable.java,
2894         javax/swing/ScrollPaneConstants.java,
2895         javax/swing/ScrollPaneLayout.java,
2896         javax/swing/SingleSelectionModel.java,
2897         javax/swing/SizeRequirements.java,
2898         javax/swing/SizeSequence.java,
2899         javax/swing/SwingConstants.java,
2900         javax/swing/SwingUtilities.java,
2901         javax/swing/table/AbstractTableModel.java,
2902         javax/swing/table/DefaultTableCellRenderer.java,
2903         javax/swing/table/DefaultTableColumnModel.java,
2904         javax/swing/table/DefaultTableModel.java,
2905         javax/swing/table/TableCellEditor.java,
2906         javax/swing/table/TableCellRenderer.java,
2907         javax/swing/table/TableColumn.java,
2908         javax/swing/table/TableColumnModel.java,
2909         javax/swing/table/TableModel.java,
2910         javax/swing/text/AbstractDocument.java,
2911         javax/swing/text/AttributeSet.java,
2912         javax/swing/text/BadLocationException.java,
2913         javax/swing/text/Caret.java,
2914         javax/swing/text/CharacterIterator.java,
2915         javax/swing/text/ComponentView.java,
2916         javax/swing/text/DefaultCaret.java,
2917         javax/swing/text/DefaultEditorKit.java,
2918         javax/swing/text/Document.java,
2919         javax/swing/text/EditorKit.java,
2920         javax/swing/text/Element.java,
2921         javax/swing/text/GapContent.java,
2922         javax/swing/text/JTextComponent.java,
2923         javax/swing/text/Keymap.java,
2924         javax/swing/text/MutableAttributeSet.java,
2925         javax/swing/text/PlainDocument.java,
2926         javax/swing/text/PlainEditorKit.java,
2927         javax/swing/text/Position.java,
2928         javax/swing/text/Segment.java,
2929         javax/swing/text/StyledDocument.java,
2930         javax/swing/text/StyledEditorKit.java,
2931         javax/swing/text/Style.java,
2932         javax/swing/text/TextAction.java,
2933         javax/swing/text/ViewFactory.java,
2934         javax/swing/text/View.java,
2935         javax/swing/Timer.java,
2936         javax/swing/ToggleButtonModel.java,
2937         javax/swing/ToolTipManager.java,
2938         javax/swing/tree/AbstractLayoutCache.java,
2939         javax/swing/tree/DefaultMutableTreeNode.java,
2940         javax/swing/tree/DefaultTreeCellEditor.java,
2941         javax/swing/tree/DefaultTreeCellRenderer.java,
2942         javax/swing/tree/DefaultTreeModel.java,
2943         javax/swing/tree/DefaultTreeSelectionModel.java,
2944         javax/swing/tree/ExpandVetoException.java,
2945         javax/swing/tree/FixedHeightLayoutCache.java,
2946         javax/swing/tree/MutableTreeNode.java,
2947         javax/swing/tree/RowMapper.java,
2948         javax/swing/tree/TreeCellEditor.java,
2949         javax/swing/tree/TreeCellRenderer.java,
2950         javax/swing/tree/TreeModel.java,
2951         javax/swing/tree/TreeNode.java,
2952         javax/swing/tree/TreePath.java,
2953         javax/swing/tree/TreeSelectionModel.java,
2954         javax/swing/tree/VariableHeightLayoutCache.java,
2955         javax/swing/UIDefaults.java,
2956         javax/swing/UIManager.java,
2957         javax/swing/undo/AbstractUndoableEdit.java,
2958         javax/swing/undo/CannotRedoException.java,
2959         javax/swing/undo/CannotUndoException.java,
2960         javax/swing/undo/CompoundEdit.java,
2961         javax/swing/undo/StateEditable.java,
2962         javax/swing/undo/StateEdit.java,
2963         javax/swing/undo/UndoableEdit.java,
2964         javax/swing/undo/UndoableEditSupport.java,
2965         javax/swing/undo/UndoManager.java,
2966         javax/swing/UnsupportedLookAndFeelException.java,
2967         javax/swing/ViewportLayout.java,
2968         javax/swing/WindowConstants.java: New files, from GNU Classpath.
2970         * java/awt/ActiveEvent.java,
2971         java/awt/Adjustable.java, java/awt/AWTError.java,
2972         java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
2973         java/awt/AWTException.java, java/awt/AWTPermission.java,
2974         java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
2975         java/awt/Color.java, java/awt/Component.java,
2976         java/awt/ComponentOrientation.java, java/awt/Container.java,
2977         java/awt/datatransfer/MimeTypeParseException.java,
2978         java/awt/datatransfer/Transferable.java,
2979         java/awt/datatransfer/UnsupportedFlavorException.java,
2980         java/awt/Dimension.java, java/awt/event/ActionEvent.java,
2981         java/awt/event/ActionListener.java,
2982         java/awt/event/AdjustmentEvent.java,
2983         java/awt/event/AdjustmentListener.java,
2984         java/awt/event/AWTEventListener.java,
2985         java/awt/event/ComponentAdapter.java,
2986         java/awt/event/ComponentEvent.java,
2987         java/awt/event/ComponentListener.java,
2988         java/awt/event/ContainerAdapter.java,
2989         java/awt/event/ContainerEvent.java,
2990         java/awt/event/ContainerListener.java,
2991         java/awt/event/FocusAdapter.java,
2992         java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
2993         java/awt/event/HierarchyBoundsAdapter.java,
2994         java/awt/event/HierarchyBoundsListener.java,
2995         java/awt/event/HierarchyEvent.java,
2996         java/awt/event/HierarchyListener.java,
2997         java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
2998         java/awt/event/InputMethodListener.java,
2999         java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
3000         java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
3001         java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
3002         java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
3003         java/awt/event/MouseListener.java,
3004         java/awt/event/MouseMotionAdapter.java,
3005         java/awt/event/MouseMotionListener.java,
3006         java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
3007         java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
3008         java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
3009         java/awt/event/WindowListener.java, java/awt/Font.java,
3010         java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
3011         java/awt/geom/Ellipse2D.java,
3012         java/awt/geom/IllegalPathStateException.java,
3013         java/awt/geom/Line2D.java,
3014         java/awt/geom/NoninvertibleTransformException.java,
3015         java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
3016         java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
3017         java/awt/geom/RoundRectangle2D.java,
3018         java/awt/GraphicsConfiguration.java,
3019         java/awt/IllegalComponentStateException.java,
3020         java/awt/image/IndexColorModel.java,
3021         java/awt/Image.java, java/awt/image/MemoryImageSource.java,
3022         java/awt/image/PixelGrabber.java, java/awt/Insets.java,
3023         java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
3024         java/awt/LayoutManager.java, java/awt/MenuContainer.java,
3025         java/awt/MenuItem.java, java/awt/PaintContext.java,
3026         java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
3027         java/awt/Polygon.java, java/awt/PrintGraphics.java,
3028         java/awt/PrintJob.java, java/awt/Rectangle.java,
3029         java/awt/RenderingHints.java, java/awt/ScrollPane.java,
3030         java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
3031         java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
3033         * java/awt/im/spi/InputMethod.java,
3034         java/awt/im/spi/InputMethodContext.java,
3035         java/awt/im/spi/InputMethodDescriptor.java,
3036         java/awt/image/renderable/ContextualRenderedImageFactory.java,
3037         java/awt/image/renderable/ParameterBlock.java,
3038         java/awt/image/renderable/RenderContext.java,
3039         java/awt/image/renderable/RenderableImage.java,
3040         java/awt/image/renderable/RenderableImageOp.java,
3041         java/awt/image/renderable/RenderableImageProducer.java,
3042         java/awt/image/renderable/RenderedImageFactory.java: New files from
3043         classpath.
3045         * gnu/java/awt/EventModifier.java,
3046         gnu/java/awt/image/ImageDecoder.java,
3047         gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
3049         * gnu/awt/xlib/XGraphicsConfiguration.java,
3050         gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
3051         API.
3053         * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
3054         GNU Classpath.
3056         * Makefile.am: Add new files.
3057         * Makefile.in: Rebuilt.
3059 2002-08-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3061         * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
3062         defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
3063         findResource, getResources, findResources): Add javadoc from classpath.
3064         (getSystemResources): Implemented.
3066 2002-08-01  Mark Wielaard  <mark@klomp.org>
3068         Revert patch that breaks libgcj shared library on powerpc:
3069         * gnu/java/security/provider/Gnu.java: Reverse referencing all
3070         implementation classes by using Class.getName(). Uses Strings again.
3071         * gnu/java/security/der/DEREncodingException.java,
3072         gnu/java/security/provider/DERReader.java,
3073         gnu/java/security/provider/DERWriter.java,
3074         gnu/java/security/provider/DSAKeyPairGenerator.java,
3075         gnu/java/security/provider/DSAParameterGenerator.java,
3076         gnu/java/security/provider/DSAParameters.java,
3077         gnu/java/security/provider/DSASignature.java,
3078         gnu/java/security/provider/GnuDSAPrivateKey.java,
3079         gnu/java/security/provider/GnuDSAPublicKey.java,
3080         gnu/java/security/provider/MD5.java,
3081         gnu/java/security/util/Prime.java: Removed.
3082         * Makefile.am (ordinary_java_source_files): Remove above files.
3083         * Makefile.in: Regenerate.
3084         * gnu/java/security/provider/DefaultPolicy.java
3085         (getPermissions): Revert to maintaining static class variable of
3086         Permissions.
3087         * gnu/java/security/provider/SHA.java
3088         (engineUpdate): Revert algorithm change.
3089         (engineDigest): Revert algorithm change.
3091 2002-08-01  Kaz Kojima  <kkojima@gcc.gnu.org>
3093         * configure.host: Add SH support.
3094         * sysdep/sh/locks.h: New file.
3096 2002-07-31  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3098         * java/awt/Frame.java (Frame): Remove println calls.
3100 2002-07-30  Jeff Sturm  <jsturm@one-point.com>
3102         * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
3103         * configure: Rebuilt.
3105 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
3107         * sysdep/powerpc/locks.h: Formatting.
3108         (_LARX): Define.
3109         (_STCX): Define.
3110         (compare_and_swap): Use _LARX and _STCX.
3111         (compare_and_swap_release): Likewise.
3113 2002-07-26  Tom Tromey  <tromey@redhat.com>
3115         * java/net/Authenticator.java: New version from Classpath.
3116         * java/net/DatagramSocketImpl.java: New version from Classpath.
3118 2002-07-27  Alan Modra  <amodra@bigpond.net.au>
3120         * configure.host: Add powerpc64*-* entry.
3122 2002-07-26  Tom Tromey  <tromey@redhat.com>
3124         * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
3125         fcntl.h.
3127 2002-07-24  Tom Tromey  <tromey@redhat.com>
3129         * java/lang/Runtime.java (loadLibrary): Pass `true' as search
3130         argument to _load.
3132 2002-07-24  Tom Tromey  <tromey@redhat.com>
3133             Tony Kimball <alk@pobox.com>
3135         * java/io/natFileDescriptorWin32.cc (setLength): New method.
3136         * java/io/natFileDescriptorPosix.cc (setLength): New method.
3137         * java/io/RandomAccessFile.java (setLength): New method.
3138         * java/io/natFileDescriptorEcos.cc (setLength): New method.
3139         * java/io/FileDescriptor.java (setLength): New method.
3141 2002-07-24  Mark Wielaard  <mark@klomp.org>
3143         * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
3144         * java/io/ObjectInputStream.java (setBooleanField): Before setting
3145         field call setAccessible(true).
3146         (setByteField): Likewise.
3147         (setCharField): Likewise.
3148         (setDoubleField): Likewise.
3149         (setFloatField): Likewise.
3150         (setIntField): Likewise.
3151         (setLongField): Likewise.
3152         (setShortField): Likewise.
3153         (setObjectField): Likewise.
3155 2002-07-24  Tom Tromey  <tromey@redhat.com>
3157         * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
3158         use toString() to format array element.
3160 2002-07-23  Mark Wielaard  <mark@klomp.org>
3162         * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
3163         MessageDigestSpi (fixes Classpath bug #783).
3165 2002-07-21  Mark Wielaard  <mark@klomp.org>
3167         * gnu/java/security/provider/Gnu.java: Reference all implementation
3168         classes by using Class.getName().
3170 2002-07-19  Bo Thorsen  <bo@berlioz.suse.de>
3172         * java/lang/ieeefp.h: Add x86-64 support.
3173         * configure.in: Likewise.
3174         * configure.host: Likewise.
3175         * configure: Regenerated.
3176         * sysdep/x86-64/locks.h: New file with x86-64 locks.
3178 2002-07-16  Mark Wielaard  <mark@klomp.org>
3180         * java/io/StreamTokenizer.java (pushBack): Update documentation.
3181         (whitespaceChars): call resetChar().
3183 2002-07-15  Tom Tromey  <tromey@redhat.com>
3185         * Makefile.in: Rebuilt.
3186         * Makefile.am (awt_java_source_files): Added new files.
3187         * java/beans/ExceptionListener.java: Merged with Classpath.
3188         * java/beans/PropertyChangeEvent.java: Merged with Classpath.
3189         * java/beans/PropertyChangeListener.java: Merged with Classpath.
3190         * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
3191         * java/beans/PropertyChangeSupport.java: Merged with Classpath.
3192         * java/beans/VetoableChangeListener.java: Merged with Classpath.
3193         * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
3194         * java/beans/VetoableChangeSupport.java: Merged with Classpath.
3196 2002-07-14  Mark Wielaard  <mark@klomp.org>
3198         * gnu/java/security/der/DEREncodingException.java,
3199         gnu/java/security/provider/DERReader.java,
3200         gnu/java/security/provider/DERWriter.java,
3201         gnu/java/security/provider/DSAKeyPairGenerator.java,
3202         gnu/java/security/provider/DSAParameterGenerator.java,
3203         gnu/java/security/provider/DSAParameters.java,
3204         gnu/java/security/provider/DSASignature.java,
3205         gnu/java/security/provider/GnuDSAPrivateKey.java,
3206         gnu/java/security/provider/GnuDSAPublicKey.java,
3207         gnu/java/security/provider/MD5.java,
3208         gnu/java/security/util/Prime.java: New files from Classpath.
3209         * Makefile.am (ordinary_java_source_files): Add new files.
3210         * Makefile.in: Regenerate.
3212 2002-07-14  C. Brian Jones <cbj@gnu.org>
3214         * gnu/java/security/provider/DefaultPolicy.java
3215         (getPermissions): do not maintain static class variable of
3216         Permissions
3217         * gnu/java/security/provider/SHA.java
3218         (engineUpdate): algorithm change
3219         (engineDigest): algorithm change
3221 2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>
3223         For PR libgcj/7292:
3224         * java/lang/Character.java (toString(char)): Now static.
3226 2002-07-12  Mark Wielaard  <mark@klomp.org>
3228         * java/lang/natThrowable.cc (printRawStackTrace): removed.
3229         (getStackTrace0): new method.
3230         * java/lang/Throwable.java (CPlusPlusDemangler): removed.
3231         (printStackTrace(PrintWriter)): replace with pure java implementation.
3232         (printRawStackTrace): removed.
3233         (getStackTrace0): new method.
3234         * java/lang/StackTraceElement.java (toString): add extra whitespace.
3235         * gcj/javaprims.h: regenerate class list.
3236         * include/name-finder.h (lookup): new returns StackTraceElement*.
3237         (method_name, file_name): fields removed.
3238         (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
3239         (~_Jv_name_finder): close new descriptors.
3240         * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
3241         (createStackTraceElement): new method.
3242         (lookup): returns StackTraceElement*, uses createStackTraceElement().
3244 2002-07-10  Tom Tromey  <tromey@redhat.com>
3246         * configure: Rebuilt.
3247         * configure.in: Use `test' after `&&'.  From Chris Faylor.
3249 2002-07-08  Mark Wielaard  <mark@klomp.org>
3251         * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
3252         java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
3253         java.sql.DatabaseMetaData.TestJdbc20
3255 2002-07-05  Tony Kimball  <alk@pobox.com>
3257         * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
3259 2002-07-04  Tom Tromey  <tromey@redhat.com>
3260             Jeff Sturm  <jsturm@one-point.com>
3262         Fix for PR libgcj/7060:
3263         * java/lang/Class.h (_getMethod): Renamed from getMethod.
3264         * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
3265         Recurse into superinterfaces.  Don't throw NoSuchMethodException.
3266         * java/lang/Class.java (getMethod): New Java implementation;
3267         complies with spec.
3268         (_getMethod): New native method.
3270 2002-07-02  Tom Tromey  <tromey@redhat.com>
3271             David Hovemeyer  <daveho@cs.umd.edu>
3273         * java/text/ChoiceFormat.java
3274         (format(double,StringBuffer,FieldPosition)): Fix fencepost error
3275         in check loop.
3276         * java/text/MessageFormat.java
3277         (format(Object[],StringBuffer,FieldPosition): Pass all arguments
3278         to MessageFormat.
3280 2002-07-01  Tom Tromey  <tromey@redhat.com>
3282         * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
3283         StringTokenizer on null string.  For PR libgcj/7180.
3284         From daveho@cs.umd.edu.
3286 2002-06-24  Tom Tromey  <tromey@redhat.com>
3288         * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
3289         (IntegerClass): Likewise.
3290         * java/lang/natClass.cc (CloneableClass): Removed.
3291         (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
3292         ConstructorClass): Likewise.
3293         * java/lang/natClassLoader.cc (CloneableClass): Removed.
3294         (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
3295         SerializableClass): Likewise.
3296         * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
3297         (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
3298         LongClass, FloatClass, DoubleClass): Likewise.
3300         * verify.cc (branch_prepass): Updated for change to exception
3301         handler type.
3302         (verify_instructions_0): Likewise.
3303         * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
3304         (handleExceptionTableEntry): Updated for change to exception
3305         handler type.
3306         * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
3307         * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
3308         (union _Jv_InterpPC): New.
3309         (class _Jv_InterpException): Changed types to _Jv_InterpPC.
3310         (class _Jv_InterpMethod): Added new `prepared' field.
3311         (class _Jv_InterpMethod): Added `compile' method.  Removed
3312         `continue1' and `find_exception'.  Changed arguments to `run'.
3313         * interpret.cc (union insn_slot): New.
3314         (find_exception): Removed.
3315         (run_normal): Removed most logic.
3316         (run_synch_object): Likewise; also, use JvSynchronize.
3317         (run_synch_class): Likewise.
3318         (run): Removed.
3319         (continue1): Renamed as `run'.  Compile bytecode if required.
3320         Add new code to allow refinement of direct-threaded code at
3321         runtime.  Handle exceptions.
3322         (SAVE_PC): Removed.
3323         (compile): New method.
3324         (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
3325         (NULLARRAYCHECK): Don't use SAVE_PC.
3326         (pc_t): New typedef.
3327         (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
3328         SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
3330 2002-06-23  Tom Tromey  <tromey@redhat.com>
3332         * configure: Rebuilt.
3333         * configure.in (INTERPRETER): New subst.
3334         (AM_RUNTESTFLAGS): Don't subst.
3336         * Makefile.in: Rebuilt.
3337         * Makefile.am ($(srcdir)/java/lang/Object.h,
3338         $(srcdir)/java/lang/Class.h): Added dummy targets.
3340 2002-06-21  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3342         Reformat JDBC classes and add new JDK 1.4 classes and methods.
3344         * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
3345         java/sql/Savepoint.java: New files.
3346         * java/sql/Array.java, java/sql/BatchUpdateException.java,
3347         java/sql/Blob.java, java/sql/CallableStatement.java,
3348         java/sql/Clob.java, java/sql/Connection.java,
3349         java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
3350         java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
3351         java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
3352         java/sql/Ref.java, java/sql/ResultSet.java,
3353         java/sql/ResultSetMetaData.java, java/sql/SQLData.java
3354         java/sql/SQLException.java, java/sql/SQLInput.java,
3355         java/sql/SQLOutput.java, java/sql/SQLWarning.java
3356         java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
3357         java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
3358         (JDK 1.4) specification.
3359         * javax/sql/ConnectionEvent.java,
3360         javax/sql/ConnectionEventListener.java,
3361         javax/sql/ConnectionPoolDataSource.java,
3362         javax/sql/DataSource.java, javax/sql/PooledConnection.java,
3363         javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
3364         javax/sql/RowSet.java, javax/sql/RowSetListener.java,
3365         javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
3366         javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
3367         javax/sql/XADataSource.java: New files.
3368         * Makefile.am: Add new files.
3369         * Makefile.in: Rebuilt.
3371 2002-06-20  Tom Tromey  <tromey@redhat.com>
3373         For PR libgcj/7073:
3374         * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
3375         exists.
3376         * defineclass.cc (handleClassBegin): Superclass for interface is
3377         `null'.
3379 2002-06-18  Tom Tromey  <tromey@redhat.com>
3381         * gcj/javaprims.h: Updated class declaration list.
3382         * Makefile.in: Rebuilt.
3383         * Makefile.am (core_java_source_files): Removed
3384         BasicMapEntry.java.
3385         * java/util/BasicMapEntry.java: Removed.
3387 2002-06-18  Jeff Sturm  <jsturm@one-point.com>
3389         * java/net/natPlainDatagramSocketImpl.cc (receive):
3390         Check bounds of argument to FD_SET.
3391         (setOption): Throw exception if socket is closed.
3393         * java/net/natPlainSocketImpl.cc (accept, read):
3394         Check bounds of argument to FD_SET.
3395         (setOption): Throw exception if socket is closed.
3397 2002-06-18  Tom Tromey  <tromey@redhat.com>
3399         * gcj/javaprims.h: Updated class declaration list.
3400         * Makefile.in: Rebuilt.
3401         * Makefile.am (core_java_source_files): Added
3402         PropertyPermissionCollection.java.
3403         * java/lang/Thread.java (group, name): Now package-private.
3404         * java/lang/ThreadGroup.java: Re-merge with Classpath.
3405         * java/util/AbstractList.java: Likewise.
3406         * java/util/AbstractMap.java: Likewise.
3407         * java/util/Calendar.java: Likewise.
3408         * java/util/Collections.java: Likewise.
3409         * java/util/HashMap.java: Likewise.
3410         * java/util/Hashtable.java: Likewise.
3411         * java/util/LinkedHashMap.java: Likewise.
3412         * java/util/LinkedList.java: Likewise.
3413         * java/util/List.java: Likewise.
3414         * java/util/ListResourceBundle.java: Likewise.
3415         * java/util/Map.java: Likewise.
3416         * java/util/Observable.java: Likewise.
3417         * java/util/Properties.java: Likewise.
3418         * java/util/PropertyPermission.java: Likewise.
3419         * java/util/PropertyPermissionCollection.java: Likewise.
3420         * java/util/PropertyResourceBundle.java: Likewise.
3421         * java/util/Random.java: Likewise.
3422         * java/util/SimpleTimeZone.java: Likewise.
3423         * java/util/StringTokenizer.java: Likewise.
3424         * java/util/TimerTask.java: Likewise.
3425         * java/util/TreeMap.java: Likewise.
3426         * java/util/WeakHashMap.java: Likewise.
3427         * java/util/jar/Attributes.java: Likewise.
3428         * java/util/jar/JarException.java: Likewise.
3429         * java/util/jar/Manifest.java: Likewise.
3431 2002-06-17  Tom Tromey  <tromey@redhat.com>
3433         * gcj/javaprims.h: Updated class declaration list.
3434         * Makefile.in: Rebuilt.
3435         * Makefile.am (core_java_source_files): Added new file.
3436         * java/util/EventListenerProxy.java: New file.
3437         * java/util/EventListener.java: Re-merge with Classpath.
3438         * java/util/EventObject.java: Re-merge with Classpath.
3440 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
3442         * java/lang/ClassNotFoundException.java: New Classpath version.
3444 2002-06-17  Nathanael Nerode  <neroden@twcny.rr.com>
3446         * java/rmi/activation/ActivateFailedException.java: Remerge from
3447         Classpath version.
3448         * java/rmi/activation/ActivationException.java: Ditto.
3449         * java/rmi/activation/UnknownGroupException.java: Ditto.
3450         * java/rmi/activation/UnknownObjectException.java: Ditto.
3451         * java/rmi/server/ExportException: Ditto.
3452         * java/rmi/server/ServerCloneException: Ditto.
3453         * java/rmi/server/ServerNotActiveException: Ditto.
3454         * java/rmi/server/SkeletonMismatchException: Ditto.
3455         * java/rmi/server/SkeletonNotFoundException: Ditto.
3456         * java/rmi/server/SocketSecurityException: Ditto.
3458 2002-06-16  Tom Tromey  <tromey@redhat.com>
3460         * gcj/javaprims.h: Updated class declaration list.
3462         * java/io/LineNumberInputStream.java: Merged with Classpath.
3464         * java/lang/RuntimeException.java: Re-merge with Classpath.
3465         * java/util/ArrayList.java: Likewise.
3466         * java/util/Arrays.java: Likewise.
3467         * java/util/BitSet.java: Likewise.
3468         * java/util/Dictionary.java: Likewise.
3469         * java/util/IdentityHashMap.java: Likewise.
3470         * java/util/MissingResourceException.java: Likewise.
3471         * java/util/Observer.java: Likewise.
3472         * java/util/TooManyListenersException.java: Likewise.
3473         * java/util/zip/DataFormatException.java: Likewise.
3474         * java/util/zip/ZipException.java: Likewise.
3476 2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>
3478         * java/rmi/AccessException.java: Remerge from Classpath.
3479         * java/rmi/AlreadyBoundException.java: Ditto.
3480         * java/rmi/ConnectException.java: Ditto.
3481         * java/rmi/ConnectIOException.java: Ditto.
3482         * java/rmi/MarshalException.java: Ditto.
3483         * java/rmi/NoSuchObjectException.java: Ditto.
3484         * java/rmi/NotBoundException.java: Ditto.
3485         * java/rmi/RemoteException.java: Ditto.
3486         * java/rmi/RMISecurityException.java: Ditto.
3487         * java/rmi/ServerError.java: Ditto.
3488         * java/rmi/ServerException.java: Ditto.
3489         * java/rmi/ServerRuntimeException.java: Ditto.
3490         * java/rmi/StubNotFoundException.java: Ditto.
3491         * java/rmi/UnexpectedExcpetion.java: Ditto.
3492         * java/rmi/UnknownHostException.java: Ditto.
3493         * java/rmi/UnmarshalException.java: Ditto.
3495 2002-06-15  Tom Tromey  <tromey@redhat.com>
3497         * java/lang/AbstractMethodError.java: Re-merged with Classpath.
3498         * java/lang/ArithmeticException.java: Likewise.
3499         * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
3500         * java/lang/ArrayStoreException.java: Likewise.
3501         * java/lang/Byte.java: Likewise.
3502         * java/lang/CharSequence.java: Likewise.
3503         * java/lang/ClassCastException.java: Likewise.
3504         * java/lang/ClassCircularityError.java: Likewise.
3505         * java/lang/ClassFormatError.java: Likewise.
3506         * java/lang/CloneNotSupportedException.java: Likewise.
3507         * java/lang/Cloneable.java: Likewise.
3508         * java/lang/Comparable.java: Likewise.
3509         * java/lang/Compiler.java: Likewise.
3510         * java/lang/Error.java: Likewise.
3511         * java/lang/ExceptionInInitializerError.java: Likewise.
3512         * java/lang/IllegalAccessError.java: Likewise.
3513         * java/lang/IllegalAccessException.java: Likewise.
3514         * java/lang/IllegalArgumentException.java: Likewise.
3515         * java/lang/IllegalMonitorStateException.java: Likewise.
3516         * java/lang/IllegalStateException.java: Likewise.
3517         * java/lang/IllegalThreadStateException.java: Likewise.
3518         * java/lang/IncompatibleClassChangeError.java: Likewise.
3519         * java/lang/IndexOutOfBoundsException.java: Likewise.
3520         * java/lang/InheritableThreadLocal.java: Likewise.
3521         * java/lang/InstantiationError.java: Likewise.
3522         * java/lang/InstantiationException.java: Likewise.
3523         * java/lang/InternalError.java: Likewise.
3524         * java/lang/InterruptedException.java: Likewise.
3525         * java/lang/LinkageError.java: Likewise.
3526         * java/lang/NegativeArraySizeException.java: Likewise.
3527         * java/lang/NoClassDefFoundError.java: Likewise.
3528         * java/lang/NoSuchFieldError.java: Likewise.
3529         * java/lang/NoSuchFieldException.java: Likewise.
3530         * java/lang/NoSuchMethodError.java: Likewise.
3531         * java/lang/NoSuchMethodException.java: Likewise.
3532         * java/lang/NullPointerException.java: Likewise.
3533         * java/lang/NumberFormatException.java: Likewise.
3534         * java/lang/OutOfMemoryError.java: Likewise.
3535         * java/lang/Process.java: Likewise.
3536         * java/lang/Runnable.java: Likewise.
3537         * java/lang/RuntimePermission.java: Likewise.
3538         * java/lang/SecurityException.java: Likewise.
3539         * java/lang/Short.java: Likewise.
3540         * java/lang/StackOverflowError.java: Likewise.
3541         * java/lang/StringIndexOutOfBoundsException.java: Likewise.
3542         * java/lang/ThreadDeath.java: Likewise.
3543         * java/lang/ThreadLocal.java: Likewise.
3544         * java/lang/UnknownError.java: Likewise.
3545         * java/lang/UnsatisfiedLinkError.java: Likewise.
3546         * java/lang/UnsupportedClassVersionError.java: Likewise.
3547         * java/lang/UnsupportedOperationException.java: Likewise.
3548         * java/lang/VerifyError.java: Likewise.
3549         * java/lang/VirtualMachineError.java: Likewise.
3550         * java/lang/reflect/InvocationTargetException.java: Likewise.
3551         * java/net/BindException.java: Likewise.
3552         * java/net/ConnectException.java: Likewise.
3553         * java/net/MalformedURLException.java: Likewise.
3554         * java/net/NoRouteToHostException.java: Likewise.
3555         * java/net/ProtocolException.java: Likewise.
3556         * java/net/SocketException.java: Likewise.
3557         * java/net/UnknownHostException.java: Likewise.
3558         * java/net/UnknownServiceException.java: Likewise.
3560         * java/io/BufferedOutputStream.java: Re-merged with Classpath.
3561         * java/io/CharConversionException.java: Likewise.
3562         * java/io/EOFException.java: Likewise.
3563         * java/io/FileNotFoundException.java: Likewise.
3564         * java/io/IOException.java: Likewise.
3565         * java/io/InterruptedIOException.java: Likewise.
3566         * java/io/InvalidClassException.java: Likewise.
3567         * java/io/InvalidObjectException.java: Likewise.
3568         * java/io/NotActiveException.java: Likewise.
3569         * java/io/NotSerializableException.java: Likewise.
3570         * java/io/ObjectStreamException.java: Likewise.
3571         * java/io/ObjectStreamConstants.java: Likewise.
3572         * java/io/OptionalDataException.java: Likewise.
3573         * java/io/PipedInputStream.java: Likewise.
3574         * java/io/PushbackInputStream.java: Likewise.
3575         * java/io/StreamCorruptedException.java: Likewise.
3576         * java/io/SyncFailedException.java: Likewise.
3577         * java/io/UTFDataFormatException.java: Likewise.
3578         * java/io/UnsupportedEncodingException.java: Likewise.
3579         * java/io/WriteAbortedException.java: Likewise.
3581 2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>
3583         * java/text/ChoiceFormat.java: Update comments from Classpath.
3584         * java/text/ParseException.java (serialVersionUID): New
3585         field from Classpath.
3586         * java/text/ParseException.java: Update formatting & comments
3587         from Classpath.
3589 2002-06-15  Tom Tromey  <tromey@redhat.com>
3591         * java/util/zip/InflaterInputStream.java (read): Loop if data has
3592         been read but none output by inflater.
3593         * java/util/zip/natDeflater.cc (reset): Set is_finished.
3594         * java/util/zip/natInflater.cc (reset): Set dist_needed and
3595         is_finished.
3596         * java/util/zip/ZipOutputStream.java: Replaced with Classpath
3597         version.
3598         * java/util/zip/ZipFile.java: Replaced with Classpath version.
3599         * java/util/zip/ZipEntry.java: Replaced with Classpath version.
3600         * java/util/zip/ZipInputStream.java: Replaced with Classpath
3601         version.
3602         * java/util/zip/ZipConstants.java: Replaced with Classpath version.
3604 2002-06-13  Tom Tromey  <tromey@redhat.com>
3606         * java/lang/natString.cc (init): Handle case where DONT_COPY is
3607         true and OFFSET!=0.
3608         * java/lang/String.java (String(char[],int,int,boolean): New
3609         constructor.
3610         * java/lang/Long.java: Imported new version from Classpath.
3611         * java/lang/Number.java: Likewise.
3612         * java/lang/Integer.java: Likewise.
3613         * java/lang/Long.java: Likewise.
3614         * java/lang/Float.java: Likewise.
3615         * java/lang/Boolean.java: Likewise.
3616         * java/lang/Double.java: Likewise.
3617         * java/lang/Void.java: Likewise.
3619 2002-06-12  Tom Tromey  <tromey@redhat.com>
3621         * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
3622         Fixes PR libgcj/6652.
3624 2002-06-10  Tom Tromey  <tromey@redhat.com>
3626         * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
3627         (Class::getPackagePortion): Likewise.
3628         * java/lang/Class.java (desiredAssertionStatus): New method from
3629         Classpath.
3630         (getPackagePortion): Likewise.
3631         * java/lang/VMClassLoader.java (defaultAssertionStatus,
3632         packageAssertionStatus, classAssertionStatus): New methods from
3633         Classpath.
3634         * java/lang/ClassLoader.java (defaultAssertionStatus,
3635         systemPackageAssertionStatus, packageAssertionStatus,
3636         systemClassAssertionStatus, classAssertionStatus): New fields from
3637         Classpath.
3638         (setDefaultAssertionStatus, setPackageAssertionStatus,
3639         setClassAssertionStatus, clearAssertionStatus): New methods from
3640         Classpath.
3641         * Makefile.in: Rebuilt.
3642         * Makefile.am (core_java_source_files): Added AssertionError.java.
3643         * java/lang/AssertionError.java: New from Classpath.
3645 2002-06-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3647         * configure.host: Disable hash synchronization and slow_pthread_self
3648         for cygwin.
3650 2002-06-06  Adam Megacz <adam@xwt.org>
3652         * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
3653         locking, just like the Sun JVM does.
3655 2002-06-05  H.J. Lu  (hjl@gnu.org)
3657         * Makefile.am (libgcj_convenience.la): Revert the last change.
3658         (libgcj.la): Likewise.
3659         * Makefile.in: Regenerated.
3661 2002-06-04  H.J. Lu  (hjl@gnu.org)
3663         * Makefile.am (libgcj_convenience.la): New target.
3664         (libgcj.la): Depend on libgcj_convenience.la.
3665         * Makefile.in: Regenerated.
3667 2002-06-04  H.J. Lu  (hjl@gnu.org)
3669         * configure.in (--with-newlib): New option:
3670         Check ${with_newlib} instead of ${with_cross_host} for newlib.
3671         (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
3672         Linux.
3673         * configure: Regenerated.
3675 2002-06-04  Tom Tromey  <tromey@redhat.com>
3677         * java/util/natTimeZone.cc: Include <stdio.h>.
3679 2002-05-29  Ulrich Weigand  <uweigand@de.ibm.com>
3681         * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
3682         * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
3683         Set SIGNAL_HANDLER=include/s390-linux.h.
3684         * configure: Regenerate.
3685         * include/s390-linux.h: New file.
3687 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3689         * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
3690         not "stackTrace".
3692 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3694         Merge JDK 1.4 java.security changes from classpath.
3696         * java/security/AccessControlException.java: Merge from Classpath.
3697         * java/security/AccessController.java: Likewise.
3698         * java/security/AllPermission.java: Likewise.
3699         * java/security/BasicPermission.java: Likewise.
3700         * java/security/Certificate.java: Likewise.
3701         * java/security/CodeSource.java: Likewise.
3702         * java/security/DigestException.java: Likewise.
3703         * java/security/DigestOutputStream.java: Likewise.
3704         * java/security/DomainCombiner.java: Likewise.
3705         * java/security/GeneralSecurityException.java: Likewise.
3706         * java/security/Guard.java: Likewise.
3707         * java/security/GuardedObject.java: Likewise.
3708         * java/security/InvalidAlgorithmParameterException.java: Likewise.
3709         * java/security/InvalidKeyException.java: Likewise.
3710         * java/security/InvalidParameterException.java: Likewise.
3711         * java/security/Key.java: Likewise.
3712         * java/security/KeyException.java: Likewise.
3713         * java/security/KeyManagementException.java: Likewise.
3714         * java/security/KeyStoreException.java: Likewise.
3715         * java/security/MessageDigest.java: Likewise.
3716         * java/security/NoSuchAlgorithmException.java: Likewise.
3717         * java/security/NoSuchProviderException.java: Likewise.
3718         * java/security/Permission.java: Likewise.
3719         * java/security/PermissionCollection.java: Likewise.
3720         * java/security/Permissions.java: Likewise.
3721         * java/security/Policy.java: Likewise.
3722         * java/security/Principal.java: Likewise.
3723         * java/security/PrivateKey.java: Likewise.
3724         * java/security/PrivilegedAction.java: Likewise.
3725         * java/security/PrivilegedActionException.java: Likewise.
3726         * java/security/PrivilegedExceptionAction.java: Likewise.
3727         * java/security/ProtectionDomain.java: Likewise.
3728         * java/security/ProviderException.java: Likewise.
3729         * java/security/PublicKey.java: Likewise.
3730         * java/security/SecureClassLoader.java: Likewise.
3731         * java/security/SecurityPermission.java: Likewise.
3732         * java/security/SignatureException.java: Likewise.
3733         * java/security/UnrecoverableKeyException.java: Likewise.
3734         * java/security/UnresolvedPermission.java: Likewise.
3735         * java/security/acl/AclNotFoundException.java: Likewise.
3736         * java/security/acl/LastOwnerException.java: Likewise.
3737         * java/security/acl/NotOwnerException.java: Likewise.
3738         * java/security/cert/CRLException.java: Likewise.
3739         * java/security/cert/CertificateEncodingException.java: Likewise.
3740         * java/security/cert/CertificateException.java: Likewise.
3741         * java/security/cert/CertificateExpiredException.java: Likewise.
3742         * java/security/cert/CertificateFactory.java: Likewise.
3743         * java/security/cert/CertificateNotYetValidException.java: Likewise.
3744         * java/security/cert/CertificateParsingException.java: Likewise.
3745         * java/security/spec/InvalidKeySpecException.java: Likewise.
3746         * java/security/spec/InvalidParameterSpecException.java: Likewise.
3748         * java/security/cert/CertPath.java: New file.
3749         * java/security/cert/CertPathBuilderException.java: New file.
3750         * java/security/cert/CertPathValidatorException.java: New file.
3751         * java/security/cert/CertStoreException.java: New file.
3753         * Makefile.am: Add new CertPath classes.
3754         * Makefile.in: Rebuilt.
3756         * gnu/java/util/EmptyEnumeration.java: New file from classpath.
3758 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3760         Merge JDK 1.4 exception chaining support from classpath.
3762         * java/lang/Throwable.java: Merge 1.4 support from classpath.
3763         (stackTraceBytes): Rename from stackTrace.
3764         * java/lang/Exception.java: Merge from classpath.
3765         * java/lang/StackTraceElement: New file from classpath.
3766         * gcj/javaprims.h: Rebuild CNI namespace declarations.
3767         * Makefile.am: Add StackTraceElement.
3768         * Makefile.in: Rebuilt.
3770 2002-05-23  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
3772         * Makefile.am (all-recursive): Depend on $all_java_class_files so that
3773         they build first.
3774         * Makefile.in: Rebuilt.
3776 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3778         * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
3779         * configure.in: Likewise.
3780         * aclocal.m4: Regenerate.
3781         * configure: Regenerate.
3783 2002-05-13  Tom Tromey  <tromey@redhat.com>
3785         * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
3786         * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
3787         Include platform.h.
3789         Fixes PR libgcj/6389:
3790         * Makefile.in: Rebuilt.
3791         * Makefile.am (nat_source_files): Added natTimeZone.cc.
3792         * java/util/natTimeZone.cc: New file.
3793         * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
3794         * java/lang/System.java: Merged with Classpath.
3795         * java/lang/Runtime.java: Merged with Classpath.
3796         * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
3797         security check.
3798         (setIn0): Renamed from setIn; don't run security check.
3799         (setOut0): Renamed from setOut; don't run security check.
3800         (file_encoding, getpwuid_adaptor, getSystemTimeZone,
3801         init_properties): Moved to natRuntime.cc.
3802         Moved many includes to natRuntime.cc.
3803         (isWordsBigEndian): New method.
3804         * java/lang/natRuntime.cc: Include Long.h, also other includes
3805         previously in natSystem.cc.
3806         (maxMemory): New function.
3807         (exitInternal): Renamed from `_exit'.
3808         (exit): Removed.
3809         (init): Don't set finalize_on_exit.
3810         (exitInternal): Use `finalizeOnExit'.
3811         (file_encoding, getpwuid_adaptor): New functions from
3812         natSystem.cc.
3813         (insertSystemProperties): New method, renamed from
3814         System::init_properties.  Don't set user.timezone.
3815         (_load): Don't call checkLink.
3816         (execInternal): New method.
3817         (availableProcessors): Likewise.
3818         (nativeGetLibname): Likewise.
3820 2002-05-11  Mark Wielaard  <mark@klomp.org>
3822         * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
3823         space characters.
3824         (previous_internal): Likewise.
3826 2002-05-09  Tom Tromey  <tromey@redhat.com>
3828         * jni.cc (_Jv_JNIFunctions): Fixed typo.
3830         * java/util/ResourceBundle.java: New version from Classpath.
3831         * java/util/Locale.java: Likewise.
3833 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
3835         * testsuite/lib/libjava.exp (libjava_arguments): Append all
3836         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
3837         LD_LIBRARY_PATH.
3839 2002-05-08  Mark Mitchell  <mark@codesourcery.com>
3841         * libjava/Makefile.am (all_java_source_files): New variable.
3842         (all_java_class_files): Likewise.
3843         .java.class: New rule.
3844         (CLEANFILES): Remove tmp-list.
3845         * libjava/Makefile.in: Regenerated.
3847 2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
3849         * testsuite/lib/libjava.exp (test_libjava_from_javac):
3850         Append .exe to executable names.  Fix for cygwin.
3852 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
3854         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3855         script entry, and set LD to it when configuring multilibs.
3856         * configure: Rebuilt.
3858 2002-05-07  Tom Tromey  <tromey@redhat.com>
3860         * java/lang/natString.cc (unintern): Fixed typo.
3862 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
3864         * testsuite/lib/libjava.exp (libjava_arguments): Don't link
3865         with -no-install on *-*-cygwin*.
3867 2002-05-06  David.Billinghurst  <David.Billinghurst@riotinto.com>
3869         * testsuite/lib/libjava.exp (test_libjava_from_source):
3870         Add comment explaining last patch
3872 2002-05-04  David Billinghurst  <David.Billinghurst@riotinto.com>
3874         * testsuite/lib/libjava.exp (test_libjava_from_source):
3875         Append .exe to executable names.  If no suffix is present,
3876         then ".exe" is added by default on win32.  Harmless
3877         elsewhere so always do it.
3879 2002-05-03  David Billinghurst  <David.Billinghurst@riotinto.com>
3880             Tom Tromey  <tromey@redhat.com>
3882         * java/lang/natSystem.cc (getSystemTimeZone): Use
3883         HAVE_UNDERSCORE_TIMEZONE.
3884         * include/config.h.in: Rebuilt.
3885         * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
3886         * aclocal.m4, configure: Rebuilt.
3887         * acinclude.m4: Run AC_EXEEXT.
3888         * configure.in: Adjust test for `timezone' so it fails on Cygwin.
3889         Add test for `_timezone'.
3891 2002-05-03  Alexandre Oliva  <aoliva@redhat.com>
3893         Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3894         * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
3895         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
3896         * Makefile.in: Rebuilt.
3898 2002-05-02  Hans Boehm  <Hans_Boehm@hp.com>
3900         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
3901         use sigaction instead of __libc_sigaction.
3903 2002-05-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3905         * testsuite/lib/libjava.exp (libjava_find_spec): New function.
3906         (libjava_init): Use it to find libgcj.spec.
3907         (libjava_arguments): Likewise.
3909 2002-05-02  David S. Miller  <davem@redhat.com>
3911         PR bootstrap/6525
3912         * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
3913         __libc_sigaction on Sparc.
3915 2002-05-02  Jerome Marc  <marcjero@yahoo.com>
3917         * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
3918         sys/filio.h, if present.
3920 2002-04-30  Tom Tromey  <tromey@redhat.com>
3922         * java/io/BufferedReader.java (fill): Handle case where markPos
3923         point to ignored \n.  Fixes PR libgcj/6301.
3925 2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>
3927         * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
3929 2002-04-29  Adam King <aking@dreammechanics.com>
3931         * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
3932         of file in APPEND mode.
3934 2002-04-25  David S. Miller  <davem@redhat.com>
3936         PR target/6422
3937         * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
3938         program counter to next program counter minus 8.  Update
3939         comments in this macro to explain why.
3941 2002-04-26  Tom Tromey  <tromey@redhat.com>
3943         * verify.cc (construct_primitive_array_type) [void_type]: New
3944         case.
3945         (branch_prepass): Added dummy entries for unused instruction
3946         values.
3947         (verify_instructions_0): Likewise.
3948         * interpret.cc (continue1): Comment fix.
3949         * include/java-insns.h (op_xxxunusedxxx1): Removed.
3950         * Makefile.in: Rebuilt.
3951         * Makefile.am: Added -Wswitch-enum.
3953 2002-04-24  Tom Tromey  <tromey@redhat.com>
3955         * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
3956         correct length of UTF-8 encoded name.  Strip leading `/'.
3957         (_Jv_RegisterResource): Use _Jv_Malloc.
3959 2002-04-23  Adam Megacz <adam@xwt.org>
3961         * win32.cc, include/win32.cc (backtrace): Added this function
3962         because Win32 does not supply it.
3964 2002-04-21  David S. Miller  <davem@redhat.com>
3966         * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
3967         magic instruction reading sequence.
3969 2002-04-21  Mark Wielaard  <mark@klomp.org>
3971         * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
3973 2002-04-19  David S. Miller  <davem@redhat.com>
3975         * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
3976         arg.
3977         (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
3978         (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
3979         on Sparc too.
3980         * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
3981         for 64-bit sparc.
3982         (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
3983         * sysdeps/sparc/locks.h: New file.
3984         * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
3985         on all sparc Solaris configurations.  Set to
3986         include/dwarf2-signal.h on sparc Linux.
3987         * configure: Regenerate
3988         * configure.host (can_unwind_signal): sparc*-linux* can do it now.
3990 2002-04-19  Hans Boehm <Hans_Boehm@hp.com>
3992         * configure: Rebuilt.
3993         * configure.in (backtrace): Function doesn't work on IA-64.
3995 2002-04-17  Adam King <aking@dreammechanics.com>
3997         * java/io/File.java (normalizePath): Add Win32 support for auto
3998         conversion of a '/' path separator to Win32's '\' separator.
4000 2002-04-16  Tom Tromey  <tromey@redhat.com>
4002         Fix for PR libgcj/6081:
4003         * Makefile.in: Rebuilt.
4004         * Makefile.am (install-data-local): Use GNU make trick to avoid
4005         shell limit.
4007 2002-04-16  Adam King <aking@dreammechanics.com>
4008             Tom Tromey  <tromey@redhat.com>
4010         * java/io/natFileWin32.cc (performList): Return the correct array
4011         type.  Don't duplicate the creation of a File since it's already
4012         done earlier in the method and the existing code would cause a
4013         ArrayStoreException.  Don't use fixed-size array.
4014         (_access, _stat, attr, getCanonicalPath, performMkdir,
4015         performRenameTo): Don't use fixed-size array.
4016         (getCanonicalPath): Use throw, not _Jv_Throw.
4018 2002-04-15  DJ Delorie  <dj@redhat.com>
4020         * configure.in: Allow building in $srcdir.
4021         * configure: Regenerated.
4023 2002-04-14  Mark Wielaard <mark@klomp.org>
4025         * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
4026         * java/net/natSocketImpl.cc (close): Likewise.
4028 2002-04-14  Mark Wielaard <mark@klomp.org>
4030         * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
4032 2002-04-13  Adam King <aking@dreammechanics.com>
4034         * java/lang/natDouble.cc (parseDouble): Allow a number to end with
4035         the f/F/d/D modifiers.
4037 2002-04-12  Anthony Green  <green@redhat.com>
4039         * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
4040         Create libgcj-@gcc_version@.jar instead of libgcj.jar.
4041         * Makefile.in: Rebuilt.
4042         * configure.in: Substitute gcc_version.
4043         * configure: Rebuilt.
4045 2002-04-11  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4047         * configure.host: Set can_unwind_signal on hosts which support it.
4048         Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
4049         * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
4050         exceptions and can_unwind_signal isn't set.
4051         * configure: Rebuilt.
4053 2002-04-11  Tom Tromey  <tromey@redhat.com>
4055         * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
4057 2002-04-11  Adam King <aking@dreammechanics.com>
4058             Tom Tromey  <tromey@redhat.com>
4060         * include/jvm.h (_Jv_ThrowBadArrayIndex,
4061         _Jv_ThrowNullPointerException): Mark as noreturn.
4062         * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
4063         and _Jv_free.  Correctly invoke GetTempPath().  Indentation
4064         fixes.
4066 2002-04-10  Tom Tromey  <tromey@redhat.com>
4068         * Makefile.in: Rebuilt.
4069         * Makefile.am (java/lang/Thread.h): Mark
4070         _Jv_AttachCurrentThreadAsDaemon as friend.
4071         * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
4072         * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
4073         * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
4074         function.
4075         * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
4076         * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
4077         (_Jv_JNI_InvokeFunctions): Added
4078         _Jv_JNI_AttachCurrentThreadAsDaemon.
4079         (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
4080         (JNI_GetDefaultJavaVMInitArgs): Likewise.
4081         (JNI_CreateJavaVM): Likewise.
4082         (_Jv_JNI_AttachCurrentThread): Likewise.
4083         (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
4084         (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
4085         (_Jv_JNIFunctions): Initialize new fields.
4086         (_Jv_JNI_NewDirectByteBuffer): New function.
4087         (_Jv_JNI_GetDirectBufferAddress): Likewise.
4088         (_Jv_JNI_GetDirectBufferCapacity): Likewise.
4089         * include/jni.h (JNI_VERSION_1_4): New macro.
4090         (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
4091         (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
4092         (JNINativeInterface::NewDirectByteBuffer): New field.
4093         (JNINativeInterface::GetDirectBufferAddress): New field.
4094         (JNINativeInterface::GetDirectBufferCapacity): New field.
4095         (_Jv_JNIEnv::NewDirectByteBuffer): New method.
4096         (_Jv_JNIEnv::GetDirectBufferAddress): New method.
4097         (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
4099 2002-04-09  Tom Tromey  <tromey@redhat.com>
4101         * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
4103 2002-04-08  Alberto Biancardi  <alberto.biancardi@unipv.it>
4105         Fix for PR libgcj/6187:
4106         * java/awt/geom/Point2D.java (distance): Call distanceSq, not
4107         distance.
4109 2002-04-07  Mark Wielaard <mark@klomp.org>
4111         * java/util/AbstractMap.java (putAll): Use entrySet size.
4112         (toString): Explicitly use getKey() and getValue().
4114 2002-04-07  Mark Wielaard <mark@klomp.org>
4116         * java/util/Hashtable.java (contains): Remove NullPointer check.
4117         (containsValue): Add NullPointer check.
4118         (remove): Always throw NullPointerException when key
4119         is null.
4121 2002-04-07  Adam King <aking@dreammechanics.com>
4123         * java/lang/natSystem.cc (init_properties): Call new function
4124         _Jv_platform_initProperties.
4125         * win32.cc (_Jv_platform_initProperties): New function that adds Win32
4126         support for the System properties os.name, os.arch, os.version,
4127         user.name, user.home, and user.dir.
4128         * include/posix.h, include/win32.h, posix.cc: New function
4129         _Jv_platform_initProperties.
4131 2002-04-06  Mark Wielaard <mark@klomp.org>
4133         * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
4135 2002-04-06  Mark Wielaard <mark@klomp.org>
4137         * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
4138         all of the remaining elements.
4139         * java/util/Vector.java (addAll(int,Collection)): Likewise.
4140         (removeRange): If toIndex == fromIndex do
4141         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
4142         (removeAll): Always throw NullPointerException when collection is
4143         null.
4144         (retrainAll): Likewise.
4146 2002-04-05  Mark Wielaard <mark@klomp.org>
4148         * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
4149         nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
4151 2002-04-05  Adam Megacz <adam@xwt.org>
4153         * exception.cc (abort): added static modifier
4155 2002-04-04  Adam Megacz <adam@xwt.org>
4157         * include/win32.h (_Jv_platform_close_on_exec): added inline
4158         modifier.
4160 2002-04-04  Loren J. Rittle  <ljrittle@acm.org>
4162         * configure.host: Add case statement to support generic port
4163         properties.  Add *-*-freebsd* section.
4165 2002-04-04  Mark Wielaard  <mark@klomp.org>
4167         * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
4168         test.
4169         * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
4170         FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
4171         that depend on awt code and BufferedByteOutputStream.interrupt.
4173 2002-04-04  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4175         * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
4176         incorrect "hi" value when count > 40.
4178 2002-04-03  Mark Wielaard  <mark@klomp.org>
4180         * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
4181         ordering.
4183 2002-04-02  Tom Tromey  <tromey@redhat.com>
4185         * java/lang/natClassLoader.cc (findClass): Compare against `3',
4186         not `0'.
4188 2002-04-02  Mark Wielaard  <mark@klomp.org>
4190         * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
4191         list of testsuite crashers.
4193 2002-04-02  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4195         * java/util/IdentityHashMap.java (put): Set new threshold correctly
4196         when resizing table.
4198 2002-04-01  Mark Wielaard  <mark@klomp.org>
4200         * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
4201         NegativeArraySizeException
4202         (clear(int)): Use sign extended shift.
4203         (flip(int)): Likewise.
4204         (get(int)): Likewise.
4205         (nextClearBit(int)): Likewise.
4206         (nextSetBit(int)): Likewise.
4207         (set(int)): Likewise.
4209 2002-04-01  Mark Wielaard  <mark@klomp.org>
4211         * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
4212         that can be compiled now and add testsuite crashers to ignore list.
4214 2002-03-31  Alexandre Oliva  <aoliva@redhat.com>
4216         * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
4218         * libgcj.spec.in: Override libgcc, not lib.
4219         * libgcj-test.spec.in: Likewise.
4221 2002-03-29  Tom Tromey  <tromey@redhat.com>
4223         * java/net/natPlainDatagramSocketImpl.cc (close): New function.
4224         * java/net/natPlainSocketImpl.cc (close): Indentation fix.
4226 2002-03-27  Jeff Sturm  <jsturm@one-point.com>
4228         * java/net/PlainDatagramSocketImpl.java
4229         (close): Use native implementation.
4230         (finalize): New method.
4232         * java/net/PlainSocketImpl.java (finalize): New method.
4234         * java/net/natPlainDatagramSocketImpl.cc
4235         (java/io/FileDescriptor.h): Don't include.
4236         (close): Implement method here.
4237         (create): Don't assign fd.
4239         * java/net/natPlainSocketImpl.cc
4240         (java/io/FileDescriptor.h): Don't include.
4241         (create): Don't assign fd.
4242         (accept): Likewise.
4243         (close): Synchronize.
4245 2002-03-27  Richard Henderson  <rth@redhat.com>
4247         * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
4249 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
4251         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
4252         (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
4253         instead of syscall on IA-64.
4254         Add FIXME comment.
4256 2002-03-27  Anthony Green  <green@redhat.com>
4258         * libgcj.spec.in: Add CHECKREFSPEC.
4259         * configure.in: Ditto.
4260         * configure.host: Ditto.  Check references for xscale-elf.
4261         * configure: Rebuilt.
4263 2002-03-26  Hans Boehm <Hans_Boehm@hp.com>
4265         * include/dwarf2-signal.h: Temporarily back out last change.
4267 2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
4269         * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
4271 2002-03-25  Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
4273         * configure.in, configure: enable dwarf2-exception-style
4274         exception handling on IA-64.
4275         * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
4276         (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
4277         Add FIXME comment.
4279 2002-03-25  Tom Tromey  <tromey@redhat.com>
4281         * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
4282         (jv_convert_LDFLAGS): Likewise.
4283         (gij_LDFLAGS): Likewise.
4284         (rmic_LDFLAGS): Likewise.
4285         (rmiregistry_LDFLAGS): Likewise.
4286         * configure.in (THREADLDFLAGS): New subst; set correctly for
4287         *BSD.
4289 2002-03-25  Tom Tromey  <tromey@redhat.com>
4291         For PR libgcj/5303:
4292         * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
4293         and --version.
4294         (help): New method.
4295         (version): Likewise.
4296         * gnu/gcj/convert/Convert.java (version): Removed extraneous
4297         "GNU".
4298         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
4299         "GNU".
4301 2002-03-25  Tom Tromey  <tromey@redhat.com>
4303         * java/awt/Component.java (processEvent): Check ComponentEvent
4304         after KeyEvent.
4306 2002-03-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4308         * java/io/PushbackReader.java: Reformat.
4310         * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
4311         calculate correct number of bytes skipped.
4313         Based on patch from Intel's ORP team:
4314         * java/io/PushbackInputStream.java (available): Calculate correct
4315         number of bytes in buffer.
4316         (read): Remove redundant bound check. Return bytes from both the
4317         buffer and the stream.
4319 2002-03-24  Tom Tromey  <tromey@redhat.com>
4321         * java/awt/TextComponent.java (TextComponent): Editable by
4322         default.
4324         * java/awt/MenuItem.java (eventMask): No longer private.
4325         * java/awt/Button.java (dispatchEventImpl): Only dispatch to
4326         superclass if we didn't handle event.
4327         * java/awt/Checkbox.java (dispatchEventImpl): New method.
4328         * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
4329         * java/awt/Choice.java (dispatchEventImpl): New method.
4330         * java/awt/List.java (dispatchEventImpl): New method.
4331         * java/awt/Scrollbar.java (dispatchEventImpl): New method.
4332         * java/awt/TextComponent.java (dispatchEventImpl): New method.
4333         * java/awt/TextField.java (dispatchEventImpl): New method.
4335 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
4337         * java/beans/IntrospectionException.java: Update to 1.4.
4338         * java/beans/PropertyVetoException.java: Ditto.
4340 2002-03-24  Eric Blake  <ebb9@email.byu.edu>
4342         * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
4343         Arrays.equals instead of ArrayHelper.equalsArray.
4345 2002-03-24  C. Brian Jones <cbj@gnu.org>
4347         * java/beans/Introspector.java: added new static final fields
4348         introduced in 1.2, lots of other updates remain to be done
4350 2002-03-24  C. Brian Jones <cbj@gnu.org>
4352         * java/beans/Introspector.java: reformatting
4354 2002-03-24  C. Brian Jones <cbj@gnu.org>
4356         * java/beans/Introspector.java: default beanInfoSearchPath will
4357         not include sun.beans.infos given we provide no such package and
4358         the API doesn't really require it; gnu.java.beans.info is the
4359         default.
4361 2002-03-24  Mark Wielaard  <mark@klomp.org>
4363         Thanks to Orp developers
4364         * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
4365         switch TRUE and FALSE return values.
4367 2002-03-23  Tom Tromey  <tromey@redhat.com>
4369         * include/name-finder.h (_Jv_name_finder::myclose): New method.
4370         * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
4372 2002-03-23  Michael Smith  <msmith@spinnakernet.com>
4374         * java/util/GregorianCalendar.java (minimums, maximums): Correct
4375         MONTH entry.  Fixes PR libgcj/6045.
4377 2002-03-23  Jeff Sturm  <jsturm@one-point.com>
4379         * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
4381 2002-03-20  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4383         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
4384         not release_set.
4385         * sysdep/powerpc/locks.h (write_barrier): New function.
4386         * sysdep/i386/locks.h (write_barrier): New function.
4388 2002-03-19  Martin Kahlert  <martin.kahlert@infineon.com>
4390         * include/jni.h Use correct C comments.
4392 2002-03-18  Tom Tromey  <tromey@redhat.com>
4394         * include/jni.h (JNIIMPORT): New macro.
4395         (JNIEXPORT): Likewise.
4396         (JNICALL): Likewise.
4398 2002-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4400         * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
4401         systems.
4403 2002-03-18  Andrew Haley  <aph@cambridge.redhat.com>
4405         * include/i386-signal.h (old_i386_kernel_sigaction): New.
4406         INIT_SEGV: Use old_i386_kernel_sigaction.
4407         INIT_FP: Likewise.
4409 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4411         * java/lang/natSystem.cc (init_properties): Update VM version
4412         properties.
4413         * configure.in: Set GCJVERSION.
4414         * acconfig.h: Add GCJVERSION.
4415         * configure: Rebuilt.
4416         * include/config.h.in: Rebuilt.
4418 2002-03-17  Anthony Green  <green@redhat.com>
4420         * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
4422 2002-03-17  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4424         Build a single libgcj.so, without separate gc and zlib libraries.
4425         * configure.in: Use convenience libraries for boehm-gc and zlib. Set
4426         SYS_ZLIBS if system zlib is used.
4427         * configure: Rebuilt.
4428         * Makefile.am: Use boehm-gc and zlib convenience libraries.
4429         * Makefile.in: Rebuilt.
4430         * libtool-version: Increment .so version number.
4432         * Makefile.am: Escape quotes in echo.
4433         * Makefile.in: Rebuilt.
4435 2002-03-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4437         * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
4438         * Makefile.in: Rebuilt.
4440 2002-03-15  Anthony Green  <green@redhat.com>
4442         * configure.host (FILE): New macro for specifing File
4443         implementation.
4444         * configure: Rebuilt.
4445         * configure.in: Use FILE.  Define HAVE_TIME for newlib targets.
4447 2002-03-15  Alexandre Oliva  <aoliva@redhat.com>
4449         * Makefile.am (jv_convert_LDADD): Don't list libraries that are
4450         already implicitly brought in from libgcj.la.
4451         (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
4452         * Makefile.in: Rebuilt.
4454 2002-03-15  Eric Blake  <ebb9@email.byu.edu>
4456         * THANKS: Fix punctuation, alphabetization.
4458 2002-03-15  Tom Tromey  <tromey@redhat.com>
4459             Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4461         Fix for PR libgcj/5944.
4462         * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
4464 2002-03-15  Anthony Green  <green@redhat.com>
4466         * configure.in (tool_include_dir): Define.
4467         * configure: Rebuilt.
4468         * gcj/Makefile.am: Install libgcj-config.h relative to
4469         tool_include_dir.
4470         * gcj/Makefile: Rebuilt.
4471         * gcj/libgcj-config.h: Add warning comment.
4473 2002-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
4475         * configure.host (powerpc*-darwin*): Enable interpreter.
4477 2002-03-10  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4479         * include/posix.h: Add multiple include header protection.
4480         * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
4482 2002-03-10  Adam Megacz <adam@xwt.org>
4484         * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
4486 2002-03-10  Tom Tromey  <tromey@redhat.com>
4488         * java/awt/GridLayout.java (layoutContainer): Handle case where
4489         there are no items in container.
4491         * java/lang/Win32Process.java: Added comment.
4492         * include/posix.h (_Jv_platform_close_on_exec): New function.
4493         Include fcntl.h.
4494         * include/win32.h (_Jv_platform_close_on_exec): New function.
4495         * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
4496         flag.
4497         (accept): Likewise.
4498         * java/net/natPlainDatagramSocketImpl.cc (create): Set
4499         close-on-exec flag.
4500         * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
4501         flag.
4503 2002-03-09  Tom Tromey  <tromey@redhat.com>
4505         * verify.cc (state::NO_STACK): New constant.
4506         (state::is_unmerged_ret_state): Handle case where stacktop is
4507         NO_STACK.
4508         (state::merge): Handle NO_STACK merges.
4509         (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
4510         for instruction following jsr.
4511         (stacktop, stackdepth): Removed unused variables.
4512         (pop_jump): Ignore case where all remaining states are skipped.
4514 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4516         * java/awt/ImageMediaEntry: Removed.
4517         * java/awt/MediaEntry: Removed.
4519 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4521         Hashtable synchronization for PowerPC.
4522         * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
4523         slow_pthread_self. Set up symlink for sysdeps directory.
4524         * configure: Rebuild.
4525         * configure.host: Document more shell variables. Set sysdeps_dir
4526         for most platforms. Set slow_pthread_self for i686. Set
4527         enable_hash_synchronization_default and slow_pthread_self for PowerPC.
4528         * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
4529         that memory barrier is emitted where required.
4530         * prims.cc: 64-bit align static primitive class instances.
4531         * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
4532         read_barrier() to enforce ordering of reads.
4533         * sysdep/powerpc/locks.h: New file. Implementation of synchronization
4534         primitives for PowerPC.
4535         * sysdep/i386/locks.h: New file. Synchronization primitives for i386
4536         moved from natObject.cc.
4537         * sysdep/alpha/locks.h: Likewise.
4538         * sysdep/ia64/locks.h: Likewise.
4539         * sysdep/generic/locks.h: Likewise.
4540         * java/lang/natObject.cc: Move thread synchronization primitives to
4541         system-dependent headers.
4543 2002-03-09  Adam Megacz  <adam@xwt.org>
4545         * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
4546         bytes read and no failure code returned.
4548 2002-03-09  Adam Megacz  <adam@xwt.org>
4550         * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
4551         definitions to simulate -mthreads.
4553 2002-03-09  Adam Megacz  <adam@xwt.org>
4555         * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
4556         avoid precision loss.
4558 2002-03-09  Per Bothner  <per@bothner.com>
4560         * gnu/gcj/xlib/WindowAttributes.java  Assign null to RawData, not 0.
4561         * gnu/gcj/xlib/XImage.java:  Likewise.
4562         * gnu/gcj/xlib/XColor.java:  Likewise.
4564 2002-03-09  Adam Megacz  <adam@xwt.org>
4566         * java/lang/Win32Process.java (ConcreteProcess): Now throws an
4567         IOException so that Throwable.printStackTrace fails correctly.
4569 2002-03-08  Adam Megacz  <adam@xwt.org>
4571         * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
4572         fixed.
4574 2002-03-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4576         * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
4577         truncated to int.
4579 2002-03-08  Tom Tromey  <tromey@redhat.com>
4581         * include/jni.h: Include stdio.h.
4583 2002-03-08  Tom Tromey  <tromey@redhat.com>
4585         * posix.cc (internal_gettimeofday): New function.
4586         (_Jv_select): Use it.
4588 2002-03-07  Adam Megacz  <adam@xwt.org>
4590         * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
4591         WIN32, and added thunks for read(), write(), and close().
4592         * java/net/natPlainSocketImpl.cc (accept, read, read):
4593         Disabled timeouts on WIN32 pending discussion.
4595 2002-03-07  Adam Megacz  <adam@xwt.org>
4597         * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
4598         returns jlong. Added implementation
4599         * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
4600         returns jlong.
4601         * win32.h (_Jv_platform_gettimeofday): Now takes no args,
4602         returns jlong.
4603         * posix.h (_Jv_platform_gettimeofday): Now takes no args,
4604         returns jlong.
4605         * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
4606         _Jv_platform_gettimeofday signature.
4608 2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4610         * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
4611         (read): Call recv() directly, not _Jv_recv().
4613 2002-03-06  Tom Tromey  <tromey@redhat.com>
4615         * java/io/natFileDescriptorEcos.cc (init): Don't use
4616         GetStdHandle.
4617         * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
4618         is negative.
4619         (init): Don't use GetStdHandle.
4621         * include/config.h.in: Rebuilt.
4622         * configure: Rebuilt.
4623         * Makefile.in: Rebuilt.
4625 2002-03-06  Adam Megacz  <adam@xwt.org>
4627         * java/io/FileDescriptor.java: Initialize in/out/err in init().
4628         * java/io/natFileDescriptorWin32.cc (init()): Added function.
4629         * java/io/natFileDescriptorPosix.cc (init()): Added function.
4630         * java/io/natFileDescriptorEcos.cc (init()): Added function.
4632 2002-03-06  Eric Blake  <ebb9@email.byu.edu>
4634         * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
4635         the code for generating include/java-chartables.h.
4636         * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
4637         merge with Classpath.
4638         * scripts/unicode-muncher.pl: Copy from Classpath.
4639         * scritps/MakeCharTables.java: New file.
4640         * gnu/gcj/convert/Blocks-3.txt: New file.
4641         * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
4642         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
4643         * gnu/java/lang/CharData.java: Copy from Classpath.
4644         * Makefile.am (ordinary_java_source_files): Add
4645         gnu/java/lang/CharData.java.
4646         * configure.in: Remove --enable-fast-character option.
4647         * java/lang/Character.java: Merge algorithms and Javadoc with
4648         Classpath.
4649         * java/lang/natCharacter.cc: Implement Unicode lookup table more
4650         efficiently.
4651         * include/java-chardecomp.h: Regenerate.
4652         * include/java-chartables.h: Regenerate.
4654 2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4656         * java/awt/MediaTracker.java: Implemented.
4657         * Makefile.am: Add MediaTracker.
4658         * Makefile.in: Rebuilt.
4660 2002-03-05  Tom Tromey  <tromey@redhat.com>
4662         * java/lang/natPosixProcess.cc (fail): Removed.
4663         (startProcess): Simplified error-handling.  Preserve
4664         LD_LIBRARY_PATH across exec.
4666         * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
4667         AbstractMethodError.
4669 2002-03-03  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4671         * Makefile.am: Use -bootclasspath, not -CLASSPATH.
4672         * Makefile.in: Rebuilt.
4674 2002-03-03 Mark Wielaard <mark@klomp.org>
4676         * java/util/Timer (TaskQueue.stop): set elements to zero.
4678 2002-02-28  Anthony Green  <green@redhat.com>
4680         * java/lang/reflect/natMethod.cc (result): Add void* element.
4681         (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
4682         constructor test.
4684 2002-02-27  Adam Megacz <adam@xwt.org>
4686         * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
4687         '#undef STRICT'.
4689 2002-02-26  Tom Tromey  <tromey@redhat.com>
4691         * java/lang/natSystem.cc (init_properties): Use __VERSION__.
4692         * gij.cc (version): Use __VERSION__.
4693         * include/config.h.in: Rebuilt.
4694         * acconfig.h (GCJVERSION): Removed.
4695         * configure: Rebuilt.
4696         * configure.in (GCJVERSION): Removed.
4698 2002-02-26  Andreas Schwab  <schwab@suse.de>
4700         * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
4701         glibcpp_CXX, since libjava uses even another CXX.
4702         * aclocal.m4, configure: Regenerated.
4704 2002-02-26  Tom Tromey  <tromey@redhat.com>
4706         * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
4707         `1'.
4709 2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4711         * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
4712         dependency tracking for .java files.
4713         * Makefile.in: Rebuilt.
4715 2002-02-24  Adam Megacz  <adam@xwt.org>
4717         * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
4718         typo. Sorry.
4720 2002-02-24  Adam Megacz  <adam@xwt.org>
4722         * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
4723         for Win32, changed #ifdefs to check WIN32 instead of the
4724         (now-obsolete) USE_WINSOCK, and removed support for socket
4725         timeouts on Win32 pending further discussion.
4727 2002-02-24  Adam Megacz  <adam@xwt.org>
4729         * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
4730         * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
4731         delete
4733 2002-02-24  Adam Megacz  <adam@xwt.org>
4735         * java/lang/Win32Process.java: Created a dummy class to allow
4736         build process to run to completion.
4738 2002-02-24  Jeff Sturm  <jsturm@one-point.com>
4740         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
4741         Define ffi_result union for ffi_call result.  Cast
4742         ffi_result members to jvalue.
4744 2002-02-23  Alexandre Oliva  <aoliva@redhat.com>
4746         * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
4747         * testsuite/Makefile.in: Likewise.
4749 2002-02-20  Per Bothner  <per@bothner.com>
4751         * java/net/URL.java (getPath):  New JDK 1.3 method.
4753         * java/net/URLStreamHandler.java (parseURL):
4754         It is wrong to prepend '/' to the file part of a relative url.
4756         * java/net/URLStreamHandler.java (parseURL):
4757         Minor optizations - append '/' rather than "/".
4759         * java/net/URLStreamHandler.java (parseURL):
4760         Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
4761         We probably should canonicalize for a context-relative url, though.
4762         * java/net/URL.java (sameFile):  Delegate to URLStreamHandler.
4763         * java/net/URLStreamHandler.java (canonicalizeFilename):  New helper.
4764         (sameFile):  New method.  Uses canonicalizeFilename.
4766 2002-02-22  Tom Tromey  <tromey@redhat.com>
4768         * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
4769         java.vendor and java.vm.vendor.
4770         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
4771         recent copyright date.
4772         * gnu/gcj/convert/Convert.java (version): Print `Inc'.
4773         * gij.cc (version): Print `Inc'.
4775 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
4777         * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
4778         * aclocal.m4, configure: Rebuilt.
4780 2002-02-20  Per Bothner  <per@bothner.com>
4782         * gnu/gcj/protocol/file/Connection.java (conect):  Open the input
4783         and/or output streams immediately here, instead of using File.exists.
4784         (inputStream, outputStream):  New fields to save open streams.
4785         (getInputStream, getOutputStream):  Use already-opened streams.
4787 2002-02-22  Alexandre Oliva  <aoliva@redhat.com>
4789         * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
4790         Use it.
4791         * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
4792         * aclocal.m4, configure, Makefile.in: Rebuilt.
4794 2002-02-19  Tom Tromey  <tromey@redhat.com>
4796         Fix for PR libgcj/5696:
4797         * verify.cc (is_assignable_from_slow): Never call
4798         _Jv_IsAssignableFrom.
4799         (verify_instructions_0): Added new debug statement.
4800         (state::print): Print information about whether local has
4801         changed.
4802         (state::merge): Don't call note_variable when merging locals.
4803         (state::set_exception): Removed old FIXME comment.
4805 2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4807         * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
4808         enable SO_BROADCAST.
4810 2002-02-18  Jason Merrill  <jason@redhat.com>
4812         * name-finder.cc (toHex): Use word mode, not long long.
4814         * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
4816 2002-02-15  Tom Tromey  <tromey@redhat.com>
4818         Fix for PR libgcj/5695:
4819         * verify.cc (is_assignable_from_slow): Check to see if target is
4820         an Object before checking to see if source is an interface.
4821         (verify_instructions_0) [op_invokeinterface]: Handle case where
4822         we're making an interface call on Object.
4824 2002-02-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4826         * Makefile.in: Rebuilt with Eric's change below.
4828         * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
4829         round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
4830         Removed functions which are now implemented in Math.java.
4832 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
4834         * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
4835         * Makefile.am (core_java_source_files): Add
4836         java/lang/StrictMath.java.
4837         * java/lang/Math.java: Merge with Classpath.
4838         * java/lang/StrictMath.java: New file - merge with Classpath.
4840 2002-02-14  Mark Wielaard  <mark@klomp.org>
4842         * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
4843         package as a workaround for gcj 3.0.x
4845 2002-02-14  Mark Wielaard <mark@klomp.org>
4847         * java/security/BasicPermission.java: extends with fully qualified
4848         classname as workaround for gcj 3.0.4.
4850 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
4852         * java/net/DatagramSocketImpl.java (setOption, getOption): Work
4853         around gcj bug of wrong emitted qualifier for inherited method.
4854         * java/net/SocketImpl.java (setOption, getOption): Ditto.
4855         * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
4856         constructor to reduce amount of emitted bytecode. While this
4857         happens to work around a jikes 1.15 bug, it is still a useful
4858         patch even for correct compilers.
4859         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
4860         * gnu/java/rmi/server/UnicastRemoteCall.java
4861         (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
4863 2002-02-14  Eric Blake  <ebb9@email.byu.edu>
4865         * java/net/DatagramSocketImpl.java: Reformat (no code changes).
4866         * java/net/SocketImpl.java: Ditto.
4867         * java/rmi/server/RMIClassLoader.java: Ditto.
4868         * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
4870 2002-02-14  Mark Wielaard <mark@klomp.org>
4872         Thanks to Takashi Okamoto
4873         * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
4874         * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
4875         * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
4877 2002-02-13  Todd Stock  <toddastock@yahoo.com>
4879         Fix for PR libgcj/5670:
4880         * verify.cc (is_assignable_from_slow): If `source' is interface,
4881         recursively look for merge with `target'.
4883 2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>
4885         * include/jni.h: Fix typo.
4887 2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
4889         * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
4890         correctly.
4892 2002-02-13  Todd Stock  <toddastock@yahoo.com>
4894         Fix for PR libgcj/5671:
4895         * verify.cc (state::merge): Handle case where we're merging
4896         against an interface.
4898 2002-02-12  Tom Tromey  <tromey@redhat.com>
4900         * exception.cc (std::abort): Mark as noreturn.
4902 2002-02-12  Adam Megacz <adam@xwt.org>
4904         * java/lang/Win32Process.java: Filled in a placeholder
4905         implementation so Win32 will build.
4907 2002-02-12  Adam Megacz <adam@xwt.org>
4909         * java/io/natFilePosix.cc: Copied this from natFile.cc.
4910         * java/io/natFile.cc: Removed from repository.
4911         * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
4913 2002-02-12  Adam Megacz <adam@xwt.org>
4915         * win32.cc: Added two #includes to make win32.cc compile.
4917 2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4919         * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
4920         declarations.
4921         (_Jv_InitGC): Don't bother locking, as this is always called from a
4922         single-thread. Turn off GC_all_interior_pointers. Remove dead code.
4924 2002-02-11  Adam Megacz <adam@xwt.org>
4926         * include/win32.h: Added _Jv_platform_gettimeofday.
4927         * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
4929 2002-02-11  Adam Megacz <adam@xwt.org>
4931         * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
4932         Added #undef STRICT to make windows.h and
4933         java/lang/reflect/Modifier.h cooperate.
4935 2002-02-11  Adam Megacz <adam@xwt.org>
4937         * java/io/natFileWin32.cc: Created a placeholder class with lots
4938         of FIXMEs.
4940 2002-02-11  Adam Megacz <adam@xwt.org>
4942         * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
4943         std::abort() to simply abort(). Also added "fake" std::abort() so
4944         we can #include unwind-pe.h without having to link against
4945         libstdc++-v3.
4947 2002-02-10  Andreas Tobler  <toa@pop.agri.ch>
4949         * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
4951 2002-02-08  Tom Tromey  <tromey@redhat.com>
4953         * interpret.cc (convert): New function.
4954         (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
4955         convert.
4956         Include Long.h.
4958 2002-02-08  Anthony Green  <green@redhat.com>
4960         * configure.host: Add support for xscale-elf embedded target.
4962 2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>
4964         * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
4965         dereferenced.
4966         (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
4967         frame.
4969 2002-02-07  Tom Tromey  <tromey@redhat.com>
4971         * java/io/natFile.cc (_access): Use __builtin_alloca.
4972         (_stat): Likewise.
4973         (attr): Likewise.
4974         (getCanonicalPath): Likewise.
4975         (performList): Likewise.
4976         (performMkdir): Likewise.
4977         (performSetReadOnly): Likewise.
4978         (performRenameTo): Likewise.
4979         (performSetLastModified): Likewise.
4980         (performCreate): Likewise.
4981         (performDelete): Likewise.
4983 2002-02-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
4985         * HACKING: Fix URL for the automake-gcj.
4987 2002-02-07  Tom Tromey  <tromey@redhat.com>
4989         * java/lang/natThrowable.cc: Updated copyright.
4990         * java/io/natFileWin32.cc: Updated copyright.
4991         * java/io/natFileDescriptorWin32.cc: Updated copyright.
4992         * win32-threads.cc: Updated copyright.
4993         * name-finder.cc: Updated copyright.
4994         * include/name-finder.h: Updated copyright.
4996         * include/name-finder.h: Conditionally include sys/wait.h.
4997         * include/config.h.in: Rebuilt.
4999         * java/io/natFile.cc (_access): Don't stack-allocate buffer.
5000         Size buffer based on real size of string.
5001         (_stat): Likewise.
5002         (attr): Likewise.
5003         (getCanonicalPath): Likewise.
5004         (performList): Likewise.
5005         (performMkdir): Likewise.
5006         (performSetReadOnly): Likewise.
5007         (unixroot): Removed.
5008         (performRenameTo): Likewise.
5009         (performSetLastModified): Likewise.
5010         (performCreate): Likewise.
5011         (performDelete): Likewise.
5012         (performListRoots): Always return new array.
5014         * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
5015         * win32.cc (win32_exception_handler): Now static.
5016         * include/win32.h (_Jv_platform_initialize): Declare.
5017         (win32_exception_handler): Don't declare.
5018         * java/lang/natSystem.cc (currentTimeMillis): Use
5019         _Jv_platform_gettimeofday.
5020         * posix.cc (_Jv_platform_gettimeofday): Renamed.
5021         (_Jv_select): Use new name.
5022         (_Jv_platform_initialize): New function.
5023         * include/posix.h (_Jv_platform_gettimeofday): Renamed from
5024         _Jv_gettimeofday.
5025         (_Jv_platform_initialize): Declare.
5027         * configure: Rebuilt.
5028         * configure.in: Removed unnecessary parens.
5030 2002-02-06  Adam Megacz <adam@xwt.org>
5032        * configure.in: Changed mingw) to *mingw*).
5033        * win32.cc: Created this file.
5034        * win32.h: Created this file.
5035        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
5036        win32_exception_handler from prims.cc to win32.cc, added
5037        header in win32.h.
5038        * prims.cc: removed some #ifdef-WIN32'd headers which are no
5039        longer needed now that we have platform.h
5041 2002-02-06  Adam Megacz <adam@xwt.org>
5043         * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
5044         use uint<n>_t instead of LONG and BYTE
5046 2002-02-06  Adam Megacz <adam@xwt.org>
5048         * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
5050 2002-02-06  Anthony Green  <green@redhat.com>
5052         * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
5053         Implement missing method stubs.
5054         java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
5055         targets.
5056         * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
5057         concept of timezones.
5058         (init_properties): Don't refer to _Jv_Environment_Properties
5059         when this feature is not available.
5060         * include/config.h.in: Rebuilt.
5061         * acconfig.h: Add DISABLE_MAIN_ARGS.
5062         * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
5063         * configure: Rebuilt.
5064         * configure.in: Add --disable-main-args option.  Test for
5065           opendir function.  Replace AC_CHECK_SIZEOF with
5066           AC_COMPILE_CHECK_SIZEOF.
5067         * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
5068         * aclocal.m4: Rebuilt.
5069         * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
5071 2002-02-06  Tom Tromey  <tromey@redhat.com>
5073         * verify.cc (require_array_type): If argument is a null array of
5074         references, return null as the element type.
5076 2002-02-06  Mark Wielaard  <mark@klomp.org>
5078         * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
5079         duplicate of a wide type.
5081 2002-02-06  Tom Tromey  <tromey@redhat.com>
5083         * verify.cc (type::isnull): New method.
5084         (require_array_type): Handle case where array is null.
5085         (verify_instructions_0) [op_arraylength]: Likewise.
5087 2002-02-05  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5089         * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
5090         Symlink PLATFORMH to platform.h.
5091         * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
5092         PLATFORMOBJS.
5093         * java/lang/natSystem.cc: #include platform.h not posix.h.
5094         * Makefile.in: Rebuilt with libgcj automake.
5095         * configure: Rebuilt.
5097 2002-02-05  Richard Henderson  <rth@redhat.com>
5099         * Makefile.in: Undo munging last change.
5101 2002-02-04  Adam Megacz <adam@xwt.org>
5103         * win32.cc: Created it.
5104         * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
5105         which is set to posix.cc or win32.cc.
5106         * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
5108 2002-02-04  Adam Megacz <adam@xwt.org>
5110         * configure.in: Corrected mingw case branches; added * before
5111         and after.
5113 2002-02-04  Adam Megacz <adam@xwt.org>
5115         * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
5116         if compiling for win32
5118 2002-02-04  Adam Megacz <adam@xwt.org>
5120         * win32-threads.cc: #undef STRICT after gc.h inclusion
5122 2002-02-02  Tom Tromey  <tromey@redhat.com>
5124         * Makefile.in: Rebuilt.
5126 2002-02-02  Jason Merrill  <jason@redhat.com>
5128         * Makefile.am (clean-nat): New target.
5130 2002-02-02  Tom Tromey  <tromey@redhat.com>
5132         * java/io/natFile.cc: Removed old "FIXME" comments.
5134 2002-02-01  Tom Tromey  <tromey@redhat.com>
5136         * java/lang/natPosixProcess.cc (myclose): New function.
5137         (fail): Use it.
5138         (startProcess): Likewise.
5140 2002-02-01  Adam Megacz <adam@xwt.org>
5142         * prims.cc: Added #undef STRICT after #include<windows.h>.
5144 2002-02-01  Adam Megacz <adam@xwt.org>
5146         * prims.cc
5147         (_Jv_CreateJavaVM): We now use WIN32 instead of
5148         USE_WIN32_SIGNALLING and USE_WINSOCK.
5149         (win32_exception_handler): Now throws an exception out of
5150         the signal handler; assumes SJLJ.
5152 2002-02-01  Adam Megacz <adam@xwt.org>
5154         * win32-threads.cc:
5155         (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
5156         wait() algorithm to make it safe.
5157         (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
5158         Added lazy creation of Win32 Events for better performance
5159         (really_start): This now uses GC_CreateThread so boehm-gc
5160         knows about new threads even when statically linked.
5162 2002-02-01  Adam Megacz <adam@xwt.org>
5164         * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
5165         enable safer wait() algorithm.
5166         (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
5167         _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
5168         (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
5169         _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
5170         instead of mutex.
5171         (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
5173 2002-02-01  Adam Megacz <adam@xwt.org>
5175         * configure.in: Added support for mingw.
5176         * java/lang/Win32Process.java: Created as empty file.
5177         * java/lang/natWin32Process.cc: Created as empty file.
5179 2002-02-01  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5181         PR java/4972
5182         * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
5183         for libiconv in LIBICONV variable.
5184         * configure: Regenerated.
5186 2002-01-31  Tom Tromey  <tromey@redhat.com>
5188         * verify.cc (state::enter_subroutine): New method.
5189         (handle_jsr_insn): Use it.
5190         (state::merge): When processing a `ret', correctly use
5191         subroutine's state to determine which local variables have
5192         changed.
5193         (push_exception_jump): Don't let stack overflow.
5195 2002-01-31  Joseph S. Myers  <jsm28@cam.ac.uk>
5197         * gnu/gcj/convert/Convert.java: Only include one copyright year in
5198         --version output.
5200 2002-01-30  Tom Tromey  <tromey@redhat.com>
5202         * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
5203         parameter for `recv' return type.
5205         * verify.cc (handle_ret_insn): Check for subroutine merge here...
5206         (state::merge): ... not here.
5207         (subr_entry_info): New structure.
5208         (entry_points): New field.
5209         (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs.  Free
5210         entry_points.
5212 2002-01-29  Tom Tromey  <tromey@redhat.com>
5214         * java/awt/List.java (addNotify): Correctly check to see if peer
5215         does not exist.
5217         * java/awt/GridLayout.java (layoutContainer): Use number of rows
5218         to compute height of each cell, and number of columns to compute
5219         width of each cell.
5220         * java/awt/Window.java (getOwnedWindows): Don't return null.
5221         * java/awt/FlowLayout.java (layoutContainer): Set width and height
5222         of component.  Increment x using horizontal gap, not vertical
5223         gap.
5225 2002-01-28  Tom Tromey  <tromey@redhat.com>
5227         * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
5228         `nargs' byte is number of words, not number of arguments.
5230 2002-01-27  Tom Tromey  <tromey@redhat.com>
5232         * java/awt/event/MouseEvent.java (modifiers): Removed field.
5233         (when): Likewise.
5234         * java/awt/event/InputEvent.java (modifiers, when): Now
5235         package-private.
5237         * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
5238         and to-do list.
5239         (state::merge): Use current class' class loader.
5240         (state::print): Print subroutine.
5241         (state::merge): Don't look at subroutine of unmerged `ret'.
5243 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
5245         * nogc.cc: Remove warnings.
5246         (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
5247         New functions.
5249 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5251         * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
5252         int, int):  Remove empty "if" statement to work around compiler bug.
5253         (newPixels(int[], ColorModel, int, int): Likewise.
5255 2002-01-25  Per Bothner  <per@bothner.com>
5257         * verify.cc (verify_fail):  Change from being a top-level function
5258         to e method of _Jv_BytecodeVerifier.  Emit current method name.
5259         Pass the current verifier to type: and state: methods as needed,
5260         for better error messages, and for resolve.
5261         (resolve):  Pass current class's loader for Class.forName and
5262         _Jv_FindClassFromSignature, rather than using the default loader.
5263         (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
5264         (get_type_val_for_signature):  Make non-static.
5265         (various methods):  Pass start_PC implicitly, not explicitly.
5267 2002-01-25  Tom Tromey  <tromey@redhat.com>
5269         * java/awt/FlowLayout.java (layoutContainer): Correctly compute
5270         loop termination condition.
5271         * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
5272         width.
5274 2002-01-24  Tom Tromey  <tromey@redhat.com>
5276         * java/awt/Shape.java: Merged with Classpath.
5277         * java/awt/Scrollbar.java: Merged with Classpath.
5279         * java/awt/Container.java (addNotify): Unconditionally call
5280         addNotifyContainerChildren and superclass addNotify.
5282         * java/awt/image/ColorModel.java (getAlpha(Object)): Call
5283         getAlpha, not getBlue.
5285 2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
5287         * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
5289         * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
5290         (grabPixels(long)): Wait to be notified that the ImageProducer has
5291         completed.
5293 2002-01-24  Per Bothner  <per@bothner.com>
5295         * verify.cc (is_assignable_from_slow): If target is an interface,
5296         we must still check the source's superclass before giving up.
5298 2002-01-24  Tom Tromey  <tromey@redhat.com>
5300         * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
5302 2002-01-23  Tom Tromey  <tromey@redhat.com>
5304         * java/awt/BorderLayout.java (addLayoutComponent): Added missing
5305         `else'.
5307         * Makefile.in: Rebuilt.
5308         * Makefile.am (awt_java_source_files): Added new files.
5309         * java/awt/Toolkit.java: Merged with Classpath.
5310         * java/awt/PrintGraphics.java: New file from Classpath.
5311         * java/awt/PrintJob.java: New file from Classpath.
5312         * java/awt/datatransfer/Clipboard.java: New file from Classpath.
5313         * java/awt/datatransfer/ClipboardOwner.java: New file from
5314         Classpath.
5315         * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
5316         * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
5317         * java/awt/datatransfer/MimeTypeParseException.java: New file from
5318         Classpath.
5319         * java/awt/datatransfer/StringSelection.java: New file from
5320         Classpath.
5321         * java/awt/datatransfer/SystemFlavorMap.java: New file from
5322         Classpath.
5323         * java/awt/datatransfer/Transferable.java: New file from
5324         Classpath.
5325         * java/awt/datatransfer/UnsupportedFlavorException.java: New file
5326         from Classpath.
5328         * Makefile.in: Rebuilt.
5329         * Makefile.am (awt_java_source_files): Added new files.
5330         * java/awt/image/AreaAveragingScaleFilter.java: New file from
5331         Classpath.
5332         * java/awt/image/CropImageFilter.java: New file from Classpath.
5333         * java/awt/image/FilteredImageSource.java: New file from
5334         Classpath.
5335         * java/awt/image/ImageFilter.java: New file from Classpath.
5336         * java/awt/image/MemoryImageSource.java: New file from Classpath.
5337         * java/awt/image/PixelGrabber.java: New file from Classpath.
5338         * java/awt/image/RGBImageFilter.java: New file from Classpath.
5339         * java/awt/image/ReplicateScaleFilter.java: New file from
5340         Classpath.
5341         * java/awt/image/ImageProducer.java: Replaced with Classpath
5342         version.
5343         * java/awt/image/ImageObserver.java: Replaced with Classpath
5344         version.
5345         * java/awt/image/ImageConsumer.java: Replaced with Classpath
5346         version.
5347         * java/awt/GridBagConstraints.java (clone): Catch
5348         CloneNotSupportedException.
5350 2002-01-23  Per Bothner  <per@bothner.com>
5352         * java/lang/reflect/natField.cc (setAddr):  New function.
5353         Calls getAddr and then checks that the field isn't final.
5354         (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
5355         setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
5356         (set):  Call setAddr before check that new value has right type,
5357         to better match specified semantics.
5359 2002-01-22  Tom Tromey  <tromey@redhat.com>
5361         * java/awt/TextField.java: Replaced with Classpath version.
5362         * java/awt/TextArea.java: Replaced with Classpath version.
5363         * java/awt/TextComponent.java: Replaced with Classpath version.
5365         * java/awt/GridBagConstraints.java: Updated copyright.
5367 2002-01-22  Mark Wielaard <mark@klomp.org>
5369         * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
5370         java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
5371         java/awt/Dialog.java java/awt/FileDialog.java
5372         java/awt/Font.java java/awt/FontMetrics.java
5373         java/awt/Image.java java/awt/ImageMediaEntry.java
5374         java/awt/Insets.java java/awt/List.java
5375         java/awt/MediaEntry.java java/awt/MediaTracker.java
5376         java/awt/Menu.java java/awt/MenuBar.java
5377         java/awt/MenuContainer.java java/awt/MenuShortcut.java
5378         java/awt/PaintContext.java java/awt/Panel.java
5379         java/awt/PopupMenu.java java/awt/SystemColor.java
5380         java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
5381         java/awt/peer/CheckboxMenuItemPeer.java
5382         java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
5383         java/awt/peer/ComponentPeer.java
5384         java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
5385         java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
5386         java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
5387         java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
5388         java/awt/peer/MenuBarPeer.java
5389         java/awt/peer/MenuComponentPeer.java
5390         java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
5391         java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
5392         java/awt/peer/ScrollPanePeer.java
5393         java/awt/peer/ScrollbarPeer.java
5394         java/awt/peer/TextAreaPeer.java
5395         java/awt/peer/TextComponentPeer.java
5396         java/awt/peer/TextFieldPeer.java
5397         java/awt/peer/WindowPeer.java: Add license clarification.
5399 2002-01-22  Mark Wielaard <mark@klomp.org>
5401         * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
5402         gnu/gcj/runtime/StringBuffer.java
5403         gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
5404         gnu/java/awt/ComponentDataBlitOp.java
5405         gnu/java/awt/GLightweightPeer.java
5406         gnu/java/beans/BeanInfoEmbryo.java
5407         gnu/java/beans/EmptyBeanInfo.java
5408         gnu/java/beans/ExplicitBeanInfo.java
5409         gnu/java/beans/IntrospectionIncubator.java
5410         gnu/java/beans/editors/ColorEditor.java
5411         gnu/java/beans/editors/FontEditor.java
5412         gnu/java/beans/editors/NativeBooleanEditor.java
5413         gnu/java/beans/editors/NativeByteEditor.java
5414         gnu/java/beans/editors/NativeDoubleEditor.java
5415         gnu/java/beans/editors/NativeFloatEditor.java
5416         gnu/java/beans/editors/NativeIntEditor.java
5417         gnu/java/beans/editors/NativeLongEditor.java
5418         gnu/java/beans/editors/NativeShortEditor.java
5419         gnu/java/beans/editors/StringEditor.java
5420         gnu/java/beans/info/ComponentBeanInfo.java
5421         gnu/java/io/ClassLoaderObjectInputStream.java
5422         gnu/java/io/NullOutputStream.java
5423         gnu/java/io/ObjectIdentityWrapper.java
5424         gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
5425         gnu/java/lang/reflect/TypeSignature.java
5426         gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
5427         gnu/java/locale/Calendar_en.java
5428         gnu/java/locale/Calendar_nl.java
5429         gnu/java/locale/LocaleInformation.java
5430         gnu/java/locale/LocaleInformation_de.java
5431         gnu/java/locale/LocaleInformation_en.java
5432         gnu/java/locale/LocaleInformation_nl.java
5433         gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
5434         gnu/java/rmi/registry/RegistryImpl.java
5435         gnu/java/rmi/rmic/Compile_gcj.java
5436         gnu/java/rmi/rmic/Compiler.java
5437         gnu/java/rmi/rmic/CompilerProcess.java
5438         gnu/java/rmi/rmic/RMIC.java
5439         gnu/java/rmi/rmic/TabbedWriter.java
5440         gnu/java/rmi/server/ProtocolConstants.java
5441         gnu/java/rmi/server/RMIDefaultSocketFactory.java
5442         gnu/java/rmi/server/RMIHashes.java
5443         gnu/java/rmi/server/RMIObjectInputStream.java
5444         gnu/java/rmi/server/RMIObjectOutputStream.java
5445         gnu/java/rmi/server/UnicastConnection.java
5446         gnu/java/rmi/server/UnicastConnectionManager.java
5447         gnu/java/rmi/server/UnicastRef.java
5448         gnu/java/rmi/server/UnicastRemoteCall.java
5449         gnu/java/rmi/server/UnicastRemoteStub.java
5450         gnu/java/rmi/server/UnicastServer.java
5451         gnu/java/rmi/server/UnicastServerRef.java
5452         gnu/java/security/provider/DefaultPolicy.java
5453         gnu/java/security/provider/Gnu.java
5454         gnu/java/security/provider/SHA.java
5455         gnu/java/security/provider/SHA1PRNG.java
5456         gnu/java/text/BaseBreakIterator.java
5457         gnu/java/text/CharacterBreakIterator.java
5458         gnu/java/text/LineBreakIterator.java
5459         gnu/java/text/SentenceBreakIterator.java
5460         gnu/java/text/WordBreakIterator.java
5461         gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
5462         java/applet/AppletContext.java java/applet/AppletStub.java
5463         java/applet/AudioClip.java java/awt/AWTError.java
5464         java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
5465         java/awt/AWTException.java java/awt/AWTPermission.java
5466         java/awt/ActiveEvent.java java/awt/BorderLayout.java
5467         java/awt/Button.java java/awt/Canvas.java
5468         java/awt/CardLayout.java java/awt/Checkbox.java
5469         java/awt/CheckboxGroup.java java/awt/Component.java
5470         java/awt/ComponentOrientation.java java/awt/Container.java
5471         java/awt/Dimension.java java/awt/Event.java
5472         java/awt/EventDispatchThread.java java/awt/EventQueue.java
5473         java/awt/FlowLayout.java java/awt/Frame.java
5474         java/awt/Graphics.java java/awt/Graphics2D.java
5475         java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
5476         java/awt/IllegalComponentStateException.java
5477         java/awt/ItemSelectable.java java/awt/Label.java
5478         java/awt/LayoutManager.java java/awt/LayoutManager2.java
5479         java/awt/MenuComponent.java java/awt/MenuItem.java
5480         java/awt/Paint.java java/awt/Point.java
5481         java/awt/Rectangle.java java/awt/RenderingHints.java
5482         java/awt/Transparency.java java/awt/Window.java
5483         java/awt/color/ColorSpace.java
5484         java/awt/color/ICC_ColorSpace.java
5485         java/awt/color/ICC_Profile.java
5486         java/awt/event/HierarchyBoundsAdapter.java
5487         java/awt/event/HierarchyBoundsListener.java
5488         java/awt/event/HierarchyEvent.java
5489         java/awt/event/HierarchyListener.java
5490         java/awt/geom/AffineTransform.java
5491         java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
5492         java/awt/geom/IllegalPathStateException.java
5493         java/awt/geom/Line2D.java
5494         java/awt/geom/NoninvertibleTransformException.java
5495         java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
5496         java/awt/geom/Rectangle2D.java
5497         java/awt/geom/RectangularShape.java
5498         java/awt/geom/RoundRectangle2D.java
5499         java/awt/image/BufferedImage.java
5500         java/awt/image/ColorModel.java
5501         java/awt/image/ComponentColorModel.java
5502         java/awt/image/ComponentSampleModel.java
5503         java/awt/image/DataBuffer.java
5504         java/awt/image/DataBufferByte.java
5505         java/awt/image/DataBufferInt.java
5506         java/awt/image/DataBufferUShort.java
5507         java/awt/image/DirectColorModel.java
5508         java/awt/image/PackedColorModel.java
5509         java/awt/image/Raster.java java/awt/image/RasterOp.java
5510         java/awt/image/SampleModel.java
5511         java/awt/image/SinglePixelPackedSampleModel.java
5512         java/awt/image/WritableRaster.java
5513         java/beans/AppletInitializer.java
5514         java/beans/BeanDescriptor.java java/beans/BeanInfo.java
5515         java/beans/Beans.java java/beans/Customizer.java
5516         java/beans/DesignMode.java java/beans/EventSetDescriptor.java
5517         java/beans/FeatureDescriptor.java
5518         java/beans/IndexedPropertyDescriptor.java
5519         java/beans/IntrospectionException.java
5520         java/beans/Introspector.java java/beans/MethodDescriptor.java
5521         java/beans/ParameterDescriptor.java
5522         java/beans/PropertyChangeEvent.java
5523         java/beans/PropertyChangeListener.java
5524         java/beans/PropertyChangeSupport.java
5525         java/beans/PropertyDescriptor.java
5526         java/beans/PropertyEditor.java
5527         java/beans/PropertyEditorManager.java
5528         java/beans/PropertyEditorSupport.java
5529         java/beans/PropertyVetoException.java
5530         java/beans/SimpleBeanInfo.java
5531         java/beans/VetoableChangeListener.java
5532         java/beans/VetoableChangeSupport.java
5533         java/beans/Visibility.java
5534         java/beans/beancontext/BeanContext.java
5535         java/beans/beancontext/BeanContextChild.java
5536         java/beans/beancontext/BeanContextChildComponentProxy.java
5537         java/beans/beancontext/BeanContextChildSupport.java
5538         java/beans/beancontext/BeanContextContainerProxy.java
5539         java/beans/beancontext/BeanContextEvent.java
5540         java/beans/beancontext/BeanContextMembershipEvent.java
5541         java/beans/beancontext/BeanContextMembershipListener.java
5542         java/beans/beancontext/BeanContextProxy.java
5543         java/beans/beancontext/BeanContextServiceAvailableEvent.java
5544         java/beans/beancontext/BeanContextServiceProvider.java
5545         java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
5546         java/beans/beancontext/BeanContextServiceRevokedEvent.java
5547         java/beans/beancontext/BeanContextServiceRevokedListener.java
5548         java/beans/beancontext/BeanContextServices.java
5549         java/beans/beancontext/BeanContextServicesListener.java
5550         java/io/BufferedInputStream.java
5551         java/io/BufferedOutputStream.java java/io/BufferedReader.java
5552         java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
5553         java/io/ByteArrayOutputStream.java
5554         java/io/CharArrayReader.java java/io/CharArrayWriter.java
5555         java/io/CharConversionException.java java/io/DataInput.java
5556         java/io/DataInputStream.java java/io/DataOutput.java
5557         java/io/EOFException.java java/io/Externalizable.java
5558         java/io/FileFilter.java java/io/FileNotFoundException.java
5559         java/io/FilePermission.java java/io/FileReader.java
5560         java/io/FileWriter.java java/io/FilenameFilter.java
5561         java/io/FilterInputStream.java java/io/FilterOutputStream.java
5562         java/io/FilterReader.java java/io/FilterWriter.java
5563         java/io/IOException.java java/io/InputStream.java
5564         java/io/InterruptedIOException.java
5565         java/io/InvalidClassException.java
5566         java/io/InvalidObjectException.java
5567         java/io/NotActiveException.java
5568         java/io/NotSerializableException.java java/io/ObjectInput.java
5569         java/io/ObjectInputStream.java
5570         java/io/ObjectInputValidation.java java/io/ObjectOutput.java
5571         java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
5572         java/io/ObjectStreamConstants.java
5573         java/io/ObjectStreamException.java
5574         java/io/ObjectStreamField.java
5575         java/io/OptionalDataException.java java/io/OutputStream.java
5576         java/io/PipedInputStream.java java/io/PipedOutputStream.java
5577         java/io/PipedReader.java java/io/PipedWriter.java
5578         java/io/PrintWriter.java java/io/PushbackInputStream.java
5579         java/io/PushbackReader.java java/io/Reader.java
5580         java/io/SequenceInputStream.java java/io/Serializable.java
5581         java/io/SerializablePermission.java
5582         java/io/StreamCorruptedException.java
5583         java/io/StreamTokenizer.java
5584         java/io/StringBufferInputStream.java java/io/StringReader.java
5585         java/io/StringWriter.java java/io/SyncFailedException.java
5586         java/io/UTFDataFormatException.java
5587         java/io/UnsupportedEncodingException.java
5588         java/io/WriteAbortedException.java java/io/Writer.java
5589         java/lang/AbstractMethodError.java
5590         java/lang/ArithmeticException.java
5591         java/lang/ArrayIndexOutOfBoundsException.java
5592         java/lang/ArrayStoreException.java java/lang/Boolean.java
5593         java/lang/Byte.java java/lang/CharSequence.java
5594         java/lang/ClassCastException.java
5595         java/lang/ClassCircularityError.java
5596         java/lang/ClassFormatError.java
5597         java/lang/ClassNotFoundException.java
5598         java/lang/CloneNotSupportedException.java
5599         java/lang/Cloneable.java java/lang/Comparable.java
5600         java/lang/Compiler.java java/lang/Double.java
5601         java/lang/Error.java java/lang/Exception.java
5602         java/lang/ExceptionInInitializerError.java
5603         java/lang/Float.java java/lang/IllegalAccessError.java
5604         java/lang/IllegalAccessException.java
5605         java/lang/IllegalArgumentException.java
5606         java/lang/IllegalMonitorStateException.java
5607         java/lang/IllegalStateException.java
5608         java/lang/IllegalThreadStateException.java
5609         java/lang/IncompatibleClassChangeError.java
5610         java/lang/IndexOutOfBoundsException.java
5611         java/lang/InheritableThreadLocal.java
5612         java/lang/InstantiationError.java
5613         java/lang/InstantiationException.java java/lang/Integer.java
5614         java/lang/InternalError.java
5615         java/lang/InterruptedException.java
5616         java/lang/LinkageError.java java/lang/Long.java
5617         java/lang/NegativeArraySizeException.java
5618         java/lang/NoClassDefFoundError.java
5619         java/lang/NoSuchFieldError.java
5620         java/lang/NoSuchFieldException.java
5621         java/lang/NoSuchMethodError.java
5622         java/lang/NoSuchMethodException.java
5623         java/lang/NullPointerException.java java/lang/Number.java
5624         java/lang/NumberFormatException.java
5625         java/lang/OutOfMemoryError.java java/lang/Package.java
5626         java/lang/Process.java java/lang/Runnable.java
5627         java/lang/RuntimeException.java
5628         java/lang/RuntimePermission.java
5629         java/lang/SecurityException.java
5630         java/lang/SecurityManager.java java/lang/Short.java
5631         java/lang/StackOverflowError.java java/lang/StringBuffer.java
5632         java/lang/StringIndexOutOfBoundsException.java
5633         java/lang/ThreadDeath.java java/lang/ThreadGroup.java
5634         java/lang/ThreadLocal.java java/lang/UnknownError.java
5635         java/lang/UnsatisfiedLinkError.java
5636         java/lang/UnsupportedClassVersionError.java
5637         java/lang/UnsupportedOperationException.java
5638         java/lang/VerifyError.java java/lang/VirtualMachineError.java
5639         java/lang/Void.java java/lang/ref/PhantomReference.java
5640         java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
5641         java/lang/ref/SoftReference.java
5642         java/lang/ref/WeakReference.java
5643         java/lang/reflect/AccessibleObject.java
5644         java/lang/reflect/InvocationTargetException.java
5645         java/lang/reflect/Member.java java/lang/reflect/Modifier.java
5646         java/lang/reflect/ReflectPermission.java
5647         java/math/BigDecimal.java java/math/BigInteger.java
5648         java/net/Authenticator.java java/net/BindException.java
5649         java/net/ConnectException.java java/net/ContentHandler.java
5650         java/net/ContentHandlerFactory.java
5651         java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
5652         java/net/FileNameMap.java java/net/MalformedURLException.java
5653         java/net/MulticastSocket.java java/net/NetPermission.java
5654         java/net/NoRouteToHostException.java
5655         java/net/PasswordAuthentication.java
5656         java/net/ProtocolException.java java/net/ServerSocket.java
5657         java/net/Socket.java java/net/SocketException.java
5658         java/net/SocketImpl.java java/net/SocketImplFactory.java
5659         java/net/SocketOptions.java java/net/SocketPermission.java
5660         java/net/URLDecoder.java java/net/URLEncoder.java
5661         java/net/URLStreamHandlerFactory.java
5662         java/net/UnknownHostException.java
5663         java/net/UnknownServiceException.java
5664         java/rmi/AccessException.java
5665         java/rmi/AlreadyBoundException.java
5666         java/rmi/ConnectException.java
5667         java/rmi/ConnectIOException.java
5668         java/rmi/MarshalException.java java/rmi/MarshalledObject.java
5669         java/rmi/Naming.java java/rmi/NoSuchObjectException.java
5670         java/rmi/NotBoundException.java
5671         java/rmi/RMISecurityException.java
5672         java/rmi/RMISecurityManager.java java/rmi/Remote.java
5673         java/rmi/RemoteException.java java/rmi/ServerError.java
5674         java/rmi/ServerException.java
5675         java/rmi/ServerRuntimeException.java
5676         java/rmi/StubNotFoundException.java
5677         java/rmi/UnexpectedException.java
5678         java/rmi/UnknownHostException.java
5679         java/rmi/UnmarshalException.java
5680         java/rmi/activation/Activatable.java
5681         java/rmi/activation/ActivateFailedException.java
5682         java/rmi/activation/ActivationDesc.java
5683         java/rmi/activation/ActivationException.java
5684         java/rmi/activation/ActivationGroup.java
5685         java/rmi/activation/ActivationGroupDesc.java
5686         java/rmi/activation/ActivationGroupID.java
5687         java/rmi/activation/ActivationID.java
5688         java/rmi/activation/ActivationInstantiator.java
5689         java/rmi/activation/ActivationMonitor.java
5690         java/rmi/activation/ActivationSystem.java
5691         java/rmi/activation/Activator.java
5692         java/rmi/activation/UnknownGroupException.java
5693         java/rmi/activation/UnknownObjectException.java
5694         java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
5695         java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
5696         java/rmi/registry/Registry.java
5697         java/rmi/registry/RegistryHandler.java
5698         java/rmi/server/ExportException.java
5699         java/rmi/server/LoaderHandler.java
5700         java/rmi/server/LogStream.java java/rmi/server/ObjID.java
5701         java/rmi/server/Operation.java
5702         java/rmi/server/RMIClassLoader.java
5703         java/rmi/server/RMIClientSocketFactory.java
5704         java/rmi/server/RMIFailureHandler.java
5705         java/rmi/server/RMIServerSocketFactory.java
5706         java/rmi/server/RMISocketFactory.java
5707         java/rmi/server/RemoteCall.java
5708         java/rmi/server/RemoteObject.java
5709         java/rmi/server/RemoteRef.java
5710         java/rmi/server/RemoteServer.java
5711         java/rmi/server/RemoteStub.java
5712         java/rmi/server/ServerCloneException.java
5713         java/rmi/server/ServerNotActiveException.java
5714         java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
5715         java/rmi/server/SkeletonMismatchException.java
5716         java/rmi/server/SkeletonNotFoundException.java
5717         java/rmi/server/SocketSecurityException.java
5718         java/rmi/server/UID.java
5719         java/rmi/server/UnicastRemoteObject.java
5720         java/rmi/server/Unreferenced.java
5721         java/security/AccessControlContext.java
5722         java/security/AccessControlException.java
5723         java/security/AccessController.java
5724         java/security/AlgorithmParameterGenerator.java
5725         java/security/AlgorithmParameterGeneratorSpi.java
5726         java/security/AlgorithmParameters.java
5727         java/security/AlgorithmParametersSpi.java
5728         java/security/AllPermission.java
5729         java/security/BasicPermission.java
5730         java/security/Certificate.java java/security/CodeSource.java
5731         java/security/DigestException.java
5732         java/security/DigestInputStream.java
5733         java/security/DigestOutputStream.java
5734         java/security/DomainCombiner.java
5735         java/security/DummyKeyPairGenerator.java
5736         java/security/DummyMessageDigest.java
5737         java/security/DummySignature.java
5738         java/security/GeneralSecurityException.java
5739         java/security/Guard.java java/security/GuardedObject.java
5740         java/security/Identity.java java/security/IdentityScope.java
5741         java/security/InvalidAlgorithmParameterException.java
5742         java/security/InvalidKeyException.java
5743         java/security/InvalidParameterException.java
5744         java/security/Key.java java/security/KeyException.java
5745         java/security/KeyFactory.java java/security/KeyFactorySpi.java
5746         java/security/KeyManagementException.java
5747         java/security/KeyPair.java java/security/KeyPairGenerator.java
5748         java/security/KeyPairGeneratorSpi.java
5749         java/security/KeyStore.java
5750         java/security/KeyStoreException.java
5751         java/security/KeyStoreSpi.java
5752         java/security/MessageDigest.java
5753         java/security/MessageDigestSpi.java
5754         java/security/NoSuchAlgorithmException.java
5755         java/security/NoSuchProviderException.java
5756         java/security/Permission.java
5757         java/security/PermissionCollection.java
5758         java/security/Permissions.java java/security/Policy.java
5759         java/security/Principal.java java/security/PrivateKey.java
5760         java/security/PrivilegedAction.java
5761         java/security/PrivilegedActionException.java
5762         java/security/PrivilegedExceptionAction.java
5763         java/security/ProtectionDomain.java
5764         java/security/Provider.java
5765         java/security/ProviderException.java
5766         java/security/PublicKey.java
5767         java/security/SecureClassLoader.java
5768         java/security/SecureRandom.java
5769         java/security/SecureRandomSpi.java java/security/Security.java
5770         java/security/SecurityPermission.java
5771         java/security/Signature.java
5772         java/security/SignatureException.java
5773         java/security/SignatureSpi.java
5774         java/security/SignedObject.java java/security/Signer.java
5775         java/security/UnrecoverableKeyException.java
5776         java/security/UnresolvedPermission.java
5777         java/security/acl/Acl.java java/security/acl/AclEntry.java
5778         java/security/acl/AclNotFoundException.java
5779         java/security/acl/Group.java
5780         java/security/acl/LastOwnerException.java
5781         java/security/acl/NotOwnerException.java
5782         java/security/acl/Owner.java java/security/acl/Permission.java
5783         java/security/cert/CRL.java
5784         java/security/cert/CRLException.java
5785         java/security/cert/Certificate.java
5786         java/security/cert/CertificateEncodingException.java
5787         java/security/cert/CertificateException.java
5788         java/security/cert/CertificateExpiredException.java
5789         java/security/cert/CertificateFactory.java
5790         java/security/cert/CertificateFactorySpi.java
5791         java/security/cert/CertificateNotYetValidException.java
5792         java/security/cert/CertificateParsingException.java
5793         java/security/cert/X509CRL.java
5794         java/security/cert/X509CRLEntry.java
5795         java/security/cert/X509Certificate.java
5796         java/security/cert/X509Extension.java
5797         java/security/interfaces/DSAKey.java
5798         java/security/interfaces/DSAKeyPairGenerator.java
5799         java/security/interfaces/DSAParams.java
5800         java/security/interfaces/DSAPrivateKey.java
5801         java/security/interfaces/DSAPublicKey.java
5802         java/security/interfaces/RSAKey.java
5803         java/security/interfaces/RSAPrivateCrtKey.java
5804         java/security/interfaces/RSAPrivateKey.java
5805         java/security/interfaces/RSAPublicKey.java
5806         java/security/spec/AlgorithmParameterSpec.java
5807         java/security/spec/DSAParameterSpec.java
5808         java/security/spec/DSAPrivateKeySpec.java
5809         java/security/spec/DSAPublicKeySpec.java
5810         java/security/spec/EncodedKeySpec.java
5811         java/security/spec/InvalidKeySpecException.java
5812         java/security/spec/InvalidParameterSpecException.java
5813         java/security/spec/KeySpec.java
5814         java/security/spec/PKCS8EncodedKeySpec.java
5815         java/security/spec/RSAKeyGenParameterSpec.java
5816         java/security/spec/RSAPrivateCrtKeySpec.java
5817         java/security/spec/RSAPrivateKeySpec.java
5818         java/security/spec/RSAPublicKeySpec.java
5819         java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
5820         java/sql/BatchUpdateException.java java/sql/Blob.java
5821         java/sql/CallableStatement.java java/sql/Clob.java
5822         java/sql/Connection.java java/sql/DataTruncation.java
5823         java/sql/DatabaseMetaData.java java/sql/Date.java
5824         java/sql/Driver.java java/sql/DriverManager.java
5825         java/sql/DriverPropertyInfo.java
5826         java/sql/PreparedStatement.java java/sql/Ref.java
5827         java/sql/ResultSet.java java/sql/ResultSetMetaData.java
5828         java/sql/SQLData.java java/sql/SQLException.java
5829         java/sql/SQLInput.java java/sql/SQLOutput.java
5830         java/sql/SQLWarning.java java/sql/Statement.java
5831         java/sql/Struct.java java/sql/Time.java
5832         java/sql/Timestamp.java java/sql/Types.java
5833         java/text/Annotation.java
5834         java/text/AttributedCharacterIterator.java
5835         java/text/AttributedString.java
5836         java/text/AttributedStringIterator.java
5837         java/text/BreakIterator.java java/text/CharacterIterator.java
5838         java/text/ChoiceFormat.java java/text/Collator.java
5839         java/text/DateFormat.java java/text/DateFormatSymbols.java
5840         java/text/DecimalFormat.java
5841         java/text/DecimalFormatSymbols.java
5842         java/text/FieldPosition.java java/text/Format.java
5843         java/text/MessageFormat.java java/text/NumberFormat.java
5844         java/text/ParseException.java java/text/ParsePosition.java
5845         java/text/SimpleDateFormat.java
5846         java/text/StringCharacterIterator.java
5847         java/util/AbstractCollection.java java/util/AbstractList.java
5848         java/util/AbstractMap.java
5849         java/util/AbstractSequentialList.java
5850         java/util/AbstractSet.java java/util/ArrayList.java
5851         java/util/Arrays.java java/util/BasicMapEntry.java
5852         java/util/BitSet.java java/util/Calendar.java
5853         java/util/Collection.java java/util/Collections.java
5854         java/util/Comparator.java
5855         java/util/ConcurrentModificationException.java
5856         java/util/Date.java java/util/Dictionary.java
5857         java/util/EmptyStackException.java java/util/Enumeration.java
5858         java/util/EventListener.java java/util/EventObject.java
5859         java/util/GregorianCalendar.java java/util/HashMap.java
5860         java/util/HashSet.java java/util/Hashtable.java
5861         java/util/IdentityHashMap.java java/util/Iterator.java
5862         java/util/LinkedHashMap.java java/util/LinkedHashSet.java
5863         java/util/LinkedList.java java/util/List.java
5864         java/util/ListIterator.java java/util/ListResourceBundle.java
5865         java/util/Locale.java java/util/Map.java
5866         java/util/MissingResourceException.java
5867         java/util/NoSuchElementException.java
5868         java/util/Observable.java java/util/Observer.java
5869         java/util/Properties.java java/util/PropertyPermission.java
5870         java/util/PropertyResourceBundle.java java/util/Random.java
5871         java/util/RandomAccess.java java/util/ResourceBundle.java
5872         java/util/Set.java java/util/SimpleTimeZone.java
5873         java/util/SortedMap.java java/util/SortedSet.java
5874         java/util/Stack.java java/util/StringTokenizer.java
5875         java/util/TimeZone.java java/util/Timer.java
5876         java/util/TimerTask.java
5877         java/util/TooManyListenersException.java
5878         java/util/TreeMap.java java/util/TreeSet.java
5879         java/util/Vector.java java/util/WeakHashMap.java
5880         java/util/jar/Attributes.java java/util/jar/JarEntry.java
5881         java/util/jar/JarException.java java/util/jar/JarFile.java
5882         java/util/jar/JarInputStream.java
5883         java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
5884         java/util/zip/Adler32.java java/util/zip/CRC32.java
5885         java/util/zip/CheckedInputStream.java
5886         java/util/zip/CheckedOutputStream.java
5887         java/util/zip/Checksum.java
5888         java/util/zip/DataFormatException.java
5889         java/util/zip/Deflater.java
5890         java/util/zip/DeflaterOutputStream.java
5891         java/util/zip/GZIPInputStream.java
5892         java/util/zip/GZIPOutputStream.java
5893         java/util/zip/Inflater.java
5894         java/util/zip/InflaterInputStream.java
5895         java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
5896         java/util/zip/ZipException.java java/util/zip/ZipFile.java
5897         java/util/zip/ZipInputStream.java
5898         java/util/zip/ZipOutputStream.java
5899         javax/naming/BinaryRefAddr.java
5900         javax/naming/InvalidNameException.java javax/naming/Name.java
5901         javax/naming/NamingException.java javax/naming/RefAddr.java
5902         javax/naming/StringRefAddr.java: Add license clarification.
5904 2002-01-22  Tom Tromey  <tromey@redhat.com>
5906         * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
5907         * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
5908         * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
5909         version.
5910         * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
5911         * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
5912         * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
5913         * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
5914         * java/awt/peer/DialogPeer.java: Replace with Classpath version.
5915         * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
5916         * java/awt/peer/FontPeer.java: Replace with Classpath version.
5917         * java/awt/peer/FramePeer.java: Replace with Classpath version.
5918         * java/awt/peer/LabelPeer.java: Replace with Classpath version.
5919         * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
5920         * java/awt/peer/ListPeer.java: Replace with Classpath version.
5921         * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
5922         * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
5923         * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
5924         * java/awt/peer/MenuPeer.java: Replace with Classpath version.
5925         * java/awt/peer/PanelPeer.java: Replace with Classpath version.
5926         * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
5927         * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
5928         * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
5929         * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
5930         * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
5931         * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
5932         * java/awt/peer/WindowPeer.java: Replace with Classpath version.
5933         * gnu/awt/xlib/XPanelPeer.java (insets): New method.
5934         * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
5935         (minimumSize, preferredSize, reshape): Likewise.
5936         * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
5937         getColorModel): New methods.
5938         * java/awt/PopupMenu.java: Merged with Classpath.
5939         * java/awt/MenuBar.java: Merged with Classpath.
5940         * java/awt/SystemColor.java: Replace with Classpath version.
5941         * java/awt/Panel.java: Merged with Classpath.
5942         * java/awt/PaintContext.java: Updated copyright.
5943         * java/awt/MenuShortcut.java: Merged with Classpath.
5944         * java/awt/MenuContainer.java: Merged with Classpath.
5945         * java/awt/Menu.java: Merged with Classpath.
5946         * java/awt/MediaEntry.java: New file from Classpath.
5947         * java/awt/MediaTracker.java: New file from Classpath.
5948         * java/awt/List.java: Merged with Classpath version.
5949         * java/awt/Insets.java: Merged with Classpath version.
5950         * java/awt/ImageMediaEntry.java: New file from Classpath.
5951         * java/awt/Image.java: Replaced with Classpath version.
5952         * java/awt/FontMetrics.java: Merged with Classpath version.
5953         * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
5954         constant.
5955         * java/awt/Font.java: Merged with Classpath version.
5956         * java/awt/Dialog.java: Merged with Classpath version.
5957         * java/awt/Color.java: Merged with Classpath version.
5958         * java/awt/Choice.java: Merged with Classpath version.
5959         * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
5960         * java/awt/Adjustable.java: Replace with Classpath version.
5961         * java/awt/MenuItem.java (paramString): Don't include class name
5962         or brackets.  Call superclass paramString.
5963         * java/awt/MenuComponent.java (toString): Call paramString.
5964         (paramString): Compute string; don't call toString.
5965         * java/awt/Label.java (paramString): Don't include class name
5966         or brackets.  Call superclass paramString.
5967         * java/awt/Checkbox.java (paramString): Don't include class name
5968         or brackets.  Call superclass paramString.
5969         * java/awt/Button.java (paramString): Don't include class name or
5970         brackets.  Call superclass paramString.
5971         * java/awt/MenuComponent.java (getTreeLock): Now protected.
5973 2002-01-20  Andreas Schwab  <schwab@suse.de>
5975         * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
5976         function and of parameter recv_func to ssize_t, as specified by
5977         POSIX.
5979 2002-01-19  Per Bothner  <per@bothner.com>
5981         * java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
5982         uncompressed_size in readiness for next entry.
5984 2002-01-18  Tom Tromey  <tromey@redhat.com>
5986         * java/net/natPlainSocketImpl.cc: Include
5987         IllegalArgumentException.h.
5988         (_Jv_recv): New template function.
5989         (BooleanClass): Removed.
5990         (read): Use _Jv_recv.
5991         (setOption): Use Boolean::class$.  Throw exception if object is
5992         not Boolean or Integer.
5994 2002-01-17  Tom Tromey  <tromey@redhat.com>
5996         * java/awt/MenuComponent.java: Merged with Classpath.
5997         * java/awt/MenuItem.java: Merged with Classpath.
5998         * java/awt/Button.java: Merged with Classpath.
6000         * java/awt/ActiveEvent.java: Updated copyright.
6002         * java/awt/AWTError.java: Replaced with Classpath version.
6003         * java/awt/AWTException.java: Replaced with Classpath version.
6004         * java/awt/IllegalComponentStateException.java: Replaced with
6005         Classpath version.
6007 2002-01-16  Tom Tromey  <tromey@redhat.com>
6009         * java/awt/Canvas.java (serialVersionUID): New constant.
6010         Updated copyright.  Added javadoc from Classpath.
6011         * java/awt/ItemSelectable.java: Replaced with Classpath version.
6013         * java/awt/CheckboxGroup.java: Merged with Classpath.
6014         * java/awt/Checkbox.java: Merged with Classpath.
6016         * java/awt/Dimension.java: Updated copyright.  Added javadoc from
6017         Classpath.
6018         * java/awt/Point.java: Updated copyright.
6020         * java/awt/Point.java (toString): Use getClass().getName().
6021         Added javadoc.
6023         * java/util/IdentityHashMap.java (IdentityHashMap): Removed
6024         commented code.
6025         (hash): Correctly compute initial value for `h'.
6027         * java/awt/Label.java: Merged with Classpath.
6029 2002-01-15  Tom Tromey  <tromey@redhat.com>
6031         * java/awt/AWTPermission.java: Updated copyright.
6033         * java/awt/LayoutManager2.java: Merged with Classpath.
6034         * java/awt/LayoutManager.java: Merged with Classpath.
6035         * java/awt/GridLayout.java: Updated copyright and javadoc.
6036         (getSize): Use `parent.ncomponents'.  Handle insets.
6037         (layoutContainer): Use `parent.ncomponents'.  Handle case where
6038         there are fewer children than columns.  Correctly compute size of
6039         each cell in the grid.  Handle case where there isn't enough
6040         space.
6041         * java/awt/CardLayout.java (tab): Renamed from `map'.  Updated
6042         all users.
6043         (gotoComponent): Use parent.ncomponents.  Ensure child exists
6044         before calling setVisible() on it.  Last item is `num - 1', not
6045         `num'.
6046         (layoutContainer): Hoist invariants out of loop.
6048         Start of AWT merge with Classpath:
6049         * Makefile.in: Rebuilt.
6050         * Makefile.am (awt_java_source_files): Reference files in
6051         gnu/java/awt, not gnu/gcj/awt.
6052         * java/awt/image/BufferedImage.java: Updated copyright.
6053         * java/awt/image/ComponentColorModel.java: Updated copyright.
6054         * java/awt/image/ComponentSampleModel.java: Updated copyright.
6055         * java/awt/image/DataBuffer.java: Updated copyright.
6056         * java/awt/image/DataBufferByte.java: Updated copyright.
6057         * java/awt/image/DataBufferInt.java: Updated copyright.
6058         * java/awt/image/DataBufferUShort.java: Updated copyright.
6059         * java/awt/image/IndexColorModel.java: Updated copyright.
6060         * java/awt/image/PackedColorModel.java: Updated copyright.
6061         * java/awt/image/Raster.java: Updated copyright.
6062         * java/awt/image/RasterOp.java: Updated copyright.
6063         * java/awt/image/SampleModel.java: Updated copyright.
6064         * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
6065         * java/awt/image/WritableRaster.java: Updated copyright.
6066         * java/awt/color/ColorSpace.java: Updated copyright.
6067         * java/awt/color/ICC_ColorSpace.java: Updated copyright
6068         * java/awt/color/ICC_Profile.java: Updated copyright.
6069         * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
6070         * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
6071         * java/awt/event/HierarchyEvent.java: Updated copyright.
6072         * java/awt/event/HierarchyListener.java: Updated copyright.
6073         * java/awt/geom/AffineTransform.java: Updated copyright.
6074         * java/awt/geom/Dimension2D.java: Updated copyright.
6075         * java/awt/geom/Ellipse2D.java: Updated copyright.
6076         * java/awt/geom/IllegalPathStateException.java: Updated copyright.
6077         * java/awt/geom/Line2D.java: Updated copyright.
6078         * java/awt/geom/NoninvertibleTransformException.java: Updated
6079         copyright.
6080         * java/awt/geom/PathIterator.java: Updated copyright.
6081         * java/awt/geom/Point2D.java: Updated copyright.
6082         * java/awt/geom/Rectangle2D.java: Updated copyright.
6083         * java/awt/geom/RectangularShape.java: Updated copyright.
6084         * java/awt/geom/RoundRectangle2D.java: Updated copyright.
6085         * java/awt/Toolkit.java: Updated import for file moves.
6086         * java/awt/Rectangle.java: Updated copyright; added javadoc from
6087         Classpath.
6088         (hashCode): New method from Classpath.
6089         * java/awt/Graphics2D.java: Updated copyright.
6090         * java/awt/Transparency.java: Updated copyright.
6091         * java/awt/Paint.java: Updated copyright.
6092         * java/awt/Graphics.java: New version from Classpath.
6093         * java/awt/EventDispatchThread.java: Updated copyright.
6094         * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
6095         children.
6096         (gotoComponent): Wrap around on next/previous.
6097         * gnu/gcj/awt/BitMaskExtent.java: Removed.
6098         * gnu/gcj/awt/Buffers.java: Removed.
6099         * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
6100         * gnu/gcj/awt/GLightweightPeer.java: Removed.
6101         * gnu/java/awt/BitMaskExtent.java: Added.
6102         * gnu/java/awt/Buffers.java: Added.
6103         * gnu/java/awt/ComponentDataBlitOp.java: Added.
6104         * gnu/java/awt/GLightweightPeer.java: Added.
6105         * java/awt/geom/Line2D.java (clone): Ignore
6106         CloneNotSupportedException.
6107         * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
6108         * java/awt/Frame.java: Merged with Classpath.
6109         * java/awt/RenderingHints.java: Copyright update.
6110         * java/awt/Paint.java: Copyright update.
6111         * java/awt/image/DirectColorModel.java: Merged with Classpath.
6112         * java/awt/image/ColorModel.java: Merged with Classpath.
6113         * java/awt/Window.java (show): New Implementation from Classpath.
6114         (isShowing): Use super.isShowing().
6115         * java/awt/EventQueue.java: Merged with Classpath.
6116         * java/awt/AWTEventMulticaster.java (save): Throw
6117         RuntimeException.
6118         (saveInternal): Likewise.
6119         * java/awt/AWTEvent.java: Now implements Serializable.
6120         * java/awt/Event.java: Copyright update.
6121         * java/awt/peer/ComponentPeer.java: Merged with Classpath.
6122         * java/awt/image/BufferedImage.java: Copyright update.
6123         * java/awt/GraphicsConfiguration.java: Copyright update.
6124         * java/awt/Component.java: (addNotify): Don't call
6125         addNotifyContainerChildren().
6126         (addNotifyContainerChildren): Removed.
6127         (setPeer): New method from Classpath.
6128         (setTreeLock): Likewise.
6129         (setVisible): Rewrote.
6130         (show): Use it.
6131         (hide): Likewise.
6132         (validate): Set `valid'.
6133         (checkImage(Image,ImageObserver)): Implementation from Classpath.
6134         (createImage(ImageProducer)): Likewise.
6135         (prepareImage): Likewise.
6136         * java/awt/Container.java (addImpl): Handle case where constraint
6137         is not a String.  Post event via system event queue.
6138         (remove): Post event via system event queue.
6139         (validateTree): Only validate child if it is invalid.
6140         (getAlignmentX): Call super method as default.
6141         (getAlignmentY): Likewise.
6142         (addContainerListener): Now synchronized.
6143         (removeContainerListener): Likewise.
6144         (addNotifyContainerChildren): Now private.
6145         * java/awt/ComponentOrientation.java: Updated copyright.  Added
6146         @author.
6147         * java/awt/FlowLayout.java (serialVersionUID): New field.
6148         (setAlignment): Better exception message.
6149         (layoutContainer): Don't compute component's preferred size unless
6150         we're going to use it.
6151         * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
6152         BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
6153         (firstLine, lastLine, firstItem, lastItem): New fields.
6154         (addLayoutComponent): Handle case where constraints is null.
6155         Also, handle relative locations.
6156         (removeLayoutComponent): Handle relative locations.
6157         (MIN, MAX, PREF): New constants.
6158         (calcCompSize): New method.
6159         (calcSize): New method.
6160         (minimumLayoutSize): Use it.
6161         (preferredLayoutSize): Likewise.
6162         (maximumLayoutSize): Likewise.
6163         (toString): Include more information.
6164         (setBounds): New method.
6165         (layoutContainer): Use libgcj implementation; extended to handle
6166         relative locations.
6168 2002-01-15  Tom Tromey  <tromey@redhat.com>
6170         * java/lang/Float.java (equals): Preserve old code.
6171         * java/lang/Double.java (equals): Preserve old code.
6173 2002-01-15  Eric Blake  <ebb9@email.byu.edu>
6175         * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
6176         * java/lang/Float.java (equals, compare): Ditto.
6178 2002-01-13  Mark Wielaard  <mark@klomp.org>
6180         * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
6181         * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
6182         * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
6183         * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
6185 2002-01-11  Mark Wielaard  <mark@klomp.org>
6187         * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
6188         * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
6189         InetAddress.
6190         * java/net/MulticastSocket.java (MulticastSocket): Likewise.
6191         * java/net/Socket.java: Merge with Classpath.
6192         * java/net/ServerSocket.java: Likewise.
6194 2002-01-11  Chris Sears  <cbsears_sf@yahoo.com>
6196         * interpret.cc (NULLARRAYCHECK): New macro.
6197         (SAVE_PC): Just store `pc'.
6198         (find_exception): Subtract one from `pc' here.
6199         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
6200         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
6201         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
6202         insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
6203         don't call SAVE_PC.
6204         (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
6205         call SAVE_PC.
6207 2002-01-11  Tom Tromey  <tromey@redhat.com>
6209         * java/lang/natSystem.cc (init_properties): Only look for default
6210         locale if LC_MESSAGES is defined.
6211         * aclocal.m4, configure, include/config.h.in: Rebuilt.
6212         * configure.in: Call AM_LC_MESSAGES.
6213         * acinclude.m4 (AM_LC_MESSAGES): New macro.
6215 2002-01-10  Tom Tromey  <tromey@redhat.com>
6217         For PR libgcj/5303:
6218         * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
6219         --version.  Recognize GNU-style long options.  Print GNU-style
6220         error messages.
6221         (usage): Print GNU-style help.  Exit with status 0.
6222         (error): New method.
6223         (run): Print error message if no class names found.
6224         (main): Don't print usage on error.
6226 2002-01-09  Tom Tromey  <tromey@redhat.com>
6228         * gnu/gcj/convert/Convert.java (version): Use java.vm.name
6229         property.
6230         (help, version): Use println(), not println("").
6232         For PR libgcj/5303:
6233         * gnu/gcj/convert/Convert.java (error): Program is called
6234         `jv-convert'.  Print GNU-style message.  Exit with status 1, not
6235         -1.
6236         (main): Handle --help and --version.
6237         (help): New method.
6238         (version): Likewise.
6240 2002-01-08  Tom Tromey  <tromey@redhat.com>
6242         * Makefile.in: Rebuilt.
6243         * Makefile.am (ordinary_java_source_files): Added new files.
6244         * gnu/java/locale/LocaleInformation.java: Extend
6245         LocaleInformation_en.
6246         * gnu/java/locale/LocaleInformation_en.java: Added zone strings
6247         and time/date formats.
6248         * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
6249         generated.
6250         * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
6251         * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
6252         * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
6253         * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
6254         * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
6255         * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
6256         * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
6257         * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
6258         * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
6259         * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
6260         * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
6261         * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
6262         * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
6263         * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
6264         * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
6265         * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
6266         * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
6267         * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
6268         * gnu/java/locale/LocaleInformation_be_BY.java: New file.
6269         * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
6270         * gnu/java/locale/LocaleInformation_br_FR.java: New file.
6271         * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
6272         * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
6273         * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
6274         * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
6275         * gnu/java/locale/LocaleInformation_da_DK.java: New file.
6276         * gnu/java/locale/LocaleInformation_de_AT.java: New file.
6277         * gnu/java/locale/LocaleInformation_de_BE.java: New file.
6278         * gnu/java/locale/LocaleInformation_de_CH.java: New file.
6279         * gnu/java/locale/LocaleInformation_de_DE.java: New file.
6280         * gnu/java/locale/LocaleInformation_de_LU.java: New file.
6281         * gnu/java/locale/LocaleInformation_el_GR.java: New file.
6282         * gnu/java/locale/LocaleInformation_en_AU.java: New file.
6283         * gnu/java/locale/LocaleInformation_en_BW.java: New file.
6284         * gnu/java/locale/LocaleInformation_en_CA.java: New file.
6285         * gnu/java/locale/LocaleInformation_en_DK.java: New file.
6286         * gnu/java/locale/LocaleInformation_en_GB.java: New file.
6287         * gnu/java/locale/LocaleInformation_en_HK.java: New file.
6288         * gnu/java/locale/LocaleInformation_en_IE.java: New file.
6289         * gnu/java/locale/LocaleInformation_en_IN.java: New file.
6290         * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
6291         * gnu/java/locale/LocaleInformation_en_PH.java: New file.
6292         * gnu/java/locale/LocaleInformation_en_SG.java: New file.
6293         * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
6294         * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
6295         * gnu/java/locale/LocaleInformation_es_AR.java: New file.
6296         * gnu/java/locale/LocaleInformation_es_BO.java: New file.
6297         * gnu/java/locale/LocaleInformation_es_CL.java: New file.
6298         * gnu/java/locale/LocaleInformation_es_CO.java: New file.
6299         * gnu/java/locale/LocaleInformation_es_CR.java: New file.
6300         * gnu/java/locale/LocaleInformation_es_DO.java: New file.
6301         * gnu/java/locale/LocaleInformation_es_EC.java: New file.
6302         * gnu/java/locale/LocaleInformation_es_ES.java: New file.
6303         * gnu/java/locale/LocaleInformation_es_GT.java: New file.
6304         * gnu/java/locale/LocaleInformation_es_HN.java: New file.
6305         * gnu/java/locale/LocaleInformation_es_MX.java: New file.
6306         * gnu/java/locale/LocaleInformation_es_NI.java: New file.
6307         * gnu/java/locale/LocaleInformation_es_PA.java: New file.
6308         * gnu/java/locale/LocaleInformation_es_PE.java: New file.
6309         * gnu/java/locale/LocaleInformation_es_PR.java: New file.
6310         * gnu/java/locale/LocaleInformation_es_PY.java: New file.
6311         * gnu/java/locale/LocaleInformation_es_SV.java: New file.
6312         * gnu/java/locale/LocaleInformation_es_US.java: New file.
6313         * gnu/java/locale/LocaleInformation_es_UY.java: New file.
6314         * gnu/java/locale/LocaleInformation_es_VE.java: New file.
6315         * gnu/java/locale/LocaleInformation_et_EE.java: New file.
6316         * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
6317         * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
6318         * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
6319         * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
6320         * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
6321         * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
6322         * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
6323         * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
6324         * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
6325         * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
6326         * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
6327         * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
6328         * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
6329         * gnu/java/locale/LocaleInformation_he_IL.java: New file.
6330         * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
6331         * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
6332         * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
6333         * gnu/java/locale/LocaleInformation_id_ID.java: New file.
6334         * gnu/java/locale/LocaleInformation_it_CH.java: New file.
6335         * gnu/java/locale/LocaleInformation_it_IT.java: New file.
6336         * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
6337         * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
6338         * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
6339         * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
6340         * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
6341         * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
6342         * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
6343         * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
6344         * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
6345         * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
6346         * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
6347         * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
6348         * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
6349         * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
6350         * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
6351         * gnu/java/locale/LocaleInformation_no_NO.java: New file.
6352         * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
6353         * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
6354         * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
6355         * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
6356         * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
6357         * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
6358         * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
6359         * gnu/java/locale/LocaleInformation_se_NO.java: New file.
6360         * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
6361         * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
6362         * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
6363         * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
6364         * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
6365         * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
6366         * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
6367         * gnu/java/locale/LocaleInformation_te_IN.java: New file.
6368         * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
6369         * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
6370         * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
6371         * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
6372         * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
6373         * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
6374         * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
6375         * gnu/java/locale/LocaleInformation_yi_US.java: New file.
6376         * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
6377         * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
6378         * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
6379         * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
6381         For PR libgcj/5031:
6382         * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
6383         choose default locale.
6385         * Makefile.in: Rebuilt.
6386         * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
6388 2002-01-08  Nic Ferrier  <nferrier@tf1.tapsellferrier.co.uk>
6390         * java/net/natPlainSocketImpl.cc: Added timeout handling for
6391         sockets.
6392         (close): New function closes the socket.
6393         (write): New functions for output to socket.
6394         (read): New functions for reading from socket.
6395         * java/net/PlainSocketImpl.java: Glue for new timeout
6396         implementation.
6397         (write): Call the native impl.
6398         (read): Likewise.
6399         (getInputStream): Get a stream to read from the socket.
6400         (getOutputStream): Get a stream to write to the socket.
6402 2002-01-08  Tom Tromey  <tromey@redhat.com>
6404         * resolve.cc (_Jv_PrepareClass): Enable verifier.
6406 2002-01-07  Andreas Tobler <a.tobler@schweiz.ch>
6408         * java/lang/reflect/natMethod.cc: Don't include alloca.h.
6409         (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
6411 2002-01-08  Chris Sears  <cbsears_sf@yahoo.com>
6413         * interpret.cc (ARRAYBOUNDSCHECK): New macro.
6414         (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
6415         insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
6416         insn_lastore, insn_fastore, insn_dastore, insn_aastore,
6417         insn_bastore, insn_castore, insn_sastore]: Use it.
6418         (continue1) [insn_arraylength]: Check for null array.
6420 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
6422         * configure, include/config.h.in: Rebuilt.
6423         * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
6424         * configure.in: Call AC_STRUCT_TIMEZONE.
6426 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
6428         * configure.host: Disable the interpreter for Darwin.
6430 2002-01-04  Tom Tromey  <tromey@redhat.com>
6432         * java/lang/Thread.java (stop): No longer synchronized.
6433         (start): Likewise.
6435 2002-01-02  Tom Tromey  <tromey@redhat.com>
6437         * java/lang/ieeefp.h: Fix bug in my hand-application of previous
6438         patch.
6440 2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>
6442         * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
6443         PPC Darwin, not for all of Darwin.