SuppressionCommentFilterTest has one error and one
failure when run with BEA WebLogic JRockit 1.4.2_04 JVM
on Linux. It succeeds with Sun's 1.5.0 JVM.
JUnit test result HTML page from JRockit attached.
SuppressionCommentFilterTest failure report
Logged In: YES
It's very strange report indeed.
The expected message which is listed in failure differs from
the message I see in the test (in CVS). So perhaps this was
a problem in your workspace.
About error: I see very strange code in
protected void finishLocalSetup() throws CheckstyleException
if (mOnRegexp.getParenCount() !=
throw new CheckstyleException(
"onCommentFormat and offCommentFormat"
+ " have different paren counts.");
I fact I'm not sure I understand what this check does :(
As far as I know RE.getParenCount() returns something after
match and its result may vary from match to match. Thus I
see no reason
to call this method on two different RE especially when we
if the last matches were successfull :)
I've removed questionable code from
Hope this helps. Feel free to reopen this bug if it is not.