mkersten [Wed, 6 Aug 2003 21:17:57 +0000 (21:17 +0000)]
Fixed bugs:
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
wisberg [Wed, 6 Aug 2003 19:55:52 +0000 (19:55 +0000)]
added test to ensure handler from initial runCommand() is not used in repeatCommand().
The test fails so there is a bug, but in the current system we seem to use the same handler,
so the bug is harmless. (It does affect other things I'm doing.)
The test is disabled by default and can be enabled with a system property.
wisberg [Wed, 6 Aug 2003 02:08:40 +0000 (02:08 +0000)]
initial checkin of the sandbox.
The basic structure and examples of each type are there,
but I have more examples and the ones there are not
altogether validated. I'll make a few more changes
before emailing dev and users about usage, etc.
ehilsdal [Tue, 5 Aug 2003 06:19:38 +0000 (06:19 +0000)]
Fix for Bug 39470:
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)
jhugunin [Mon, 4 Aug 2003 21:04:49 +0000 (21:04 +0000)]
fixes for Bugzilla Bug 40858
super-qualified pointcut reference cause weaver stack trace
and Bugzilla Bug 40814
no error when defining interface pointcuts
Fix for
Bugzilla Bug 35551: "declare soft" in abstract aspect have no effect
Specifying that declare soft behaves like advice in that
it must be concretized to have an effect.
Added documentation for
Bugzilla Bug 29699: call join points in 1.1b2 und 1.1b4
basically documented that the -1.4 flag can change how method
calls get generated in terms of the declaring type of the method.
------
38717: ".lst" file parsing errors should include sourceline information
- Fixed with George. ".lst" file errors now have proper source locations that the IDEs can seek (fyi no line info, just file info).
------
40194: error handling during build config parsing
- Fixed with George. IDEs now report ".lst" file parsing errors.
fix for Bugzilla Bug 40876
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.
This problem occurred when a command line compile did not specify a "-classpath" option. In that case BuildArgParser loaded System.getProperty("java.class.path"). However, in the launch script aspectjtools.jar is already added to the VM's classpath. We remove all occurrences of "aspectjtools.jar" from the detected classpath. This should enable bootstrapping ajc.
moved to 2.1.1 jdtcore. Updated our code to change one call to a
convenience method that was removed. Updated tests to enable the
test for the horrible switch bug that this fixes.
tests and fix for Bugzilla Bug 39993
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
added "| .." to args for method and constructor pattern in the Word source file.
Previously added to the generated .pdf files
(I can edit pdf files, but not generate pdf from word).
Fix for Bugzilla #39479, #40109
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()";