aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into feature/collection-performanceAndy Clement2020-08-154-7/+0
|\
| * Cleanup unused importsLars Grefer2020-08-165-8/+0
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Weaken Collection declarationsLars Grefer2020-08-153-3/+4
| | | | | | | | | | | | 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>
* | Collection.toArray() call styleLars Grefer2020-08-151-1/+1
| | | | | | | | | | | | | | There are two styles to convert a collection to an array: either using a pre-sized array (like c.toArray(new String[c.size()])) or using an empty array (like c.toArray(new String[0]). In older Java versions using pre-sized array was recommended, as the reflection call which is necessary to create an array of proper size was quite slow. However since late updates of OpenJDK 6 this call was intrinsified, making the performance of the empty array version the same and sometimes even better, compared to the pre-sized version. Also passing pre-sized array is dangerous for a concurrent or synchronized collection as a data race is possible between the size and toArray call which may result in extra nulls at the end of the array, if the collection was concurrently shrunk during the operation. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Manual array copyLars Grefer2020-08-151-9/+3
| | | | | | | | | | | | Reports the manual copying of array contents which may be replaced by calls to System.arraycopy(). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Manual array to collection copyLars Grefer2020-08-151-11/+2
|/ | | | | | Reports the copying of array contents to a collection where each element is added individually using a for loop. Such constructs may be replaced by a call to Collection.addAll(Arrays.asList()) or Collections.addAll(). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Merge branch 'master' of github.com:eclipse/org.aspectj into ↵Lars Grefer2020-08-142-89/+4
|\ | | | | | | remove-old-version-checks
| * Merge branch 'feature/simplify-ajdoc' of github.com:larsgrefer/org.aspectj ↵Lars Grefer2020-08-142-91/+4
| |\ | | | | | | | | | | | | | | | into feature/github-actions Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | * Always run javadoc using the ToolProvider APILars Grefer2020-08-142-87/+4
| | | | | | | | | | | | | | | | | | `com.sun.tools.javadoc.Main` isn't available in recent Java versions (13+) Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| * | Fix compilation of JavadocRunner for Java 13+Lars Grefer2020-08-131-5/+7
| |/ | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* / Simplify checks for Java 8 to trueLars Grefer2020-08-142-123/+37
|/ | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* Use the diamond operator where possibleLars Grefer2020-08-134-22/+22
| | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* 'String.indexOf()' expression is replaceable with 'contains()'Lars Grefer2020-08-083-24/+24
| | | | | | 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-086-56/+47
| | | | | | 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>
* Rev to 1.9.7.BUILD-SNAPSHOTAndy Clement2020-07-221-1/+1
|
* AspectJ 1.9.6 final bitsV1_9_6Andy Clement2020-07-221-1/+1
|
* Update ASM and fix packaging for matcher artifactAndy Clement2020-07-171-1/+1
|
* Move to 1.9.6.BUILD-SNAPSHOT versionAndy Clement2019-11-281-1/+1
|
* 1.9.5 release versions in pomsV1_9_5Andy Clement2019-11-281-1/+1
|
* Java 13 supportAndy Clement2019-11-253-149/+173
|
* Update to 1.9.5.BUILD-SNAPSHOT in pomsAndy Clement2019-06-031-1/+1
|
* 1.9.4 POMSAndy Clement2019-05-101-1/+1
|
* pushed versions to 1.9.4.BUILD-SNAPSHOTAndy Clement2019-04-171-1/+1
|
* Updated with Java12 supportAndy Clement2019-04-034-37/+55
|
* Fix version tagging for info stringsAndy Clement2019-02-112-2/+2
|
* Add module tests back in - but streamlinedAndy Clement2019-01-313-48/+36
|
* mavenizing ajdoc - doneAndy Clement2019-01-307-54/+42
|
* mavenizing ajdoc - wipAndy Clement2019-01-2932-42/+39
|
* 1.9.2.RC1 changesV1_9_2_RC1Andy Clement2018-09-293-19/+34
|
* Support Java10Andy Clement2018-04-183-26/+56
|
* Updates to better cope with future JDKsAndy Clement2017-11-096-64/+71
| | | | | | | | | | | | | | The version handling in LangUtil has been overhauled to cope better with post 1.8 releases (JDK9 and JDK10 or 18.3 or whatever they call it). As part of this moved to treating JDK9 as '9' rather than '1.9'. Also removed duplicate version processing logic and had that defer to the one place in LangUtil where we now deal with it. Includes some generics tidyup in ajdoc. More ajdoc work is necessary for Java10 because it removes the standard doclet (old style). However trying to invoke the internal Javadoc handler in Java10 is failing due to module visibility rules.
* Added automatic module nameAndy Clement2017-10-201-0/+1
|
* Update project source/target levels to 1.7Andy Clement2017-09-271-0/+7
|
* Various changes to get tests passing on 1.8 and 1.9Andy Clement2017-09-244-44/+56
|
* Bring Java9 branch in line with 1.8.11 progressAndy Clement2017-09-211-4/+0
|\
| * fix warnings in build - support .isJava8 option in buildV1_8_10Andy Clement2016-12-091-3/+0
| |
* | Merged post 1.8.5 changes into Java9 branchAndy Clement2017-09-202-1/+6
|\|
| * 464604: ajdoc SIOOBE on Java7Andy Clement2015-09-041-0/+5
| |
* | Fix classpath for tests on Java9Andy Clement2016-06-271-1/+7
|/
* Fix 436653: conditional aspect activation plus various polishAndy Clement2014-10-065-58/+189
| | | | | | | | | | | | | | Modified test expectation system so it is possible to say the test cares about one particular message and the rest do not matter (prefix message string with '*') - crude but quick. Polished many places to exploit generics Upgraded all the tests to work on Java8 - some serious changes regarding ajdoc on Java8. Hopefully it has stayed backwards compatible with earlier JDK versions (e.g. if using AspectJ 1.8.3+ with a JDK less than 8) but no explicit testing done for this.
* fixing paths so that distro build isn't hugeV1_8_2Andy Clement2014-08-141-0/+1
|
* fixing for Javadoc differences in 1.8Andy Clement2014-08-083-32/+52
|
* add apt testshsestupin2014-08-011-1/+1
| | | | Signed-off-by: hsestupin <stupin.sergey@gmail.com>
* fix up for mac devAndy Clement2013-07-301-1/+0
|
* remove JRE14_LIB referenceAndy Clement2013-01-151-2/+2
|
* minimalModel ON by default. demotion ON by default (for AJDT as well as LTW)aclement2011-08-052-112/+92
|
* fix cpaclement2011-06-161-1/+2
|
* 1.6.12.m1 readmeaclement2011-06-071-2/+1
|
* 280783: removed security manager - why is it there?aclement2009-06-181-51/+50
|
* 258206: package declaration support in the modelaclement2009-01-061-1/+3
|