Browse files

Fix for #359

  • Loading branch information...
1 parent 45a4464 commit eb307fa6f37ac8ec695b2f556e543969503418f5 @nkeywal nkeywal committed Nov 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/junit/runner/Description.java
View
2 src/main/java/org/junit/runner/Description.java
@@ -204,7 +204,7 @@ public Description childlessCopy() {
if (name == null)
return null;
try {
- return Class.forName(name);
+ return Class.forName(name, false, getClass().getClassLoader());
} catch (ClassNotFoundException e) {
return null;
}

0 comments on commit eb307fa

Please sign in to comment.