From 9be3b7e0d360a59646f860100d00be3be0514411 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 29 Apr 1999 11:19:24 +0000 Subject: [PATCH] dumpStack, if needed class not found git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@718 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/obfuscator/PackageIdentifier.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/jode/jode/obfuscator/PackageIdentifier.java b/jode/jode/obfuscator/PackageIdentifier.java index 31c61f7..7525e42 100644 --- a/jode/jode/obfuscator/PackageIdentifier.java +++ b/jode/jode/obfuscator/PackageIdentifier.java @@ -129,7 +129,9 @@ public class PackageIdentifier extends Identifier { ident = new PackageIdentifier(bundle, this, name, true); loadedClasses.put(name, ident); } 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 { ident = new ClassIdentifier(bundle, this, name, ClassInfo.forName(fullname)); @@ -171,7 +173,8 @@ public class PackageIdentifier extends Identifier { component, loadOnDemand); loadedClasses.put(component, ident); } 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)) { if (GlobalOptions.verboseLevel > 1) GlobalOptions.err.println("loading Class " +fullname); @@ -294,7 +297,8 @@ public class PackageIdentifier extends Identifier { component, loadOnDemand); loadedClasses.put(component, ident); } else if (!ClassInfo.exists(fullname)) { - GlobalOptions.err.println("Warning: Can't find class "+fullname); + GlobalOptions.err.println("Warning: Can't find class " + + fullname); } else { ident = new ClassIdentifier(bundle, this, name, ClassInfo.forName(fullname));