Bug 42281 - Unit tests fail on java-gcj and JRockit
Unit tests fail on java-gcj and JRockit
Status: RESOLVED FIXED
Product: Log4j
Classification: Unclassified
Component: Other
1.2
Other other
: P2 normal
: ---
Assigned To: log4j-dev
:
Depends on:
Blocks:
  Show dependency tree
 
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.