Hey Stephen,
If you can share a program with me that fails I’m happy to dive into it, rather than you having to dive into working how to build a test. I was crafting tests in ReflectionWorldTest in weaver5 but nothing basic was triggering the issue, possibly because of something that happens earlier that I don’t know about.
If you want to debug further yourself, stick a breakpoint in TypeMap.put() and look at what is happening when it puts the SIMPLE form of AbstractClass in there. Why did it build the SIMPLE form and not the raw or generic.
But as I say, I’m happy to look, but I just can’t recreate the problem.
cheers, Andy
Hi Andy,
I have the AspectJ source tree pulled down and will look in to generating a test. Any pointers would be appreciated; it looks I need to modify something in weaver5's test area, is that right? ResolvedType baseType = fromType(pt.getRawType()); This returns Class<?> of AbstractClass (so no generics as far as I can tell). However, in TypeFactory: if (!aBaseType.isRawType()) { returns false because the typeKind == SIMPLE. I think that's the bug, why it is that value is beyond me. Stephen
_______________________________________________ aspectj-dev mailing list aspectj-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/aspectj-dev
|