Is there such a thing as java without generics????
Thanks Andy. I should have thought to search bugzilla on that first.
I'll take a look and let you know if these looks like something new.
On Oct 29, 2008, at 4:05 PM, Andy Clement wrote:
Using generics by any chance? .....
AbstractMethodError should not happen. If you are doing something
wrong then the compiler should tell you up front - if what you are
doing is reasonable but not yet implemented in the compiler, you
should at least see a 'compiler limitation' error at compile time.
Any exception like this is an AspectJ bug. There are currently 3
bugs open related to AbstractMethodError: 72834, 97481, 134425. You
might either have a similar case to those or it is a new
manifestation.
cheers,
Andy.
2008/10/29 Dave Whittaker <[EMAIL PROTECTED]>
I just saw some behavior that I thought was a little bit weird and
was wondering if someone could explain how it might happen.
A class advised by a (surprise!) ITD is throwing an
AbstractMethodError from within an $interMethodDispatch1$ method.
The class is compiling fine and has an implementation of the method
in question both in the ITD and directly within the advised class.
Seems to me like this shouldn't be possible.... If the method has no
implementation (and I can't see inside the $interMethodDispatch1$
call, so I'm not sure what exactly is throwing the error, but
regardless) then the class shouldn't compile in the first place. Or
am I missing something..... Some stack below:
Caused by: java.lang.AbstractMethodError
at h2.actions.SelectActionAspect.ajc
$interMethodDispatch1$h2_actions_SelectActionAspect
$h2_actions_SelectAction$setSele
cted(SelectActionAspect.aj)
at
h2
.actions
.AbstractSelectAction.setSelectedId(AbstractSelectAction.java:57)
at h2.actions.SelectActionAspect.ajc
$interMethodDispatch1$h2_actions_SelectActionAspect
$h2_actions_SelectAction$setSele
ctedId(SelectActionAspect.aj)
at
mhc
.training
.TrainingProgramAction.setSelectedId(TrainingProgramAction.java:86)
Dave
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users