Jerry James
f7f7656f81
Fix incorrect HTML entities in javadoc comments
pirms 3 gadiem
Lars Grefer
7824e7d304
Replace List.indexOf() with List.contains()
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
pirms 3 gadiem
Lars Grefer
c1c373f427
'String.indexOf()' expression is replaceable with 'contains()'
Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method available in Java 5 and newer.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
pirms 3 gadiem
Lars Grefer
72194b7982
'for' loop replaceable with enhanced 'for' loop
Reports for loops which iterate over collections or arrays, and can be replaced with an enhanced for loop (i.e. the foreach iteration syntax).
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
pirms 3 gadiem
Andy Clement
de2f7c7532
Fix version tagging for info strings
pirms 5 gadiem
Andy Clement
c17032a561
mavenizing org.aspectj.ajdt.core - wip
pirms 5 gadiem
Andy Clement
ed77301971
Add missing Overrides
pirms 6 gadiem
Andy Clement
25433050e1
better exit code for out of memory
pirms 11 gadiem
aclement
7bcd31c7d5
319315: aspectj.multithreaded system property to force it ON
pirms 13 gadiem
aclement
d97c25a05b
no override
pirms 14 gadiem
aclement
cf620ee7e4
get build to work?
pirms 14 gadiem
aclement
b21eb05a25
309402
pirms 14 gadiem
aclement
374521ee14
dont turn off multithreaded context unless running command line build
pirms 15 gadiem
aclement
f56eb37f77
fixed eclipse warnings
pirms 15 gadiem
aclement
1daa03957d
-timers option, just times top level main() for now
pirms 16 gadiem
wisberg
e5b2cd7148
refix 112098 - check for correct aspectjrt.jar version re-enabled for Main (taskdef, command-line) but still disabled otherwise (for AJDT)
pirms 17 gadiem
aclement
409e613aac
141556#11 - reworked messagehandler with 'ignore' function! (wooo) - hope Matthew doesnt complain.
pirms 18 gadiem
aclement
d2e88a7f9f
pipeline changes: new info message for time taken, plus optional (commented out logic) for easily attaching jconsole
pirms 18 gadiem
acolyer
b6c89301f2
update license to EPL
pirms 18 gadiem
aclement
90f7bf70b1
useful pause() method can be called to enable (de)attaching jconsole.
pirms 18 gadiem
acolyer
1c26c6cc48
free up memory anchored in static at the end of a run
pirms 18 gadiem
acolyer
c24aaf00c7
support for -messageHolder command-line option. This is needed by the forking iajc ant task to support use of a custom message handler when forking.
pirms 18 gadiem
acolyer
20cafd486b
a few more tweaks to fix for pr108123 and pr106500 - better diagnostics and exceptions, plus support for -Xdev:Pinpoint
pirms 18 gadiem
acolyer
d485f9bcc4
fix for pr108123 and pr106500 - better diagnostics and exceptions, plus support for -Xdev:Pinpoint
pirms 18 gadiem
wisberg
295abc0467
Variant of Huff's fix for 102746 - untested hypothesis
pirms 19 gadiem
aclement
e9d9a13757
Prevent info messages coming out when on the command line (regression)
pirms 19 gadiem
acolyer
27c6150906
Andrew Huff's patch for the -log option
pirms 19 gadiem
wisberg
8ba1011bac
avoid harness ajcore files - ensure Dump message holder is not null for clients not using Main interface.
pirms 19 gadiem
avasseur
2679e77604
LTW modules + AntSpec to test LTW in the sandbox + code cleanup in my FIXME + fix in error handling when no debug info can be read from @Aj aspect (many files modified since refactored IMessageHanlder for LTW dontIgnore method)
pirms 19 gadiem
acolyer
a92b2f0201
first half of Andrew Huff's patch for 59636 (-log option not producing output - should it?)
pirms 19 gadiem
aclement
f5035234ee
Matthews enhancement fix for Bugzilla Bug 72154 "Support for simple dump file"
+ Andy using it to capture 'cant find type' issues.
pirms 20 gadiem
acolyer
9bf0a75430
Added support to ease programmatic testing of compiler (AjcTestCase
class and accompanying support).
pirms 20 gadiem
aclement
2982b4cc62
The BIG commit.
- Enhanced structure model support.
- *Incremental* structure model support written and tested (currently switched off, see incModelTests.xml)
- -showWeaveInfo compiler option
- existence of a 'runtimetest' surfaced through relationships
- UI can determine if errors/warnings came from DEOWs.
- Code to enable type mungers to remember source locations written (currently switched off)
pirms 20 gadiem
acolyer
a93ccda3c2
went for [error] in the end based on a quick local straw poll...
pirms 20 gadiem
acolyer
6ea8300440
fix for Bugzilla Bug 58681
-X should output available -X options
pirms 20 gadiem
wisberg
6cbf9cca10
Convenience method to run ajc in a child classloader and get List/String results in the parent (e.g., when running as a JUnit test)
pirms 20 gadiem
acolyer
087842e53c
fix for Bugzilla Bug 48080
Context information in declare warning/error messages
pirms 20 gadiem
acolyer
2ed4c9f470
move weaving to inside of the compiler.compile loop.
ensure messages are associated with source wherever possible
pirms 20 gadiem
acolyer
c37cc870d1
spring cleaning in advance of 1.2 enhancements:
removed unused imports, local variables, and private methods
(still there, just commented out).
pirms 20 gadiem
acolyer
b3b1eecf93
Fix for Bugzilla Bug 36234
out of memory error when compiling
pirms 20 gadiem
acolyer
19ed0a21b8
move to Eclipse 3.0 M6 JDT core (v_396). Also makes 1.4 the
default mode (inherited behaviour from JDT).
pirms 20 gadiem
jhugunin
97ab1e91df
fix for Bugzilla Bug 41952
XLint warning for call PCD's using subtype of defining type
also added extraSourceLocations to IMessage+ for
message with multiple source lines
pirms 20 gadiem
mkersten
be23e3d01d
Changed org.aspectj.bridge.IMessage.getISourceLocation to getSourceLocation in order to match method naming conventions.
pirms 21 gadiem
mkersten
bdf332c2ed
Exposed message handler as "protected" to clients who may want to override.
pirms 21 gadiem
wisberg
58570a499a
patch mentioned on the list for detecting errs in incremental command line
pirms 21 gadiem
wisberg
4e13c68fcf
- removed invalid test requiring -sourceroots in the argument list. They might be in a config file.
- handling request for fresh rebuild during incremental
pirms 21 gadiem
wisberg
52882bef3e
using Kind.isSameOrLessThan(..) rather than direct compare for inferring streams
pirms 21 gadiem
wisberg
519aa42cff
better rendering of exceptions thrown (including those from previously-unrendered FAIL messages)
pirms 21 gadiem
wisberg
c98040bacb
- tagfile mod-time fix for first iteration
- new API to run Runnable on command completion
required to support resource-copying by ant task
during incremental compilation
pirms 21 gadiem
wisberg
bb9ee8de60
partial fix for bug 31724 emits file:line numbers for declare warning/error.
This adds an optional "context" String to IMessage.
The IMessage creator should create a context String (or use an implementation that lazily creates one).
The IMessage client can render their messages without context embedded in the message field.
Emitting source context from the weaver will be harder.
Using file and start/end line will probably work, since tool clients can map to any available source file paths.
(BcelSourceContext and BcelShadow can be updated with end from range.)
pirms 21 gadiem