Michael Koch
5191f392bb
2003-05-27 Michael Koch <konqueror@gmx.de>
...
* java/net/URLConnection.java
(getHeaderFieldInt): Merged with classpath.
From-SVN: r67184
2003-05-27 06:17:57 +00:00
Michael Koch
b91c701d19
NetPermission.java, [...]: New versions from classpath.
...
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-26 12:58:02 +00:00
Michael Koch
c7684ffe55
PushbackInputStream.java, [...]: Merged new versions from classpath.
...
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-25 11:40:19 +00:00
Michael Koch
44db872cf5
2003-05-09 Michael Koch <konqueror@gmx.de>
...
* 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-09 07:11:11 +00:00
Michael Koch
e5f3cd6b64
2003-05-05 Michael Koch <konqueror@gmx.de>
...
* 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-05 20:18:31 +00:00
Michael Koch
bb1d035953
Forgot to add this to commit line on 2003/05/02. Its in Changelog already.
...
>2003-05-02 Michael Koch <konqueror@gmx.de>
>
> * java/net/URI.java
> (create): Doesnt throws any exceptions.
From-SVN: r66474
2003-05-05 05:10:47 +00:00
Michael Koch
13a564b36d
2003-05-02 Michael Koch <konqueror@gmx.de>
...
* 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-02 14:23:21 +00:00
Michael Koch
e23c953ac1
2003-05-02 Michael Koch <konqueror@gmx.de>
...
* 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-02 12:32:40 +00:00
Michael Koch
143f596a09
InetAddress.java: Merged class documentation with classpath.
...
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-02 09:27:59 +00:00
Michael Koch
ce7e39367a
URLConnection.java: Import classes directly.
...
2003-04-06 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java:
Import classes directly.
(URLConnection): Merged class documentation with classpath.
(url): Moved, documentation from classpath added.
(doInput): Moved, documentation from classpath added.
(doOutput): Moved, documentation from classpath added.
(allowUserInteraction): Moved.
(useCaches): Moved, documentation from classpath added.
(ifModifiedSince): Moved, documentation from classpath added.
(connected): Moved, documentation from classpath added.
From-SVN: r65301
2003-04-06 16:11:13 +00:00
Michael Koch
24a3f7ac04
natInetAddressNoNet.cc: Include stddef.h.
...
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/net/natInetAddressNoNet.cc:
Include stddef.h.
* java/net/natPlainDatagramSocketImplNoNet.cc:
Fixed inlcude of java/net/DatagramPacket.h.
* java/net/natPlainSocketImplNoNet.cc:
Include some missing classes.
From-SVN: r64795
2003-03-24 13:40:44 +00:00
Michael Koch
111a007d96
InetAddress.java, [...]: Merged copyright statements with classpath for easier merging.
...
2003-03-20 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java,
java/net/JarURLConnection.java,
java/net/PlainDatagramSocketImpl.java,
java/net/PlainSocketImpl.java,
java/net/URLConnection.java:
Merged copyright statements with classpath for easier merging.
From-SVN: r64611
2003-03-20 08:19:58 +00:00
Michael Koch
71a15b1586
configure.in: Fixed links to platform dependant java.net files.
...
2003-03-18 Michael Koch <konqueror@gmx.de>
* configure.in: Fixed links to platform dependant java.net files.
* configure: Regenerated.
* java/net/natInetAddress.cc,
java/net/natNetworkInterface.cc,
java/net/natPlainDatagramSocketImpl.cc,
java/net/natPlainSocketImpl.cc:
Removed.
From-SVN: r64527
2003-03-18 07:41:56 +00:00
Michael Koch
9b5f18b179
configure.in: Create links to architecture dependent files...
...
2003-03-18 Michael Koch <konqueror@gmx.de>
* configure.in: Create links to architecture dependent files,
introduced PLATFORMNET variable (set to NoNet for newlib usage).
* configure: Regenerated.
* java/net/natInetAddressNoNet.cc,
java/net/natInetAddressPosix.cc,
java/net/natInetAddressWin32.cc,
java/net/natNetworkInterfaceNoNet.cc,
java/net/natNetworkInterfacePosix.cc,
java/net/natNetworkInterfaceWin32.cc,
java/net/natPlainDatagramSocketImplNoNet.cc,
java/net/natPlainDatagramSocketImplPosix.cc,
java/net/natPlainDatagramSocketImplWin32.cc,
java/net/natPlainSocketImplNoNet.cc,
java/net/natPlainSocketImplPosix.cc,
java/net/natPlainSocketImplWin32.cc: New files.
From-SVN: r64526
2003-03-18 06:01:16 +00:00
Michael Koch
f1b62339fa
2003-03-17 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(connect): Fixed comment.
* java/nio/ByteBuffer.java
(hasArray): Fixed comment.
From-SVN: r64487
2003-03-17 15:31:33 +00:00
Michael Koch
1f5f81da4e
DatagramSocket.java, [...]: Fixed some documentation tags to make javadoc and friends happy.
...
2003-03-10 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java,
java/net/MulticastSocket.java,
java/net/Socket.java,
java/net/URL.java,
java/net/URLConnection.java:
Fixed some documentation tags to make javadoc and friends happy.
From-SVN: r64083
2003-03-10 14:48:09 +00:00
Michael Koch
ea67bef470
No changelog, just replaced one tabulator with some spaces
...
to merge with classpath.
From-SVN: r63929
2003-03-07 06:52:17 +00:00
Michael Koch
9b23f09dc1
NetworkInterface.java: Merged with classpath.
...
2003-03-03 Michael Koch <konqueror@gmx.de>
* java/net/NetworkInterface.java: Merged with classpath.
From-SVN: r63769
2003-03-04 06:00:43 +00:00
Michael Koch
6579ac0c00
2003-03-03 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(connect): Merged comment from classpath.
(receive): Merged documentation from classpath.
* java/net/Socket.java
(setSoTimeout): Clarified documentation.
* java/net/URL.java
(getPath): Merged from classpath.
(getUserInfo): Merged from classpath.
(getQuery): Merged from classpath.
* java/net/URLStreamHandler.java
(toExternalForm): Merged from classpath.
From-SVN: r63714
2003-03-03 08:26:52 +00:00
Michael Koch
e863ea9996
NetPermission.java: Merged copyright with classpath.
...
2003-03-02 Michael Koch <konqueror@gmx.de>
* java/net/NetPermission.java:
Merged copyright with classpath.
From-SVN: r63690
2003-03-02 21:25:59 +00:00
Michael Koch
68dfecb392
2003-03-02 Michael Koch <konqueror@gmx.de>
...
* java/net/HttpURLConnection.java
(HTTP_SERVER_ERROR): Deprecated.
* java/net/MulticastSocket.java
(send): Replaced checkMulticast with appropriate checkPermission call,
deprecated.
* java/net/URLDecoder.java
(decode): Deprecated.
* java/net/URLEncoder.java
(encode): Deprecated.
From-SVN: r63679
2003-03-02 20:11:13 +00:00
Michael Koch
37db829b93
2003-03-02 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(closed): New member variable.
(close): Use closed variable.
(getInetAddress): No need to call isConnected().
(getPort): No need to call isConnected().
(disconnect): Reset remoteAddress and remotePort, fixed typo.
(isClosed): Reimplemented.
From-SVN: r63662
2003-03-02 13:50:04 +00:00
Ranjit Mathew
5bedfc9356
File (getAbsolutePath): Prefix drive specifier on Windows for paths starting with a '\'.
...
2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
* java/io/File (getAbsolutePath): Prefix drive specifier on
Windows for paths starting with a '\'.
(toURL): Make URL more consistent with what Sun's JDK returns.
* java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
true only if the path is a UNC network path or it starts with a
drive specifier.
* java/net/URLStreamHandler.java (parseURL): Correct minor typo.
Be prepared to handle either '/' or '\\' in the file path for
Windows if using the "file" protocol.
Canonicalise the file path if using a relative path in the given
context and the "file" protocol.
From-SVN: r63635
2003-03-01 23:38:13 +00:00
Michael Koch
b0e1d9ae2c
2003-02-17 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(connect): Merged with classpath.
(disconnect): Merged documentation with classpath.
(receice): Merged documentation with classpath.
(send): Merged documentation with classpath.
From-SVN: r63000
2003-02-17 15:33:54 +00:00
Michael Koch
05008212fb
2003-02-13 Michael Koch <konqueror@gmx.de>
...
* java/net/NetPermission.java
(NetPermission): Make doucmentation match the method declaration.
* java/net/NetworkInterface.java
(equals): Reformated for GNU coding style.
* java/net/ServerSocket.java: Merged with classpath.
* java/net/Socket.java: Partly merged with classpath (Added some @since).
* java/net/SocketImpl.java
(localPort): Merged with classpath (initialize with -1).
* java/net/SocketPermission.java: Merged with classpath (reindented).
* java/net/URLDecoder.java: Merged with classpath (reindented).
From-SVN: r62824
2003-02-13 07:33:40 +00:00
Mark Wielaard
3afcbc9b34
SocketImpl.java (toString): Don't explicitly call toString() on possible null address.
...
* java/net/SocketImpl.java (toString): Don't explicitly call
toString() on possible null address.
From-SVN: r61404
2003-01-16 21:37:56 +00:00
Michael Koch
676f46d083
2003-01-16 Michael Koch <konqueror@gmx.de>
...
* java/net/MulticastSocket.java
(setInterface): Reindented.
From-SVN: r61379
2003-01-16 08:01:27 +00:00
Michael Koch
8cb5ee7192
2003-01-14 Michael Koch <konqueror@gmx.de>
...
* java/net/InetSocketAddress.java
(serialVersionUID): New member variable.
* java/net/NetPermission.java
(NetPermission): Dont implement java.io.Serialization directly.
* java/net/SocketAddress.java:
(serialVersionUID): Documentation added.
From-SVN: r61305
2003-01-14 21:44:48 +00:00
Michael Koch
927818a598
2003-01-10 Michael Koch <konqueror@gmx.de>
...
* java/net/DatagramSocket.java
(ch): Description added.
(remotePort): Initialize with -1.
(connect): Doesnt throws SocketException.
* java/net/MulticastSocket.java
(setInterface): Merge with Classpath.
* java/net/ServerSocket.java
(closed): New member variable.
(bind): Check if socket is closed.
(close): Close an associated channel too, set new value to closed.
(isBound): Reindented.
(isClosed): Implemented.
* java/net/Socket.java
(closed): New member variable.
(bind): Check if socket is closed.
(connect): Check if socket is closed.
(close): Close an associated channel too, set new value to closed.
(isClosed): Implemented.
From-SVN: r61185
2003-01-11 01:17:19 +00:00
Michael Koch
f2741d5fbb
DatagramSocket.java: Added classpath license info.
...
2003-01-07 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java:
Added classpath license info.
(DatagramSocket): Merged description with classpath.
(close): Merged description with classpath.
(getChannel): Merged description with classpath.
(getInetAddress): Merged description with classpath.
(getPort): Merged description with classpath.
(getLocalAddress): Merged description with classpath.
(getLocalPort): Merged description with classpath.
(getSoTimeout): Merged description with classpath.
(setSoTimeout): Merged description with classpath.
(getSendBufferSize): Merged description with classpath.
(setSendBufferSize): Merged description with classpath.
(getReceiveBufferSize): Merged description with classpath.
(setReceiveBufferSize): Merged description with classpath.
From-SVN: r60989
2003-01-07 08:26:02 +00:00
Mark Wielaard
3e0cb4ff7c
HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be public.
...
* java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
public.
(HTTP_USE_PROXY): Add field.
(getResponseVals): Only set responseCode when not yet explicitly
set by subclass.
From-SVN: r60809
2003-01-03 00:49:31 +00:00
Mark Wielaard
27c687cc5b
URLClassLoader.java (Resource.getCodeSource): Fix check certs == null.
...
* java/net/URLClassLoader.java (Resource.getCodeSource):
Fix check certs == null.
(getCanonicalFileURL): Removed method.
(JarURLLoader): Don't call removed method.
(FileURLLoader): Likewise.
(FileURLLoader.getResource): Don't canonicalize file name.
Co-Authored-By: Jeroen Frijters <jeroen@sumatra.nl>
From-SVN: r60780
2003-01-02 09:34:34 +00:00
Mark Wielaard
a88c283f0d
URLStreamHandler.java (toExternalForm): Ignore port if zero or smaller.
...
* java/net/URLStreamHandler.java (toExternalForm): Ignore port
if zero or smaller.
From-SVN: r60657
2002-12-30 22:41:10 +00:00
Mark Wielaard
a7e693d5d2
URLClassLoader.java (getCanonicalFileURL): New method.
...
2002-12-10 Mark Wielaard <mark@klomp.org>
Tom Tromey <tromey@redhat.com>
* java/net/URLClassLoader.java (getCanonicalFileURL): New method.
(JarURLLoader): Use it.
(FileURLLoader): Likewise.
(JarURLResource.getURL): Use chained exception.
(FileResource.getURL): Likewise.
(FileURLLoader.getResource): Use canonical file name.
(addURL): Indentation fix.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r60019
2002-12-11 02:13:51 +00:00
Mark Wielaard
e825ca7ff5
Connection.java (getJarFile): download and cache remote jar files.
...
* gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
cache remote jar files.
* gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
add File.separator to URL when it is a directory.
* java/lang/ClassLoader.java: Add Classpath javadoc.
(parent): final.
(getParent): Add (disabled) security check.
(findLibrary): New default method.
* java/net/JarURLConnection.java (getManifest): Implement.
(getInputStream): Only create InputStream when entry exists.
(getHeaders): Only use jarFileURLConnection or JarEntry to set length
when they exist.
* java/net/URLClassLoader.java: New/Rewritten version from Classpath.
From-SVN: r59949
2002-12-09 00:04:00 +00:00
Mark Wielaard
081a777dea
InetAddress.java (toString): Use hostname when not null, don't do an explicit reverse getHostName() lookup.
...
* java/net/InetAddress.java (toString): Use hostname when not null,
don't do an explicit reverse getHostName() lookup.
* java/net/Socket.java (setSocketImplFactory): When fac == null throw
NullPointerException.
From-SVN: r59902
2002-12-07 01:19:02 +00:00
Tom Tromey
6d2cf1d887
* java/net/SocketPermission.java (hashCode): Rewrote.
...
From-SVN: r59843
2002-12-05 02:16:29 +00:00
Andreas Tobler
32e098dd98
natPlainDatagramSocketImpl.cc (socklen_t): Don't define.
...
2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
* java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
define.
* java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
* include/posix.h (socklen_t): Define if not already defined.
From-SVN: r59533
2002-11-26 20:09:28 +00:00
Mark Wielaard
cfc814d47e
URL.java: Merge with Classpath (partly).
...
* java/net/URL.java: Merge with Classpath (partly).
* java/net/URLStreamHandler: Merge with Classpath.
From-SVN: r59378
2002-11-22 16:48:52 +00:00
Michael Koch
4033adc630
Forgot to add to cvs command line
...
From-SVN: r59340
2002-11-21 10:24:18 +00:00
Michael Koch
c3e0633cc3
2002-11-21 Michael Koch <konqueror@gmx.de>
...
* include/posix.h
(_Jv_socket): New method.
(_Jv_connect): New method.
(_Jv_close): New method.
(_Jv_platform_close_on_exec): Prefixed system function with "::".
(_Jv_bind): New method.
(_Jv_listen): New method.
(_Jv_write): New method.
(_Jv_read): New method.
* include/win32.h
(_Jv_socket): New method.
(_Jv_connect): New method.
(_Jv_close): New method.
(_Jv_bind): New method.
(_Jv_listen): New method.
(_Jv_write): New method.
(_Jv_read): New method.
* java/net/natNetworkInterface.cc:
Include platform.h, removed inclusion of socket.h
(getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
::close() by _Jv_close().
* java/net/natPlainDatagramSocketImpl.cc:
Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
added some new lines to make code more readable.
(create): Replaced ::socket() by _Jv_socket().
(close): Replaced NATIVE_CLOSE() by _Jv_close().
* java/net/natPlainSocketImpl.cc:
Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
removed include of socket.h, removed some windows defines
(now in include/win32.h).
(create): Replaced ::socket() by _Jv_socket().
(close): Replaced NATIVE_CLOSE() by _Jv_close().
(write): Replaced ::read by _Jv_write().
(read): Replaced ::read by _Jv_read().
From-SVN: r59338
2002-11-21 10:08:03 +00:00
Michael Koch
3ebb998e6f
2002-11-20 Michael Koch <konqueror@gmx.de>
...
* java/io/FileInputStream.java
(getChannel): New method.
* java/io/FileOutputStream.java
(getChannel): New method.
* java/net/ServerSocket.java
(bind): Removed duplicate code and called another bind method instead.
* java/nio/channels/SelectionKey.java
(isValid): Removed wrong exception documentation.
* java/nio/channels/ServerSocketChannel.java
(accept): Added exception documentation.
(open): Fixed typo, added exception documentation.
* java/nio/channels/spi/AbstractSelectableChannel.java
(implCloseChannel): Added exception documentation.
(add): Reformated.
(register): Added exception documentation.
From-SVN: r59307
2002-11-20 16:19:08 +00:00
Michael Koch
4f13d99ed3
PlainSocketImpl.java: Fix imports.
...
2002-11-18 Michael Koch <konqueror@gmx.de>
* java/net/PlainSocketImpl.java: Fix imports.
From-SVN: r59221
2002-11-18 14:55:54 +00:00
Michael Koch
6602dd4a3b
PlainSocketImpl.java: Reworked imports.
...
2002-11-18 Michael Koch <konqueror@gmx.de>
* java/net/PlainSocketImpl.java: Reworked imports.
* java/net/ServerSocket.java
(ServerSocket): Create socket.
* java/net/SocketAddress.java: Documentation added.
* java/net/natPlainSocketImpl.cc: Reindented.
* java/nio/ReadOnlyBufferException.java: New file
* java/nio/channels/ClosedChannelException.java: Documentation added.
* java/nio/channels/ClosedSelectorException.java: New file.
From-SVN: r59214
2002-11-18 13:22:55 +00:00
Mark Wielaard
b9ad851eef
HttpURLConnection.java ((getPermission): Take port into consideration.
...
* java/net/HttpURLConnection.java ((getPermission): Take port
into consideration.
(getErrorStream): Implement.
From-SVN: r59196
2002-11-17 16:16:52 +00:00
Mark Wielaard
e0c34466ec
* java/net/HttpURLConnection.java: Merge with GNU Classpath.
...
From-SVN: r59195
2002-11-17 15:47:27 +00:00
Mark Wielaard
de36f65dd1
GNU Classpath merge.
...
2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
* java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
2002-10-31 Wu Gansha <gansha.wu@intel.com>:
* java/util/ArrayList.java (readObject, writeObject): Only read/write
size items.
2002-10-31 Wu Gansha <gansha.wu@intel.com>:
* java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
initial estimated size to avoid enlarge buffer frequently.
2002-10-31 Wu Gansha <gansha.wu@intel.com>:
* java/lang/reflect/Proxy.java (ProxyType): Set loader to System
ClassLoader when null.
(ProxyType.hashCode): Loader null check no longer needed.
(ProxyType.sameTypes): New method.
(ProxyType.equals): Use new method.
2002-10-31 Mark Wielaard <mark@klomp.org>
* java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
length of String.
* java/net/URLEncoder.java (encode): Likewise.
2002-10-31 Mark Wielaard <mark@klomp.org>
* java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
when stream is closed.
(closeEntry): Likewise.
(read): Likewise.
* java/util/zip/ZipOutputStream.java (putNextEntry): Throw
ZipException when no entry active.
(closeEntry): Likewise.
(write): Likewise.
From-SVN: r58772
2002-11-03 20:27:31 +00:00
Michael Koch
75fe3383d8
2002-11-01 Michael Koch <konqueror@gmx.de>
...
* java/net/InetAddress.java:
(isAnyLocalAddress): Implemented.
(isLoopbackAddress): Implemented, comment added.
(isLinkLocalAddress): Implemented, documentation added.
(isSiteLocalAddress): Implemented, documentation added.
(isMCGlobal): Implemented, documentation added.
(isMCNodeLocal): Implemented, documentation added.
(isMCLinkLocal): Implemented, documentation added.
(isMCSiteLocal): Implemented, documentation added.
(isMCOrgLocal): Implemented, documentation added.
(getHostName): Documentation added.
(getCanonicalHostName): Implemented, documentation added.
(getAddress): Documentation added.
(hashCode): Documentation added.
(equals): Documentation added.
(toString): Fixed implementation.
(getByAddress): Use Inet4Address and Inet6Address.
(lookup): New linewrap.
(getByName): SecurityManager check added, support Inet4Address and
Inet6address, comments added.
(getAllByName): SecurityManager check added, comments added.
* java/net/Inet6Address.java:
(Inet6Address): Initialize parent class with addr instead of null.
* java/net/URL.java
(equals): Documentation added.
(getFile): Documentation added.
(hashCode): Documentation added.
* java/net/natInetAddress.cc:
(aton): Fix IPv6 support.
* java/net/natPlainDatagramSocketImpl.cc:
(peek): Throw PortUnreachableException when suitable.
(peekData): Throw PortUnreachableException when suitable.
(send): Throw PortUnreachableException when suitable.
(receive): Throw PortUnreachableException when suitable.
From-SVN: r58704
2002-11-01 06:35:14 +00:00
Michael Koch
e1caed8988
2002-10-11 Michael Koch <konqueror@gmx.de>
...
* java/net/URL.java
(URL): Activate SecurityManager checks.
(equals): Use URLStreamHandler implementation instead of doing it
alone. This allows special protocol stream handlers to change default
behaviour.
(hashCode): Use URLStreamHandler implementation instead of doing it
alone. This allows special protocol stream handlers to change default
behaviour.
* java/net/URLStreamHandler.java
(equals): Implemented default URL equality check.
(hostsEqual): Implemented default URL equality check.
(hashCode): Implemented default URL hashCode algorithm.
* java/net/natPlainDatagramSocketImpl.cc:
No lines longer then 80 characters.
From-SVN: r58345
2002-10-21 04:53:50 +00:00
Michael Koch
7393decb70
2002-10-08 Michael Koch <konqueror@gmx.de>
...
* java/net/HttpURLConnection.java
(getPermission): New method.
(getErrorStream): New stub method.
(getHeaderFieldDate): New stub method.
* java/net/Inet4Address.java:
(isLinkLocalAddress): Typo fixed.
* java/net/InetAddress.java:
(readResolve): New stubbed method (for serialization).
(isAnyLocalAddress): New stubbed method.
(isLoopbackAddress): New stubbed method.
(isLinkLocalAddress): New stubbed method.
(isSiteLocalAddress): New stubbed method.
(isMCGlobal): New stubbed method.
(isMCNodeGlobal): New stubbed method.
(isMCLinkLocal): New stubbed method.
(isMCSiteLocal): New stubbed method.
(isMCOrgLocal): New stubbed method.
(getCanonicalHostName): New stubbed method.
(getByAddress): Create instances of Inet4Address/Inet6Address,
instead of InetAddress, documentation added.
* java/net/MulticastSocket.java
(getInterface): Removed FIXME.
(getNetworkInterface): New method.
(setNetworkInterface): New method.
* java/net/NetworkInterface.java:
(toString): Use property "line.separator" instead of "\n".
* java/net/URLConnection.java
(getContent): New stubbed method.
* java/net/URLStreamHandler.java:
(equals): New stubbed method.
(hostsEqual): New stubbed method.
(hashCode): New stubbed method.
* java/net/natNetworkInterface.cc:
(getRealNetworkInterfaces): Create Inet4Address object
instead of InetAddress.
From-SVN: r58002
2002-10-10 05:19:22 +00:00