You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewClassNotFoundException("Couldn't find class: " + scn + " required by class: " + clazz.getClassName() + ". You need to provide the jar containing the missing class: " + scn);
252
-
}
253
-
//get all base methods and method names
254
-
while (true) {
255
-
for (Methodm : currClass.getMethods()) {
256
-
if (!m.isSynthetic() && (m.isPublic() || m.isProtected())) {
257
-
baseMethods.add(m);
258
-
baseMethodNames.add(m.getName());
253
+
JavaClasscurrClass = getSuperClass(clazz);
254
+
255
+
if(currClass != null) {
256
+
//get all base methods and method names
257
+
while (true) {
258
+
for (Methodm : currClass.getMethods()) {
259
+
if (!m.isSynthetic() && (m.isPublic() || m.isProtected())) {
260
+
baseMethods.add(m);
261
+
baseMethodNames.add(m.getName());
262
+
}
259
263
}
260
-
}
261
264
262
-
if (currClass.getClassName().equals("java.lang.Object")) {
263
-
break;
265
+
if (currClass.getClassName().equals("java.lang.Object")) {
thrownewNoClassDefFoundError("Couldn't find class: " + scn + " required by class: " + clazz.getClassName() + ". You need to provide the jar containing the missing class: " + scn);
0 commit comments