Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AspectJ and Java 1.4
AspectJ and Java 1.4 [message #497137] Thu, 12 November 2009 15:31
Tassilo Horn is currently offline Tassilo HornFriend
Messages: 93
Registered: July 2009
Member
Hi all,

in some migration project, we are trying to do some dynomic analysis
using AspectJ. This works pretty good so far using the AJDT for Eclipse
3.5 and some playground java project.

In that playground project, we used the JDK 1.6 and the load time
weaving capabilities of AJDT. Now the problem is, that the real project
that has to be analyzed uses a JDK 1.4 and is hard-wired to that, and
upgrading to a newer version is not in our area of accountability. The
guys maintaining that system say that it won't be done anytime soon.

So the question is: Is there a way to use Eclipse 3.5 with the AJDT
2.0.1 and a JDK 1.4? Currently I get this error, when trying to start
that application as load time weaving app instrumented with my aspects:

--8<---------------cut here---------------start------------->8---
Error occurred during initialization of VM
java.lang.UnsupportedClassVersionError:
org/aspectj/weaver/loadtime/WeavingURLClassLoader (Unsupported
major.minor version 49.0)
--8<---------------cut here---------------end--------------->8---

Maybe I should use an older aspectJ version and do the instrumentation
on the command line? The aspects don't use too much features. Only
some execution pointcuts and before/after advices, sometimes with
parameters.

Thanks for any pointers!
Tassilo
Previous Topic:Error when running the aspectj book examples
Next Topic:AspectJ and Java 1.4
Goto Forum:
  


Current Time: Fri Nov 28 20:50:56 GMT 2014

Powered by FUDForum. Page generated in 0.02422 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software