Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » AspectJ 1.7 compatibility with JDK1.6(Is AspectJ1.7 version is supported in JDK 1.6)
AspectJ 1.7 compatibility with JDK1.6 [message #896841] Fri, 20 July 2012 06:09 Go to next message
Jeevitha   is currently offline Jeevitha Friend
Messages: 7
Registered: July 2012
Junior Member
Hi All,
I am new to AspectJ and I am using AspectJ1.7 version.

I have some queries regarding version compatibility.

Does AspectJ1.7 is compatible with JDK 1.6? Does AspectJ 1.7 compilers and weavers need JDK 1.7 version or it is supported in JDK1.6 itself.

And the other thing is what new features of AspectJ 1.7 is applicable in JDK 1.6 version.



Thanks,
Jeevitha
Re: AspectJ 1.7 compatibility with JDK1.6 [message #897183 is a reply to message #896841] Mon, 23 July 2012 02:52 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Quote:
Does AspectJ1.7 is compatible with JDK 1.6? Does AspectJ 1.7 compilers and weavers need JDK 1.7 version or it is supported in JDK1.6 itself.


Yep. You can use JDK 1.6 with aspectj 1.7. You must set your source and target levels appropriately in order to do this. For example, in Eclipse, you must set your Java compiler compliance level (Perferences -> Java -> Compiler -> JDK Compliance) to 1.6. In this case, however, 1.7 language features will be disabled.


Quote:

And the other thing is what new features of AspectJ 1.7 is applicable in JDK 1.6 version.


There are quite a few bug fixes and a few smaller features. Check out the readme for the 1.7 release.

http://eclipse.org/aspectj/doc/released/README-170.html

And the best place to ask questions about aspectj is the mailing list.
http://eclipse.org/aspectj/userlists.php

Re: AspectJ 1.7 compatibility with JDK1.6 [message #897195 is a reply to message #897183] Mon, 23 July 2012 06:30 Go to previous messageGo to next message
Jeevitha   is currently offline Jeevitha Friend
Messages: 7
Registered: July 2012
Junior Member

Thanks Andrew!!
Bytecode Caching in AspectJ [message #897206 is a reply to message #897195] Mon, 23 July 2012 07:46 Go to previous messageGo to next message
Jeevitha   is currently offline Jeevitha Friend
Messages: 7
Registered: July 2012
Junior Member
Hi Andrew!!

May I know what is Bytecode Caching in AspectJ1.7?

And when caching is enabled, what exactly is cached??

What is the life of Caching? Is it automatically refreshed or is Static?

Is there any Memory limit for Caching? ie. If only to certain extent Caching is done or is unlimited??



Thanks,
Jeevitha
Re: Bytecode Caching in AspectJ [message #897327 is a reply to message #897206] Mon, 23 July 2012 15:24 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Bytecode caching allows the loadtime weaver to weave the bytecode once and then cache the results so that loadtime weaving starts much faster.

I can't tell you much more than that. I'd recommend that you send a message to the aspectj users mailing list, over here:

http://dev.eclipse.org/mailman/listinfo/aspectj-dev
Re: Bytecode Caching in AspectJ [message #898256 is a reply to message #897327] Thu, 26 July 2012 05:18 Go to previous messageGo to next message
Jeevitha   is currently offline Jeevitha Friend
Messages: 7
Registered: July 2012
Junior Member
Hi Andrew,

I have posted Aspectj related queries to aspectj users mailing list but I didn't receive any reply.
So, please can you help me in this regard.


Re: Bytecode Caching in AspectJ [message #898576 is a reply to message #898256] Thu, 26 July 2012 15:57 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Andy, the one who implemented the caching is currently on vacation (will return Friday). He should be able to answer then.
Re: Bytecode Caching in AspectJ [message #898674 is a reply to message #898576] Fri, 27 July 2012 07:04 Go to previous message
Jeevitha   is currently offline Jeevitha Friend
Messages: 7
Registered: July 2012
Junior Member
Thanks Andrew!!!
Previous Topic:application "com.yocos.bootstrap.application" could not be found in the registry
Next Topic:eclipse.cdt
Goto Forum:
  


Current Time: Tue Apr 16 05:00:21 GMT 2024

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

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

Back to the top