[
https://issues.apache.org/jira/browse/HTTPCLIENT-619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462655
]
Julius Davies commented on HTTPCLIENT-619:
------------------------------------------
It's actually not a stack trace! Instead it's an assertion failing on
TestCookiePolicy.java:66!
String[] specs = CookiePolicy.getRegisteredCookieSpecs();
assertNotNull(specs);
assertEquals(0, specs.length); // <-- JUnit is failing here on JRockit
pre "27.1"
1)
testRegisterUnregisterCookieSpecFactory(org.apache.http.cookie.TestCookiePolicy)junit.framework.AssertionFailedError:
expected:<0> but was:<3> [java] at
org.apache.http.cookie.TestCookiePolicy.testRegisterUnregisterCookieSpecFactory(TestCookiePolicy.java:66)
> JUnit: testRegisterUnregisterCookieSpecFactory failing on JRockit + Linux
> --------------------------------------------------------------------------
>
> Key: HTTPCLIENT-619
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-619
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: Nightly Builds
> Environment: BEA JRockit(R) (build
> R26.3.0-32-58710-1.5.0_06-20060308-2022-linux-ia32, )
> BEA WebLogic JRockit(TM) 1.4.2_08 JVM R24.5.0-61 (build
> ari-49095-20050826-1856-linux-ia32, Native Threads, GC strategy: parallel)
> Reporter: Julius Davies
> Priority: Minor
>
> JUnit test failing on some versions of JRockit on Linux:
> testRegisterUnregisterCookieSpecFactory
> Appears to fail on all 26.x and earlier versions of JRockit (1.4.2 + 5.0).
> Appears to pass on all 27.x versions (1.4.2 + 5.0 + 6.0).
> Also passes on: [ IBM 1.4, 5.0 ], [ SUN 1.4, 5.0, 6.0 ].
> So instead of fixing this, maybe we can just tell users to upgrade their
> JRockit, or switch to IBM or Sun or others? I'm creating the ticket to
> document the failure at the very least.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]