aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorUri Simchoni <urisimchoni@gmail.com>2024-02-04 12:46:03 +0200
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-08 12:17:55 +0700
commit5cdff3bf0c7c62d42ab2022e0ac4ed55ef63108a (patch)
tree37c0c086c71475cab94705f9b3b26bbce53da9ce /weaver
parentf9c692f93676907c89a8e1ede12fee4d5cbca5dd (diff)
downloadaspectj-5cdff3bf0c7c62d42ab2022e0ac4ed55ef63108a.tar.gz
aspectj-5cdff3bf0c7c62d42ab2022e0ac4ed55ef63108a.zip
Change value of woven class in generatedClasses map
Store the woven class and not a generated (inner) class as value of the woven class name. This has no effect in this commit, because the value is not consulted at all, but will be used later on. Relates to #279.
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java b/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java
index 2311e3dcf..009aa7daa 100644
--- a/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java
+++ b/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java
@@ -922,7 +922,7 @@ public class WeavingAdaptor implements IMessageContext {
}
generatedClasses.put(className, result);
- generatedClasses.put(wovenClass.getClassName(), result);
+ generatedClasses.put(wovenClass.getClassName(), wovenClass);
generatedClassHandler.acceptClass(className, null, resultBytes);
}
}