further expanded patch
Tony Kimball
alk@pobox.com
Fri Jul 5 08:18:00 GMT 2002
This further expansion of the previously submitted patch
completes the implementation of shutdownInput, shutdownOutput
for java.net.Socket.
As my test code is an application which uses these interfaces,
I am unable to supply that code directly. I shall add unit
tests to my todo list.
This is a complete ChangeLog:
* include/win32.sh
include io.h for getcwd et filia (mingw32 target support).
* java/lang/natRuntime.cc
fix misspelled preprocessor token.
* java/io/FileDescriptor.java
add native shutdownInput, shutdownOutput, setLength.
* java/io/RandomAccessFile.java
add setLength.
* java/io/natFileDescriptorEcos.cc
add empty implementation of native shutdownInput, shutdownOutput,
setLength.
* java/io/natFileDescriptorPosix.cc
add implementation of native shutdownInput, shutdownOutput,
setLength.
* java/io/natFileDescriptorWin32.cc
add implementation of native shutdownInput, shutdownOutput,
setLength.
* java/net/DatagramSocket.java
add connect, disconnect, getInetAddress, getPort.
* java/net/PlainSocketImpl.java
add shutdownInput, shutdownOutput.
* java/net/Socket.java
add shutdownInput, shutdownOutput.
* java/net/SocketImpl.java
add shutdownInput, shutdownOutput.
* java/net/URL.java
add getQuery.
* java/net/natPlainDatagramSocket.cc
previous inline definition of close conflicts with io.h
declarations -- changed to macro. Conditionalized multicast
operations.
* java/net/natPlainSocketImpl.cc
previous inline definition of close conflicts with io.h
declarations -- changed to macro.
I submit the patch as an attachment in an effort to avoid any MUA
formatting issues:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alk.patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20020705/633730da/attachment.ksh>
More information about the Java-patches
mailing list