GC stress fixes and other bugfixes; classpath progress

This commit is contained in:
Joel Dice
2007-07-29 17:32:23 -06:00
parent d5a00c4556
commit a2bd7d0668
27 changed files with 463 additions and 75 deletions

View File

@ -38,7 +38,7 @@ public final class Class <T> {
} else if (name.startsWith("L")) {
return forName(name.substring(1, name.length() - 1));
} else {
if (name.length() == 0) {
if (name.length() == 1) {
return primitiveClass(name.charAt(0));
} else {
throw new ClassNotFoundException(name);