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