Test failure when running with -esa

Martin Buchholz martinrb at google.com
Thu Aug 27 16:52:10 PDT 2009


Hello net wranglers,

Sorry for being such a stranger to this mailing list.

Anyways, here's a bug report:
If you test  java/net/Authenticator/B4769350.java with
-vmoption:-enablesystemassertions,
you get an assertion failure as follows (please fix):

jtreg -v:nopass,fail -vmoption:-enablesystemassertions -automatic
"-k:\!ignore"  test/java/net/Authenticator/B4769350.java
--------------------------------------------------
TEST: java/net/Authenticator/B4769350.java

....

STDOUT:
Server: listening on port: 39989
Doing Server tests
T1
STDERR:
java.lang.AssertionError
	at sun.net.www.protocol.http.AuthenticationInfo.requestCompleted(AuthenticationInfo.java:148)
	at sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest(AuthenticationInfo.java:339)
	at sun.net.www.protocol.http.AuthenticationInfo.addToCache(AuthenticationInfo.java:331)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1329)
	at B4769350$Client.run(B4769350.java:64)
STATUS:Failed.`main' threw exception: java.lang.AssertionError
java.lang.AssertionError
	at sun.net.www.protocol.http.AuthenticationInfo.requestCompleted(AuthenticationInfo.java:148)
	at sun.net.www.protocol.http.AuthenticationInfo.endAuthRequest(AuthenticationInfo.java:339)
	at sun.net.www.protocol.http.AuthenticationInfo.addToCache(AuthenticationInfo.java:331)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1329)
	at B4769350$Client.run(B4769350.java:64)
STATUS:Failed.`main' threw exception: java.lang.AssertionError

TEST RESULT: Failed. Execution failed: `main' threw exception:
java.lang.AssertionError
--------------------------------------------------
Test results: failed: 1



More information about the net-dev mailing list