summaryrefslogtreecommitdiffstats
path: root/libjava/java/net
Commit message (Collapse)AuthorAgeFilesLines
* * win32.cc: fixed tab, indentation and whitespacemembar2003-08-294-1158/+560
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inconsistencies removed jvm.h include added includes java/lang/UnsupportedOperationException.h, java/io/IOException.h, java/net/SocketException.h (WSAEventWrapper): class implementation (_Jv_WinStrError): implemented both overloads (_Jv_ThrowIOException): implemented both overloads (_Jv_ThrowSocketException): implemented both overloads (_Jv_select): implemented * include/win32.h: fixed tab, indentation and whitespace inconsistencies wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN added jvm.h include (WSAEventWrapper): added class declaration (_Jv_WinStrError): added both overload declarations (_Jv_ThrowIOException): added both overload declarations (_Jv_ThrowSocketException): added both overload declarations removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines (_Jv_select): added declaration (_Jv_socket): removed (_Jv_connect): removed (_Jv_close): removed (_Jv_bind): removed (_Jv_accept): removed (_Jv_listen): removed (_Jv_write): removed (_Jv_read): removed * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include (testCanUseGetHandleInfo): new function which tests whether Win32 GetHandleInformation() call can be used with console buffer handles (only supported on >=WinNT 5.0) (winerr): removed (superseded by _Jv_WinStrError in include/win32.h) (valid): rewrote implementation using GetHandleInformation() (sync): changed exception throwing to use error string and exception helper methods declared in include/win32.h (open): likewise (write): likewise (setLength): likewise (close): likewise (seek): likewise (getFilePointer): likewise (read): likewise * java/io/natFileWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include (_access): use JV_TEMP_UTF_STRING (_stat): likewise (performMkDir): use JV_TEMP_UTF_STRING (performRenameTo): likewise (performDelete): likewise (performCreate): likewise (performSetReadOnly): likewise (performSetLastModified): likewise * java/lang/natWin32Process.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed includes gcj/cni.h, jvm.h (new_string): removed (startProcess): use JV_TEMP_UTF_STRING, changed exception throwing to use error string and exception helper methods declared in include/win32.h * java/net/natInetAddressWin32.cc: fixed tab, indentation and whitespace inconsistencies replaced <windows.h> #include with <platform.h> removed jvm.h include removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 (aton): use JV_TEMP_UTF_STRING removed POSIX conditional code not relevant to Win32 (lookup): likewise (getLocalHostName): likewise * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and whitespace inconsistencies removed unnecessary windows.h, winsock.h and gcj/cni.h includes removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 (winsock2GetRealNetworkInterfaces): new function to compute network interfaces via Winsock2 API (determineGetRealNetworkInterfacesFN): new function for returning a function pointer to the function used to compute network interfaces. (getRealNetworkInterfaces): implemented * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and whitespace inconsistencies removed gcj/cni.h include removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 changed net POSIXisms to Win32isms replaced _Jv socket-related calls with their real Win32 equivalents changed exception throwing to use error string and exception helper methods declared in include/win32.h (peekData): implemented timeout support (receive): likewise * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and whitespace inconsistencies removed gcj/cni.h and gcj/javaprims.h includes removed DISABLE_JAVA_NET conditional code removed POSIX conditional code not relevant to Win32 changed net POSIXisms to Win32isms replaced _Jv socket-related calls with their real Win32 equivalents changed exception throwing to use error string and exception helper methods declared in include/win32.h (throwConnectException): helper function for connect() (connect): implemented timeout support (accept): likewise (doRead): new helper function common to both read() method overloads, includes timeout support (read): implemented both overloads in terms of doRead() (available): implemented using ioctlsocket() git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70904 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natInetAddressWin32.cc,membar2003-08-294-0/+271
| | | | | | | | | | | | java/net/natNetworkInterfaceWin32.cc, java/net/natPlainDatagramSocketImplWin32.cc, java/net/natPlainSocketImplWin32.cc: Readded code enclosed in DISABLE_JAVA_NET defines in preparation for MinGW cleanup / networking patch git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70902 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2003-08-281-18/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (ordinary_java_source_files): Added new files. * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as friend. * java/net/URLClassLoader.java (findClass): Don't use findURLResource. Use loader's getClass method. (URLLoader.getClass): New method. (addURL): Handle `gcjlib' URLs. (SoURLLoader): New class. (SoResource): Likewise. * gnu/gcj/protocol/gcjlib/Connection.java: New file. * gnu/gcj/protocol/gcjlib/Handler.java: New file. * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc. (_Jv_RegisterCoreHook): Declare. (_Jv_FindCore): Declare. * gnu/gcj/runtime/SharedLibHelper.java: New file. * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New typedef. (core_hook): New function. (struct SharedLibDummy) [saved_core]: New field. (init): Set _Jv_RegisterCoreHook. Throw exception on failure. (register_hook): Set protection domain and class loader on new class. (finalize): Free core chain. * gnu/gcj/Core.java (Core): New constructor. * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use SharedLibHelper. * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet. (_Jv_create_core): New function. (create): Use it. (default_register_resource): New function. (_Jv_RegisterCoreHook): New global. (_Jv_RegisterResource): Use it. (core_chain_struct): Removed. (_Jv_FindCore): New function. (_Jv_FreeCoreChain): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70892 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-29 Michael Koch <konqueror@gmx.de>mkoch2003-08-284-271/+0
| | | | | | | | | | | * java/net/natInetAddressWin32.cc, java/net/natNetworkInterfaceWin32.cc, java/net/natPlainDatagramSocketImplWin32.cc, java/net/natPlainSocketImplWin32.cc: Removed code enclosed in DISABLE_JAVA_NET defines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70883 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/Socket.java (Socket (SocketImpl)): Don't allow nullbryce2003-08-072-134/+20
| | | | | | | | | | | | | | SocketImpl. Update Javadoc. (bind): Call close() not impl.close() in event of exception. (connect): Likewise. Remove superfluous null checks throughout. * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)): Don't create an extra socket. Fix for PR libgcj/10868. (bind): Clean up exception handling. Remove superfluous null checks throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70219 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as abryce2003-08-071-15/+16
| | | | | | | | | | | ready-to-write argument to _Jv_Select. Reset the socket back to non-blocking state after connecting. (accept): Pass the FD as a ready-to-write argument to _Jv_Select. Throw SocketTimeoutException not InterruptedIOException. (read): Throw SocketTimeoutException not InterruptedIOException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70217 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-02 Michael Koch <konqueror@gmx.de>mkoch2003-08-021-9/+34
| | | | | | | | | | | | | | | | * java/net/URL.java (URL): Added paragraph about the gnu.java.net.nocache_protocol_handlers property. (ph_cache): Renamed from handlers to match classpath's implementation. Reordered it with factory and serialVersionUID member variables. (cache_handlers): New member variable. (static): New static initializer to initialize cache_handlers from gnu.java.net.nocache_protocol_handlers property. (URL): Use ph_cache instead of handlers, reformatted some code to match classpath's implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70098 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>mkoch2003-08-011-1/+2
| | | | | | | | * java/net/SocketImpl.java (toString): Display the remote address of an unconnected server socket as "0.0.0.0/0.0.0.0". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70069 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/URLEncoder.java (encode(String)): Use platform defaulttromey2003-07-221-7/+20
| | | | | | | | | | encoding. (encode(String,String)): Convert to 2-digit upper-case hex number. (hex): New field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69678 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-20 Michael Koch <konqueror@gmx.de>mkoch2003-07-201-4/+12
| | | | | | | | | | * java/net/URL.java (URL): Fixed documentation to name an argument correcty, Reformatted one method declaration. (getURLStreamHandler): Added documentation from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69606 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>mkoch2003-07-191-1/+9
| | | | | | | | | | * java/net/URLClassLoader.java (addURL): Moved implementation to private addURLImpl() to avoid calling addURL from the constructor. (addURLImpl): Contains the code that was previously in addURL. (addURLs): Call addURLImpl(), not addURL(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69591 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-28 Michael Koch <konqueror@gmx.de>mkoch2003-06-282-0/+17
| | | | | | | | | | * java/net/ServerSocket.java (setChannel): New method. * java/net/Socket.java (setChannel): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68631 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-27 Michael Koch <konqueror@gmx.de>mkoch2003-06-272-2/+2
| | | | | | | | | | * java/net/Inet4Address.java (Inet4Address): Made package-private. * java/net/Inet6Address.java (Inet4Address): Made package-private. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68575 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-25 Michael Koch <konqueror@gmx.de>mkoch2003-06-251-8/+127
| | | | | | | | * java/net/PlainDatagramSocketImpl.java: Partly merged with classpath, this mainly adds documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68468 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-24 Michael Koch <konqueror@gmx.de>mkoch2003-06-242-42/+42
| | | | | | | | | | | * java/net/URL.java: Renamed "handler" to "ph" in the whole file to match classpaths version. * java/net/URLStreamHandler.java: (equals): Renamed "handler" to "ph". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68439 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-24 Michael Koch <konqueror@gmx.de>mkoch2003-06-243-2/+377
| | | | | | | | | | | | | * java/net/SocketImpl.java (shutdownInput): Made it non-abstract method throwing an exception like in SUNs JRE. (shutdownOutput): Likewise. * java/net/SocketInputStream.java, java/net/SocketOutputStream.java: New files from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68416 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-21 Michael Koch <konqueror@gmx.de>mkoch2003-06-211-35/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/PlainSocketImpl.java: Reformatted. (PlainSocketImpl): Merged class documentaion with classpath. (in): Moved. (out): Moved. (PlainSocketImpl): New empty constructor. (finalize): Moved. (setOption): Merged documentation from classpath. (getOption): Likewise. (create): Likewise. (connect): Likewise. (bind): Likewise. (listen): Likewise. (accept): Likewise. (available): Likewise. (close): Likewise. (read): Likewise. (write): Likewise. (getInputStream): Made synchronozed to get sure that only one stream object can be created for this socket, merged documentation from classpath. (getOutputStream): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68305 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-21 Michael Koch <konqueror@gmx.de>mkoch2003-06-211-6/+17
| | | | | | | | | | | * java/net/PlainSocketImpl.java: Reformatting. (static): New implicit method. (read): Made package private. (write): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68304 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-20 Michael Koch <konqueror@gmx.de>mkoch2003-06-201-4/+12
| | | | | | | | * java/net/URLStreamHandler.java (hostsEqual): Rewritten. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68260 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-19 Michael Koch <konqueror@gmx.de>mkoch2003-06-198-141/+137
| | | | | | | | | | | | | | | | | | | | | * java/net/HttpURLConnection.java, java/net/Inet4Address.java, java/net/Inet6Address.java, java/net/SocketImpl.java, java/net/URLClassLoader.java: Reworked import statements. * java/net/InetAddress.java (getByAddress): Simplified. * java/net/ServerSocket.java (ServerSocket): Moved special handling during bind operation to bind(). (bind): Handle different cases when trying to bind a socket. * java/net/URLConnection.java (getHeaderFieldDate): Merged with classpath. (getHeaderFieldInt): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68198 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="tromey2003-06-192-5/+7
| | | | | | | | | | on arrays. (isLoopbackAddress): Likewise. * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "==" on arrays. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68173 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-18 Michael Koch <konqueror@gmx.de>mkoch2003-06-183-19/+53
| | | | | | | | | | | | | | * java/net/InetAddress.java: Reformatted to better match classpath's version. * java/net/URL.java (equals): Simplified. * java/net/URLConnection.java (setDoInput): Revised documentation. (getDefaultUseCaches): Likewise. (setRequestProperty): Added @since tag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68143 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-17 Michael Koch <konqueror@gmx.de>mkoch2003-06-172-23/+18
| | | | | | | | | | | | | | * java/net/InetSocketAddress.java (InetSocketAddress): Use wildcard address if addr is null. (InetSocketAddress): Dont duplicate implementation. (InetSocketAddress): Throw exception when hostname is null. * java/net/Socket.java: Reworked imports. (Socket): Throw exception when raddr is null, handle case when laddr is null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68106 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-11 Michael Koch <konqueror@gmx.de>mkoch2003-06-111-4/+21
| | | | | | | | * java/net/DatagramSocket.java: Partly merged with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67755 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-08 Anthony Green <green@redhat.com>green2003-06-082-3/+11
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67640 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-08 Michael Koch <konqueror@gmx.de>mkoch2003-06-081-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67618 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-08 Michael Koch <konqueror@gmx.de>mkoch2003-06-084-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67617 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-27 Michael Koch <konqueror@gmx.de>mkoch2003-05-271-8/+12
| | | | | | | | * java/net/URLConnection.java (getHeaderFieldInt): Merged with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67184 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-26 Michael Koch <konqueror@gmx.de>mkoch2003-05-264-77/+94
| | | | | | | | | | | * java/net/NetPermission.java, java/net/NetworkInterface.java, java/net/PasswordAuthentication.java, java/net/SocketPermission.java: New versions from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67174 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-25 Michael Koch <konqueror@gmx.de>mkoch2003-05-2510-415/+393
| | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67165 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-09 Michael Koch <konqueror@gmx.de>mkoch2003-05-092-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66625 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-05 Michael Koch <konqueror@gmx.de>mkoch2003-05-051-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66500 138bc75d-0d04-0410-961f-82ee72b054a4
* Forgot to add this to commit line on 2003/05/02. Its in Changelog already.mkoch2003-05-051-1/+0
| | | | | | | | | | >2003-05-02 Michael Koch <konqueror@gmx.de> > > * java/net/URI.java > (create): Doesnt throws any exceptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66474 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-02 Michael Koch <konqueror@gmx.de>mkoch2003-05-021-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66384 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-02 Michael Koch <konqueror@gmx.de>mkoch2003-05-023-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66379 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-02 Michael Koch <konqueror@gmx.de>mkoch2003-05-025-18/+114
| | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66376 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-06 Michael Koch <konqueror@gmx.de>mkoch2003-04-061-15/+80
| | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65301 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-24 Michael Koch <konqueror@gmx.de>mkoch2003-03-243-1/+6
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64795 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-20 Michael Koch <konqueror@gmx.de>mkoch2003-03-205-39/+180
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64611 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-18 Michael Koch <konqueror@gmx.de>mkoch2003-03-184-2392/+0
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64527 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-18 Michael Koch <konqueror@gmx.de>mkoch2003-03-1812-0/+4719
| | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64526 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-17 Michael Koch <konqueror@gmx.de>mkoch2003-03-171-1/+1
| | | | | | | | | | * java/net/DatagramSocket.java (connect): Fixed comment. * java/nio/ByteBuffer.java (hasArray): Fixed comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64487 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-10 Michael Koch <konqueror@gmx.de>mkoch2003-03-105-22/+22
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64083 138bc75d-0d04-0410-961f-82ee72b054a4
* No changelog, just replaced one tabulator with some spacesmkoch2003-03-071-1/+1
| | | | | | | to merge with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63929 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-03 Michael Koch <konqueror@gmx.de>mkoch2003-03-041-2/+1
| | | | | | | * java/net/NetworkInterface.java: Merged with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63769 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-03 Michael Koch <konqueror@gmx.de>mkoch2003-03-034-12/+16
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63714 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-02 Michael Koch <konqueror@gmx.de>mkoch2003-03-021-1/+1
| | | | | | | | * java/net/NetPermission.java: Merged copyright with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63690 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-02 Michael Koch <konqueror@gmx.de>mkoch2003-03-024-5/+15
| | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63679 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-02 Michael Koch <konqueror@gmx.de>mkoch2003-03-021-15/+19
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63662 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>tromey2003-03-011-4/+29
| | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63635 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud