split TestlibTest into two tests

* old tests attaches stdlib sources to testlib classpath
* new test compiles stdlib into stdlib.jar and then adds stdlib.jar to testlib classpath
This commit is contained in:
Stepan Koltsov
2012-01-23 03:37:09 +04:00
parent 19b206378d
commit 4767e5c935
6 changed files with 205 additions and 15 deletions
@@ -9,7 +9,11 @@ public class GeneratedClassLoader extends ClassLoader {
private final ClassFileFactory state;
public GeneratedClassLoader(@NotNull ClassFileFactory state) {
super(GeneratedClassLoader.class.getClassLoader());
this(state, GeneratedClassLoader.class.getClassLoader());
}
public GeneratedClassLoader(@NotNull ClassFileFactory state, ClassLoader parentClassLoader) {
super(parentClassLoader);
this.state = state;
}