Bug 22758 - [junit] add sun.reflect to the default trace filters
Summary: [junit] add sun.reflect to the default trace filters
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Optional Tasks (show other bugs)
Version: 1.6.2
Hardware: Other other
: P3 enhancement (vote)
Target Milestone: 1.6.3
Assignee: Ant Notifications List
URL:
Keywords: PatchAvailable
: 23144 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-27 15:01 UTC by Emmanuel Bourg
Modified: 2005-03-17 00:11 UTC (History)
2 users (show)



Attachments
Patch adding sun.reflect to the default trace filters (1.41 KB, patch)
2003-08-27 15:02 UTC, Emmanuel Bourg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Bourg 2003-08-27 15:01:26 UTC
I suggest adding the package sun.reflect to the default trace filters defined in
JUnitTestRunner, this would remove 3 useless lines at the bottom of all traces :

java.lang.Exception
    at foo.bar.MyTest.testXZY(MyTest.java:32)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Comment 1 Emmanuel Bourg 2003-08-27 15:02:35 UTC
Created attachment 7961 [details]
Patch adding sun.reflect to the default trace filters
Comment 2 J.M. (Martijn) Kruithof 2003-09-12 19:20:02 UTC
*** Bug 23144 has been marked as a duplicate of this bug. ***