For compilation/weaving of stuff on JDK9 you should use the 1.9.0 RC2 that
is out. This is what Spring Framework is using to compile its aspects code.

1.8 releases (1.8.13) can be used on JDK9 for simple situations like Spring
AOP that is doing pointcut parsing/matching but isn't digging into type
information like compilation does.

cheers,
Andy

On 14 December 2017 at 06:15, Bogus Abuser <[email protected]> wrote:

> Hi friends,
> I'm happily and successfully using AspectJ 1.8.10 with JDK 8. However I
> just tried to upgrade to JDK 9 and I get the following:
>
> [ant:iajc] [error] can't find critical required type java.io.Serializable
> [ant:iajc] [error] can't find critical required type java.lang.Cloneable
> ...
> ...
>
>
> The same for java.lang.Integer and so on. Do I need to upgrade AspectJ to
> 1.9 or there's something else I could do?
>
> Cheers!
>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to