dumpStack, if needed class not found

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@718 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 38c20744e8
commit 9be3b7e0d3
  1. 10
      jode/jode/obfuscator/PackageIdentifier.java

@ -129,7 +129,9 @@ public class PackageIdentifier extends Identifier {
ident = new PackageIdentifier(bundle, this, name, true); ident = new PackageIdentifier(bundle, this, name, true);
loadedClasses.put(name, ident); loadedClasses.put(name, ident);
} else if (!ClassInfo.exists(fullname)) { } else if (!ClassInfo.exists(fullname)) {
GlobalOptions.err.println("Warning: Can't find class "+fullname); GlobalOptions.err.println("Warning: Can't find class "
+ fullname);
Thread.dumpStack();
} else { } else {
ident = new ClassIdentifier(bundle, this, name, ident = new ClassIdentifier(bundle, this, name,
ClassInfo.forName(fullname)); ClassInfo.forName(fullname));
@ -171,7 +173,8 @@ public class PackageIdentifier extends Identifier {
component, loadOnDemand); component, loadOnDemand);
loadedClasses.put(component, ident); loadedClasses.put(component, ident);
} else if (!ClassInfo.exists(fullname)) { } else if (!ClassInfo.exists(fullname)) {
GlobalOptions.err.println("Warning: Can't find class "+fullname); GlobalOptions.err.println("Warning: Can't find class "
+fullname);
} else if (wildcard.matches(fullname)) { } else if (wildcard.matches(fullname)) {
if (GlobalOptions.verboseLevel > 1) if (GlobalOptions.verboseLevel > 1)
GlobalOptions.err.println("loading Class " +fullname); GlobalOptions.err.println("loading Class " +fullname);
@ -294,7 +297,8 @@ public class PackageIdentifier extends Identifier {
component, loadOnDemand); component, loadOnDemand);
loadedClasses.put(component, ident); loadedClasses.put(component, ident);
} else if (!ClassInfo.exists(fullname)) { } else if (!ClassInfo.exists(fullname)) {
GlobalOptions.err.println("Warning: Can't find class "+fullname); GlobalOptions.err.println("Warning: Can't find class "
+ fullname);
} else { } else {
ident = new ClassIdentifier(bundle, this, name, ident = new ClassIdentifier(bundle, this, name,
ClassInfo.forName(fullname)); ClassInfo.forName(fullname));

Loading…
Cancel
Save