From 2992b5079cad2b9fc69e52a1a5c92858a8164950 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 8 Apr 2009 21:24:36 +0000 Subject: [PATCH] 227484: type demotion (default off) --- weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 89579928d..5428ad8c3 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -371,7 +371,7 @@ public class BcelWeaver { UnwovenClassFile classFile = new UnwovenClassFile(new File(outDir, filename).getAbsolutePath(), bytes); if (filename.endsWith(".class")) { - ReferenceType type = this.addClassFile(classFile,false); + ReferenceType type = this.addClassFile(classFile, false); StringBuffer sb = new StringBuffer(); sb.append(inFile.getAbsolutePath()); sb.append("!"); @@ -471,7 +471,7 @@ public class BcelWeaver { sb.append(inPathDir.getAbsolutePath()); sb.append("!"); sb.append(filename); - ReferenceType type = this.addClassFile(ucf,false); + ReferenceType type = this.addClassFile(ucf, false); type.setBinaryPath(sb.toString()); } fis.close(); @@ -1779,7 +1779,7 @@ public class BcelWeaver { getWorld().getMessageHandler().handleMessage(new Message(messageText, IMessage.ABORT, re, null)); } } - + world.demote(); // this is very odd return behavior trying to keep everyone happy if (dump) { dumpUnchanged(classFile); -- 2.39.5