From 5cdff3bf0c7c62d42ab2022e0ac4ed55ef63108a Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Sun, 4 Feb 2024 12:46:03 +0200 Subject: [PATCH] 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. --- .../src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5