Browse Source

swallow sun.reflect lines when filtertrace is true, PR 22758, Submitted by Emmanuel Bourg <ebourg at apache dot org>

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277999 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
bff90f2861
4 changed files with 9 additions and 1 deletions
  1. +1
    -0
      CONTRIBUTORS
  2. +5
    -0
      WHATSNEW
  3. +1
    -0
      docs/manual/OptionalTasks/junit.html
  4. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java

+ 1
- 0
CONTRIBUTORS View File

@@ -58,6 +58,7 @@ Don Ferguson
Don Jeffery Don Jeffery
Drew Sudell Drew Sudell
Eli Tucker Eli Tucker
Emmanuel Bourg
Eric Pugh Eric Pugh
Erik Hatcher Erik Hatcher
Erik Langenbach Erik Langenbach


+ 5
- 0
WHATSNEW View File

@@ -151,6 +151,11 @@ Changes that could break older environments:
handled to nested projects. handled to nested projects.
Bugzilla report 25777 Bugzilla report 25777


* <junit> with filtertrace="true" will now also swallow lines for the
sun.reflect package. If you need to see them in your stack trace,
you must set filtertrace to false.
Bugzilla Report 22758

Other changes: Other changes:
-------------- --------------




+ 1
- 0
docs/manual/OptionalTasks/junit.html View File

@@ -207,6 +207,7 @@ that begin with the following string patterns:<pre>
"junit.awtui.TestRunner" "junit.awtui.TestRunner"
"junit.textui.TestRunner" "junit.textui.TestRunner"
"java.lang.reflect.Method.invoke(" "java.lang.reflect.Method.invoke("
"sun.reflect."
"org.apache.tools.ant."</pre></p> "org.apache.tools.ant."</pre></p>


<h3><a name="nested">Nested Elements</a></h3> <h3><a name="nested">Nested Elements</a></h3>


+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2000-2004 The Apache Software Foundation
* Copyright 2000-2005 The Apache Software Foundation
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -113,6 +113,7 @@ public class JUnitTestRunner implements TestListener {
"junit.awtui.TestRunner", "junit.awtui.TestRunner",
"junit.textui.TestRunner", "junit.textui.TestRunner",
"java.lang.reflect.Method.invoke(", "java.lang.reflect.Method.invoke(",
"sun.reflect.",
"org.apache.tools.ant." "org.apache.tools.ant."
}; };




Loading…
Cancel
Save