Hi,
I noticed test failures when rebuilding Tomcat 7.0.65 on Debian with
OpenJDK 7 & 8. An IllegalArgumentException "Illegal character(s) in
message header field: Cookie:" is thrown in TestNonLoginAndBasicAuthenticator,
TestSSOnonLoginAndBasicAuthenticator and TestSSOnonLoginAndDigestAuthenticator:
Testcase: testBasicLoginThenAcceptWithCookies took 0.539 sec
Caused an ERROR
Illegal character(s) in message header field: Cookie:
java.lang.IllegalArgumentException: Illegal character(s) in message header
field: Cookie:
at
sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(HttpURLConnection.java:489)
at
sun.net.www.protocol.http.HttpURLConnection.isExternalMessageHeaderAllowed(HttpURLConnection.java:459)
at
sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(HttpURLConnection.java:3018)
at
org.apache.catalina.startup.TomcatBaseTest.methodUrl(TomcatBaseTest.java:648)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:625)
at
org.apache.catalina.startup.TomcatBaseTest.getUrl(TomcatBaseTest.java:619)
at
org.apache.catalina.authenticator.TestSSOnonLoginAndBasicAuthenticator.doTestNonLogin(TestSSOnonLoginAndBasicAuthenticator.java:365)
at
org.apache.catalina.authenticator.TestSSOnonLoginAndBasicAuthenticator.testBasicLoginThenAcceptWithCookies(TestSSOnonLoginAndBasicAuthenticator.java:215)
Could this be a locale sensitive test case?
Emmanuel Bourg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]