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()";
wisberg [Sat, 31 May 2003 22:24:48 +0000 (22:24 +0000)]
Added SecurityManager which halts any System.exit() call from JavaRun thread and puts the exit code in the status object.
This enables us to run the examples.
wisberg [Sat, 31 May 2003 07:39:17 +0000 (07:39 +0000)]
build of testing jars changed slightly.
Have to build non-all testing-drivers to get testing classes target.
Relies on updated Module.java which trims testsrc but not testing dependencies for testing modules.
wisberg [Sat, 31 May 2003 07:37:54 +0000 (07:37 +0000)]
- fixed keyword for ajctaskCompiler tests
- disabled ajdeCompiler tests as hanging (swing thread?)
- added pass-through variable for aspectj build properties
- now testing for Testing module tests,
to force fix for testing modules not getting test classes
wisberg [Sat, 31 May 2003 07:25:30 +0000 (07:25 +0000)]
delay until after final last-modified-time stamp on newly-staged files
since last-modified-time stamp can be delayed by filesystem buffering
and rounding-up to next second.
jhugunin [Wed, 28 May 2003 20:49:54 +0000 (20:49 +0000)]
Bugzilla Bug 38212
can not resolve this member warning
This test currently passes, and therefore must be missing the bug; however,
this is the closest I could come to the bug as reported.
wisberg [Wed, 28 May 2003 08:23:42 +0000 (08:23 +0000)]
Script is usable!
- lots of rearranging and cleanup, docs
- now doing 1.3 and 1.4 testing
- more harness tests (some unverified)
- workaround OOM in examples
- cleanup after building-aspectj-with-aspectj
wisberg [Tue, 27 May 2003 04:44:30 +0000 (04:44 +0000)]
fixing fork bugs:
- permitting fork in incremental mode only when using tag file
- pulling aspectjtools also from the task classpath
also failonerror default was not true as stated in the docs
wisberg [Sun, 25 May 2003 19:27:45 +0000 (19:27 +0000)]
Fix for failure building with useEclipseCompiles testing-drivers initially (or any module that only indirectly depended on jdt.core, which has no sources)
- better logging
- checking zip results - returns false positive for empty zips
- compile(..) API change for adopting classes
Also, copyright clearly wrong - file created last fall.
wisberg [Sun, 25 May 2003 19:26:55 +0000 (19:26 +0000)]
Fix for failure building with useEclipseCompiles testing-drivers initially (or any module that only indirectly depended on jdt.core, which has no sources)
- better logging
- checking zip results - returns false positive for empty zips
- compile(..) API change for adopting classes
wisberg [Sun, 25 May 2003 19:23:41 +0000 (19:23 +0000)]
fixing 2 bugs disclosed by running ajcTests.xml with -ajctaskCompiler: (1) compliance set incorrectly (-1.3 instead of 1.4) and (2) warn:... form was ignored.
These would break only when running from a Javac compiler adapter and using <compilerarg>