Maybe, but the warning that the class can't be found also means that other
checks on the pointcut can't
be made, so there's no guarantee there isn't another problem with the
pointcut, and hence no guarantee it will
work when deployed in 1.5. (More details depend on the pointcut/type
that's missing.)
You probably have a reason for building in 1.4 but deploying to 1.5 (e.g.,
you're also deploying to 1.4).
To be sure, you'd either have to use the 1.5 deployment environment when
building or do
two builds (1.4 with expected warnings, and 1.5 with no warnings or
errors).
Wes
------------Original Message------------
From: "Debbie Rinkevich"
<debbie.rinkevich@xxxxxxxxxxxxxxxxxxxxx>
To: aspectj-users@xxxxxxxxxxx
Date: Tue, Jun-27-2006 9:27 AM
Subject: [aspectj-users] Weaving vs runtime version
All,
I am compiling my aspects and see
a warning error because one of the classes in the Pointcut is not defined in
Java 1.4 (it is in 1.5) The classpath is set to Java 1.4 version of rt.jar.
My question is, if I ignore the
warning, and deploy the aspect to a 1.5 environment, will the pointcut match
and be executed?
Iâm trying some tests to see what
happens, but would feel better with a more definitive answer.
Thanks
Debbie
Rinkevich
_______________________________________________
aspectj-users mailing list aspectj-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/aspectj-users
|