I see a consistent test failure for all connectors:

Testcase: testBug54602b took 0.002 sec
Testcase: testBug54602c took 0 sec
Testsuite: org.apache.tomcat.util.buf.TestB2CConverter
Tests run: 6, Failures: 1, Errors: 0, Time elapsed: 0.695 sec
------------- Standard Output ---------------



------------- ---------------- ---------------

Testcase: testSingleMessage took 0.283 sec
Testcase: testTwoMessage took 0 sec
Testcase: testManyMessage took 0.001 sec
Testcase: testLeftoverSize took 0.34 sec
        FAILED
Limit needs to be at least 27.0
junit.framework.AssertionFailedError: Limit needs to be at least 27.0
        at
org.apache.tomcat.util.buf.TestB2CConverter.testLeftoverSize(TestB2CConverter.java:88)


The only charset with a to big leftover size is
sun.nio.cs.ext.COMPOUND_TEXT (value 27.0). The failure only occurs for
Java 6, not for Java 7 an 8. I used Java 1.6.0_39-b04 on Solaris 10 Sparc.

There are some bugs for this charset:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6392670
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6381697

One of the tickets contains the remark:

"Given motif is the only real user of COMPOUND_TEXT and motif itself is
no longer a default implementation of awt, it's unlikey we are going to
spend any time/resource on it. Closed as "will not fix"

The other:

"This is an for-internal-use-only charset, support for direct buffer
is not implemented."

Based on these comments I still expect to vote +1, but we should unreak
the test suite.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to