From e6cb5086ad825e8df5f182aa0c5586b0b4af9d21 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Fri, 28 Jun 2013 16:30:34 -0700 Subject: [PATCH] Fix 407017 --- .../src/org/aspectj/ajdt/internal/core/builder/AjState.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java index 6cc02249c..e324e2571 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java @@ -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; } -- 2.39.5