Bug 42281 - Unit tests fail on java-gcj and JRockit
Summary: Unit tests fail on java-gcj and JRockit
Status: RESOLVED FIXED
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.2
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 10:26 UTC by Curt Arnold
Modified: 2007-04-27 14:22 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 2007-04-27 10:26:31 UTC
Slight differences in the contents of stack traces cause the unit tests to fail when run under gcj.  The "at" 
lines in stack traces are preceded by spaces in GCJ where the expectation is that there is an initial tab 
character.  Also, libgcj.so.7 appears in places where the tests expected either Compiled Code or Native 
Code.
Comment 1 Curt Arnold 2007-04-27 10:29:08 UTC
Committed in rev 533171.  After fixes, two DailyRollingFileAppender tests will fail, but that is either a 
runtime bug or will need to be logged as a different issue.
Comment 2 Curt Arnold 2007-04-27 14:22:42 UTC
Committed rev 533183 to explicitly set thread names to get test to work with JRockit.