That method it complains about has existed since 1.5.0 which I
released in December 2005.  The method was not in AspectJ 1.2.1.  A
change was made to improve the efficiency of joinpoint construction -
it used to use one long string that then had to be chopped up during
class initialization.  With the change it moved to a mode where the
string was already chopped (hence the method you aren't finding that
takes lots of strings).

If you *really* need to run with that old crappy runtime, you can
supply "-Xajruntimetarget:1.2", then it will produce code that will
run against it, but I wouldn't recommend it...

Andy

On 26 May 2010 06:48, Thomas Hofmann <[email protected]> wrote:
> Just one more update:
>
> Forget about my comment of this being a show stopper. We can use a different 
> classloading setting so that a newer version of the runtime is used.
> Still, I would like to know what is causing the problem with the older 
> version.
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Thomas Hofmann
> Sent: Mittwoch, 26. Mai 2010 14:24
> To: [email protected]
> Subject: RE: [aspectj-users] AspectJ 1.6.9M1 released
>
> Hi Andy,
>
> today we buildt the first version of our system with org.eclipse.aspectj 
> (2.0.1.e34x-20100112-0800) "AspectJ Development Tools".
>
> Unfortunately, there are problems at runtime:
>
> 2010-05-26 13:41:15:640 ERROR [SEVERE], IVKMDS.fwkexcep0001, Unexpected error 
> with id java.lang.NoSuchMethodError or exception java.lang.NoSuchMethodE
> rror: 
> org/aspectj/runtime/reflect/Factory.makeMethodSig(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljav
> a/lang/String;Ljava/lang/String;)Lorg/aspectj/lang/reflect/MethodSignature; 
> occurred., com.ibm.ebiz.fwk.context.FrameworkContext, inititalizeComponent s, 
> java.lang.NoSuchMethodError: 
> org/aspectj/runtime/reflect/Factory.makeMethodSig(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Str
> ing;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/aspectj/lang/reflect/MethodSignature;
> java.lang.NoSuchMethodError: 
> org/aspectj/runtime/reflect/Factory.makeMethodSig(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String
> ;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/aspectj/lang/reflect/MethodSignature;
>        at 
> com.dcx.ivkmds.fwk.ass.security.internal.DefaultSecurityComponent.<clinit>(DefaultSecurityComponent.java:1)
>
> Please see the mails below for further details.
>
> Do you have any idea what changed? This is currently a show stopper for us. 
> Is there any older version of AspectJ that behaves any different?
>
> Thanks, Thomas
>
>
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Andy Clement
> Sent: Montag, 19. April 2010 17:40
> To: [email protected]
> Subject: Re: [aspectj-users] AspectJ 1.6.9M1 released
>
> runtime is unchanged in 1.6.9m1.  There may be small changes coming in the 
> runtime during the 1.6.9 release cycle, but they will not break 
> compatibility.  Code built with aspectj 1.6.9m1 will be fine with an aspectj 
> runtime of 1.2.1 - I'm super super careful about changes around runtime.
>
> The version change only affects weaver interactions.  169m1 can understand 
> code built with 168 or earlier, but 168 or earlier wont understand code built 
> with 169m1.
>
> cheers
> Andy
>
> On 19 April 2010 03:11, Thomas Hofmann <[email protected]> wrote:
>> Hi Andy,
>>
>> I have a question concerning the compatibility with older aspectj versions.
>>
>> In particular, we are using a very old version of the AspectJ runtime that 
>> comes as part of Websphere Application Server 6.0. According to the 
>> MANIFEST.MF it is version 1.2.1.
>>
>> In your post quoted you mention that the weaver needs to be updated. I
>> guess that does not include the runtime. Unitl now, the old runtime
>> works for us even though not all the API is available. Will this
>> change with the version increasing?`
>>
>> Thanks, Thomas
>>
>>
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of Andy Clement
>> Sent: Samstag, 17. April 2010 20:03
>> To: [email protected]; AspectJ developer discussions
>> Subject: [aspectj-users] AspectJ 1.6.9M1 released
>>
>> AspectJ 1.6.9 milestone 1 is now available!  This release includes
>> some new features:
>>
>> - message inserts for declare warning/error messages
>> - declare warning/error for type patterns
>> - type category type patterns
>> - intertype fields on classes preserve visibility and name
>> - AspectJ snapshots are now in an accessible maven repo
>>
>> More information on all these can be found in the README:
>> http://eclipse.org/aspectj/doc/released/README-169.html
>>
>> AspectJ 1.6.9M1 can be downloaded from the usual place:
>> http://eclipse.org/aspectj/downloads.php
>>
>> It is in the AJDT builds for Eclipse 3.5 and Eclipse 3.6.
>>
>> Please be aware that if you update to this version then you will need
>> to update any 'downstream' AspectJ weavers that you use (for later
>> binary weaving or load-time weaving).  Some of the changes above have
>> required an update to the aspect version format we use and earlier
>> versions of AspectJ will not completely understand code built by
>> 1.6.9M1.  See this article for more information about this:
>> http://andrewclement.blogspot.com/2010/04/aspectj-169m1-message-unable-to.html
>>  .
>>
>> The 'milestone' tag does indicate that this is a work in progress
>> towards the 1.6.9 release.  Any feedback is appreciated on the
>> milestone so that we can ensure the features are fully robust by
>> release.
>>
>> enjoy!
>> AspectJ team.
>> _______________________________________________
>> aspectj-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>> _______________________________________________
>> aspectj-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.819 / Virus Database: 271.1.1/2887 - Release Date: 05/25/10 
> 20:26:00
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to