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