aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
AgeCommit message (Collapse)AuthorFilesLines
2003-06-11MappedByteBuffer.java, [...]: Removed unneeded imports.Michael Koch4-4/+3
2003-06-11 Michael Koch <konqueror@gmx.de> * java/nio/MappedByteBuffer.java, java/nio/channels/Channels.java, java/nio/channels/ServerSocketChannel.java, java/nio/channels/spi/AbstractSelector.java: Removed unneeded imports. From-SVN: r67756
2003-06-11DatagramSocket.java: Partly merged with classpath.Michael Koch1-4/+21
2003-06-11 Michael Koch <konqueror@gmx.de> * java/net/DatagramSocket.java: Partly merged with classpath. From-SVN: r67755
2003-06-11Frame.java, [...]: New versions from classpath.Michael Koch5-58/+8
2003-06-11 Michael Koch <konqueror@gmx.de> * java/awt/Frame.java, java/awt/Graphics.java, java/awt/Menu.java, java/awt/Robot.java, java/awt/image/ColorModel.java: New versions from classpath. From-SVN: r67754
2003-06-10PrintStream.java: Merged version from classpath.Michael Koch1-144/+85
2003-06-10 Michael Koch <konqueror@gmx.de> * java/io/PrintStream.java: Merged version from classpath. (close): Removed sychronized keyword. This class is not garantied to be thread-safe. (write): Likewise. From-SVN: r67717
2003-06-08URLStreamHandler.java (sameFile): Fix port value comparison.Anthony Green2-3/+11
2003-06-08 Anthony Green <green@redhat.com> * java/net/URLStreamHandler.java (sameFile): Fix port value comparison. * java/net/URL.java (handler): Make package private. * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method. From-SVN: r67640
2003-06-08For PR libgcj/11085:Tom Tromey2-5/+18
* java/text/SimpleDateFormat.java (parse(String,ParsePosition)): Limit number of characters in numeric field when required. * java/text/DecimalFormat.java (parse(String,ParsePosition)): Respect maximumIntegerDigits. From-SVN: r67633
2003-06-082003-06-08 Michael Koch <konqueror@gmx.de>Michael Koch1-64/+56
* java/net/Socket.java (Socket): Dont initialize inputShutdown and outputShutdown twice, call bind() and connect() to actually do the bind and connect tasks. (bind): Connect to canonical address if bindpoint is null, create socket and bind it to bindpoint. (connect): Check for exceptions. From-SVN: r67618
2003-06-082003-06-08 Michael Koch <konqueror@gmx.de>Michael Koch4-70/+3
* java/net/DatagramSocket.java (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs into the Multicast constructors. * java/net/DatagramSocketImpl.java (getOption): Removed. (setOption): Removed. * java/net/MulticastSocket.java (MulticastSocket): Call setReuseAddress (true). * java/net/SocketImpl.java (getOption): Removed. (setOption): Removed. From-SVN: r67617
2003-06-07Security.java (secprops): Initialize.Mark Wielaard1-13/+36
* java/security/Security.java (secprops): Initialize. (loadProviders): Return boolean. (static): Check result of loadProvider calls. If necessary display WARNING and fallback to Gnu provider. From-SVN: r67597
2003-06-07re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw ↵Mark Wielaard3-10/+17
IOExceptions) 2002-06-06 James Clark <jjc@jclark.com> Fix for PR libgcj/8738: * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method. * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise. (write): Always decrease avail when count is increased. * java/lang/natString.cc (getBytes): Check converter havePendingBytes() and whether output buffer is full before increasing size. 2002-06-06 Mark Wielaard <mark@klomp dot org> * java/io/PrintStream.java (writeChars(char[],int, int)): Check converter.havePendingBytes(). (writeChars(String,int,int)): Likewise. * java/io/OutputStreamWriter.java (writeChars(char[], int, int)): Check converter.havePendingBytes() and flush buffer when stalled. From-SVN: r67595
2003-06-06Toolkit.java (getDefaultToolkit): Add exception cause to AWTError.Mark Wielaard1-2/+3
* java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to AWTError. From-SVN: r67542
2003-06-06w_exp.c (o_threshold, [...]): Define only if _IEEE_LIBM is undefined.Matt Kraai1-0/+4
* java/lang/w_exp.c (o_threshold, u_threshold): Define only if _IEEE_LIBM is undefined. From-SVN: r67526
2003-06-05posix.h (O_SYNC): Define if not available and a reasonable...Loren J. Rittle1-2/+0
* libjava/include/posix.h (O_SYNC): Define if not available and a reasonable, perhaps more conservative, replacement exists. (O_DSYNC): Likewise. * java/io/natFileDescriptorPosix.cc (open): Revert last patch. From-SVN: r67517
2003-06-05Button.java, [...]: New versions from Classpath.Michael Koch34-75/+59
2003-06-05 Michael Koch <konqueror@gmx.de> * java/awt/Button.java, java/awt/Checkbox.java, java/awt/CheckboxMenuItem.java, java/awt/Choice.java, java/awt/Container.java, java/awt/Dialog.java, java/awt/EventQueue.java, java/awt/FileDialog.java, java/awt/Frame.java, java/awt/Label.java, java/awt/List.java, java/awt/Menu.java, java/awt/MenuItem.java, java/awt/Panel.java, java/awt/PopupMenu.java, java/awt/Rectangle.java, java/awt/ScrollPane.java, java/awt/Scrollbar.java, java/awt/TextArea.java, java/awt/TextField.java, java/awt/Window.java, java/awt/datatransfer/DataFlavor.java, java/awt/dnd/DragSource.java, java/awt/dnd/DragSourceContext.java, java/awt/event/HierarchyEvent.java, java/awt/event/MouseWheelEvent.java, java/awt/im/InputContext.java, java/awt/image/BufferedImage.java, java/awt/image/ComponentColorModel.java, java/awt/image/Raster.java, java/awt/image/WritableRaster.java, java/awt/peer/ComponentPeer.java, java/awt/print/PageFormat.java, java/awt/print/PrinterJob.java: New versions from Classpath. From-SVN: r67506
2003-06-05SimpleDateFormat.java (SimpleDateFormat): Added ↵Scott Gilbertson1-1/+4
numberFormat.setParseIntegerOnly(true). 2003-06-05 Scott Gilbertson <scottg@mantatest.com> * java/text/SimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly(true). From-SVN: r67504
2003-05-272003-05-27 Michael Koch <konqueror@gmx.de>Michael Koch3-27/+206
* java/util/zip/Deflater.java (FILTERED): Merged documentation from classpath. * java/util/zip/DeflaterOutputStream.java (DeflaterOutputStream): Merged documentation and argument validity check from classpath. (deflate): Merged documentation from classpath. (finish): Likewise. * java/util/zip/Inflater.java (Inflater): Merged class documentation from classpath. (zstream): Reordered. (is_finished): Reordered. (dict_needed): Reordered. (Inflater): Reordered, merged documentation from classpath. (end): Likewise. (finalize): Merged documentation from classpath. (finished): Likewise. (getAdler): Likewise. (getRemaining): Likewise. (getTotalIn): Likewise. (getTotalOut): Likewise. (inflate): Likewise. (needsDictionary): Likewise. (needsInput): Likewise. (reset): Likewise. (setDictionary): Likewise. (setInput): Likewise. From-SVN: r67185
2003-05-272003-05-27 Michael Koch <konqueror@gmx.de>Michael Koch1-8/+12
* java/net/URLConnection.java (getHeaderFieldInt): Merged with classpath. From-SVN: r67184
2003-05-272003-05-27 Michael Koch <konqueror@gmx.de>Michael Koch1-12/+38
* java/io/PrintStream.java (PrintStream): Reformatted. (PrintStream): New method, merged from classpath. (write): Reformatted. From-SVN: r67183
2003-05-27System.java: Explicitely import needed classes.Michael Koch1-1/+8
2003-05-27 Michael Koch <konqueror@gmx.de> * java/lang/System.java: Explicitely import needed classes. From-SVN: r67182
2003-05-26NetPermission.java, [...]: New versions from classpath.Michael Koch4-77/+94
2003-05-26 Michael Koch <konqueror@gmx.de> * java/net/NetPermission.java, java/net/NetworkInterface.java, java/net/PasswordAuthentication.java, java/net/SocketPermission.java: New versions from classpath. From-SVN: r67174
2003-05-25PushbackInputStream.java, [...]: Merged new versions from classpath.Michael Koch11-418/+396
2003-05-25 Michael Koch <konqueror@gmx.de> * java/io/PushbackInputStream.java, java/net/Authenticator.java, java/net/ContentHandler.java, java/net/ContentHandlerFactory.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/DatagramSocketImplFactory.java, java/net/FileNameMap.java, java/net/SocketImplFactory.java, java/net/SocketOptions.java, java/net/URLStreamHandlerFactory.java: Merged new versions from classpath. From-SVN: r67165
2003-05-25Checkbox.java, [...]: New versions from classpath.Michael Koch7-16/+221
2003-05-25 Michael Koch <konqueror@gmx.de> * java/awt/Checkbox.java, java/awt/Dialog.java, java/awt/Font.java, java/awt/Frame.java, java/awt/ScrollPaneAdjustable.java, java/awt/Scrollbar.java, java/awt/Window.java: New versions from classpath. From-SVN: r67164
2003-05-23re PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)Jeff Sturm1-1/+1
PR libgcj/10838: * java/io/ObjectInputStream (enableResolveObject): Fixed spelling of permission name. From-SVN: r67111
2003-05-202003-05-20 Michael Koch <konqueror@gmx.de>Michael Koch2-6/+12
* java/io/DataInputStream.java (convertFromUTF): Merged comment from classpath. * java/io/PrintStream.java (error_occured): Renamed from error, merged comment from classpath. (PrintStream): No need to initialized error. (checkError): Replace error with error_occurred. (setError): Likewise. From-SVN: r66997
2003-05-20DataInputStream.java: Reformatted, Replaced < and & with html entitites in ↵Michael Koch3-147/+158
documentation. 2003-05-20 Michael Koch <konqueror@gmx.de> * java/io/DataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation. * java/io/File.java: Reformatted. * java/io/PrintWriter.java: Moved class documentation. From-SVN: r66992
2003-05-20ByteBufferImpl.java, [...]: Moved files to java/nio.Michael Koch22-15/+2793
2003-05-20 Michael Koch <konqueror@gmx.de> * gnu/java/nio/ByteBufferImpl.java, gnu/java/nio/CharBufferImpl.java, gnu/java/nio/CharViewBufferImpl.java, gnu/java/nio/DirectByteBufferImpl.java, gnu/java/nio/DoubleBufferImpl.java, gnu/java/nio/DoubleViewBufferImpl.java, gnu/java/nio/FloatBufferImpl.java, gnu/java/nio/FloatViewBufferImpl.java, gnu/java/nio/IntBufferImpl.java, gnu/java/nio/IntViewBufferImpl.java, gnu/java/nio/LongBufferImpl.java, gnu/java/nio/LongViewBufferImpl.java, gnu/java/nio/natDirectByteBufferImpl.cc, gnu/java/nio/ShortBufferImpl.java, gnu/java/nio/ShortViewBufferImpl.java: Moved files to java/nio. * gnu/java/nio/SocketChannelImpl.java * java/nio/ByteBuffer.java, java/nio/CharBuffer.java, java/nio/DoubleBuffer.java, java/nio/FloatBuffer.java, java/nio/IntBuffer.java, java/nio/LongBuffer.java, java/nio/ShortBuffer.java: Dont import anything. * java/nio/ByteBufferImpl.java, java/nio/CharBufferImpl.java, java/nio/CharViewBufferImpl.java, java/nio/DirectByteBufferImpl.java, java/nio/DoubleBufferImpl.java, java/nio/DoubleViewBufferImpl.java, java/nio/FloatBufferImpl.java, java/nio/FloatViewBufferImpl.java, java/nio/IntBufferImpl.java, java/nio/IntViewBufferImpl.java, java/nio/LongBufferImpl.java, java/nio/LongViewBufferImpl.java, java/nio/natDirectByteBufferImpl.cc, java/nio/ShortBufferImpl.java, java/nio/ShortViewBufferImpl.java: Moved from gnu/java/nio. * Makefile.am (ordinary_java_source_files): Moved files from gnu/java/nio to java/nio. (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio to java/nio. * Makefile.in: Regenerated. From-SVN: r66990
2003-05-192003-05-19 Michael Koch <konqueror@gmx.de>Michael Koch1-2/+6
* java/util/Calendar.java (get): Not final anymore since JDK 1.4 (set): Likewise. From-SVN: r66956
2003-05-19CollationKey.java: Merged copyright and dat from classpath.Michael Koch2-2/+88
2003-05-19 Michael Koch <konqueror@gmx.de> * java/text/CollationKey.java: Merged copyright and dat from classpath. * java/text/RuleBasedCollator.java: Merged class documentation from classpath. From-SVN: r66955
2003-05-192003-05-19 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+3
* java/nio/CharBuffer.java (toString): Compile fix. From-SVN: r66953
2003-05-192003-05-19 Michael Koch <konqueror@gmx.de>Michael Koch3-3/+4
* gnu/java/nio/ByteBufferImpl.java (putLong): Fixed conversion to bytes. (putDouble): Fixed conversion to bytes. * gnu/java/nio/DirectByteBufferImpl.java (putLong): Fixed conversion to bytes. (putDouble): Fixed conversion to bytes. * gnu/java/nio/FileLockImpl.java (isValid): Reformatted. * java/nio/Buffer.java (Buffer): Fixed off-by-one bug in handling mark. * java/nio/ByteBuffer.java: Added newline. * java/nio/CharBuffer.java (toString): Don't use relative get to get string data. From-SVN: r66946
2003-05-162003-05-16 Michael Koch <konqueror@gmx.de>Michael Koch1-0/+2
* java/io/natFileDescriptorPosix.cc (open): Commented out the O_SYNC and O_DSYNC usage until its better tested. From-SVN: r66859
2003-05-142003-05-14 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+1
* gnu/java/nio/FileLockImpl.java (released): New member variable. (FileLockImpl): Initialize released. (releaseImpl): New native method. (release): Implemented. * gnu/java/nio/SelectorImpl.java: Reformatted. * gnu/java/nio/SelectionKeyImpl.java: Reformatted. * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted. (accept): Throws IOException. * gnu/java/nio/SocketChannelImpl.java: Reformatted. (implConfigureBlocking): Throws IOException. (connect): Likewise. (read): Likewise. (write): Likewise. * gnu/java/nio/natFileLockImpl.cc: New file. * java/nio/channels/FileLock.java: Reformatted. * Makefile.am: (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java. (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc. * Makefile.in: Regenerated. From-SVN: r66799
2003-05-132003-05-13 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+2
* java/nio/channels/FileChannel.java (MapMode.m): Made it package-private to match JDK 1.4. * java/nio/charset/Charset.java (decode): Made it final to match JDK 1.4. From-SVN: r66756
2003-05-132003-05-13 Michael Koch <konqueror@gmx.de>Michael Koch5-20/+35
* java/io/FileDescriptor.java (SYNC): New constant. (DSYNC): Likewise. (getLength): Renamed from lenght() to match classpath's FileDescriptor.java. * java/io/RandomAccessFile.java (RandomAccessFile): Removed unneeded mode check, implemented mode "rws" and "rwd", merged documentation from classpath. (setLength): Reformatted. (length): Use new getLength() of FileDescriptor. * java/io/natFileDescriptorEcos.cc (getLength): Renamed from length(). * java/io/natFileDescriptorPosix.cc (open): Implemented support for SYNC and DSYNC. (seek): Use getLength() instead of length(). (getLength): Renamed from length(). * java/io/natFileDescriptorWin32.cc (getLength): Renamed from length(). (seek): Use getLength() instead of length(). (available): Likewise. * gnu/java/nio/natFileChannelImpl.cc (size): Use getLength() instead of length(). From-SVN: r66755
2003-05-132003-05-13 Michael Koch <konqueror@gmx.de>Michael Koch1-140/+161
* gnu/java/nio/ByteBufferImpl.java (ByteBufferImpl): All constructors revised. (slice): Reimplemented. (duplicate): Reimplemented. (asReadOnlyBuffer): Reimplemented. * java/nio/ByteBuffer.java: Reformatted. (array_offset): Renamed from "offset" to match all other buffer classes. (ByteBuffer): All constructors revised. (allocateDirect): Implemented. (allocate): New implementation, documentation reworked. (wrap): Likewise. (get): Documentation reworked. (put): New implementation, documentation reworked. (hasArray): Documentation reworked. (arrayOffset): Likewise. (hashCode): Likewise. (equals): Likewise. (compareTo): Likewise. (order): Likewise. (compact): Likewise. (isDirect): Likewise. (slice): Likewise. (duplicate): Likewise. (asReadOnlyBuffer): Likewise. * Makefile.am (ordinary_java_source_files): Added gnu/java/nio/DirectByteBufferImpl.java. (nat_source_files): Added gnu/java/nio/natDirectByteBufferImpl.cc. * Makefile.in: Regenerated. From-SVN: r66749
2003-05-12ByteBufferImpl.java: Reformatted.Michael Koch6-377/+1282
2003-05-12 Michael Koch <konqueror@gmx.de> * gnu/java/nio/ByteBufferImpl.java: Reformatted. (nio_get_*): Removed. (nio_put_*): Removed. (as*Buffer): Implemented. (compact): Implemented. (get): Documentation added. (put): Documentation added. (get*): Newly implemented. (put*): Newly implemented. * gnu/java/nio/CharBufferImpl.java: Reformatted. (CharBufferImpl): Revised. (slice): New implementation. (duplicate): New implementation. (compact): New implementation. (asReadOnlyBuffer): New implementation. (get): Documentation revised. (order): Return native byte order. * gnu/java/nio/DirectByteBufferImpl.java (allocateDirect): objects can be null not 0. * gnu/java/nio/DoubleBufferImpl.java: Reformatted. (DoubleBufferImpl): Revised. (slice): New implementation. (duplicate): New implementation. (compact): New implementation. (asReadOnlyBuffer): New implementation. (get): Documentation revised. (order): Return native byte order. * gnu/java/nio/FloatBufferImpl.java: Reformatted. (FloatBufferImpl): Revised. (slice): New implementation. (duplicate): New implementation. (compact): New implementation. (asReadOnlyBuffer): New implementation. (get): Documentation revised. (order): Return native byte order. * gnu/java/nio/IntBufferImpl.java: Reformatted. (IntBufferImpl): Revised. (slice): New implementation. (duplicate): New implementation. (compact): New implementation. (asReadOnlyBuffer): New implementation. (get): Documentation revised. (order): Return native byte order. * gnu/java/nio/LongBufferImpl.java: Reformatted. (LongBufferImpl): Revised. (slice): New implementation. (duplicate): New implementation. (compact): New implementation. (asReadOnlyBuffer): New implementation. (get): Documentation revised. (order): Return native byte order. * gnu/java/nio/ShortBufferImpl.java: Reformatted. (ShortBufferImpl): Revised. (slice): New implementation. (duplicate): New implementation. (compact): New implementation. (asReadOnlyBuffer): New implementation. (get): Documentation revised. (order): Return native byte order. * java/nio/CharBuffer.java: Reformatted, much documentation rewritten. (CharBuffer): Revised. (order): Removed. * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten. (DoubleBuffer): Revised. (allocateDirect): Removed. (order): Removed. * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten. (FloatBuffer): Revised. (allocateDirect): Removed. (order): Removed. * java/nio/IntBuffer.java: Reformatted, much documentation rewritten. (IntBuffer): Revised. (allocateDirect): Removed. (order): Removed. * java/nio/LongBuffer.java: Reformatted, much documentation rewritten. (LongBuffer): Revised. (allocateDirect): Removed. (order): Removed. * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten. (ShortBuffer): Revised. (allocateDirect): Removed. (order): Removed. * gnu/java/nio/natByteBufferImpl.cc: Removed. * gnu/java/nio/natCharBufferImpl.cc: Removed. * Makefile.am (ordinary_java_source_files): Added the following files: gnu/java/nio/CharViewBufferImpl.java, gnu/java/nio/DoubleViewBufferImpl.java, gnu/java/nio/FloatViewBufferImpl.java, gnu/java/nio/IntViewBufferImpl.java, gnu/java/nio/LongViewBufferImpl.java, gnu/java/nio/ShortViewBufferImpl.java (nat_source_files): Removed the following files: gnu/java/nio/natByteBufferImpl.cc, gnu/java/nio/natCharBufferImpl.cc * Makefile.in: Regenerated. From-SVN: r66733
2003-05-102003-05-10 Michael Koch <konqueror@gmx.de>Michael Koch6-13/+13
* java/nio/CharBuffer.java (offset): Make it package-private. (backing_buffer): Likewise. * java/nio/DoubleBuffer.java (offset): Make it package-private. (backing_buffer): Likewise. (put): Reformatted. * java/nio/FloatBuffer.java (offset): Make it package-private. (backing_buffer): Likewise. * java/nio/IntBuffer.java (offset): Make it package-private. (backing_buffer): Likewise. * java/nio/LongBuffer.java (offset): Make it package-private. (backing_buffer): Likewise. * java/nio/ShortBuffer.java (offset): Make it package-private. (backing_buffer): Likewise. From-SVN: r66657
2003-05-102003-05-10 Michael Koch <konqueror@gmx.de>Michael Koch1-3/+8
* java/nio/CharBuffer.java (put): Fixed precondtion check. (toString): Make it work without backing array. (put): Skip one level of method calling. From-SVN: r66656
2003-05-10Identity.java, [...]: New versions from classpath.Michael Koch14-14/+17
2003-05-10 Michael Koch <konqueror@gmx.de> * java/security/Identity.java, java/security/IdentityScope.java, java/security/Key.java, java/security/KeyPair.java, java/security/PrivateKey.java, java/security/Provider.java, java/security/PublicKey.java, java/security/SecureRandom.java, java/security/SecureRandomSpi.java, java/security/SignedObject.java, java/security/Signer.java, java/security/cert/Certificate.java, java/security/cert/PKIXCertPathBuilderResult.java, java/security/cert/X509Certificate.java: New versions from classpath. From-SVN: r66655
2003-05-092003-05-09 Michael Koch <konqueror@gmx.de>Michael Koch2-9/+19
* java/net/JarURLConnection.java (getJarEntry): Merged documentation from classpath. (getJarFile): Likewise. (getMainAttributes): Likewise. (getAttributes): Likewise. (getManifest): Likewise. (getCertificates): Reformatted. * java/net/URLConnection.java: Little classpath merge. From-SVN: r66625
2003-05-092003-05-09 Michael Koch <konqueror@gmx.de>Michael Koch3-26/+110
* java/io/DataOutputStream.java (writeShort): Made it synchronized. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Liekwise. (writeUTF): Made it synchronized, renamed argument to match classpath. * java/io/InputStreamReader.java (converter): Added documentation. (read): Merged documentation from classpath. * java/io/OutputStreamWriter.java (OutputStreamWriter): Merged documentation from classpath. (close): Reformatted. (getEncoding): Likewise. (flush): Likewise. (write): Merged documentation from classpath, reformatted. From-SVN: r66624
2003-05-062003-05-06 Michael Koch <konqueror@gmx.de>Michael Koch5-98/+264
* java/io/DataOutputStream.java (write): Renamed argument to "value", merged documentation from classpath. (writeBoolean): Likewise. (writeByte): Likewise. (writeShort): Likewise. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Likewise. (writeFloat): Likewise. (writeDouble): Likewise. (writeBytes): Likewise. (writeChars): Likewise. (writeUTF): Likewise. * java/io/File.java (performDelete): Added documentation. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (performRenameTo): Likewise. (performSetLastModified): Likewise. (delete): Made it sychronized. (renameTo): Made it sychronized. (equals): Reformatted. (isHidden): Likewise. (listFiles): Likewise. (setReadOnly): Likewise. (listRoots): Likewise. (setLastModified): Likewise. (checkRead): Likewise. (checkWrite): Likewise. * java/io/FileInputStream.java (skip): Made it sychronized, merged from classpath. * java/io/FileOutputStream.java (write): Merged from classpath. * java/io/InputStreamReader.java: (InputStreamReader): Merged documentation from classpath. From-SVN: r66520
2003-05-052003-05-05 Michael Koch <konqueror@gmx.de>Michael Koch1-9/+6
* java/net/NetworkInterface.java (networkInterfaces): Removed. (getByName): Use getRealNetworkInterfaces() instead of networkInterfaces. (getByInetAddress): Likewise. (getNetworkInterfaces): Likewise. (toString): Fix output of addresses of an interface. From-SVN: r66500
2003-05-05DataInputStream.java: Reordered methods to match libgcj.Michael Koch1-49/+66
2003-05-04 Michael Koch <konqueror@gmx.de> * java/io/DataInputStream.java: Reordered methods to match libgcj. From-SVN: r66478
2003-05-05Forgot to add this to commit line on 2003/05/02. Its in Changelog already.Michael Koch1-1/+0
>2003-05-02 Michael Koch <konqueror@gmx.de> > > * java/net/URI.java > (create): Doesnt throws any exceptions. From-SVN: r66474
2003-05-03GtkButtonPeer.java: Fix misspelling of "version".Matt Kraai4-4/+4
* libjava/gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of "version". * libjava/gnu/awt/gtk/GtkComponentPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkContainerPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkFramePeer.java: Likewise. * libjava/gnu/awt/gtk/GtkLabelPeer.java: Likewise. * libjava/gnu/awt/gtk/GtkMainThread.java: Likewise. * libjava/gnu/awt/gtk/GtkToolkit.java: Likewise. * libjava/gnu/awt/gtk/GtkWindowPeer.java: Likewise. * libjava/java/security/Key.java: Likewise. * libjava/java/security/PrivateKey.java: Likewise. * libjava/java/security/Provider.java: Likewise. * libjava/java/security/PublicKey.java: Likewise. From-SVN: r66431
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch1-60/+96
* java/net/URI.java (create): Doesnt throws any exceptions. * java/net/URLConnection.java (URLConnection): Commend added. (getExpiration): The header field is called "expires" not "expiration". (getHeaderField): Merged documentation with classpath. (getHeaderFieldInt): Likewise. (getHeaderFieldDate): Likewise. (getHeaderFieldKey): Likewise. (getPermission): Likewise. (setDefaultUseCaches): Likewise. (setRequestProperty): Likewise. (addRequestProperty): Likewise. (getRequestProperty): Likewise. (getRequestProperties): Likewise. (setDefaultRequestProperty): Likewise. (getDefaultRequestProperty): Likewise. (guessContentTypeFromStream): Likewise. (getFileNameMap): Likewise. (setFileNameMap): Likewise. (setDoInput): Merged implementation and documentation with classpath. (setDoOutput): Likewise. (setAllowUserInteraction): Likewise. (setDefaultAllowUserInteraction): Likewise. (setContentHandlerFactory): Made it synchronized, merged documentation with classpath. (guessContentTypeFromName): Renamed argument fname to filename to match classpath, merged documentation with classpath. From-SVN: r66384
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch3-69/+228
* java/net/JarURLConnection.java (JarURLConnection): Class documentation merged with classpath. (getJarFileURL): Moved and documentation merged with classpath. (getEntryName): Likewise. (JarURLConnection): Documentation merged with classpath. (getJarEntry): Likewise. (getJarFile): Likewise. * java/net/PlainDatagramSocketImpl.java: Class documentation moved. * java/net/URLConnection.java (fileNameMap): Moved and documentation merged with classpath. (factory): Likewise. (defaultAllowUserInteraction): Likewis. (defaultUseCaches): Likewise. (allowUserInteraction): Likewise. (connected): Likewise. (url): Likewise. (connect): Documentation merged with classpath. (getURL): Likewise. (getContentLength): Likewise. (getContentType): Likewise. (getContentEncoding): Likewise. (getExpiration): Likewise. (getDate): Likewise. (getLastModified): Likewise. (getHeaderField): Likewise. (getContent): Likewise. (getPermission): Likewise. (getInputStream): Likewise. (getOutputStream): Likewise. (toString): Likewise. (getDoInput): Likewise. (getDoOutput): Likewise. (setAllowUserInteraction): Likewise. (getAllowUserInteraction): Likewise. (setDefaultAllowUserInteraction): Likewise. (getDefaultAllowUserInteraction): Likewise. (setUseCaches): Likewise. (getUseCaches): Likewise. (setIfModifiedSince): Likewise. (getIfModifiedSince): Likewise. (setDefaultRequestProperty): Likewise. (getDefaultRequestProperty): Likewise. (setContentHandlerFactory): Likewise. (setFileNameMap): Likewise. From-SVN: r66379
2003-05-02InetAddress.java: Merged class documentation with classpath.Michael Koch5-18/+114
2003-05-02 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java: Merged class documentation with classpath. * java/net/JarURLConnection.java: Explicitely import all used classes. * java/net/URL.java: Reformatting. * java/net/ServerSocket.java, java/net/Socket.java: New versions from classpath. From-SVN: r66376
2003-05-022003-05-02 Michael Koch <konqueror@gmx.de>Michael Koch2-3/+8
* gnu/java/nio/FileChannelImpl.java (read): New implementation. (implRead): New methods. (write): New implementation, call other write insteal of read method. (implWrite): New methods. (map): Added comment. (transferFrom): Implemented. (transferTo): Implemented. (lock): Added checks to throw exceptions. (truncate): Added check to throw exception. * gnu/java/nio/natFileChannelImpl.cc (implRead): New method. (implWrite): New method. * java/nio/ByteBuffer.java (hashCode): Fixed comment. (get): Fixed exception documentation. (put): Fixed exception documentation. * java/nio/CharBuffer.java: Added comment for later optimizations. From-SVN: r66373