Summary: | compiler error when calling a method of a member with a member of type "generic<generic<sometype>>[ ]" | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Wim Depoorter <wim.depoorter> |
Component: | Compiler | Assignee: | AJDT-inbox <AJDT-inbox> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | aclement |
Version: | unspecified | ||
Target Milestone: | 1.6.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Wim Depoorter
2008-06-17 06:28:43 EDT
I'm not denying there is a bug here, but I just can't get this to fail. I am on a very recent AJDT (more recent than you 1.5.3.200806161812) but haven't knowingly fixed anything in this area. I have all 3 files in an AJDT project, happily building - i've tried cleaning, modifying them individually, etc - and nothing makes the error appear. I also tried building them on the command line and still it all works. I also tried with AspectJ 1.5.4 and 1.6.0 and they both compile it too. Is there anything else you are doing that I'm not? Are you doing full clean builds or incremental builds? There is something that I was doing that you're not, but I didn't think it would be related. I compiled the files in a testproject where there was some unrelated aspect code. If you add such an unrelated aspect, the error will show up. In the aspect, there has to be some advice, but the kind of advice doesn't seem to matter (i've briefly tested with before and around advice with various different 'call' pointcuts). The advice itself doesn't need to match any of the 3 files i've described before, or to anything else for that mather. ==UnrelatedAspect== public aspect UnrelatedAspect { // commenting the following advice will remove compilation errors (and mask the problem) before() : call(void UnrelatedClass.unrelatedMethod()) { } } == kind regards, Wim (In reply to comment #1) > I'm not denying there is a bug here, but I just can't get this to fail. > > I am on a very recent AJDT (more recent than you 1.5.3.200806161812) but > haven't knowingly fixed anything in this area. > > I have all 3 files in an AJDT project, happily building - i've tried cleaning, > modifying them individually, etc - and nothing makes the error appear. I also > tried building them on the command line and still it all works. I also tried > with AspectJ 1.5.4 and 1.6.0 and they both compile it too. > > Is there anything else you are doing that I'm not? > > Are you doing full clean builds or incremental builds? > thanks for the extra info. I found I also had to compile them in a certain order to see this problem on the command line - good old pipelining compilation :) ajc GenericClass.java SomeClass.java GenericGenericMemberClass.java UnrelatedAspect.java -1.5 The parameterized signature processing code was a bit naive, I've now upgraded it to cope with any level of nesting. fix committed. |