aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net
AgeCommit message (Collapse)AuthorFilesLines
2004-10-21NetworkInterface.java, [...]: Import cleanup.Michael Koch1-1/+2
2004-10-21 Michael Koch <konqueror@gmx.de> * java/net/NetworkInterface.java, java/text/Format.java, javax/security/auth/x500/X500Principal.java, javax/security/auth/x500/X500PrivateCredential.java, javax/security/cert/X509CertBridge.java, javax/security/sasl/Sasl.java, javax/sql/XAConnection.java: Import cleanup. From-SVN: r89401
2004-10-18Inet4Address.java: Merged file header and javadocs.Michael Koch3-31/+22
2004-10-18 Michael Koch <konqueror@gmx.de> * java/net/Inet4Address.java: Merged file header and javadocs. * java/net/Inet6Address.java: Likewise. * java/net/InetAddress.java (getCanonicalHostName): Create Inet4Address object instead of InetAddress and add comment regarding IPv6. (toString): Simplified. From-SVN: r89211
2004-10-18PlainDatagramSocketImpl.java: Reworked import statements.Michael Koch1-2/+2
2004-10-18 Michael Koch <konqueror@gmx.de> * gnu/java/net/PlainDatagramSocketImpl.java: Reworked import statements. * gnu/java/security/provider/DSAParameters.java: Fixed copyrigth years. * java/net/JarURLConnection.java: Fixed HTML in @author tags. From-SVN: r89205
2004-10-17BindException.java, [...]: Big import statement and @author tag cleanup.Michael Koch34-111/+102
2004-10-17 Michael Koch <konqueror@gmx.de> * java/net/BindException.java, java/net/ConnectException.java, java/net/ContentHandler.java, java/net/ContentHandlerFactory.java, java/net/DatagramPacket.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/DatagramSocketImplFactory.java, java/net/FileNameMap.java, java/net/HttpURLConnection.java, java/net/MalformedURLException.java, java/net/MulticastSocket.java, java/net/NetworkInterface.java, java/net/NoRouteToHostException.java, java/net/PasswordAuthentication.java, java/net/PortUnreachableException.java, java/net/ProtocolException.java, java/net/ServerSocket.java, java/net/Socket.java, java/net/SocketException.java, java/net/SocketImpl.java, java/net/SocketImplFactory.java, java/net/SocketOptions.java, java/net/SocketPermission.java, java/net/SocketTimeoutException.java, java/net/URI.java, java/net/URISyntaxException.java, java/net/URL.java, java/net/URLDecoder.java, java/net/URLEncoder.java, java/net/URLStreamHandler.java, java/net/URLStreamHandlerFactory.java, java/net/UnknownHostException.java, java/net/UnknownServiceException.java: Big import statement and @author tag cleanup. From-SVN: r89168
2004-09-30InetAddress.java: Reformatted.Michael Koch1-32/+23
2004-09-30 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java: Reformatted. (loopback): Initialize with Inet4Address object. (static): Initialize ANY_IF with Inet4Address object. (InetAddress): Removed unused package-private constructor. From-SVN: r88336
2004-09-28URLConnection.java: Reformatted.Michael Koch2-33/+40
2004-09-28 Michael Koch <konqueror@gmx.de> * java/net/URLConnection.java: Reformatted. * java/net/URLClassLoader.java: Reformatted. (getContent): Reordered return of content. (getContentHandler): Don't check for null explicitely. From-SVN: r88226
2004-09-24URL.java (systemClassLoader): New static field.Mark Wielaard1-20/+28
2004-09-24 Mark Wielaard <mark@klomp.org> * java/net/URL.java (systemClassLoader): New static field. (getURLStreamHandler): Always use system/application classloader for finding URLStreamhandler. Remove unecessary instanceof checks. From-SVN: r88018
2004-09-242004-09-24 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-17/+25
* java/net/URL.java (set): This method now matches the behaviour of the JDK. (DEFAULT_SEARCH_PATH): Added "gnu.inet". From-SVN: r88016
2004-09-24[multiple changes]Michael Koch1-1/+3
2004-09-24 Guilhem Lavaux <guilhem@kaffe.org> * java/net/URL.java (URL): Delete whitespaces in the protocol string. 2004-09-24 Jeroen Frijters <jeroen@frijters.net> * java/net/URL.java (URL(String,String,int,String,URLStreamHandler): Don't set authority if host isn't specified. From-SVN: r88015
2004-09-23re PR libgcj/17623 (URL does not retain userInfo across context constructor.)David Daney1-1/+6
PR libgcj/17623 * java/net/URL.java (URL): Copy userInfo from context. (getUserInfo): Return cached userInfo if present. From-SVN: r87909
2004-09-212004-09-21 Michael Koch <konqueror@gmx.de>Michael Koch1-2/+3
* java/net/Socket.java (getLocalAddress): Return InetAddress.ANY_IF if not bound yet. From-SVN: r87817
2004-09-09[multiple changes]Andreas Tobler1-0/+3
2004-09-09 Michael Koch <konqueror@gmx.de> * java/security/ProtectionDomain.java, * java/util/PropertyPermissionCollection.java: Fixed javadocs all over. 2004-09-09 Sven de Marothy <sven@physto.se> Patch from David Gilbert <david.gilbert@object-refinery.com> * java/lang/Comparable.java: Fixed documentation errors. * java/util/Arrays.java: Likewise. 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/net/Inet4Address.java (Inet4Address): Added comment to serialization UID. * java/text/Format.java (Format): Added comment to serialization UID. From-SVN: r87248
2004-09-05natNetworkInterfaceWin32.cc (getRealNetworkInterfaces): Changed pfn from ↵Mohan Embar1-1/+10
static local to local. * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces): Changed pfn from static local to local. From-SVN: r87099
2004-08-19DatagramSocket.java: Fixed typo.Tom Tromey1-1/+1
2004-08-19 Tom Tromey <tromey@redhat.com> * java/net/DatagramSocket.java: Fixed typo. From-SVN: r86244
2004-08-18re PR libgcj/17081 (Deserializing java.net.URI fails)Bryce McKinlay1-17/+32
2004-08-18 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/17081 * java/net/URI.java (string): New field. Make all other fields transient. (readObject): Implemented. (writeObject): Implemented. (URI): Set 'string'. From-SVN: r86197
2004-08-14natInetAddressPosix.cc (lookup): Reflect rename of localhostAddress to ↵Andreas Tobler2-4/+4
loopbackAddress. 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch> * java/net/natInetAddressPosix.cc (lookup): Reflect rename of localhostAddress to loopbackAddress. * java/net/natInetAddressWin32.cc (lookup): Likewise. From-SVN: r85982
2004-08-13InetAddress.java (loopbackAddress): Renamed from localhostAddress.Bryce McKinlay2-18/+22
2004-08-13 Bryce McKinlay <mckinlay@redhat.com> * java/net/InetAddress.java (loopbackAddress): Renamed from localhostAddress. (getByName): Return loopback address for null hostname, without security check. Use lookup(), not getAllByName. (getAllByName): Return loopback address for null hostname, without security check. * java/net/natInetAddressPosix.cc (lookup): Don't perform security check here. From-SVN: r85967
2004-07-23Makefile.am (ordinary_java_source_files): Add DefaultContentHandlerFactory.java.Bryce McKinlay1-6/+14
2004-07-22 Bryce McKinlay <mckinlay@redhat.com> * Makefile.am (ordinary_java_source_files): Add DefaultContentHandlerFactory.java. * Makefile.in: Rebuilt. * java/net/URLConnection.java (defaultFactory): New field. (getContent): (getContentHandler): Renamed from 'setContentHandler'. Try defaultFactory after user-set factory, if any. Search for content handler implementations in gnu.java.net.content, not gnu.gcj.content. * gnu/java/net/protocol/file/Connection.java (getHeaderField): Implemented. (getLastModified): Implemented. (getPermission): Create file permission here, instead of in constructor. * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField): Implemented. * gnu/java/net/protocol/jar/Connection.java (getHeaderField): Implemented. (getLastModified): Implemented. * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New. Default implementation. * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New. Implement using GdkPixbufDecoder. From-SVN: r85069
2004-07-22URLConnection.java (position): New field.Bryce McKinlay1-14/+21
2004-07-21 Bryce McKinlay <mckinlay@redhat.com> * java/net/URLConnection.java (position): New field. (dateFormat1, dateFormat2, dateFormat3): Removed. (dateFormats): New field. (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition each time instead of re-allocating. (initializeDateFormats): Initialize 'dateFormats'. From-SVN: r85033
2004-07-20Socket.java (getImpl): Now private.Bryce McKinlay1-2/+1
2004-07-20 Bryce McKinlay <mckinlay@redhat.com> * java/net/Socket.java (getImpl): Now private. Remove comment. From-SVN: r84963
2004-07-17[multiple changes]Michael Koch3-8/+14
2004-07-17 Jeroen Frijters <jeroen@frijters.net> * java/net/DatagramPacket.java (setAddress): Removed check for null address. 2004-07-17 Michael Koch <konqueror@gmx.de> * java/net/DatagramSocket.java (getLocalAddress): Check if socket is bound or not. * java/net/Socket.java (getLocalAddrss): Check if socket is bound or not. (getPort): Return -1 when not connected. Dont check getImpl() for null. (setReuseAddress): Check if socket is closed. (isConnected): Check if getImpl() returns null. From-SVN: r84864
2004-07-11Reported by Roman Kennke <roman@ontographics.com> (bug #9331)Mark Wielaard1-3/+5
Reported by Roman Kennke <roman@ontographics.com> (bug #9331) * java/net/URLStreamHandler.java (parseURL): When url file part doesn't contain a '/' just ignore context. From-SVN: r84518
2004-07-06URLStreamHandler.java (parseURL): Canonicalize file portion of URL in ↵Mohan Embar1-4/+8
addition to spec for file: protocol. * java/net/URLStreamHandler.java (parseURL): Canonicalize file portion of URL in addition to spec for file: protocol. From-SVN: r84157
2004-07-04[multiple changes]Anthony Green1-8/+19
2004-07-03 Mark Wielaard <mark@klomp.org> Anthony Green <green@redhat.com> * java/net/URL.java (getFile): Clarify return value doc. (getPath): Return null if file is empty - not empty String. (set): Convert protocol to lower case before doing anything. Only change the protocol handler if it's different. 2004-07-03 Anthony Green <green@redhat.com> * java/net/URL.java (URL): Convert protocol to lower case before doing anything, so we getURLStreamHandler() with the proper value. From-SVN: r84068
2004-05-05URLStreamHandler.java (toExternalForm): Removed unused variables.Tom Tromey1-3/+0
2004-05-03 Tom Tromey <tromey@redhat.com> * java/net/URLStreamHandler.java (toExternalForm): Removed unused variables. * java/math/BigDecimal.java (divide): Removed unused variable. * java/lang/Throwable.java: Cleaned up imports. * java/lang/ClassLoader.java: Cleaned up imports. * java/io/FilePermission.java (implies): Removed unused variable. * java/awt/TextComponent.java: Removed unused import. * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. * gnu/java/util/DoubleEnumeration.java: Removed unused import. * gnu/java/text/WordBreakIterator.java: Removed unused import. * gnu/java/text/SentenceBreakIterator.java: Removed unused import. * gnu/java/text/LineBreakIterator.java: Removed unused import. * gnu/java/text/CharacterBreakIterator.java: Removed unused import. * gnu/java/security/provider/DSAKeyPairGenerator.java: Cleaned up imports. * gnu/java/security/der/DERWriter.java: Cleaned up imports. * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed unused method. * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. * gnu/java/nio/FileLockImpl.java: Cleaned up imports. * gnu/java/io/Base64InputStream.java: Cleaned up imports. * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. * gnu/classpath/ServiceFactory.java: Cleaned up imports. (lookupProviders): Removed unused variable. (loadNextServiceProvider): Likewise. * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports. From-SVN: r81516
2004-05-03DERReader.java: Call static methods staticly.Mark Wielaard1-3/+2
2004-05-03 Mark Wielaard <mark@klomp.org> * gnu/java/security/der/DERReader.java: Call static methods staticly. * java/awt/TextComponent.java (select): Use selectionEnd parameter. * java/net/URL.java (set(String, String, int, String, String, String, String, String)): Assign this.file to path or path + "?" + query. * java/util/Arrays.java: Call static methods staticly. * java/util/zip/ZipEntry.java: Likewise. * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign dir to this.direction. * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): Assign static field only once. (DefaultTableCellRenderer): Don't reassign noFocusBorder each time. From-SVN: r81453
2004-05-03re PR libgcj/14695 ([3.3/3.4 only] java.net.NetworkInterface.getByName() ↵Michael Koch1-5/+9
throws exception instead of returning null) 2004-05-03 Michael Koch <konqueror@gmx.de> Fixes PR libgcj/14695: * java/net/NetworkInterface.java (getByName): Return null when no interface was found. From-SVN: r81434
2004-04-232004-04-23 Michael Koch <konqueror@gmx.de>Michael Koch2-19/+32
* java/net/URL.java (hashcode): Don't initialize with default value explicitely. (getContent): Removed redundant "final" keyword. (openStream): Likewise. (getURLStreamHandler): Fixed coding style. * java/net/URLConnection.java (defaultAllowUserInteraction): Don't initialize with default value explicitely. (connected): Likewise. (doOutput): Likewise. (ifModifiedSince): Likewise. (dateformats_initialized): Likewise. (setURLStreamHander): Use StreamTokenizer where it belongs to. From-SVN: r81080
2004-04-22[multiple changes]Michael Koch2-43/+48
2004-04-22 Jeroen Frijters <jeroen@sumatra.nl> * java/net/URLStreamHandler.java (parseURL): Convert the file path to using '/' instead of native file separator. 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org> * java/net/URL.java (userInfo): New field. (URL): Set authority to the right value. (setURL): Fixed authority and file initialization. * java/net/URLStreamHandler.java (parseURL): Take care of the query tag. Build authority. (toExternalForm): Fixed URL building using authority. From-SVN: r81006
2004-04-222004-04-22 Michael Koch <konqueror@gmx.de>Michael Koch2-3/+6
* java/net/Socket.java (impl): Made package-private. * java/net/ServerSocket.java (implAccept): Access Socket.impl field directly. From-SVN: r81005
2004-04-202004-04-20 Michael Koch <konqueror@gmx.de>Michael Koch1-11/+8
* java/net/ServerSocket.java Merged coding style from GNU classpath. From-SVN: r80922
2004-04-20Authenticator.java, [...]: Fixed javadocs, coding style and argument names ↵Michael Koch44-1907/+1933
all over. 2004-04-20 Michael Koch <konqueror@gmx.de> * java/net/Authenticator.java, java/net/BindException.java, java/net/ConnectException.java, java/net/ContentHandler.java, java/net/ContentHandlerFactory.java, java/net/DatagramPacket.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/DatagramSocketImplFactory.java, java/net/FileNameMap.java, java/net/HttpURLConnection.java, java/net/Inet4Address.java, java/net/Inet6Address.java, java/net/InetAddress.java, java/net/InetSocketAddress.java, java/net/JarURLConnection.java, java/net/MalformedURLException.java, java/net/MulticastSocket.java, java/net/NetPermission.java, java/net/NetworkInterface.java, java/net/NoRouteToHostException.java, java/net/PasswordAuthentication.java, java/net/PortUnreachableException.java, java/net/ProtocolException.java, java/net/ServerSocket.java, java/net/Socket.java, java/net/SocketAddress.java, java/net/SocketException.java, java/net/SocketImpl.java, java/net/SocketImplFactory.java, java/net/SocketOptions.java, java/net/SocketPermission.java, java/net/SocketTimeoutException.java, java/net/URI.java, java/net/URISyntaxException.java, java/net/URL.java, java/net/URLClassLoader.java, java/net/URLConnection.java, java/net/URLDecoder.java, java/net/URLEncoder.java, java/net/URLStreamHandler.java, java/net/URLStreamHandlerFactory.java, java/net/UnknownHostException.java, java/net/UnknownServiceException.java: Fixed javadocs, coding style and argument names all over. From-SVN: r80900
2004-03-212004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>Ito Kazumitsu1-1/+18
* java/net/ServerSocket.java (accept): Close the socket when error occured. From-SVN: r79774
2004-03-21URI.java (parseURI): Added unquoting.Jeroen Frijters1-21/+130
2004-03-21 Jeroen Frijters <jeroen@frijters.net> * java/net/URI.java (parseURI): Added unquoting. (unquote): New method. (quoteAuthority): Implemented. (quote(String,String)): New method. (quotePath): Implemented. (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field. (getSchemeSpecificPart): Removed FIXME comment. (getRawAuthority): Return new rawAuthority field. (getAuthority): Removed FIXME comment. (getRawUserInfo): Return new rawUserInfo field. (getUserInfo): Removed FIXME comment. (getRawPath): Return new rawPath field. (getPath): Removed FIXME comment. (getRawQuery): Return new rawQuery field. (getQuery): Removed FIXME comment. (getRawFragment): Return new rawFragment field. (getFragment): Removed FIXME comment. From-SVN: r79773
2004-03-20URLConnection.java: Merged copyright year with classpath.Michael Koch1-3/+2
2004-03-20 Michael Koch <konqueror@gmx.de> * java/net/URLConnection.java: Merged copyright year with classpath. From-SVN: r79760
2004-03-202004-03-20 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+9
* java/net/InetAddress.java (getLocalHostname): Added javadoc. From-SVN: r79751
2004-03-162004-03-16 Norbert Frese <postfach@nfrese.net>Norbert Frese1-2/+2
* java/net/InetAddress.java (getByName): Handle hostname == "" case. From-SVN: r79529
2004-03-12[multiple changes]Michael Koch1-20/+253
2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp> * java/net/URI.java (toURL): Implemented. 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp> * java/net/URI.java (URI_REGEXP) updated to contain scheme specific part. (SCHEME_SPEC_PART_GROUP) new constant. (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP) updated to make room for SCHEME_SPEC_PART_GROUP. (parseURI) parse scheme specific part. (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart, getSchemeSpecificPart, getAuthority, getUserInfo, getPath, getQuery, getFragment) implemented. 2004-03-12 Dalibor Topic <robilad@kaffe.org> * libraries/javalib/java/net/URI.java partially implemented using java.util.regex. (URI_REGEXP) new constant. Used to parse URIs. (SCHEME_GROUP) new constant representing index of scheme group in parsed URI. (AUTHORITY_GROUP) new constant representing index of authority group in parsed URI. (PATH_GROUP) new constant representing index of path group in parsed URI. (QUERY_GROUP) new constant representing index of query group in parsed URI. (FRAGMENT_GROUP) new constant representing index of fragment group in parsed URI. (getURIGroup) new static utility method. (parseURI) implemented. (quote) stub for new static utility method. (quoteAuthority) stub for new static utility method. (quoteHost) stub for new static utility method. (quotePath) stub for new static utility method. (quoteUserInfo) stub for new static utility method. (URI) implemented. (create) don't throw URISyntaxException. Implemented. (toString) implemented. From-SVN: r79375
2004-03-122004-03-12 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+1
* java/net/HttpURLConnection.java (getResponseCode): Fix another typo in javadoc. From-SVN: r79374
2004-03-11HttpURLConnection.java: Fixed typo in javadoc.Michael Koch1-1/+1
2004-03-11 Michael Koch <konqueror@gmx.de> * java/net/HttpURLConnection.java: Fixed typo in javadoc. From-SVN: r79328
2004-02-112004-02-11 Michael Koch <konqueror@gmx.de>Michael Koch6-12/+12
* java/net/DatagramSocket.java (setReuseAddress): Use Boolean.valueOf() instead of creating a new Boolean object. (setBroadcast): Likewise. * java/net/MulticastSocket.java (setLoopbackMode): Likewise. * java/net/ServerSocket.java (setReuseAddress): Likewise. * java/net/Socket.java (setTcpNoDelay): Likewise. (setSoLinger): Likewise. (setOOBInline): Likewise. (setKeepAlive): Likewise. (setReuseAddress): Likewise. * java/net/URLConnection.java (setContentHandler): Replace == with equals(). * java/net/URLStreamHandler.java (hostSEquals): Fix checking host addresses. (toExternalForm): Dont check protocol for null. We know already its not null. From-SVN: r77670
2004-02-03* gnu/java/nio/DatagramChannelImpl.javaMohan Embar1-2/+5
(inChannelOperation): New field. (isInChannelOperation): New accessor. (setInChannelOperation): New modifier. (receive): Use capacity() - position() of destination buffer instead of remaining(). Set and reset our "in channel operation indicator" before and after delegating the receive to our datagram socket. Removed testing code. Update destination buffer's current position if it is backed by a byte array (hasArray() is true). (send): Set and reset our "in channel operation indicator" before and after delegating the send to our datagram socket. Removed testing code. Update source buffer's current position if it is backed by a byte array (hasArray() is true). * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)): Use capacity() - position() of destination buffer instead of remaining(). * java/net/DatagramSocket.java (receive): Don't throw an IllegalBlockingModeException if we have a non-blocking channel which initiated this operation. (send): Likewise. From-SVN: r77173
2004-01-30* gnu/java/net/PlainSocketImpl.javaMohan Embar2-5/+17
(inChannelOperation): New field. (isInChannelOperation): New accessor. (setInChannelOperation): New modifier. * gnu/java/nio/ServerSocketChannelImpl.java (accept): Set and reset our server socket's PlainSocketImpl's "in channel operation" indicator before and after delegating the accept to our server socket. * gnu/java/nio/SocketChannelImpl.java (connect): Set and reset our socket's PlainSocketImpl's "in channel operation" indicator before and after delegating the operation to our socket. (read): Likewise. (write): Likewise. * java/net/ServerSocket.java (implAccept): Don't throw an IllegalBlockingModeException if we have a non-blocking channel which initiated this accept operation. * java/net/Socket.java (connect): Don't throw an IllegalBlockingModeException if we have a non-blocking channel which initiated this connect operation. * java/nio/channels/spi/AbstractSelectableChannel.java (configureBlocking): Only call implConfigureBlocking() if the desired blocking mode is different from our current one. From-SVN: r76956
2004-01-07ServerSocket.java (isBound): Fixed documentation.Michael Koch1-1/+1
2004-01-07 Michael Koch <konqueror@gmx.de> * java/net/ServerSocket.java (isBound): Fixed documentation. From-SVN: r75506
2004-01-062004-01-06 Michael Koch <konqueror@gmx.de>Michael Koch1-11/+14
* java/net/URLConnection.java (contentHandler): Removed. (locale): Removed. (getHeaderFields): Return an empty map instead of null. (getContent): Connect if needed, renamed "cType" to "type" and "contentHandler" to "ch" and made it a local variable. (getPermission): Don't use package in class name. (setDefaultRequestProperty): Fixed typo in documentation. (initializeDateFormats): Made locale a local variable. From-SVN: r75466
2003-12-312003-12-31 Guilhem Lavaux <guilhem@kaffe.org>Guilhem Lavaux1-0/+4
* java/net/URL.java (URL): Change context path to "/" if it is empty. From-SVN: r75264
2003-12-25ServerSocket.java bind (): If InetSocketAddress.getAddress() returns "null" ↵Michael Koch1-2/+8
use "0.0.0.0" as address to... 2003-12-25 Michael Koch <konqueror@gmx.de> * java/net/ServerSocket.java bind(): If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as address to bind to. From-SVN: r75023
2003-12-202003-12-20 Michael Koch <konqueror@gmx.de>Michael Koch1-228/+0
* gnu/java/net/protocol/jar/Connection.java (connectionCache): New field. (connect): New method. (getInputStream): New method. (hdrHash): New field. (hdrVec): New field. (gotHeaders): New field. (getHeaderField): New method. (getHeaderFields): New method. (getHeaderFieldKey): New method. (getKey): New method. (getField): New method. (getHeaders): New method. * java/net/JarURLConnection.java (connectionCache): Removed. (connect): Removed. (getInputStream): Removed. (hdrHash): Removed. (hdrVec): Removed. (gotHeaders): Removed. (getHeaderField): Removed. (getHeaderFields): Removed. (getHeaderFieldKey): Removed. (getKey): Removed. (getField): Removed. (getHeaders): Removed. From-SVN: r74895
2003-12-20URLParseError.java: New file.Guilhem Lavaux1-2/+12
2003-12-20 Guilhem Lavaux <guilhem@kaffe.org> * gnu/java/net/URLParseError.java: New file. * gnu/java/net/protocol/jar/Handler.java (parseURL): Throw URLParseError if needed, fix '/' handling. * java/net/URL.java (URL): Catch URLParseError and transform it into a MalformedURLException. From-SVN: r74877
2003-12-092003-12-09 Michael Koch <konqueror@gmx.de>Michael Koch3-33/+33
* java/net/DatagramSocket.java (close): Directly return if socket is closed. * java/net/ServerSocket.java (close): Directly return if socket is closed. * java/net/Socket.java (close): Directly return if socket is closed. From-SVN: r74470