Patch for Enhancement Bug # 6313849 and 417591

Andreas Schaefer andreas.schaefe at madplanet.com
Wed May 16 14:33:45 PDT 2007


I added the disconnect() method to the java.net.URLConnection class and
the implementation to its subclasses. I create the Disconnect.java test
class which tests that  the InputStreams are closed and the a reconnect
is possible.

The file disconnect.sh, Disconnect.java and foo2.jar should go into
trunk/j2se/test/java/net/URLConnection.

This is my first patch for the OpenJDK and so I would love to do it from
start to finish. Please let me know if something does not work out or if
I should change any of this.

Thank you - Andy Schaefer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: url.connection.disconnect.patch
Type: text/x-patch
Size: 4960 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20070516/2dcc65cf/url.connection.disconnect.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disconnect.sh
Type: application/x-shellscript
Size: 1721 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20070516/2dcc65cf/disconnect.sh 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Disconnect.java
Type: text/x-java
Size: 23586 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20070516/2dcc65cf/Disconnect.java 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo2.jar
Type: application/x-jar
Size: 464 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20070516/2dcc65cf/foo2.jar 


More information about the net-dev mailing list