Fix a bug preventing ClassSource.retry() from working correctly.

We returned the class of the other ClassSource, instead of invoking
its loadClass() method.
This commit is contained in:
Kristian S. Stangeland 2014-05-17 17:29:37 +02:00
parent bbaea894d4
commit b272322105

View File

@ -64,7 +64,7 @@ public abstract class ClassSource {
try {
return ClassSource.this.loadClass(canonicalName);
} catch (ClassNotFoundException e) {
return other.getClass();
return other.loadClass(canonicalName);
}
}
};