diff --git a/pdex/src/processing/mode/experimental/ASTGenerator.java b/pdex/src/processing/mode/experimental/ASTGenerator.java index f0f838402..5123c6d49 100644 --- a/pdex/src/processing/mode/experimental/ASTGenerator.java +++ b/pdex/src/processing/mode/experimental/ASTGenerator.java @@ -1189,8 +1189,9 @@ public class ASTGenerator { temp = temp.substring(0, temp.length() - 1) + className; } else { int x = temp.lastIndexOf('.'); - if (temp.substring(x).equals(className)) { - // Well, we've found the class. + //System.out.println("fclife " + temp.substring(x + 1)); + if (!temp.substring(x + 1).equals(className)) { + continue; } } tehClass = loadClass(temp);