ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23144] New: - junit filterstack should also filter out sun.reflect.* stuff
Date Fri, 12 Sep 2003 17:46:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23144>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23144

junit filterstack should also filter out sun.reflect.* stuff

           Summary: junit filterstack should also filter out sun.reflect.*
                    stuff
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: gthb@dimon.is


In the <junit> task, the filterstack attribute causes lines containing
particular strings to be filtered out of stack traces in junit output,
to make the stack traces cleaner. The lines removed have to do with the
junit test invocation glue. The current implementation doesn't quite
finish the job; at least in J2SDK 1.4.2_01 on Windows, and Ant 1.5.4,
I get these lines:

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

I will attach a patch to make the stack filter remove these as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message