aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/src
Commit message (Collapse)AuthorAgeFilesLines
* LangUtil: remove methods like 'is11VMOrGreater', 'is1dot5VMOrGreater'Alexander Kriegisch2024-02-191-1/+1
| | | | | | | | | | Replace them by a uniform method 'isVMGreaterOrEqual(double)', also overloaded for int. This gets rid of one 'AspectJ_JDK_Update' tag. One less place to check and update with each newly supported Java version. :-) Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Delete obsolete filesAlexander Kriegisch2024-01-071-7/+0
| | | | | | | | | | | | | - Redundant copies of HTML files used in AspectJ installer, which already exist as resource files in module 'build' - Null-sized AspectJ library JARs which probably were used to trigger certain build steps in the former Ant build - BridgeVersion.java.txt, which has been replaced by a regular org.aspectj.bridge.Version class which can dynamically determine versions from a properties file instead of relying on them being hard-coded into the template. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* AjLookupEnvironment: add new phase CONNECT_TYPE_HIERARCHY2Alexander Kriegisch2023-10-011-14/+15
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Remove old '.cvsignore' filesAlexander Kriegisch2023-09-271-1/+0
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Fix indentation of compilation results on the consoleAlexander Kriegisch2023-01-221-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever warnings or errors were printed via CompilationResult.toString, indirectly also using MessageUtil.renderMessage(IMessage, boolean), messages containing context info such as code snippets with carets marking erroneous tokens - see also the previous commit - prefixes like "[warning 1] warning at " were printed right in front of the code snippets. I.e., the carets marking erroneous tokens in the second line were not indented like the first line with the code snippet, leading to (simplified) output like: [warning 1] warning at after() : execution(FooBar Blah.*()) { ^^^^^^ xxx FooBar [Xlint:invalidAbsoluteTypeName] This was fixed to now correctly indent lines 2 to n according to line 1, yielding the correct output: [warning 1] warning at after() : execution(FooBar Blah.*()) { ^^^^^^ xxx FooBar [Xlint:invalidAbsoluteTypeName] Especially with longer, more complex context lines, this helps to identify the erroneous section. BTW, for one-line messages, everything of course looks like before. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Reduce empty array allocationsAndrey Turbanov2021-12-181-1/+1
|
* Replace uses of StringBuffer with StringBuilder.Andrey Turbanov2021-11-206-10/+10
| | | | StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
* Upgrade license from CPLv1/EPLv1 to EPLv2Alexander Kriegisch2021-06-0428-312/+312
| | | | | | | This was required by the Eclipse team as one precondition for the next release. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Fix some deprecated Java and JUnit warnings by using newer API callsAlexander Kriegisch2021-03-211-1/+1
| | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Improve usage text, error and warning output in batch compilerAlexander Kriegisch2021-03-203-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | - Usage texts are now printed to stdOut, no longer stdErr. - 'java ...Main -?' no longer prints usage text twice (once to stdOut and then again to stdErr). - AjdtCommand.inferKind: Usage texts are no longer mis-identified as warnings or errors just because they contain substrings "warning" or "error". Matching is now more precise, looking for "[warning]" and "[error]". But in that case the method would not be called anyway because errors and warnings are identified in other ways already. As a fall-back, the categories IMessage.ERROR and IMessage.WARNING still exist in the method. - In case of compile errors, no usage message is printed anymore, because previously the user had to scroll up a lot in order to see the actual messages. This is also in line with ECJ. The same is true for warnings, but it was like this in Ajc already. - AjdtCommand.inferKind: There is a new category IMessage.USAGE especially for AspectJ usage texts, which will be identified by string matching and then correctly handled (i.e. printed to stdOut, not stdErr). - Usage text printing is no longer done in AspectJ but in the AspectJ "shadows" fork of JDT. This helps to get rid of some now obsolete code here. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
* Fix javadoc references to nonexistent fields, classes, or packagesJerry James2020-09-145-13/+7
|
* Fix misplaced or incorrect javadoc tagsJerry James2020-09-142-10/+24
|
* Fix incorrect HTML entities in javadoc commentsJerry James2020-09-141-2/+2
|
* Remove unnecessary interface modifiersLars Grefer2020-08-177-130/+130
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Merge branch 'master' into feature/collection-performanceAndy Clement2020-08-151-1/+0
|\
| * Cleanup unused importsLars Grefer2020-08-161-1/+0
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Weaken Collection declarationsLars Grefer2020-08-153-3/+3
|/ | | | | | Reports on declarations of Collection variables made by using the collection class as the type, rather than an appropriate interface. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Use the diamond operator where possibleLars Grefer2020-08-135-13/+13
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Unnecessary boxingLars Grefer2020-08-081-2/+2
| | | | | | Reports explicit boxing, i.e. wrapping of primitive values in objects. Explicit manual boxing is unnecessary under Java 5 and newer, and can be safely removed. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'String.indexOf()' expression is replaceable with 'contains()'Lars Grefer2020-08-081-1/+1
| | | | | | 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>
* 'for' loop replaceable with enhanced 'for' loopLars Grefer2020-08-082-14/+14
| | | | | | 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>
* Fix version tagging for info stringsAndy Clement2019-02-113-6/+41
|
* Add module tests back in - but streamlinedAndy Clement2019-01-311-0/+37
|
* mavenized bridge moduleAndy Clement2019-01-2327-1/+531
|
* Fix 500035: handling target only binding in @AJ pointcutAndy Clement2016-11-182-10/+9
|
* 373195Andy Clement2012-03-061-18/+16
|
* revertaclement2011-06-211-3/+3
|
* 1.6.12.m1 readmeV1_6_12M1aclement2011-06-071-3/+3
|
* 329925: declare @field remove annotationaclement2010-11-241-0/+3
|
* genericsaclement2010-07-141-18/+19
|
* genericsaclement2010-07-149-1851/+1811
|
* genericsaclement2010-07-071-44/+37
|
* persistenceaclement2009-08-252-59/+55
|
* 286539: test and fix (decanno type in model)aclement2009-08-131-134/+162
|
* declareMixinaclement2009-03-091-63/+62
|
* prevent multi-threaded access problems to the mapaclement2009-01-161-1/+2
|
* remove unused codeaclement2008-08-311-105/+81
|
* eclipse: unnecessary semiaclement2008-08-271-1/+1
|
* unnecessary unused code removedaclement2008-08-271-32/+34
|
* eclipse: unnecessary semiaclement2008-08-271-1/+1
|
* unnecessary null check removedaclement2008-08-261-1/+1
|
* 210470: preventing weaver leaks: do not mess up the context stack in a ↵aclement2008-05-271-10/+14
| | | | multi-threaded environment
* 231396: refactoring:aclement2008-05-122-0/+9
|
* 231396: moved ConfigParser out of weaver jaraclement2008-05-092-9/+0
|
* 210470: remove thread reference stored in CompilationAndWeavingContext ↵aclement2008-05-031-0/+8
| | | | static - it anchors the context class loader
* Bug 171069 "java.util.EmptyStackException in CompilationAndWeavingContext ↵mwebster2007-01-221-1/+1
| | | | using LTW"
* Bug 149289 "Support system and user aop.xml configuration" (add ↵mwebster2006-11-131-0/+3
| | | | org/aspect/aop.xml)
* fix for 155213: made using date formatter lazy.aclement2006-08-251-12/+15
|
* 141556#11 - reworked messagehandler with 'ignore' function! (wooo) - hope ↵aclement2006-08-255-0/+40
| | | | Matthew doesnt complain.
* Bug 149289 "Support system and user aop.xml configuration files" (add ↵mwebster2006-08-231-0/+19
| | | | META-INF/aop-ajc.xml)