fix primitive class resolution to avoid mistaking normal classes with names like 'B' for primitive classes

This commit is contained in:
Joel Dice
2007-07-28 10:55:24 -06:00
parent 41bee5829e
commit abd9c2bc8d
16 changed files with 95 additions and 42 deletions

View File

@ -9,7 +9,7 @@ public class ClassLoader {
return instance;
}
public Class loadClass(String name) {
public Class loadClass(String name) throws ClassNotFoundException {
return Class.forName(name);
}
}