aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
Commit message (Collapse)AuthorAgeFilesLines
* Fix for Bug 36430: Xreweavable supportaclement2004-02-244-1/+31
|
* fix for Bugzilla Bug 51929 jhugunin2004-02-193-25/+49
| | | | | | | | | Advice calling protected super method causing java.lang.VerifyError 'Bad access to protected data' Also expanded test to cover protected field access as well as methods Fix required getting the correct receiver type for both field access and method calls to correspond to Java's complicated rules for accessing protected members (JLSv2 6.6.2 and mentioned in passing in JVMv2 5.4.4)
* Checking in Noel's update to the benchmarks. We have to scale up the ↵aclement2004-02-192-6/+3
| | | | numbers because Jim/Erik keep making the compiler/weaver faster!
* Yes yes, I broke the build. The performance code had a 1.4 API in it ↵aclement2004-02-102-3/+4
| | | | (split()) which I am now removing.
* Performance benchmarks from Noel and Matthew. Run these tests standalone to ↵aclement2004-02-102-0/+897
| | | | generate a .csv file containing results.
* Fix for Bugzilla Bug 50641 aclement2004-02-093-5/+13
| | | | | Better binary compatibility for advice method names - I've run the tests a thousand times and they all pass, I'm still nervous about this first big commit though *gulp*
* fix for Bugzilla Bug 49295 jhugunin2004-01-281-0/+2
| | | | duplicate warning or second join point for constructor-execution
* generates accurate max stack height information for aspectOf method jhugunin2004-01-271-0/+1
| | | | | | this is a long-standing bug that was masked by the weaver which would always recompute this field. optimizations to the weaver made this bug appear again.
* Bugzilla Bug 50458 acolyer2004-01-264-2060/+265
| | | | | | | Make a full implementation of org.eclipse.jdt.core for use in AJDT Pushdown of AjParser and AjScanner into shadows/org.eclipse.jdt.core. New class DeclarationFactory handles creation of AJDT-specific types on behalf of Parser.
* Implemented feature for Bugzilla Bug 48091 jhugunin2004-01-247-1/+207
| | | | | | | | | | | | | | Lazy instantiation of thisJoinPoint Speed-ups of 10-100X are measured even when running a small test case with minimal GC issues. The actual feature implemented is that thisJoinPoint objects are only created just before calling the method for advice that requires them. To take advantage of this feature you must use an if PCD or some other dynamic test that occurs in the PCD not the advice body to guard the expensive creation of the thisJoinPoint object. -XlazyTjp flag must be passed to compiler to enable this feature. If any around advice is present on the joinpoint then lazy instantiation will be disabled. An Xlint warning will be displayed in this case. As a related optimization, several helper methods were added to Factory.makeJP to reduce the code size when thisJoinPoint is used.
* eliminated a dependency on org.eclipse.core.runtime that had crept acolyer2004-01-231-2/+2
| | | | | into this source - only the org.eclipse.jdt.core project should contain links to other portions of eclipse source.
* spring cleaning in advance of 1.2 enhancements: acolyer2004-01-2337-170/+170
| | | | | removed unused imports, local variables, and private methods (still there, just commented out).
* enh 48072 - ICrossReferenceHandler support to get xref info from the weaveracolyer2004-01-231-1/+1
|
* Fix for Bugzilla Bug 36234 acolyer2004-01-151-1/+18
| | | | out of memory error when compiling
* Fix for 38824.acolyer2004-01-141-14/+12
|
* Fix for Bugzilla Bug 44587 jhugunin2004-01-142-5/+33
| | | | | | | | | | | Erroneous exception conversion and Bugzilla Bug 34206 before():execution(new(..)) does not throw NoAspectBoundException All exceptions that occur during the static intialization of a persingleton aspect will be swallowed. When using that aspect (via aspectOf()) a NoAspectBoundException will be thrown with the original exception from the staitc initializer as the cause.
* Fix for Bugzilla Bug 46280 jhugunin2004-01-141-0/+4
| | | | compiler issues error on inner aspects when privilieged
* Fix for Bugzilla Bug 49784 acolyer2004-01-142-11/+18
| | | | | | | | declaring interface methods should work as it does in interface and Bugzilla Bug 45676 AspectJ enhanced code can not be used with plain old java anymo and Bugzilla Bug 43972 Static crosscutting makes interfaces unusable for javac
* Fix for Bugzilla Bug 49784 acolyer2004-01-132-0/+12
| | | | | | | | declaring interface methods should work as it does in interface and Bugzilla Bug 45676 AspectJ enhanced code can not be used with plain old java anymo and Bugzilla Bug 43972 Static crosscutting makes interfaces unusable for javac
* move to Eclipse 3.0 M6 JDT core (v_396). Also makes 1.4 the acolyer2004-01-1359-1664/+1730
| | | | default mode (inherited behaviour from JDT).
* Fix for: Bugzilla Bug 49814 jhugunin2004-01-121-0/+8
| | | | ConfigParser.java:132
* Bugzilla Bug 46750 jhugunin2004-01-121-2/+2
| | | | "declare soft" inside nested aspect does not work
* pr 46671 ensure we don't look for source on the claspath (Andy's fix)acolyer2004-01-091-1/+7
|
* Fix for Bugzilla Bug 49638 exception logging: after() throwing advice can't ↵jhugunin2004-01-091-1/+6
| | | | convert Throwable obj to string and ajc aborts
* fix for Bugzilla Bug 41952 jhugunin2004-01-071-1/+6
| | | | | | | XLint warning for call PCD's using subtype of defining type also added extraSourceLocations to IMessage+ for message with multiple source lines
* fix for pr 47754, itd of static method on interfaceacolyer2004-01-071-0/+7
|
* fix for pr 48522, not warning on (un)softened exceptionacolyer2004-01-071-0/+8
|
* fix for bug 49457 - test for duplicate pointcut definitions in classesacolyer2004-01-072-4/+9
|
* Andy Clement's patch for enh 46347: "-inpath"acolyer2003-11-115-5/+52
|
* Rogue import of EajcModuleTests was breaking Eclipse buildsacolyer2003-11-041-2/+0
|
* fix for 42574. (Not using FileUtil.listFiles as recursive (and looks broken ↵wisberg2003-10-311-6/+4
| | | | for nested files), because I think jre/ext dir is not - should confirm.
* using ../{module}/ convention for testdata references so tests can be run ↵wisberg2003-10-318-77/+94
| | | | | | from any peer directory/module, i.e., from one module Also using canonical rather than absolute path to predict generated paths
* declare -> declareDecl for ajcwisberg2003-10-292-19/+19
|
* fix for Bugzilla Bug 45441 jhugunin2003-10-231-0/+8
| | | | IncompatibleClassChangeError at runtime when compiling with -1.4 option
* test for canonical versions of sourcedirs etc.acolyer2003-09-121-11/+24
|
* fix and test for Bugzilla Bug 42993 jhugunin2003-09-121-14/+35
| | | | | | | | | | | | | | | | Language regression, or possible language improvement? The problem was caused by moving name binding in pointcut declarations to happen before declare parents are evaluated. Because of this, the compiler doesn't know that ContainerDescriptor isa Key when resolving the ContainerLoader.containerLoads reference. The change in ordering was made to fix a bug reported in declare error and declare soft whose pcds where being evaluated before name binding had happened in the pointcut declarations. Unfortunately, declare error and declare soft are concretized at the same time as declare parents (and all other declares ;-), so this move also led to the regression noted above.
* fix and tests for at least 2 bugs: jhugunin2003-09-103-23/+94
| | | | | | | | | | | Bugzilla Bug 42740 declare error fails on pointcuts composed from multiple classes Bugzilla Bug 42746 within() pcd is confused for certain declare softs and probably: Bugzilla Bug 42739 Compiler crash in ajc head (post 1.1.1 rc1)
* Added path canonicalization to config parser.mkersten2003-09-051-0/+10
|
* fix and test for Bugzilla Bug 41359 jhugunin2003-08-281-5/+12
| | | | percflow aspects compiled from jars share one instance for all entry points
* Fixed AJDT bug with truncation of labels (there was a weird substring call ↵mkersten2003-08-161-1/+45
| | | | in AdviceActionDelegate). Fixed ASM/AJDT modifiers bug. Fixed ASM static initializers bug (we may want to change the way they show up, i.e. Added imports to ASM containment hierarchy. Fixed numerous AJBrwoser, JBuilder and NetBeans bugs.
* Added spacewar project for testing.mkersten2003-08-161-1/+0
|
* Improved declare relationships. Implemented batch-build relationship ↵mkersten2003-08-141-16/+16
| | | | clearing policy.
* Updated org.aspectj.asm relationship model to string-handle-based API in ↵mkersten2003-08-147-71/+172
| | | | order to support adding and removing relationships at any point in the compilation cycle, and to support external tools building relationships (e.g. JDT's incremental containment hierarchy builder). Also made inter-type declaration relationships show up in the model.
* Added support for multiple relationships for a single program element. ↵mkersten2003-08-132-7/+7
| | | | Renamed model container class.
* Minor improvements to structure model generation, clean up of test suite ↵mkersten2003-08-123-21/+20
| | | | output, and port of AJDT to new ASM APIs.
* use System property aspectjrt.path to add to testcase classpath if definedacolyer2003-08-115-24/+59
|
* Got advice relationships working.mkersten2003-08-083-5/+7
|
* First pass at new relationship API support.mkersten2003-08-081-12/+12
|
* Fixed ProgramElement modifiers bug.mkersten2003-08-081-4/+6
|
* Reimplemented ASM API as described in bug "41254: revise asm and create ↵mkersten2003-08-086-181/+178
| | | | interfaces". Containment hierarchy is done and tests added. Relationships are not done yet. All clients except AJDT ported. More UI porting in Swing clients required.