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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]