Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] An aspectjrt.jar with J2ME question



Hi,

The cflowstack code was added for AspectJ1.2 to allow us to optimise when
running on JVMs that had ThreadLocal support - using threadlocal is far
better than managing our own internal map of threads to cflowstack.  We
haven't tested it in a J2ME environment.

There is a system property you can set to force it to use the old
implementation, if you set:

      aspectj.runtime.cflowstack.usethreadlocal=no

then it will use the old slow way of doing things :)  Let me know if that
gets you any further forward, if it doesn't will have to look at fixing it
!

cheers,
Andy.
---
Andy Clement
AspectJ/AJDT



                                                                           
             Charles Zhang                                                 
             <czhang@xxxxxxxxx                                             
             nto.edu>                                                   To 
             Sent by:                  aspectj-users@xxxxxxxxxxx           
             aspectj-users-adm                                          cc 
             in@xxxxxxxxxxx                                                
                                                                   Subject 
                                       [aspectj-users] An aspectjrt.jar    
             06/08/2004 20:05          with J2ME question                  
                                                                           
                                                                           
             Please respond to                                             
               aspectj-users                                               
                                                                           
                                                                           




AJDT and AspectJ gods,
The aspectjrt.jar in 1.2 is different from 1.1.1 (speaking for stable
releases) with the addition of the org.aspectj.internal.cflowstack package
(potentially others). Can I be enlightened with some more information
about this new package? I was extremely happy with the new AspectJ
compiler till hitting the "java.lang.ThreadLocal not supported" error in
my J2ME apps. Are there anyways of getting around? Revisoins?

Thanks a lot.

Charles
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top