Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ajdt-dev] Eclipse/AJDT strange behaviour

Title: Eclipse/AJDT strange behaviour

Eclipse 3.2, AJDT 1.4.0.20060629124300

I've got a couple of annoying little bugs with the Eclipse plug-in.

First, when looking at my aspects, eclipse thinks that thre are syntax errors in the code window, but no error is shown in the package explorer or problems windows. For example "public aspect MyAspect" yields an error on the keyword "aspect" saying "Syntax error on token "aspect", interface expected".

It looks to me like it's expecting it to be an interface. The file has a .aj suffix. There are other errors too.


Secondly, if I make a change to one of my classes that is advised by an aspect, the incremental compiler often complains with methods that throw exceptions. The error is:

        can't throw unchecked exception 'java.lang.Excepion' at this join-point method-excecution(...)

However if I do a full aspect compile, the error goes away.


Thanks in advance for help in fixing one or both of the problems,

Ian Orford
 ------



--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to
http://www.dresdnerkleinwort.com/disc/email/ or contact the sender.
--------------------------------------------------------------------------------

Back to the top