You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Git at Apache <gi...@git.apache.org> on 2012/06/15 14:00:38 UTC
maven-surefire pull request: [SUREFIRE-876] avoid using Description.getTest...
GitHub user jsievers opened a pull request:
https://github.com/apache/maven-surefire/pull/4
[SUREFIRE-876] avoid using Description.getTestClass()
Description.getTestClass() uses Class.forName() which
breaks classloader isolation [1,2].
Refactor JUnitCoreRunListener where we only
need the class name anyway to avoid calling
Description.getTestClass().
[1] https://github.com/KentBeck/junit/issues/364
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=318299#c8
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jsievers/maven-surefire trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven-surefire/pull/4.patch
----
commit 5a4bbd9a99a654c5b29a52ae26b390de2226ea4b
Author: Jan Sievers <ja...@sap.com>
Date: 2012-06-15T04:58:23-07:00
[SUREFIRE-876] avoid using Description.getTestClass()
Description.getTestClass() uses Class.forName() which
breaks classloader isolation [1,2].
Refactor JUnitCoreRunListener where we only
need the class name anyway to avoid calling
Description.getTestClass().
[1] https://github.com/KentBeck/junit/issues/364
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=318299#c8
----
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org