]> source.dussan.org Git - aspectj.git/commitdiff
Fix 407017
authorAndy Clement <andrew.clement@gmail.com>
Fri, 28 Jun 2013 23:30:34 +0000 (16:30 -0700)
committerAndy Clement <andrew.clement@gmail.com>
Fri, 28 Jun 2013 23:30:34 +0000 (16:30 -0700)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java

index 6cc02249c2fe3b5e7bdd9f9930c6d01970e318e6..e324e257116431b3cc9f9830b7f4c817ca8e0f80 100644 (file)
@@ -2204,8 +2204,8 @@ public class AjState implements CompilerConfigurationChangeFlags, TypeDelegateRe
                        ClassParser parser = new ClassParser(f.toString());
                        return world.buildBcelDelegate(referenceType, parser.parse(), true, false);
                } catch (IOException e) {
-                       System.err.println("Failed to recover " + referenceType);
-                       e.printStackTrace();
+                       IMessage msg = new Message("Failed to recover " + referenceType, referenceType.getSourceLocation(), false);
+                       buildManager.handler.handleMessage(msg);
                }
                return null;
        }