| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Genericized.
(VMNetworkInterface): Updated.
* java/net/URLClassLoader.java (urls): Genericized.
(urlinfos): Likewise.
(addURLImpl): Updated.
(findClass): Likewise.
(newInstance): Likewise.
* java/net/URL.java (ph_cache): Genericized.
(getURLStreamHandler): Updated.
* java/net/ResolverCache.java (cache): Genericized.
(killqueue): Likewise.
* java/net/NetworkInterface.java (getInetAddresses): Genericized.
* java/net/MimeTypeMapper.java (mime_types): Genericized.
(fillFromFile): Likewise.
(main): Likewise.
* gnu/java/net/protocol/jar/Handler.java (flat): Genericized.
* gnu/java/net/protocol/jar/Connection.java (JarFileCache.cache):
Genericized.
(JarFileCache.get): Updated.
* gnu/java/net/protocol/http/SimpleCookieManager.java (cookies):
Genericized.
(SimpleCookieManager): Updated.
(setCookie): Likewise.
(getCookies): Likewise.
(addCookies): Likewise.
* gnu/java/net/protocol/http/Request.java (responseHeaderHandlers):
Genericized.
(Request): Updated.
(createResponseBodyStream): Removed unused variable.
* gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Remove
unused variable.
(getRequestProperties): Genericized.
* gnu/java/net/protocol/http/HTTPConnection.java
(handshakeCompletedListeners): Genericized.
(nonceCounts): Likewise.
(HTTPConnection): Updated.
(Pool.connectionPool): Likewise.
(getNonceCount): Updated.
(incrementNonce): Likewise.
* gnu/java/net/protocol/http/Headers.java (headers): Genericized.
* gnu/java/net/protocol/http/ChunkedInputStream.java (CR, LF): Removed
unused fields.
* gnu/java/net/protocol/ftp/FTPURLConnection.java (connect):
Genericized.
(getRequestProperties): Likewise.
(addRequestPropertyValue): Likewise. Fixed return result.
* gnu/java/net/protocol/ftp/FTPConnection.java (nameList):
Genericized.
* gnu/java/net/local/LocalSocket.java: Fixed imports.
* gnu/java/net/local/LocalServerSocket.java: Fixed imports.
* gnu/java/net/loader/URLStreamHandlerCache.java (factoryCache):
Genericized.
(add): Updated.
(get): Likewise.
* gnu/java/net/loader/URLLoader.java (getClassPath): Genericized.
* gnu/java/net/loader/JarURLLoader.java (classPath): Genericized.
(initialize): Updated.
(getClassPath): Genericized.
* gnu/java/net/IndexListParser.java (prefixes): Genericized.
(IndexListParser): Updated.
(getHeaders): Likewise.
* gnu/java/net/HeaderFieldHelper.java (headerFieldKeys): Genericized.
(headerFieldValues): Likewise.
(HeaderFieldHelper): Updated.
(getHeaderFieldValueByKey): Likewise.
(getHeaderFields): Likewise.
* gnu/java/net/GetLocalHostAction.java: Genericized.
* gnu/java/net/DefaultContentHandlerFactory.java (imageTypes):
Genericized.
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/local/LocalSocketImpl.java
Only load native lib if this is supported by runtime.
* native/jni/java-net/local.c
Include config.h unconditionally.
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
Include config.h unconditionally.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
(available): Pass fd as argument and avoid JNI class/field
lookup.
(read): Likewise.
(write): Likewise.
* include/gnu_java_net_local_LocalSocketImpl.h:
Regenerated.
* gnu/java/net/local/LocalSocketImpl.h
(available): Pass fd as argument and avoid JNI class/field
lookup.
(read): Likewise.
(write): Likewise.
|
|
|
|
|
|
| |
* gnu/java/net/local/LocalSocket.java
(setSoTimeout): Don't throw exception and ignore request.
(getSoTimeout): Don't throw exception and always return 0.
|
|
* configure.ac (--enable-local-sockets): new enable argument.
(ENABLE_LOCAL_SOCKETS): new define.
* native/jni/java-net/Makefile.am (local_sources): new variable.
(lib_javanet_la_SOURCES): append `local_sources.'
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
* native/jni/java-net/local.c,
* native/jni/java-net/local.h,
* include/gnu_java_net_local_LocalSocketImpl.h,
* gnu/java/net/local/LocalServerSocket.java,
* gnu/java/net/local/LocalSocket.java,
* gnu/java/net/local/LocalSocketAddress.java,
* gnu/java/net/local/LocalSocketImpl.java: new files.
|