aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
Commit message (Collapse)AuthorAgeFilesLines
* Fix from Matthew Webster for copying first resource in jars and acolyer2003-11-041-13/+9
| | | | for copying first Manifest.mf file
* consolidate output dir for post-test clean-upwisberg2003-10-316-12/+73
|
* using ../{module}/ convention for testdata references so tests can be run ↵wisberg2003-10-313-11/+19
| | | | from any peer directory/module, i.e., from one module
* Fix for bug#44117mkersten2003-10-161-1/+3
|
* Comment clean-up only.mkersten2003-09-261-6/+2
|
* bug 43033 - NPE in concretize error path for ReferencePointcutacolyer2003-09-191-2/+4
|
* fix and test for Bugzilla Bug 43194 jhugunin2003-09-181-1/+1
| | | | | | | java.lang.VerifyError in generated code Bug was that a portion of ReferencePointcut.concretize was not behaving functionally but was mutating state.
* fix and test for Bugzilla Bug 42993 jhugunin2003-09-122-7/+12
| | | | | | | | | | | | | | | | 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.
* remember source location and handle identifier across invocationsacolyer2003-09-112-12/+28
|
* fix and tests for at least 2 bugs: jhugunin2003-09-101-0/+4
| | | | | | | | | | | 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)
* removing a debugging Thread.dumpStack() that made for confusing jhugunin2003-09-091-1/+1
| | | | error messages
* test and fix for bug reported today on aspectj-dev jhugunin2003-09-051-0/+2
| | | | | | | | | | | This bug is a reversion from 1.1.0 and so was a high-priority to get fixed before the 1.1.1rc2 release tommorrow. The bug was caused by a conflict between the implementation of perthis and a fix made in 1.1.1rc1 to the code for signature matching to handle inter-type declarations correctly. The fix was the addition of two null pointer checks. I hope that the original reporter will file a bug report in bugzilla tomorrow for tracking.
* test and fix for Bugzilla Bug 42539 jhugunin2003-09-041-1/+1
| | | | throw derivative pointcuts not advised
* Using correct patch for bug 39436 instead of vague one from emailehilsdal2003-08-211-21/+32
|
* Still patching for bug 39470 (patch devised by Andy, vetted by me). ehilsdal2003-08-201-1/+11
| | | | | | Sorting the local variables so we can deal with the fact that BCEL generates extra local variables and doesn't bother to make them hashable.
* Fixed AJDT bug with truncation of labels (there was a weird substring call ↵mkersten2003-08-161-1/+1
| | | | 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-162-7/+30
|
* Expesed "isError" field with getter (used by asm relationship provider).mkersten2003-08-161-3/+6
|
* Improved declare relationships. Implemented batch-build relationship ↵mkersten2003-08-141-21/+15
| | | | clearing policy.
* Updated org.aspectj.asm relationship model to string-handle-based API in ↵mkersten2003-08-144-71/+75
| | | | 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-11/+11
| | | | Renamed model container class.
* Minor improvements to structure model generation, clean up of test suite ↵mkersten2003-08-121-1/+1
| | | | output, and port of AJDT to new ASM APIs.
* Added check for warning issued during JAR creation (manifest not copied).mkersten2003-08-083-82/+41
|
* Fixed typo in method name.mkersten2003-08-081-1/+1
|
* First pass at new relationship API support.mkersten2003-08-081-12/+15
|
* Matthew's fixes for failing weaver unit tests.mkersten2003-08-081-25/+44
|
* Reimplemented ASM API as described in bug "41254: revise asm and create ↵mkersten2003-08-081-67/+61
| | | | 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.
* fix and tests for Bugzilla Bug 41123 jhugunin2003-08-082-1/+18
| | | | Weaving failure when using injars
* fix for Bugzilla Bug 41175 jhugunin2003-08-0814-124/+226
| | | | | | | | | | binary aspect-declared methods conflict, lost their exception clauses larger fix to address more issues with aspect-declared methods in bytecode form also addressed declared exception issue more generally this fix should be more stable than a smaller hack that just fixed this specific bug report would have been. added a few tests to match increased scope.
* 40534: Declare warning/error output - more detail required. mkersten2003-08-071-11/+13
| | | | - Added getDetails() to messages. This String corresponding to thisJoinPointStatic part can be used by tools that need to display additional info.
* Fixed bugs: mkersten2003-08-061-14/+50
| | | | | | | 40943: Binary weaving should copy non-Java resources from "-inja... 36071: 1.1 rc1 should copy resources similar to java compiler 40826: ajbrowser does not report errors properly 40774: task list icons don't show in ajbrowser
* Created accessors for pointcuts contained within And/Or pointcut.mkersten2003-08-062-0/+16
|
* Exposed subtype inclusion property.mkersten2003-08-051-0/+5
|
* Fix for Bug 39470: ehilsdal2003-08-051-0/+21
| | | | | | | Repeating a compilation multiple times produces class files that vary in size Added a filter to make sure we don't add two local variable entries with the same start and slot (BCEL workaround)
* fix for Bugzilla Bug 40805 jhugunin2003-08-051-2/+12
| | | | call pointcut with interface type fails if method declared on interface
* fixes for Bugzilla Bug 40858 jhugunin2003-08-041-0/+2
| | | | | | super-qualified pointcut reference cause weaver stack trace and Bugzilla Bug 40814 no error when defining interface pointcuts
* fix for Bugzilla Bug 40876 jhugunin2003-07-291-4/+7
| | | | | | ClassFormatError on external subtype-qualified ref to supertype pointcut This was an important bug that was caused by the static fields used in the implementation of cflow being placed on the wrong class. This broke the rules used for name mangling and could occasionally result in name collisions as shown here.
* Added license.mkersten2003-07-251-1/+15
|
* Added BCEL API rule for enforcing use of Utility.copyInstruction method in ↵mkersten2003-07-251-0/+24
| | | | order to work around a BCEL Instruction.copy bug.
* Adding ignores for AJDT buildsmkersten2003-07-251-0/+2
|
* fix and moved test for Bugzilla Bug 39711 jhugunin2003-07-244-14/+63
| | | | Class Literals as non final fields
* fix and expanded tests for Bugzilla Bug 39462 jhugunin2003-07-221-1/+17
| | | | Compiler crashes in jar and cflow
* tests and fix for Bugzilla Bug 39993 jhugunin2003-07-221-16/+31
| | | | | | | | ajc stack trace on declaring hashcode() method in aspect added extra error-test for using super inside an inter-type declaration on an interface with multiple parents -- the correct parent is either hard or impossible to determine in that case
* Fix for Bugzilla #39479, #40109 jhugunin2003-07-165-5/+42
| | | | | | | | | | | | | based on patch contributed by Andy Clement Generalizes the patch with a method org.aspectj.weaver.bcel.Utility.copyInstruction that works-around the bug in Select.copy(). Changed all calls to Instruction.copy() to use this new method, would be nice to add the rule: * declare error: * call(* Instruction.copy()) && within(org.aspectj.weaver) * && !withincode(* Utility.copyInstruction(Instruction)): * "use Utility.copyInstruction to work-around bug in Select.copy()";
* slightly better error messages for Bugzilla Bug 38168 jhugunin2003-05-271-2/+13
| | | | insertion of lots of advice code can make branch offset for if too large
* fix for Bugzilla Bug 37758 jhugunin2003-05-211-12/+35
| | | | Weaving rt.jar results in stack overflow
* changed jars produced by BcWeaverJarMaker to increase coverage of testsjhugunin2003-05-196-0/+0
|
* better error message for trying declare parents on Objectjhugunin2003-05-191-1/+7
|
* fix and test Bugzilla Bug 37739 jhugunin2003-05-191-1/+4
| | | | Unexpected Xlint:unresolvableMember warning with withincode
* fix for Bugzilla Bug 37325 jhugunin2003-05-112-9/+10
| | | | Weaver fails with NPE for very large source files