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)
Created attachment 7961 [details] Patch adding sun.reflect to the default trace filters
*** Bug 23144 has been marked as a duplicate of this bug. ***