mirror of
https://github.com/corda/corda.git
synced 2025-06-13 12:48:18 +00:00
GC stress fixes and other bugfixes; classpath progress
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user