Skip to content

Commit

Permalink
Fix for junit-team#359
Browse files Browse the repository at this point in the history
  • Loading branch information
nkeywal committed Nov 11, 2011
1 parent 45a4464 commit eb307fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/junit/runner/Description.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public Class<?> getTestClass() {
if (name == null)
return null;
try {
return Class.forName(name);
return Class.forName(name, false, getClass().getClassLoader());
} catch (ClassNotFoundException e) {
return null;
}
Expand Down

0 comments on commit eb307fa

Please sign in to comment.