Community
Participate
Working Groups
It used to happen only sporadically, but now it happens during every compile. Every time I save a file or do a refresh or project-clean. I managed to get it to stop by changing the return type of an abstract method in the base class and the corresponding override in the class mentioned in the stacktrace. The original return type was Table<?,?>[] (an array of instances of a class with two type parameters). The workaround type is List<Table<?,?>>. The function I had to change is *not* the function that is mentioned in the stacktrace, btw. Happened on amd64 (java 1.6.0-rc-b100) and ia32 (java 1.6.0_03-b05). Compiler compliance level is set to 5.0. org.aspectj.weaver.BCException at org.aspectj.weaver.UnresolvedType.signatureToName(UnresolvedType.java:729) at org.aspectj.weaver.UnresolvedType.getName(UnresolvedType.java:472) at org.aspectj.weaver.bcel.BcelWorld.resolveDelegate(BcelWorld.java:309) at org.aspectj.weaver.World.resolveToReferenceType(World.java:378) at org.aspectj.weaver.World.resolve(World.java:271) at org.aspectj.weaver.World.resolve(World.java:191) at org.aspectj.weaver. ... RETURN (line 99) end protected void stopPartitionBackup() end public class com.vulcan.everest.store.partition.Partitionstore
passing over to compiler
I am trying to recreate this so I can fix it - but my very very simple attempt at your scenario is working: public class Tricky { Table<?,?>[] m() { return null; } } class SubTricky extends Tricky { Table<?,?>[] m() { return null; } } class Table<A,B> {} aspect X { before(): execution(* *(..)) {} } that just compiles fine... Is there something else you can mention about your scenario that is different to my test program?
not heard back on whether this is still a problem. since raised we have changed a lot - new compiler base and large scale weaver refactoring. Please reopen if still an issue.