summaryrefslogtreecommitdiffstats
path: root/weaver/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
* 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
* handling Shadow.PreInitialization as a INITIALIZER_RELATION jhugunin2003-05-091-0/+3
| | | | | | | rather than printing a warning message to System.err this fixes the dirty output that was very visible when running the harness with -emacssym enabled
* comment re: using shadow file rather than enclosing node.wisberg2003-05-051-1/+2
|
* fix and better tests for jhugunin2003-05-022-42/+26
| | | | | Bugzilla Bug 37152 java.lang.VerifyError:
* fix for jhugunin2003-05-022-36/+124
| | | | | | | Bugzilla Bug 37152 java.lang.VerifyError: This fix needs a little clean-up and testing before closing out
* more progress messages for ajdejhugunin2003-05-011-2/+21
|
* fix for jhugunin2003-05-012-1/+9
| | | | | | | | | | | Bugzilla Bug 37020 wrong line for method execution join point (but points to first executable line rather than method declaration) and Bugzilla Bug 37021 source path wrong in declare warning on binary files
* Expected fix for issue of Class.forName differences jhugunin2003-05-011-1/+2
| | | | between IBM and SUN's JDKs -- not yet tested on IBMs JDK to confirm
* fix and tests for jhugunin2003-04-273-2/+15
| | | | | | | | Bugzilla Bug 30663 lame error message: "negation doesn't allow binding" and Bugzilla Bug 36329 The compiler crashes when using aspect libraries created without using -noweave
* fixed bug caught by unit testsjhugunin2003-04-271-3/+2
|
* fix and tests for jhugunin2003-04-254-5/+6
| | | | | Bugzilla Bug 36803 BCException thrown by AspectJ 1.1rc1
* expanded tests and fix for jhugunin2003-04-241-4/+13
| | | | | Bugzilla Bug 36778 ClassFormatError due to empty interface supertype
* tests and fixes for jhugunin2003-04-222-1/+11
| | | | | Bugzilla Bug 29665 Inconsistant stack height
* fixing declare parents problemsjhugunin2003-04-117-2/+167
|
* test and fix for jhugunin2003-04-103-5/+14
| | | | | Bugzilla Bug 36046 inter-type declaration bug with abstract classes
* commented out debugging printlnjhugunin2003-04-101-1/+1
|
* don't keep track of bytes written to disk jhugunin2003-04-101-6/+7
| | | | this saves memory and makes testing incremental compilation more sensitive
* fix and test for Bugzilla Bug 34858 jhugunin2003-03-121-0/+5
| | | | Weaver crash