summaryrefslogtreecommitdiffstats
path: root/libjava/java/net
Commit message (Collapse)AuthorAgeFilesLines
...
* 2002-10-03 Michael Koch <konqueror@gmx.de>mkoch2002-10-031-2/+24
| | | | | | | | | | * java/net/InetAddress.java (class InetAddress): Removed final keyword. (equals): Fixed typo. (getByAddress): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57779 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-03 Michael Koch <konqueror@gmx.de>mkoch2002-10-035-18/+31
| | | | | | | | | | | | | | | | | * java/net/DatagramPacket.java (setLength): Fixed typo and be HTML-aware. * java/net/InetSocketAddress.java (InetSocketAddress): Correct initialization of hostname, fixed typo. (equals): Added comment about equality of InetSocketAddress objects. * java/net/ServerSocket.java (accept): Added checks. (isClosed): New stubbed method. * java/net/SocketOptions.java: Reindention. * java/net/SocketPermission (SocketPermission): Documentation fixed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57776 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-30 Michael Koch <konqueror@gmx.de>mkoch2002-10-036-126/+561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/DatagramSocket.java (receive): Check with SecurityManager AFTER the packet is received, check if connected to multicast address, documentation added. (send): Only check SecurityManager if connected, check address of packet to send. (connect): Implemented, documentation added. * java/net/Inet6Address.java: New file (not added yet to Makefile.am). * java/net/InetSocketAddress.java (whole file): Reindented. (hostname): New attribute. (InetSocketAddress): Initialize new attribute. (getAddress): Documentation added. (getHostName): Documentation added. (getPort): Documentation added. (hashCode): Documentation added. (isUnresolved): Documentation added. (toString): Conform to output of JDK 1.4.1, documentation added. * java/net/MulticastSocket.java (joinGroup): Removed FIXME, documentation added. (leaveGroup): Removed FIXME, documentation added. (send): Documentation added. * java/net/Socket.java (inputShutdown): New variable. (outputShutdown): New variable. (Socket): Initialize new variables. (getRemoteSocketAddress): Check if connected. (shutdownInput): Set new variable. (shutdownOutput): Set new variable. (isConnected): New method. (isClosed): New method. (isInputShutdown): New method. (isOutputShutdown): New method. * java/net/URLStreamHandler.java (URLStreamHandler): New method. (openConnection): Added documentation. (parseURL): Added documentation. (getHostAddress): New method. (getDefaultPort): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57772 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-25 Michael Koch <konqueror@gmx.de>mkoch2002-09-259-32/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/DatagramSocket.java (DatagramSocket): Initialize new instance variables. (close): Reset new instance variables. (getLocalAddress): Remove unneeded SecurityManager usage. (getLocalPort): Check if socket is already bound. (isConnected): New method. (getInetAddress): Implemented. (getPort): Better Implementation, documentation fixed. (getRemoteSocketAddress): New method. * java/net/JarURLConnection.java (element): Typo fixed. (getMainAttributes): New method. (getAttributes): New method (stub only). (getManifest): New method (stub only). * java/net/NetPermission.java: Added serialVersionsUID. * java/net/Socket.java (connect): Check blocking mode of associated channel, documentation added. (getLocalSocketAddress): Better implementation. (getRemoteSocketAddress): Implemented. (isBound): New method. (setSendBufferSize): Documentation added. * java/net/SocketAddress.java: Added serialVersionsUID. * java/net/SocketPermission.java: Added serialVersionsUID. * java/net/URL.java (URL): Wrap for shorter lines, initialize new instance variables, documentation added. (equals): Check new instance variables too. (getContent): Documentation added. (getPath): Documentation added. (getAuthority): New method. (getHost): Documentation added. (getPort): Documentation added. (getDefaultPort): New method. (getProtocol): Documentation added. (getUserInfo): Documentation added. (set): Initialize new instance variables, documentation added. * java/net/URLStreamHandler.java (setURL): New method. * java/net/natPlainDatagramSocketImpl.cc (connect): Fix exception name. (disconnect): Fix exception name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57501 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-25 Michael Koch <konqueror@gmx.de>mkoch2002-09-256-29/+477
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/DatagramSocket.java (DatagramSocket): Exception documentation added. (bind): Exception documentation added, addded SecurityManager check, added SocketAddress type check. (getSoTimeout): Check impl. (receive): Fix SecurityManager check, check impl, documentation added. (send): Check channel mode, documentation added. (connect): New method. (disconnect): Implemented. (getLocalSocketAddress): New method. (getReceiveBufferSize): Check impl. (setReuseAddress): Check impl. (getReuseAddress): Check impl. (setBroadcast): Check impl. (getBroadcast): Check impl. (setTrafficClass): Check impl, Documentation cleared. (getTrafficClass): Check impl. (getSendBufferSize): Check impl. (setReceiveBufferSize): Check impl, documentation added. (setSendBufferSize): Documentation added. (setDatagramSocketImplFactory): New method. * java/net/HttpURLConnection.java (HTTP_INTERNAL_ERROR): The correct code is 500. (HTTP_NOT_IMPLEMENTED): Added new constant. (setFollowRedirects): Documentation added. (getInstanceFollowRedirects): New method. (setInstanceFollowRedirects): New method. (setRequestMethod): Documentation added. (getResponseCode): Documentation added. (getResponseMessage): Documentation added. * java/net/JarURLConnection.java (JarURLConnection): protected since JDK 1.4. (getJarEntry): java.io.IOException to IOException, documentation added. (getJarFile): Documentation added. * java/net/ServerSocket.java (ServerSocket): Private to public, exception added. (ServerSocket): java.io.IOException to IOException, documentation added. (bind): Check socket address type, documentation added. (bind): java.io.IOException to IOException, documentation added. (accept): Documentation added. (implAccept): Check ch is not non-blocking, documentation added. (setSoTimeout): Documentation fixed. (setReceiveBufferSize): Documentation added. * java/net/Socket.java (Socket): Documentation added. (bind): Documentation added. (connect): Check socket address type, documentation added. (getRemoteSocketAddress): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57494 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-25 Michael Koch <konqueror@gmx.de>mkoch2002-09-2513-205/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/DatagramPacket (DatagramPacket): Exception documentation added. (setData): Likewise. (setSocketAddress): Likewise. * java/net/DatagramSocketImpl.java (peek): Documentation addded. (peekData): Documentation addded. (send): Documentation addded. (receive): Documentation addded. (connect): New method. (disconnect): New method. (joinGroup): New abstract method. (leaveGroup): New abstract method. * java/net/InetSocketAddress.java (InetSocketAddress): Documentation added. (equals): final keyword added. (getAddress): final keyword added. (getHostName): final keyword added. (getPort): final keyword added. (hashCode): final keyword added. (isUnresolved): final keyword added. * java/net/MulticastSocket.java (MulticastSocket): Documentation added. (MulticastSocket): New method. (joinGroup): Documentation added. (joinGroup): New method. (leaveGroup): Documentation added. (leaveGroup): New method. (send): Documentation added. * java/net/NetworkInterface.java (getByName): Documentation added. (getByInetAddress): Documentation added. (getNetworkInterfaces): Documentation added. * java/net/PlainDatagramSocketImpl.java (connect): New method. (disconnect): New method. * java/net/SocketImpl.java (create): Documentation added. (shutdownInput): Convert public to protected, as it always was. (shutdownOutput): Convert public to protected, as it always was. * java/net/SocketOptions.java (whole file): Reintented. * java/net/URLClassLoader.java (URLClassLoader): SecurityManager check added, documentation added. (findResources): Documentation added. (findClass): Documentation added. (newInstance): More correct method arguments. * java/net/URLConnection.java (connect): Documentation added. (getContent): Documentation added. (getPermission): Documentation added. (getInputStream): Documentation added. (getOutputStream): Documentation added. (setDoInput): Throw correct exception, documentation added. (setDoOutput): Throw correct exception, documentation added. (setAllowUserInteraction): Throw correct exception, documentation added. (setUseCaches): Throw correct exception, documentation added. (setIfModifiedSince): Throw correct exception, documentation added. (setRequestProperty): Throw exception, documentation added. (addRequestProperty): Throw exception, documentation added. (getRequestProperty): Throw exception, documentation added. (getRequestProperties): Documentation added. (setContentHandlerFactory): Documentation added. (guessContentTypeFromName): protected to public. (setFileNameMap): Documentation added. * java/net/URLDecoder.java (URLDecoder): New method. (decode): Documentation added. (whole file): Reindented. * java/net/URLEncoder.java (encode): Documentation added. * java/net/natPlainDatagramSocketImpl.cc (connect): New method. (disconnect): New method. * javax/naming/RefAddr: (addrType): addrType was never final. (equals): Fix typo in method name. * javax/naming/BinaryRefAddr: (equals): Fix typo in method name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57487 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-21 Michael Koch <konqueror@gmx.de>mkoch2002-09-216-13/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/Socket.java (sendUrgentData): New method. (getChannel): New method. * java/net/ServerSocket.java (getChannel): New method. (isBound): New method. * java/net/DatagramSocket.java (DatagramSocket): Two new methods. (bind): New method. (getChannel): New method. (isBound): New method. (send): Added newline to to make shorter lines. * java/net/PlainDatagramSocketImpl.java (mcastGrp): Added argument. (join): Use new mcastGrp. (leave): Use new mcastGrp. (joinGroup): New method. (leaveGroup): New method. * java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Added argument, no yet really implemented. (getOption): Added newline for shorter lines. * java/net/natPlainSocketImpl.cc (read, setOption, getOption): Added newline for shorter lines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57380 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-18 Michael Koch <konqueror@gmx.de>mkoch2002-09-181-3/+1
| | | | | | | | | | | | | | | | | * java/util/regex/Matcher.java, java/util/regex/Pattern.java, java/util/regex/PatternSyntaxException.java: Merge with classpath, new files. * Makefile.am (core_java_source_files): Added java/util/regex/Matcher.java, java/util/regex/Pattern.java, java/util/regex/PatternSyntaxException.java * Makefile.in: Regenerated. * include/config.h.in: Added HAVE_NET_IF_H. * java/net/natNetworkInterface.cc (getRealNetworkInterfaces): Removed #if 0 ... #endif. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57275 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-17 Michael Koch <konqueror@gmx.de>mkoch2002-09-171-4/+3
| | | | | | | | * java/net/natNetworkInterface.cc: Removed unneed and yet wrong includes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57246 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-17 Michael Koch <konqueror@gmx.de>mkoch2002-09-172-0/+372
| | | | | | | | | | | | | | * java/net/NetworkInterface.java: New file. * java/net/natNetworkInterface.java: New file. * configure.in: Added check for net/if.h. * configure: Regenerated. * Makefile.am (ordinary_java_source_files): Added NetworkInterface.java. (nat_source_files): Added natNetworkInterface.cc. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57234 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/URLClassLoader.java (findClass): Code source for atromey2002-09-161-2/+2
| | | | | | | class from a jar is not necessarily a jar: URL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57214 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-15 Adam Megacz <adam@xwt.org>megacz2002-09-161-0/+1
| | | | | | | * java/net/natPlainSocketImpl.cc: fixed typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57199 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-15 Adam Megacz <adam@xwt.org>megacz2002-09-161-1/+3
| | | | | | | | * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts, which don't work on Win32 (yet). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57180 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-14 Adam Megacz <adam@xwt.org>megacz2002-09-141-1/+0
| | | | | | | | | | * java/net/natPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header is broken (conflicts with itself). * include/win32.h: included definition for IP_TOS to satisfy natPlainDatagramSocket.cc git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57151 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-13 Michael Koch <konqueror@gmx.de>mkoch2002-09-135-8/+15
| | | | | | | | | | | | | | * java/net/DatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line. * java/net/JarURLConection.java (getInputStream, getJarEntry): Likewise. * java/net/SocketPermission.java (SocketPermission class docu, implies): Likewise. * java/net/URLClassLoader.java (findResources): Likewise. * java/net/URLConnection.java: Reindendet remark for 80 chars per line git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57105 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-12 Michael Koch <konqueror@gmx.de>mkoch2002-09-124-30/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/DatagramSocketImpl.jav (peekData): New method. * java/net/PlainDatagramSocketImpl.java (peekData): New method. * java/net/natPlainDatagramSocketImpl.cc (peekData): New method. * java/net/URLConnection (getPermission): New method. (addRequestProperty): New method. (getRequestProperties): New method. (guessContentTypeFromStream): New method, not really implemented. (URLConnection): Added/updated documentation. (connect): Added/updated documentation. (getURL): Added/updated documentation. (getContentLength): Added/updated documentation. (getContentType: Added/updated documentation. (getContentEncoding): Added/updated documentation. (getExpiration): Added/updated documentation. (getDate): Added/updated documentation. (getLastModified): Added/updated documentation. (getHeaderField): Added/updated documentation. (getHeaderFields): Added/updated documentation. (getHeaderFieldInt): Added/updated documentation. (getHeaderFieldDate): Added/updated documentation. (getHeaderFieldKey): Added/updated documentation. (getContent): Added/updated documentation. (getInputStream): Added/updated documentation. (getOutputStream): Added/updated documentation. (toString): Added/updated documentation. (setDoInput): Added/updated documentation. (getDoInput): Added/updated documentation. (setDoOutput): Added/updated documentation. (getDoOutput): Added/updated documentation. (setAllowUserInteraction): Added/updated documentation. (getAllowUserInteraction): Added/updated documentation. (setDefaultAllowUserInteraction): Added/updated documentation. (getDefaultAllowUserInteraction): Added/updated documentation. (setUseCaches): Added/updated documentation. (getUseCaches): Added/updated documentation. (setIfModifiedSince): Added/updated documentation. (getIfModifiedSince): Added/updated documentation. (getDefaultUseCaches): Added/updated documentation. (setDefaultUseCaches): Added/updated documentation. (setRequestProperty): Added/updated documentation. (getRequestProperty): Added/updated documentation. (setDefaultRequestProperty): Added/updated documentation. (getDefaultRequestProperty): Added/updated documentation. (setContentHandlerFactory): Added/updated documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57049 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-11 Michael Koch <konqueror@gmx.de>mkoch2002-09-112-5/+248
| | | | | | | | | | | | | | | | | | | | | | | * java/net/Socket.java (Socket): protected to public (since JDK 1.4). Added @specnote. (bind): New method. (connect): Two new methods. (getKeepalive): Get correct socket option. (setKeepalive): Set correct socket option. (getOOBInline): New method. (setOOBInline): New method. * java/net/ServerSocket.java (bind): Two new methods. (getInetAddress): Reimplemented, catch exception. (getLocalSocketAddress): New method. (setReuseAddress): New method. (getReuseAdress): New method. (setReceiveBufferSize): New method. (getReceiveBufferSize): New method. (toString): Made string JDK 1.4 compliant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57032 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-10 Michael Koch <konqueror@gmx.de>mkoch2002-09-103-12/+105
| | | | | | | | | | | | | | | | * java/net/SocketImpl.java (connect): New method. (supportsUrgentData): New method. (sendUrgentData): New method. * java/net/PlainSocketImpl.java (connect): One new method and two new implementation. (sendUrgentData): New method. * java/natPlainSocketImpl.cc (connect): Arguments changed, added support for timeouts. (getOption): Another __java_boolean to jboolean. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57009 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-07 Adam Megacz <adam@xwt.org>megacz2002-09-071-0/+1
| | | | | | | | * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for definition of IP_TOS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56918 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-04 Michael Koch <konqueror@gmx.de>mkoch2002-09-046-22/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/DatagramSocket.java (DatagramSocket): Added documentation. (close): Likewise. (getLocalAddress): Likewise. (getLocalPort): Likewise. (receive): Likewise. (send): Likewise. (setSoTimeout): Likewise. (connect): New method. (disconnect): New method. (getInetAddress): New method (FIXME) (getPort): New method. (setReuseAddress): New method. (getReuseAddress): New method. (setBroadcast): New method. (getBroadcast): New method. (setTrafficClass): New method. (getTrafficClass): New method. * java/net/MulticastSocket.java): (getTTL): Added @see in documentation. (setTTL): Added @see in documentation. (setLoopbackMode): New method. (getLoopbackMode): New method. * java/net/PlainSocketImpl.java: Added new constants for the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS * java/net/PlainDatagramSocketImpl.java Added new constants for the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS * java/net/natPlainSocketImpl.cc (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS This should also fix SO_KEEPALIVE * java/net/natPlainDatagramSocketImpl.cc (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56801 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-04 Michael Koch <konqueror@gmx.de>mkoch2002-09-041-1/+34
| | | | | | | | | * java/net/SocketOptions.java: added static variables to be JDK 1.4 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56782 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-02 Michael Koch <konqueror@gmx.de>mkoch2002-09-022-259/+258
| | | | | | | | * java/net/DatagramPacket.java, java/net/MulticsstSocket.java: re-indented documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56739 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/JarURLConnection.java (getCertificates): New methodtromey2002-08-3010-15/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from Classpath. * java/net/URLClassLoader.java (URLClassLoader): Extends SecureClassLoader. (definePackage): New method from Classpath. (getPermissions): Likewise. (newInstance): Likewise. (findClass): Construct CodeSource for new class (from Classpath). * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New methods. * java/net/URL.java (getUserInfo): New method. (set(String,String,int,String,String,String,String,String)): New method. * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define. (shutdownInput, shutdownOutput): Declare. * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_): Define. * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive. (getOption): Likewise. (shutdownInput): New method. (shutdownOutput): Likewise. * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle keepalive. (getOption): Likewise. * java/net/SocketOptions.java (SO_KEEPALIVE): New constant. * java/net/Socket.java (setKeepAlive): New method. (getKeepAlive): Likewise. (shutdownInput, shutdownOutput): New methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-29 Michael Koch <konqueror@gmx.de>mkoch2002-08-291-0/+71
| | | | | | | | | | | | | * java/net/DatagramPacket.java: updated to JDK 1.4 API new methods are: DatagramPacket(byte[] buf, int offset, int length, SocketAddress address), DatagramPacket(byte[] buf, int length, SocketAddress address), void setSocketAddress(SocketAddress address) public SocketAddress getSocketAddress() git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56659 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-28 Michael Koch <konqueror@gmx.de>mkoch2002-08-282-0/+92
| | | | | | | | | * java/net/InetSocketAddress.java: Added some documentation and argument checks for the port numbers. * java/net/DatagramSocketImplFactory.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56638 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-28 Michael Koch <konqueror@gmx.de>mkoch2002-08-281-3/+31
| | | | | | | * java/net/Authenticator.java: added some documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56628 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-27 Michael Koch <konqueror@gmx.de>mkoch2002-08-2714-10/+51
| | | | | | | | | | | | | | | | | | | | * java/net/BindException.java, java/net/JarURLConnection.java, java/net/FileNameMap.java, java/net/HttpURLConnection.java, java/net/InetSocketAddress.java, java/net/DatagramPacket.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/MulticastSocket.java, java/net/PasswordAuthentication.java, java/net/ServerSocket.java, java/net/Socket.java, java/net/URLClassLoader.java, java/net/URLConnection.java: add/update of some @since/@deprecated git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56608 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-27 Tony Kimball <alk@pobox.com>tromey2002-08-272-13/+11
| | | | | | | | | | | | | | | | Tom Tromey <tromey@redhat.com> * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New define. (::close): Removed. (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE. * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define. (::close): Removed. (PlainSocketImpl::close): Use NATIVE_CLOSE. * include/win32.h (getcwd): Removed declaration. Include io.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56605 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-23 Michael Koch <konqueror@gmx.de>mkoch2002-08-232-0/+25
| | | | | | | | | | | | * java/net/URLConnection.java, java/netJarURLConnection.java, gnu/gcj/protocol/core/Connection.java, gnu/gcj/protocol/file/Connection.java, gnu/gcj/protocol/http/Connection.java: Added implementation of getHeaderFields(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56532 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2002-08-215-63/+270
| | | | | | | | | | | | | * Makefile.am (ordinary_java_source_files): Added SocketAddress.java, InetSocketAddress.java. * java/net/PortUnreachableException.java: Merged with Classpath. * java/net/SocketTimeoutException.java: Likewise. * java/net/URISyntaxException.java: Likewise. * java/net/SocketAddress.java: New class from Classpath. * java/net/InetSocketAddress.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56494 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-21 Michael Koch <konqueror@gmx.de>mkoch2002-08-212-0/+60
| | | | | | | | * java/net/Authenticator.java: updated JDK 1.4 * java/net/ContentHandler.java: updated JDK 1.4 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56481 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-08-20 Michael Koch <konqueror@gmx.de>bryce2002-08-203-0/+262
| | | | | | | | | | | * java/net/URISyntaxException.java: New file. * java/net/SocketTimeoutException.java: New file. * java/net/PortUnreachableException.java: New file. * Makefile.am: Updated. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56452 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/Authenticator.java: New version from Classpath.tromey2002-07-272-8/+9
| | | | | | | * java/net/DatagramSocketImpl.java: New version from Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55789 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.tromey2002-06-251-6/+2
| | | | | | | | | | | | | | | | (IntegerClass): Likewise. * java/lang/natClass.cc (CloneableClass): Removed. (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass, ConstructorClass): Likewise. * java/lang/natClassLoader.cc (CloneableClass): Removed. (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass, SerializableClass): Likewise. * java/lang/reflect/natMethod.cc (BooleanClass): Removed. (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass, LongClass, FloatClass, DoubleClass): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54977 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainDatagramSocketImpl.cc (receive):jsturm2002-06-182-4/+11
| | | | | | | | | | | | Check bounds of argument to FD_SET. (setOption): Throw exception if socket is closed. * java/net/natPlainSocketImpl.cc (accept, read): Check bounds of argument to FD_SET. (setOption): Throw exception if socket is closed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54750 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/AbstractMethodError.java: Re-merged with Classpath.tromey2002-06-158-339/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/ArithmeticException.java: Likewise. * java/lang/ArrayIndexOutOfBoundsException.java: Likewise. * java/lang/ArrayStoreException.java: Likewise. * java/lang/Byte.java: Likewise. * java/lang/CharSequence.java: Likewise. * java/lang/ClassCastException.java: Likewise. * java/lang/ClassCircularityError.java: Likewise. * java/lang/ClassFormatError.java: Likewise. * java/lang/CloneNotSupportedException.java: Likewise. * java/lang/Cloneable.java: Likewise. * java/lang/Comparable.java: Likewise. * java/lang/Compiler.java: Likewise. * java/lang/Error.java: Likewise. * java/lang/ExceptionInInitializerError.java: Likewise. * java/lang/IllegalAccessError.java: Likewise. * java/lang/IllegalAccessException.java: Likewise. * java/lang/IllegalArgumentException.java: Likewise. * java/lang/IllegalMonitorStateException.java: Likewise. * java/lang/IllegalStateException.java: Likewise. * java/lang/IllegalThreadStateException.java: Likewise. * java/lang/IncompatibleClassChangeError.java: Likewise. * java/lang/IndexOutOfBoundsException.java: Likewise. * java/lang/InheritableThreadLocal.java: Likewise. * java/lang/InstantiationError.java: Likewise. * java/lang/InstantiationException.java: Likewise. * java/lang/InternalError.java: Likewise. * java/lang/InterruptedException.java: Likewise. * java/lang/LinkageError.java: Likewise. * java/lang/NegativeArraySizeException.java: Likewise. * java/lang/NoClassDefFoundError.java: Likewise. * java/lang/NoSuchFieldError.java: Likewise. * java/lang/NoSuchFieldException.java: Likewise. * java/lang/NoSuchMethodError.java: Likewise. * java/lang/NoSuchMethodException.java: Likewise. * java/lang/NullPointerException.java: Likewise. * java/lang/NumberFormatException.java: Likewise. * java/lang/OutOfMemoryError.java: Likewise. * java/lang/Process.java: Likewise. * java/lang/Runnable.java: Likewise. * java/lang/RuntimePermission.java: Likewise. * java/lang/SecurityException.java: Likewise. * java/lang/Short.java: Likewise. * java/lang/StackOverflowError.java: Likewise. * java/lang/StringIndexOutOfBoundsException.java: Likewise. * java/lang/ThreadDeath.java: Likewise. * java/lang/ThreadLocal.java: Likewise. * java/lang/UnknownError.java: Likewise. * java/lang/UnsatisfiedLinkError.java: Likewise. * java/lang/UnsupportedClassVersionError.java: Likewise. * java/lang/UnsupportedOperationException.java: Likewise. * java/lang/VerifyError.java: Likewise. * java/lang/VirtualMachineError.java: Likewise. * java/lang/reflect/InvocationTargetException.java: Likewise. * java/net/BindException.java: Likewise. * java/net/ConnectException.java: Likewise. * java/net/MalformedURLException.java: Likewise. * java/net/NoRouteToHostException.java: Likewise. * java/net/ProtocolException.java: Likewise. * java/net/SocketException.java: Likewise. * java/net/UnknownHostException.java: Likewise. * java/net/UnknownServiceException.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54656 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-02 Jerome Marc <marcjero@yahoo.com>tromey2002-05-021-0/+12
| | | | | | | | * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and sys/filio.h, if present. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53050 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.mark2002-04-152-0/+2
| | | | | | | * java/net/natSocketImpl.cc (close): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52312 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainDatagramSocketImpl.cc (close): New function.tromey2002-03-292-2/+10
| | | | | | | * java/net/natPlainSocketImpl.cc (close): Indentation fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51563 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/PlainDatagramSocketImpl.javajsturm2002-03-284-31/+54
| | | | | | | | | | | | | | | | | | | | | (close): Use native implementation. (finalize): New method. * java/net/PlainSocketImpl.java (finalize): New method. * java/net/natPlainDatagramSocketImpl.cc (java/io/FileDescriptor.h): Don't include. (close): Implement method here. (create): Don't assign fd. * java/net/natPlainSocketImpl.cc (java/io/FileDescriptor.h): Don't include. (create): Don't assign fd. (accept): Likewise. (close): Synchronize. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51492 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.jsturm2002-03-231-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51230 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/posix.h: Add multiple include header protection.bryce2002-03-111-1/+0
| | | | | | | * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50559 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-10 Adam Megacz <adam@xwt.org>megacz2002-03-111-1/+1
| | | | | | | * java/net/natPlainSocketImpl.cc: Added #include <platform.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50556 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Win32Process.java: Added comment.tromey2002-03-102-1/+10
| | | | | | | | | | | | | | | | * include/posix.h (_Jv_platform_close_on_exec): New function. Include fcntl.h. * include/win32.h (_Jv_platform_close_on_exec): New function. * java/net/natPlainSocketImpl.cc (create): Set close-on-exec flag. (accept): Likewise. * java/net/natPlainDatagramSocketImpl.cc (create): Set close-on-exec flag. * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50536 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-08 Adam Megacz <adam@xwt.org>megacz2002-03-091-4/+7
| | | | | | | | * java/net/natPlainSocketImpl.cc (read, write, close): Formatting fixed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50481 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-07 Adam Megacz <adam@xwt.org>megacz2002-03-081-3/+37
| | | | | | | | | | * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to WIN32, and added thunks for read(), write(), and close(). * java/net/natPlainSocketImpl.cc (accept, read, read): Disabled timeouts on WIN32 pending discussion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50418 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.bryce2002-03-071-10/+1
| | | | | | | (read): Call recv() directly, not _Jv_recv(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50391 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-27 Adam Megacz <adam@xwt.org>megacz2002-02-281-3/+4
| | | | | | | | * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50120 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-24 Adam Megacz <adam@xwt.org>megacz2002-02-251-1/+1
| | | | | | | | * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make' typo. Sorry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50019 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-24 Adam Megacz <adam@xwt.org>megacz2002-02-251-6/+8
| | | | | | | | | | * java/net/natPlainDatagramSocketImpl.cc: Updated #includes for Win32, changed #ifdefs to check WIN32 instead of the (now-obsolete) USE_WINSOCK, and removed support for socket timeouts on Win32 pending further discussion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50017 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud