You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Artem Aliev (JIRA)" <ji...@apache.org> on 2006/12/05 15:28:46 UTC
[jira] Created: (HARMONY-2471)
[luni]java.net.URLConnection.setIfModifiedSince() throws unspecified
IllegalAccessError
[luni]java.net.URLConnection.setIfModifiedSince() throws unspecified IllegalAccessError
---------------------------------------------------------------------------------------
Key: HARMONY-2471
URL: http://issues.apache.org/jira/browse/HARMONY-2471
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Artem Aliev
Priority: Minor
According to the specification java.net.URLConnection.setIfModifiedSince(long
l) throws IllegalStateException, if already connected. Harmony throws
java.lang.IllegalAccessError instead that contradicts the specification.
The same issue is for
setDoOutput
setDoInput
setDefaultUseCaches
methods.
Test for reproducing:
import junit.framework.TestCase;
import java.net.*;
import java.io.*;
public class test extends TestCase {
public void test1 () {
HttpURLConnection u=null;
try {
u=(HttpURLConnection)(new
URL("http://intel.com").openConnection());
u.connect();
} catch (MalformedURLException e) {
fail("unexpected MalformedURLException"+e);
} catch (IOException f) {
fail("unexpected IOException"+f);
}
try {
u.setIfModifiedSince(1);
} catch (IllegalStateException e) {
//expected
};
}
public void test2 () {
HttpURLConnection u=null;
try {
u=(HttpURLConnection)(new
URL("http://intel.com").openConnection());
u.connect();
} catch (MalformedURLException e) {
fail("unexpected MalformedURLException"+e);
} catch (IOException f) {
fail("unexpected IOException"+f);
}
try {
u.setDoOutput(true);
} catch (IllegalStateException e) { //expected
};
}
public void test3 () {
HttpURLConnection u=null;
try {
u=(HttpURLConnection)(new
URL("http://intel.com").openConnection());
u.connect();
} catch (MalformedURLException e) {
fail("unexpected MalformedURLException"+e);
} catch (IOException f) {
fail("unexpected IOException"+f);
}
try {
u.setDoInput(true);
} catch (IllegalStateException e) { //expected
};
}
}
Output on Sun 1.5:
==================
...
Time: 0,953
OK (3 tests)
Output on Harmony:
==================
There were 3 errors:
1) test1(test)java.lang.IllegalAccessError: Connection already established
at java.net.URLConnection.setIfModifiedSince(URLConnection.java:913)
at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnect
ion.setIfModifiedSince(HttpURLConnection.java:1248)
at test.test1(test.java:17)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
2) test2(test)java.lang.IllegalAccessError: Connection already established
at java.net.URLConnection.setDoOutput(URLConnection.java:885)
at test.test2(test.java:33)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
3) test3(test)java.lang.IllegalAccessError: Connection already established
at java.net.URLConnection.setDoInput(URLConnection.java:862)
at test.test3(test.java:48)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
FAILURES!!!
Tests run: 3, Failures: 0, Errors: 3
Affected tests:
vts_api_java_net_URLConnection_setDefaultUseCaches_Z@test1_0
vts_api_java_net_URLConnection_setDoInput_Z@test2_0
vts_api_java_net_URLConnection_setDoOutput_Z@test2_0
vts_api_java_net_URLConnection_setIfModifiedSince_J@test2_0
--
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
[jira] Updated: (HARMONY-2471)
[classlib][luni]java.net.URLConnection.setIfModifiedSince() throws
unspecified IllegalAccessError
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2471?page=all ]
Paulex Yang updated HARMONY-2471:
---------------------------------
Summary: [classlib][luni]java.net.URLConnection.setIfModifiedSince() throws unspecified IllegalAccessError (was: [luni]java.net.URLConnection.setIfModifiedSince() throws unspecified IllegalAccessError)
> [classlib][luni]java.net.URLConnection.setIfModifiedSince() throws unspecified IllegalAccessError
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2471
> URL: http://issues.apache.org/jira/browse/HARMONY-2471
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Artem Aliev
> Priority: Minor
>
> According to the specification java.net.URLConnection.setIfModifiedSince(long
> l) throws IllegalStateException, if already connected. Harmony throws
> java.lang.IllegalAccessError instead that contradicts the specification.
> The same issue is for
> setDoOutput
> setDoInput
> setDefaultUseCaches
> methods.
> Test for reproducing:
> import junit.framework.TestCase;
> import java.net.*;
> import java.io.*;
> public class test extends TestCase {
> public void test1 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setIfModifiedSince(1);
> } catch (IllegalStateException e) {
> //expected
> };
> }
> public void test2 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoOutput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> public void test3 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoInput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> }
> Output on Sun 1.5:
> ==================
> ...
> Time: 0,953
> OK (3 tests)
> Output on Harmony:
> ==================
> There were 3 errors:
> 1) test1(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setIfModifiedSince(URLConnection.java:913)
> at
> org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnect
> ion.setIfModifiedSince(HttpURLConnection.java:1248)
> at test.test1(test.java:17)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 2) test2(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoOutput(URLConnection.java:885)
> at test.test2(test.java:33)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 3) test3(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoInput(URLConnection.java:862)
> at test.test3(test.java:48)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> FAILURES!!!
> Tests run: 3, Failures: 0, Errors: 3
> Affected tests:
> vts_api_java_net_URLConnection_setDefaultUseCaches_Z@test1_0
> vts_api_java_net_URLConnection_setDoInput_Z@test2_0
> vts_api_java_net_URLConnection_setDoOutput_Z@test2_0
> vts_api_java_net_URLConnection_setIfModifiedSince_J@test2_0
--
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
[jira] Assigned: (HARMONY-2471)
[classlib][luni]java.net.URLConnection.setIfModifiedSince() throws
unspecified IllegalAccessError
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2471?page=all ]
Tim Ellison reassigned HARMONY-2471:
------------------------------------
Assignee: Tim Ellison
> [classlib][luni]java.net.URLConnection.setIfModifiedSince() throws unspecified IllegalAccessError
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2471
> URL: http://issues.apache.org/jira/browse/HARMONY-2471
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Artem Aliev
> Assigned To: Tim Ellison
> Priority: Minor
> Attachments: harmony-2471.diff
>
>
> According to the specification java.net.URLConnection.setIfModifiedSince(long
> l) throws IllegalStateException, if already connected. Harmony throws
> java.lang.IllegalAccessError instead that contradicts the specification.
> The same issue is for
> setDoOutput
> setDoInput
> setDefaultUseCaches
> methods.
> Test for reproducing:
> import junit.framework.TestCase;
> import java.net.*;
> import java.io.*;
> public class test extends TestCase {
> public void test1 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setIfModifiedSince(1);
> } catch (IllegalStateException e) {
> //expected
> };
> }
> public void test2 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoOutput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> public void test3 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoInput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> }
> Output on Sun 1.5:
> ==================
> ...
> Time: 0,953
> OK (3 tests)
> Output on Harmony:
> ==================
> There were 3 errors:
> 1) test1(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setIfModifiedSince(URLConnection.java:913)
> at
> org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnect
> ion.setIfModifiedSince(HttpURLConnection.java:1248)
> at test.test1(test.java:17)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 2) test2(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoOutput(URLConnection.java:885)
> at test.test2(test.java:33)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 3) test3(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoInput(URLConnection.java:862)
> at test.test3(test.java:48)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> FAILURES!!!
> Tests run: 3, Failures: 0, Errors: 3
> Affected tests:
> vts_api_java_net_URLConnection_setDefaultUseCaches_Z@test1_0
> vts_api_java_net_URLConnection_setDoInput_Z@test2_0
> vts_api_java_net_URLConnection_setDoOutput_Z@test2_0
> vts_api_java_net_URLConnection_setIfModifiedSince_J@test2_0
--
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
[jira] Resolved: (HARMONY-2471)
[classlib][luni]java.net.URLConnection.setIfModifiedSince() throws
unspecified IllegalAccessError
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2471?page=all ]
Tim Ellison resolved HARMONY-2471.
----------------------------------
Resolution: Fixed
Thanks Artem / Tony,
Patch applied to LUNI module at repo revision r490724. Also passes the test cases in the bug report.
Please check that the patch was applied as you expected.
> [classlib][luni]java.net.URLConnection.setIfModifiedSince() throws unspecified IllegalAccessError
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2471
> URL: http://issues.apache.org/jira/browse/HARMONY-2471
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Artem Aliev
> Assigned To: Tim Ellison
> Priority: Minor
> Attachments: harmony-2471.diff
>
>
> According to the specification java.net.URLConnection.setIfModifiedSince(long
> l) throws IllegalStateException, if already connected. Harmony throws
> java.lang.IllegalAccessError instead that contradicts the specification.
> The same issue is for
> setDoOutput
> setDoInput
> setDefaultUseCaches
> methods.
> Test for reproducing:
> import junit.framework.TestCase;
> import java.net.*;
> import java.io.*;
> public class test extends TestCase {
> public void test1 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setIfModifiedSince(1);
> } catch (IllegalStateException e) {
> //expected
> };
> }
> public void test2 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoOutput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> public void test3 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoInput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> }
> Output on Sun 1.5:
> ==================
> ...
> Time: 0,953
> OK (3 tests)
> Output on Harmony:
> ==================
> There were 3 errors:
> 1) test1(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setIfModifiedSince(URLConnection.java:913)
> at
> org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnect
> ion.setIfModifiedSince(HttpURLConnection.java:1248)
> at test.test1(test.java:17)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 2) test2(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoOutput(URLConnection.java:885)
> at test.test2(test.java:33)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 3) test3(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoInput(URLConnection.java:862)
> at test.test3(test.java:48)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> FAILURES!!!
> Tests run: 3, Failures: 0, Errors: 3
> Affected tests:
> vts_api_java_net_URLConnection_setDefaultUseCaches_Z@test1_0
> vts_api_java_net_URLConnection_setDoInput_Z@test2_0
> vts_api_java_net_URLConnection_setDoOutput_Z@test2_0
> vts_api_java_net_URLConnection_setIfModifiedSince_J@test2_0
--
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
[jira] Closed: (HARMONY-2471)
[classlib][luni]java.net.URLConnection.setIfModifiedSince() throws
unspecified IllegalAccessError
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison closed HARMONY-2471.
--------------------------------
No response, assuming ok.
> [classlib][luni]java.net.URLConnection.setIfModifiedSince() throws unspecified IllegalAccessError
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2471
> URL: https://issues.apache.org/jira/browse/HARMONY-2471
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Artem Aliev
> Assigned To: Tim Ellison
> Priority: Minor
> Attachments: harmony-2471.diff
>
>
> According to the specification java.net.URLConnection.setIfModifiedSince(long
> l) throws IllegalStateException, if already connected. Harmony throws
> java.lang.IllegalAccessError instead that contradicts the specification.
> The same issue is for
> setDoOutput
> setDoInput
> setDefaultUseCaches
> methods.
> Test for reproducing:
> import junit.framework.TestCase;
> import java.net.*;
> import java.io.*;
> public class test extends TestCase {
> public void test1 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setIfModifiedSince(1);
> } catch (IllegalStateException e) {
> //expected
> };
> }
> public void test2 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoOutput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> public void test3 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoInput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> }
> Output on Sun 1.5:
> ==================
> ...
> Time: 0,953
> OK (3 tests)
> Output on Harmony:
> ==================
> There were 3 errors:
> 1) test1(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setIfModifiedSince(URLConnection.java:913)
> at
> org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnect
> ion.setIfModifiedSince(HttpURLConnection.java:1248)
> at test.test1(test.java:17)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 2) test2(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoOutput(URLConnection.java:885)
> at test.test2(test.java:33)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 3) test3(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoInput(URLConnection.java:862)
> at test.test3(test.java:48)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> FAILURES!!!
> Tests run: 3, Failures: 0, Errors: 3
> Affected tests:
> vts_api_java_net_URLConnection_setDefaultUseCaches_Z@test1_0
> vts_api_java_net_URLConnection_setDoInput_Z@test2_0
> vts_api_java_net_URLConnection_setDoOutput_Z@test2_0
> vts_api_java_net_URLConnection_setIfModifiedSince_J@test2_0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-2471)
[classlib][luni]java.net.URLConnection.setIfModifiedSince() throws
unspecified IllegalAccessError
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2471?page=all ]
Tony Wu updated HARMONY-2471:
-----------------------------
Attachment: harmony-2471.diff
the test1() is passed in latest reversion.
the test2 and test3 is due to bugs in URLConnection, I have posted a patch.
> [classlib][luni]java.net.URLConnection.setIfModifiedSince() throws unspecified IllegalAccessError
> -------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2471
> URL: http://issues.apache.org/jira/browse/HARMONY-2471
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Artem Aliev
> Priority: Minor
> Attachments: harmony-2471.diff
>
>
> According to the specification java.net.URLConnection.setIfModifiedSince(long
> l) throws IllegalStateException, if already connected. Harmony throws
> java.lang.IllegalAccessError instead that contradicts the specification.
> The same issue is for
> setDoOutput
> setDoInput
> setDefaultUseCaches
> methods.
> Test for reproducing:
> import junit.framework.TestCase;
> import java.net.*;
> import java.io.*;
> public class test extends TestCase {
> public void test1 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setIfModifiedSince(1);
> } catch (IllegalStateException e) {
> //expected
> };
> }
> public void test2 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoOutput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> public void test3 () {
> HttpURLConnection u=null;
> try {
> u=(HttpURLConnection)(new
> URL("http://intel.com").openConnection());
> u.connect();
> } catch (MalformedURLException e) {
> fail("unexpected MalformedURLException"+e);
> } catch (IOException f) {
> fail("unexpected IOException"+f);
> }
> try {
> u.setDoInput(true);
> } catch (IllegalStateException e) { //expected
> };
> }
> }
> Output on Sun 1.5:
> ==================
> ...
> Time: 0,953
> OK (3 tests)
> Output on Harmony:
> ==================
> There were 3 errors:
> 1) test1(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setIfModifiedSince(URLConnection.java:913)
> at
> org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnect
> ion.setIfModifiedSince(HttpURLConnection.java:1248)
> at test.test1(test.java:17)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 2) test2(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoOutput(URLConnection.java:885)
> at test.test2(test.java:33)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> 3) test3(test)java.lang.IllegalAccessError: Connection already established
> at java.net.URLConnection.setDoInput(URLConnection.java:862)
> at test.test3(test.java:48)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> FAILURES!!!
> Tests run: 3, Failures: 0, Errors: 3
> Affected tests:
> vts_api_java_net_URLConnection_setDefaultUseCaches_Z@test1_0
> vts_api_java_net_URLConnection_setDoInput_Z@test2_0
> vts_api_java_net_URLConnection_setDoOutput_Z@test2_0
> vts_api_java_net_URLConnection_setIfModifiedSince_J@test2_0
--
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