Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Suppressing raw type warnings with AJDT

Hi Emond,

Can you raise an AspectJ bugzilla for that?  AspectJ is not currently
based on the eclipse 3.6 compiler (although of course it works fine in
3.6) - hence the difference.

Andy

On 28 January 2011 06:53, Emond Papegaaij <emond.papegaaij@xxxxxxxxxx> wrote:
> Hi all,
>
> Starting with Eclipse 3.6, the Eclipse compiler no longer suppresses raw type
> warnings with @SuppressWarnings("unchecked"). You need to use
> @SuppressWarnings("rawtypes") for that. Is it possible to change this in the
> AspectJ compiler as well?
>
> At our company, we have several libraries shared between projects. Some of
> these projects use AspectJ, where others are still plain Java to compile these
> libraries. The current behavior makes it impossible to suppress raw type
> warnings in both compilers: with 'unchecked', Eclipse 3.6 will complain about
> raw types and with 'rawtypes', AJDT complains about an unknown
> SuppressWarnings token.
>
> Best regards,
> Emond
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top