Bug 42281 - Unit tests fail on java-gcj and JRockit
Summary: Unit tests fail on java-gcj and JRockit
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
Depends on:
Reported: 2007-04-27 10:26 UTC by Curt Arnold
Modified: 2007-04-27 14:22 UTC (History)
0 users


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 
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.