You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "George Harley (JIRA)" <ji...@apache.org> on 2006/06/22 11:27:31 UTC
[jira] Assigned: (HARMONY-623) java.net.ServerSocket constrcutor
should not throw IOException if "socksProxyHost" property is set.
[ http://issues.apache.org/jira/browse/HARMONY-623?page=all ]
George Harley reassigned HARMONY-623:
-------------------------------------
Assign To: George Harley
> java.net.ServerSocket constrcutor should not throw IOException if "socksProxyHost" property is set.
> ---------------------------------------------------------------------------------------------------
>
> Key: HARMONY-623
> URL: http://issues.apache.org/jira/browse/HARMONY-623
> Project: Harmony
> Type: Bug
> Components: Classlib
> Reporter: Andrew Zhang
> Assignee: George Harley
> Priority: Minor
> Attachments: luni.src.diff
>
> Harmony java.net.ServerSocket constrcutor throws IOException if "socksProxyHost" property is set while RI doesn't.
> Following test reproduces the bug.
> public void test_ConstructorI_SocksSet() throws IOException {
> ServerSocket ss = null;
> Properties props = (Properties) System.getProperties().clone();
> try {
> System.setProperty("socksProxyHost", "127.0.0.1");
> System.setProperty("socksProxyPort", "12345");
> ss = new ServerSocket(Support_PortManager.getNextPort());
> } finally {
> System.setProperties(props);
> if (null != ss) {
> ss.close();
> }
> }
> }
> Test result:
> RI passes but Harmony fails.
> I'll try to fix the problem. Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira