Andy Clement
2013-04-26 13:58:18 -07:00
parent 6d5226fcf5
commit 6d30e0de3e
2 changed files with 4 additions and 1 deletions

View File

@@ -561,6 +561,9 @@ public class TypeRegistry {
* @return true if the type should be considered reloadable
*/
private boolean couldBeReloadable(String slashedName) {
if (slashedName==null) {
return false;
}
if (slashedName.startsWith("java")) {
return false;
}

View File

@@ -409,7 +409,7 @@ public class SpringLoadedPreProcessor implements Constants {
}
private static boolean needsClientSideRewriting(String slashedClassName) {
if (slashedClassName.startsWith("org/springsource/loaded")) {
if (slashedClassName!=null && slashedClassName.charAt(0)=='o' && slashedClassName.startsWith("org/springsource/loaded")) {
return false;
}
return true;